samba swat won't load
I execute:
Code:
$ firefox localhost:901 if I do: Code:
$ firefox localhost:631 is there something I need to do in smb.conf to enable SWAT? |
is the service listening on port 901 ?
Did you open the port in your firewall? |
Had Ubuntu 7.04 == Samba was installed but did not work -- That said firefox localhost:901 used to work.
Dumped 7.04 and loaded ubuntu 8.04 and then loaded Samba. Samba now works nicely, but firefox localhost:901 fails. I'm a newbie and the firewall is as it installed several hours ago. How would I go about discovering if Samba/SWAT is listening on port 901? Thanks for your help! |
Code:
netstat -ltnup Code:
lsof -i4 | grep LISTEN Code:
telnet 127.0.0.1 901 |
In a nutshell swat is a web server application to setup the smb.conf file and it runs from xinetd. You need to verify if swat is installed, configured and if xinted has been started.
There is lots and lots of information on the web about samba and swat. https://help.ubuntu.com/community/Swat |
Thanks for the help the results you requested are below
]code] # telnet 127.0.0.1 901 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused # lsof -i4 | grep LISTEN cupsd 4898 root 3u IPv4 21358 TCP localhost:ipp (LISTEN) smbd 4955 root 19u IPv4 12998 TCP *:microsoft-ds (LISTEN) smbd 4955 root 20u IPv4 12999 TCP *:netbios-ssn (LISTEN) # netstat -ltnup Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4955/smbd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4898/cupsd tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4955/smbd tcp6 0 0 :::22 :::* LISTEN 4838/sshd udp 0 0 192.168.1.125:137 0.0.0.0:* 4953/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 4953/nmbd udp 0 0 192.168.1.125:138 0.0.0.0:* 4953/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 4953/nmbd udp 0 0 0.0.0.0:55384 0.0.0.0:* 4859/avahi-daemon: udp 0 0 0.0.0.0:5353 0.0.0.0:* 4859/avahi-daemon: [/code] So nothing is listening on port 901 What do I need to do to cause that to happen? |
Quote:
|
Whoops Didn't mean to step on MichaelKs post
Thanks to both of you Sambas up, SWAT is up and I'm off and learning The commands went into notes and the Site is bookmarked Thanks again |
All times are GMT -5. The time now is 06:29 AM. |