LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-13-2003, 04:33 PM   #16
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30

alm thank you!

i had already killed xinetd, but i had to restart it
 
Old 10-13-2003, 04:43 PM   #17
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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.
 
Old 10-13-2003, 05:00 PM   #18
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
how would i restart inetd?
 
Old 10-13-2003, 05:16 PM   #19
alm
Member
 
Registered: Mar 2003
Location: Sweden
Distribution: RedHat
Posts: 32

Rep: Reputation: 15
type "killall -HUP inetd" then "inetd" but do as jdc2048 suggests first.
since you need to know whether you are running inetd or xinetd
 
Old 10-14-2003, 12:05 AM   #20
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
-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
 
Old 10-14-2003, 09:16 AM   #21
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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?
 
Old 10-14-2003, 11:17 AM   #22
alm
Member
 
Registered: Mar 2003
Location: Sweden
Distribution: RedHat
Posts: 32

Rep: Reputation: 15
Not sure what the problem is.
Try typing, as root: "whereis swat" to see if it might have been put some other place.
 
Old 10-14-2003, 11:24 AM   #23
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 10-14-2003, 11:31 AM   #24
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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.

Last edited by jdc2048; 10-14-2003 at 11:37 AM.
 
Old 10-14-2003, 11:38 AM   #25
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
i am using the latest version 3.0
i dont recall seeing any options
 
Old 10-14-2003, 11:48 AM   #26
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
-alm-
swat is in /usr/sbin/swat
 
Old 10-14-2003, 11:55 AM   #27
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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?
 
Old 10-14-2003, 12:02 PM   #28
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
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*
 
Old 10-14-2003, 12:15 PM   #29
alm
Member
 
Registered: Mar 2003
Location: Sweden
Distribution: RedHat
Posts: 32

Rep: Reputation: 15
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?
 
Old 10-14-2003, 12:19 PM   #30
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
-alm-
yea this is what happened when i typed /usr/sbin/swat no output
no error message
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
x wont start! Username[SWE] Debian 5 08-02-2004 05:17 PM
x wont start jsmarshall85 Debian 14 07-22-2004 05:41 PM
Samba wont start Chijtska Linux - Networking 5 02-10-2002 08:00 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration