John Nguyen
2004-Apr-28 02:46 UTC
[Samba] Using Swat - Could not connect to host localhost (port 901) error!
Hello Everyone, I'm using Mandrake 10 and trying to learng Samba 3.0.2a. I compile the source and install it alright on my Mandrake linux (./configure, make, and make install). Here what I'd done after the installation: Add to /etc/services file swat 901/tcp Add to /etc/inetd.conf file swat stream tcp nowait.400 root /usr/local/samba/sbin swat Since swat binary in the /usr/local/samba/sbin created the smb.conf in /usr/local/samba/lib and test with testparm /usr/local/samba/lib/smb.conf and it was ok. Started the daemons: /usr/local/samba/sbin/smbd -D /usr/local/samba/sbin/nmbd -D But when I tried to to use Swat through konqueror and had an error in my browser "An error occurred while loading http://localhost:901 Could not connect to host localhost (port 901)" so would you be able to help point out what is missing here, what should I do to be able to use Swat? I have a book Using Samba from O'reilly and follow the book but still can't figured out what is missing, so please give me some suggestion. Thanks for all input and your time. Best Regards, Nguyen __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
welly hartanto
2004-Apr-28 04:17 UTC
[Samba] Using Swat - Could not connect to host localhost (port 901) error!
--- John Nguyen <rarestone2003@yahoo.com> wrote:> Hello Everyone, > > I'm using Mandrake 10 and trying to learng Samba > 3.0.2a. > > I compile the source and install it alright on my > Mandrake linux (./configure, make, and make > install). > Here what I'd done after the installation: > > Add to /etc/services file > > swat 901/tcpI don't know in Mandrake, but in my debian I added swat 901/tcp in my /etc/inetd.conf Hope this work... --wely---> > Add to /etc/inetd.conf file > > swat stream tcp nowait.400 root > /usr/local/samba/sbin swat > > Since swat binary in the /usr/local/samba/sbin > > created the smb.conf in /usr/local/samba/lib and > test > with testparm /usr/local/samba/lib/smb.conf and it > was > ok. > > Started the daemons: > /usr/local/samba/sbin/smbd -D > /usr/local/samba/sbin/nmbd -D > > But when I tried to to use Swat through konqueror > and > had an error in my browser > > "An error occurred while loading > http://localhost:901 > > Could not connect to host localhost (port 901)" > > so would you be able to help point out what is > missing > here, what should I do to be able to use Swat? > > I have a book Using Samba from O'reilly and follow > the > book but still can't figured out what is missing, so > please give me some suggestion. Thanks for all input > and your time. > > Best Regards, > > Nguyen > > > > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > -- > To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover