1829578 Members
6088 Online
109992 Solutions
New Discussion

Re: SWAT

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

SWAT

Ok,
I appreciate all your help.

I vi'd /etc/xinetd.dswat and changed disable = no.

I restarted the services 'service xinetd restart...OK

Now I still can not connect to http://mullet.ihs-inc.com:901 to use swat.

I started /usr/sbin/swat but I am still not able to connect.
UNIX IS GOOD
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: SWAT

First place I'd check is /etc/sysconfig/iptables

See if port 901 is blocked. Same basic idea with ipchains if in use.

If you suspect the firewall here is a test.

service iptables stop

Test the link.

If it works, you know its a firewall problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Claudio Cilloni
Honored Contributor

Re: SWAT

/usr/sbin/swat should not be started, because the swat program is launched by xinet deamon when you connected with your browser.

Are you sure there aren't firewall limitations to reach that address at port 901? try connecting with a browser running directly on the linux-samba server. You can use lynx:

$ lynx http://localhost:901

I made exactly the same steps I suggested you an my Redhat 7.3 machine. I works well. Maybe something changed with new version of samba. The /usr/share/swat contains the samba documentation (in RH7.3); maybe it could be useful.

hth
Claudio
Nobody's Hero
Valued Contributor

Re: SWAT

Actually I tried to connect to 901 from the host console. It tried to connect but I get an alert message.

" The Document contains no data"
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: SWAT

Ok,
I tried

http:localhost:901 from the local browser and I can now see samba screen.
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: SWAT

Ok Thanks,
Sorry for all the questions. I am used to HP-UX only.

Ok I am configuring the smb.conf file via swat.
I am entering the interface.
How do I find out my interface in linux?
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: SWAT

Ok, I got it....eth0.

Thanks for your help everyone. Sorry I wanted to post a '10' to this message string, but I messed up with fat fingers.
UNIX IS GOOD
John Meissner
Esteemed Contributor
Solution

Re: SWAT

I've always had trouble setting up Samba and swat... but when I installed Red Hat 9 samba was almost as easy (almost) as Windoz. i'd highly recommend. It only took me 2 minutes from start to sharing files.... very easy
All paths lead to destiny