After installing samba, "rpm -q" shows me I have samba, samba-common, samba-client and samba-swat installed. However, putting http://localhost:901 in the browser brings up an error that the URL cannot be found. Not sure where to go from here. Appreciate advice Thanks Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070218/5933918f/attachment.html>
On Sun, 18 Feb 2007, Chris Moloney wrote:> After installing samba, "rpm -q" shows me I have samba, samba-common, samba-client and samba-swat installed. > > However, putting http://localhost:901 in the browser brings up an error that the URL cannot be found.Is SWAT actually running? Most services aren't set to start by default. I don't have any of those packages installed, so I can't give you the name of the startup script, but I'll guess it's named "swat", in which case "/sbin/service swat start" should start it up for you. (If that gives an error, use "ls -l /etc/init.d/s*" to find the correct name to use). Afterwards, you can use "/sbin/chkconfig" to set SWAT (and the Samba daemons) to start up on system boot. -- Jeremy L. Gaddis, MCP, GCWN jeremy at linuxwiz.net LinuxWiz Consulting http://linuxwiz.net
Chris Moloney wrote:> After installing samba, "rpm -q" shows me I have samba, samba-common, > samba-client and samba-swat installed. > > However, putting http://localhost:901 in the browser brings up an > error that the URL cannot be found.swat is installed disabled by default. go to /etc/xinetd.d, find the swat config file, and # comment out the line that says 'disabled'... service xinetd reload, then you can connect to http://localhost:901 samba itself isn't started by default either, after configuring thingss with swat, you have to # chkconfig samba-server on # service samba-server start {note, I might have the service name wrong here, look in /etc/init.d for smbd or samba or something}
Swat is disabled by default under xinted. You'll need to go into /etc/xinetd.d/swat, comment out the line for disable=no, and add your subnet to the network line. Restart xinetd to reread everything and you should be good to go. Thanks! Mark Schoonover *** Winner of the 2008 Best Psychic Award IS Manager American Geotechnical - California, Nevada and Arizona V-> 858.450.4040 F-> 714.685.3909 C-> 858.472.3816 -----Original Message----- From: Chris Moloney [mailto:cm_e_mail at yahoo.com.au] Sent: Saturday, February 17, 2007 5:31 PM To: centos at centos.org Subject: [CentOS] Starting samba configuration After installing samba, "rpm -q" shows me I have samba, samba-common, samba-client and samba-swat installed. However, putting http://localhost:901 in the browser brings up an error that the URL cannot be found. Not sure where to go from here. Appreciate advice Thanks Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070219/51afebeb/attachment.html>