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 09-28-2003, 09:45 AM   #1
rrace
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis, MN
Posts: 8

Rep: Reputation: 0
xinetd.d/swat


I am trying to set up the SWAT in RH9.0. Following the manual, I looked for the config file "/etc/init.d/swat" to change the disable = no. The file did not exist, so I created one with only the one line. Seems there should be more to it. Is there a default file somewhere?

Also, after doing this, I tried "/etc/init.d/xinetd restart" it failed on stopping xinetd, but the start was OK. In the services, it shows "xinetd dead but pid file exist"

Appears something is wrong.
 
Old 09-28-2003, 09:59 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Did you look in init.d or xinetd?
 
Old 09-28-2003, 11:31 AM   #3
rrace
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis, MN
Posts: 8

Original Poster
Rep: Reputation: 0
I looked in the xined.d and did a search of the drive for "swat", no joy on either.

There was a backup file for swat~, I deleted that file and now the xinetd service is running. However, when I try to log into to SWAT (http://localhost:901/) I get a message that the connection is refused.

Last edited by rrace; 09-28-2003 at 11:52 AM.
 
Old 09-28-2003, 12:48 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Does the swat program exist:
/usr/sbin/swat

Make sure swat is installed with:
rpm -qa | grep swat
 
Old 09-28-2003, 05:07 PM   #5
rrace
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis, MN
Posts: 8

Original Poster
Rep: Reputation: 0
You know, I did that to check that Samba was installed, but never thought about SWAT. No, the program was not found by grep and is not in the sbin folder.

How do I get that installed (I did like SWAT better than the current system setup program).
 
Old 09-28-2003, 05:15 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Let me start by saying that I don't like swat as it messes up config files. If you use it make a backup of your config files first.

To get swat - download and install:
ftp://fr.rpmfind.net/linux/redhat/9/...7.9.0.i386.rpm
 
Old 09-28-2003, 05:27 PM   #7
rrace
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis, MN
Posts: 8

Original Poster
Rep: Reputation: 0
I download samba-swat.-2.2.7a-8.9.0.i386.rpm and installed it using rpm -i .... After that I ran grep and only found the samba-swat-2.2.7a-8.9.0. So I guess it installed.

If you have a way you like better, I am all for it. I used SWAT with the RH8 and it worked for me, whereas the current system setting don't appear to work. I am quite new to LINUX.
 
Old 09-28-2003, 05:31 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Personally I just edit the config file by hand. You can get a full list of options by running:
man smb.conf

It isn't that difficult once you get used to it. You seem to have installed swat ok. Like I said - if you use it I would take a precautionary measure of backing up your config fiels first.
 
Old 09-28-2003, 05:50 PM   #9
rrace
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis, MN
Posts: 8

Original Poster
Rep: Reputation: 0
I don't disagree. I have edited the file by hand and I believe I had it setup correctly. I have been distracted by not getting access to the SWAT utility.

Ok, with the LINUX machine I can see the other computers on the network and access to their files. I cannot get access to a shared printer on another windows machine. (Unable to connect to Samba host, will retry in 60 seconds).

With the Windows machines, I can see the linux on the network, but cannot get access ( \\P3linux is not accessible. The network path was not found.)

Maybe this will help you point me to a setup line somewhere.

Thanks
 
Old 09-29-2003, 08:40 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
How are you trying to configure the printer?

Do you have any firewall rules that could be blocking requests - post the output of:
iptables -L
 
  


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
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 02:10 PM
Cannot find /etc/xinetd.d/swat Rizla Linux - Networking 3 08-12-2003 05:20 PM
swat rjonese Linux - Software 0 07-15-2003 02:26 AM
no swat file in /etc/xinetd.d tevtango Linux - Newbie 2 02-02-2003 12:22 AM
Swat cliffyman Linux - Networking 4 12-20-2001 01:42 AM


All times are GMT -5. The time now is 10:54 AM.

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