LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba wont start (https://www.linuxquestions.org/questions/linux-newbie-8/samba-wont-start-103448/)

Tyir 10-13-2003 03:33 PM

alm thank you!

i had already killed xinetd, but i had to restart it ;)

jdc2048 10-13-2003 03:43 PM

when you run "ps -ef | grep inetd" do you get inetd or xinetd? they are configured totally different.

what file did you put the stanza "swat stream tcp nowait.400 root /usr/sbin/swat swat" in, /etc/inetd.conf or /etc/xinetd.d/swat

if you are running xinetd and you edited /etc/inetd.conf, then that could explain things.

garr0323 10-13-2003 04:00 PM

how would i restart inetd?

alm 10-13-2003 04:16 PM

type "killall -HUP inetd" then "inetd" but do as jdc2048 suggests first.
since you need to know whether you are running inetd or xinetd

garr0323 10-13-2003 11:05 PM

-alm-
i checked /usr/sbin/swat the file wont execute. and when i click on inetd it says that there isnt a program. but when i instlaled samba it said that everything was fine

jdc2048 10-14-2003 08:16 AM

Is swat still a separate package?

How did you install the package? (i.e. did you compile from source, or did you install an rpm)

and is there some reason you don't answer any questions I ask?

alm 10-14-2003 10:17 AM

Not sure what the problem is.
Try typing, as root: "whereis swat" to see if it might have been put some other place.

garr0323 10-14-2003 10:24 AM

sorry jdc, i installed it as source. after i finshed doing the makeinstall of samba, it gave me a message that said swat files installed correctly

jdc2048 10-14-2003 10:31 AM

Forgot to ask what version you are using, I assume that you probably dl'd the latest (3.0 ?)

Was there an option listed for making the swat, for instance "--with-swat"


<edit>
sorry for the extra questions. I am trying to download it to look at the options for turning on swat.

garr0323 10-14-2003 10:38 AM

i am using the latest version 3.0
i dont recall seeing any options

garr0323 10-14-2003 10:48 AM

-alm-
swat is in /usr/sbin/swat

jdc2048 10-14-2003 10:55 AM

I see the "--with-swatdir=<dir>" option, did you use that?

Can you do an "ls -l /usr/sbin/swat" and determine if it is executable?

Did you ever see if you are running xinetd or inetd?

garr0323 10-14-2003 11:02 AM

ok the --with-swatdir=<dir> where did you see that? when you were configure or compiling?

I am running inetd

this is what it gave me when i ran ls -l /usr/sbin/swat

-rwxr-xr-x 1 root bin 957780 Apr 7 2003 /usr/sbin/swat*

alm 10-14-2003 11:15 AM

If I type "/usr/sbin/swat" on my computer, the program starts but nothing is outputted on the screen, and I have to stop the program manually with CTRL-C.
Is this what happens when you run the program? Or do you get an error message?

garr0323 10-14-2003 11:19 AM

-alm-
yea this is what happened when i typed /usr/sbin/swat no output
no error message


All times are GMT -5. The time now is 12:29 PM.