LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2001, 04:37 PM   #1
MrX
LQ Newbie
 
Registered: Jun 2001
Posts: 5

Rep: Reputation: 0
Angry


I am trying to set up Samba which was supposedly installed with RedHat 7.1 and noticed that I have no swat file in /etc/inetd.d/. I tried reinstalling xinetd and samba from the rpm but that didn't do the trick. I guess I could recreate it if I knew what it was supposed to look like. Could someone help please?
 
Old 06-01-2001, 07:48 PM   #2
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
The SWAT file is placed in /etc/xinetd.d/

Check out http://www.webmin.com/webmin/
You can use that to set up Samba from you browser too + LOTS of other things
 
Old 06-04-2001, 12:07 PM   #3
MrX
LQ Newbie
 
Registered: Jun 2001
Posts: 5

Original Poster
Rep: Reputation: 0
Missing swat file in etc/inetd.d

Excuse me.
I meant /etc/xinetd.d/
No swat file there.
It should be a small file. Maybe someone could just post it and I can recreate it?
 
Old 06-04-2001, 12:39 PM   #4
kris.kj.jacobs
Member
 
Registered: Jun 2001
Location: Belgium
Distribution: Mandrake
Posts: 57

Rep: Reputation: 15
These are the contents of my swat-file (/etc/xinetd.d/swat):

Code:
# default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        port    = 901
        socket_type     = stream
        wait    = no
        only_from = localhost
        user    = root
        server  = /usr/sbin/swat
        log_on_failure  += USERID
        disable = no
}
Good luck.
 
Old 06-04-2001, 06:06 PM   #5
MrX
LQ Newbie
 
Registered: Jun 2001
Posts: 5

Original Poster
Rep: Reputation: 0
missing swat file in /etc/xinetd.d/ in 7.1

Yep, that's it. Unfortunately I had some other swat files missing too that just didn't install with RedHat 7.1. I updated to Samba 2.2.0 and was able to get all the files I needed. Unfortunately, I still can't connect through my browser. I get a 400 server error saying "chdir failed - the server is not configured correctly"
ouch
 
Old 06-04-2001, 06:42 PM   #6
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
It seems quite a few ppl are having problems with getting SWAT running.. that included me... actually I never got it running, cause I can't be assed to spend that amount of time, when there is an easier solution..
As I said in the earlier post Webmin is a good solution. It's very easy to set up if you DL the RPM packet..
Actually you can even log into SWAT from Webmin. But you can also just set things up from Webmin..

 
Old 06-05-2001, 06:33 PM   #7
MrX
LQ Newbie
 
Registered: Jun 2001
Posts: 5

Original Poster
Rep: Reputation: 0
I installed Webmin and was able to get in right away. I like it. However, I still can't get Samba to work right. I can't see my Linux machine in the windows network neighborhood and when I do a smbstatus I get the following message:

Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialize locking module -exiting
 
Old 06-05-2001, 06:55 PM   #8
MrX
LQ Newbie
 
Registered: Jun 2001
Posts: 5

Original Poster
Rep: Reputation: 0
Never Mind. I'ts working now. My Network admin still had the old ip address of the linux machine in the WINS server. He changed it and it works now. webadmin is great!
 
Old 06-05-2001, 07:03 PM   #9
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
Nice
 
Old 11-25-2002, 12:17 AM   #10
vcheah
Member
 
Registered: Nov 2001
Distribution: redhat 8.0
Posts: 110

Rep: Reputation: 15
Quote:
Originally posted by MrX
Never Mind. I'ts working now. My Network admin still had the old ip address of the linux machine in the WINS server. He changed it and it works now. webadmin is great!

I am having the same problem...
where can i change the ip address?
 
  


Reply



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
SWAT and INETD.CONF?????????? alirezan1 Linux - Newbie 3 12-20-2004 04:27 AM
SWAT and inetd.conf mercuryx013 Slackware 1 03-07-2004 07:05 PM
Problems with swat and inetd robertmarkbram Linux - General 2 11-27-2003 11:03 PM
SWAT dependent on inetd ? gromer Linux - Networking 4 03-05-2003 03:53 PM
missing inetd.conf ; setting up ftp, how ? cyfox Linux - Newbie 4 09-23-2002 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration