1834156 Members
2291 Online
110064 Solutions
New Discussion

Re: Weird FTP problem

 
Jeff_Traigle
Honored Contributor

Weird FTP problem

This one makes no sense to me...

Yesterday afternoon, I disabled telnet and other unnecessary services in inetd.conf on an HP-UX 11.00 system. I found out this afternoon that FTP hasn't been working since then. (Connection times out.) Experimenting a little bit revealed that if I re-enabled telnet, FTP started working again. The other two systems we've patched in the past week or two and disabled telnet on do not exhibit this behavior. (Though different class machines, 11.00 is running on all of them and now have the same patches.) I even tried copying the inetd.conf from one of these other systems just in case there was some weird hidden character playing with us, but the result is the same.

Anyone ever seen this kind of thing before? Any ideas?
--
Jeff Traigle
5 REPLIES 5
RAC_1
Honored Contributor

Re: Weird FTP problem

First error messsages, what are those??

You should have ftpd -l and inetd logging enabled. Do you have /etc/shells files??

Anil
There is no substitute to HARDWORK
A. Clay Stephenson
Acclaimed Contributor

Re: Weird FTP problem

Although you didn't specifically state this, my best guess is that you commented out the /etc/services entry at the same time that you disabled ftpd in /etc/rc.config.d/inetd.conf. ftpd should have nothing to do with the ftp client.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Weird FTP problem

2nd off the wall guess: You actually get your services map from NIS/NIS+/LDAP and you disabled one of those at the same time.
If it ain't broke, I can fix that.
Jeff_Traigle
Honored Contributor

Re: Weird FTP problem

Hmmm... actually, it seems the problem was that inetd needed to be restarted instead of simply rereading the configuration. Discovered this when I killed it and ran with -l option for logging. It worked right away then. Weird.
--
Jeff Traigle
D Block 2
Respected Contributor

Re: Weird FTP problem

Jeff, glad to hear you are doing fine now.

one rule is to turn on (or toggle) logging:

# inetd -l
# tail -f /var/adm/syslog/syslog.log

on another terminal window, do your ftp'ing testing.. and verify what syslog shows.

my 2-cents,
Tom




Golf is a Good Walk Spoiled, Mark Twain.