Alexander Skwar
2003-Sep-30 14:07 UTC
[Samba] SWAT: chdir failed - the server is not configured correctly
Hello!
Hmm, all of a sudden SWAT started to respond. Now when I try to access
http://server:901/, I get:
500 Server Error
chdir failed - the server is not configured correctly
I created a tiny smb.conf in /opt/samba-3.0.0/lib/smb.conf which contains:
root_s07nfs:/opt/samba-3.0.0/samba/bin/ > cat /opt/samba-3.0.0/lib/smb.conf
[global]
workgroup = EUROPE
netbios name = S07NFS
server string = Samba 3.0.0 Server %v on %h
interfaces = ge0 lo0
bind interfaces only = Yes
[alexseins]
comment = Share fuer Alexander Skwar
path = /tmp
valid users = vz6tml
write list = vz6tml
short preserve case = Yes
browseable = No
I put the configuration file in /opt/samba-3.0.0/lib/smb.conf, because
it seemed to be the most senseful output of "strings
/opt/samba-3.0.0/samba/bin/swat | grep smb.conf".
What am I doing wrong?
Thanks a lot,
Alexander Skwar
--
-> Keine Kopien senden - ich lese die Listen in denen ich schreibe! <-
-> Do not CC me on replies - I read the list in which I write! <-
Alexander Skwar
2003-Sep-30 17:16 UTC
[Samba] SWAT: chdir failed - the server is not configured correctly
Alexander Skwar wrote:> Hmm, all of a sudden SWAT started to respond. Now when I try to access > http://server:901/, I get: > > 500 Server Error > chdir failed - the server is not configured correctlyA very simple solution - I forgot to run "installswat.sh". So, after doing the following, I'm happy SWATting ;) $ cd /opt/samba-3.0.0/samba/bin $ mkdir /opt/samba-3.0.0/swat $ ./installswat.sh /opt/samba-3.0.0/swat /opt/samba-3.0.0/samba/bin - /opt/samba-3.0.0 is the base for my Samba installation - /opt/samba-3.0.0/swat is the installation directory for SWAT - /opt/samba-3.0.0/samba/bin is a directory at the same level as the swat source Bye, Alexander Skwar -- -> Keine Kopien senden - ich lese die Listen in denen ich schreibe! <- -> Do not CC me on replies - I read the list in which I write! <-
Reasonably Related Threads
- Trying to change password: "RAP86: The specified password is invalid."
- Cannot start SWAT on Solaris 8 server - libiconv.so.2: open failed: No such file or directory
- Cannot start SWAT on Solaris 8 server - libiconv.so.2: open
- Sieve
- Meaning of "smbstatus" display