LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2004, 08:27 AM   #1
xtec2
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Help with Fedora and Samba-Swat configuring


I'm new to this but need help understanding why my Samba Swat file isn't working.

I previously installed RedHat 9.0 and managed to get Samba and Swat working between my Linux box and my Xp box. Then I re-booted the machines and lost the connection. I could see the LInux box from XP but could not access it. Couldn't even find the XP machine from Linux.

So, I had a Fedor disk and decided to install that. Well, the SWAT folder is missing from the Samba folder so I downloaded Samba 3.0.3 and extracted it to the /etc/samba directory.

I can see the SWAT folder there and I can even bring up the home page by double-clicking (still a GUI user at heart) but when I try to bring it up in the browser using http://localhost:901 I get an error message.

Is there a simple solution to this? I guess I could reinstall the older version of SAMBA from the RedHat CD but I shouldn't have to go backwards.

HELP!!!


Xtec2
 
Old 05-02-2004, 08:42 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Have you actually installed samba or have you just extracted the archive?

Also, what error are you actually getting?
 
Old 05-02-2004, 01:50 PM   #3
xtec2
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Error Message

David,

I guess I just extracted and didn't install. I'll have to look through the manual for install instructions.

The error message I get when trying to access SWAT is:
The connection was refused when attempting to contact localhost 901.

If you can point me to a site with specific instructions, I'd be most grateful. I purchased two manuals so far and neither of them are very useful. They really only cover the GUI portion of Fedora.

Thanks for any help.

Cathy
Xtec2
 
Old 05-02-2004, 01:53 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
There should be a README or INSTALL file in the package you downloaded, it should contain all you need for installing samba.
 
Old 05-02-2004, 04:01 PM   #5
xtec2
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Read Readme and install.html

David,

Perhaps I'm just a Microsoft moron but I read the readme file and the install file and here is my next question.

If I can bring up the SWAT html page... then to me, that should mean the package was installed. I downloaded the samba 3.0.3.tar.gz file from the samba.org site and extracted it. I see the swat folder and files, I don't understand why I need to run make install.

I also read in one of the many instructional pages that "The package manager in this case takes care of the installation and configuration" so I assumed the file was installed.

I'm going to give it another week. If I don't make any more progress than this I'm going back to Microsoft. Billy Boy is expensive, but he isn't too complicated.

Thanks for your help so far.
 
Old 05-03-2004, 01:04 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
If you copy all the files from an Office 2000 disk to your hard drive can you run it?

No. You need to install it. Swat runs as a service and needs to be run when the system boots. Samba will also need to be compiled for your system architecture. That is what the instructions show you how to do.
 
Old 05-28-2004, 04:52 PM   #7
carpediem706
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
xtec2,

Here's a pearl I got from reading the RED HAT LINUX 9 BIBLE by Chris Negus on page 685:

You may need to turn the swat service on before using it. Installing it alone does not turn it on.

Here's how you do it:

# chkconfig swat on (note that you need to "su", or be logged on as root to do this.)

Once that is done, restart the xinetd start-up script as follows:

# service xinetd restart.

THEN, open your bowser, and type in "http://localhost:901/" and see if that works for you.


I am currently having the same issue trying to figure out the verbage to open swat on Mandrake 10 Official.
My Red Hat commands are not working. (Imagine that.)

Let me know if this works for you.
 
  


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
Trouble configuring Samba with Fedora, any advice, heres my smb.conf trekgraham Linux - Networking 7 05-03-2004 03:29 PM
configuring samba with swat rmuhammad Linux - Software 5 05-16-2003 12:26 PM
Samba and Swat ppuddick Linux - Networking 5 08-15-2002 03:20 AM
Samba Help with Swat? Alinuxnoob Linux - Newbie 9 06-27-2002 06:38 PM
samba swat has me chens_83 Linux - General 2 03-22-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 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