-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 04 April 2003 12:12 pm, Trey wrote:
Having problems getting samba to work so I tried the swat tool. Im running konqueror on kde3.0.5 suse8.1
When I type into my browser: http://localhost:901
I just get this error: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
Generally "could not connect" errors mean that nobody is listening [no server process, that is] likewise
trey@linux:~> smbstatus [...] Failed to open byte range locking database
may also imply no server is actually running. Normally, when you boot a system you'll see a series of "services" with the words "running", "not used", "failed", or similar status words in green/red/yellow in a column to the right. [on the text console] If you've installed samba correctly, go to a shell and (as root) issue the command "rcsamba status" -- you should see output like this: franky:/var/cache/awstats # rcsamba status Checking for SAMBA nmbd running Checking for SAMBA smbd running franky:/var/cache/awstats # ["running" is in birght green -- actually almost unreadable on my monitor, but the fact that it is in green is enough for me] If it doesn't say "running" then you need to investigate your logs [usually /var/log/samba/<filename>] or the catch-all /var/log/messages file for errors. Your original problem, however, is with swat -- I don't know if that is started with samba or started seperately [see if you have a file called "rcswat" on your system] but either way, once it is running you should be able to "see" that it is listening with the command netstat -an --inet Again, you should see output like this: franky:/var/cache/awstats # netstat -an --inet Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 192.168.40.6:139 192.168.40.2:40242 ESTABLISHED here my system is waiting for connections on port 139 [samba] and one client is in fact connected to port 139. You should also see something with ":901" in the local address if SWAT is running - -- Yet another Blog: http://osnut.homelinux.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: http://osnut.homelinux.net/TomEmerson.asc iD8DBQE+jfbTV/YHUqq2SwsRAvijAKClbsULN2nBdYg+wh5Ibi52DkzfzQCghdJ+ Fc+6MbXtIa5X3beB3PcjoAA= =yrSi -----END PGP SIGNATURE-----