Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been asking a lot of questions lately so im sorry but i have been trying things on my own and i have gotten them to work but i cant get samba to work.
I downloaded the binary file and compiled and installed everything successfully. i looked at some help files that i found on the internet about enabling SWAT.
swat stream tcp nowait.400 root /usr/sbin/swat swat
this is what the control entry might look like and this is what mine looks like. the inetd is running.
I am just a newbie trying to help, but,
you are sure that the program is set to localhost and not to some other protocol like eth0?
And also, that there is no firewall preventing access?
What often is the case (for me) when a program doesn't work is that I've been misconfiguring the config-files in some way but I can't help you with SWAT.
run the command "chkconfig swat --list" and post the output.
<edit>
Just realized I don't know if you are running RH or not. The command above works on RH, not sure if it works elsewhere as I am not running anything else right now.
Tyir,
If you don't have that piece in your /etc/services file, then you won't get the output from netstat.
Put that "swat 901/tcp # sam...." piece anywhere in that file. It is easier to keep track of if you put it in numerical order, but it is not necessary.
If your computer is like mine, edit that file so that the last line reads disabled = no
Then kill the xinetd (i needed to start it up manually again aswell with "xinetd")
You DID restart inetd, right?
If swat was running there would've been a line in the output with swat in it...
My guess is either (1) the line containing the configuration of swat in inetd.conf is wrong (2) you didn't kill off inetd properly (3) you didn't install it correctly (check /usr/sbin/swat).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.