I figured it out after reading trough the /etc/init.d/vsftpd file. I had
to move /etc/vsftpd/vsftpd.conf to /etc/vsftpd.conf (default location)
and edit the file to remove the line standalone=yes. It seems that
Redhats way of using non-standard locations for conf files is what could
me into trouble. 



-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens Sebastiaan Mangoentinojo
Verzonden: donderdag 12 juni 2003 13:39
Aan: [EMAIL PROTECTED]
Onderwerp: Redhat 9 - vsftpd and xinetd


I'm trying to get vsftpd on my freshly installed Redhat 9 server to work
via xinetd, mainly because I want to restrict ftp access to the
localhost (for a php script). I tried using hosts.allow and hosts.deny
like I did in the past, but I couldn't get it to work (I cleared there
contents in the end). So I decided to use xinetd and downloaded the
xinetd/vsftpd script and installed in /etc/xinetd.d. It seemed to work
at first, but now I keep getting "500 OOPS: could not bind listening
socket" messages when I try to connect locally. It worked before I added
the only_from statement in /etc/xinetd.d/vsftpd. After some tweaking
(different IP's, subnets etc) the ftp daemon was acting weird and I
removed the only_from statement in /etc/xinetd.d/vsftpd. Restarted
xinetd a few times with "service xinetd restart", rebooted etc. But
couldn't get it working anymore (the 500 error). I even removed
/etc/xinetd.d/vsftpd and installed a fresh copy, reinstalled the RPM
(removing /etc/init.d/vsftpd every time). I don't get any errors in
/var/log/messages.

So I did a netstat -an only to discover something listening on
0.0.0.0:21. So I stopped xinetd did netstat again, but now 0.0.0.0:21 is
gone. So how come xinetd is stating that it could not bind a listening
socket? Or I'm slowly realizing that I don't fully comprehend the whole
inetd/xinetd setup of my machine. Is it so that some services are still
started trough inetd, while others start trough xinetd? What's the point
of this? And since I can't find a inetd.conf file anymore how do I
figure out how inetd is configured? Can anyone point me in the right
direction? I'm especially curious if someone can explain the Redhat 9
setup for inetd/xinetd, non-standard location of conf files etc.

Thanks in advance.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to