vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I was on AIX 5.3 and just applied ML3. It seems services in inetd.conf have stopped working. inetd itself is running and can be refreshed OK. However telnet, ftp etc have stopped working (they are commented in in inetd.conf). If I try to telnet to the server I get >tn serverA Trying... telnet: connect: A remote host refused an attempted connect operation. If I run 'netstat -a' I cant see telnet or ftp listening, eg 'netstat -a |grep telnet' returns nothing whereas on a good system it shows >netstat -a|grep telnet tcp 0 0 *.telnet *.* LISTEN I have checked things such as filepermissions, and inetd.conf looks OK. Do you have any suggestions. Regards, Scott |
| |||
| scott_doyland@johnlewis.co.uk wrote: sdjcu> Hi, sdjcu> I was on AIX 5.3 and just applied ML3. It seems services in inetd.conf sdjcu> have stopped working. inetd itself is running and can be refreshed OK. sdjcu> sdjcu> However telnet, ftp etc have stopped working (they are commented in in sdjcu> inetd.conf). sdjcu> sdjcu> If I try to telnet to the server I get sdjcu> >>tn serverA sdjcu> Trying... sdjcu> telnet: connect: A remote host refused an attempted connect operation. sdjcu> sdjcu> If I run 'netstat -a' I cant see telnet or ftp listening, eg 'netstat sdjcu> -a |grep telnet' returns nothing whereas on a good system it shows sdjcu> >>netstat -a|grep telnet sdjcu> tcp 0 0 *.telnet *.* sdjcu> LISTEN sdjcu> sdjcu> I have checked things such as filepermissions, and inetd.conf looks OK. sdjcu> sdjcu> Do you have any suggestions. sdjcu> sdjcu> Regards, sdjcu> Scott sdjcu> Have you tried starting those servers, e.g., # startsrc -t 'telnet' The error you get might shed some light... Any error log entries? Are the services defined in /etc/services? -Bela (5300-04-01) -- "... I shook my family tree, and a bunch of NUTS fell out ..." |
| |||
| Bela wrote: > scott_doyland@johnlewis.co.uk wrote: > sdjcu> Hi, > sdjcu> I was on AIX 5.3 and just applied ML3. It seems services in inetd.conf > sdjcu> have stopped working. inetd itself is running and can be refreshed OK. > sdjcu> > sdjcu> However telnet, ftp etc have stopped working (they are commented in in > sdjcu> inetd.conf). > sdjcu> > sdjcu> If I try to telnet to the server I get > sdjcu> > >>tn serverA > sdjcu> Trying... > sdjcu> telnet: connect: A remote host refused an attempted connect operation. > sdjcu> > sdjcu> If I run 'netstat -a' I cant see telnet or ftp listening, eg 'netstat > sdjcu> -a |grep telnet' returns nothing whereas on a good system it shows > sdjcu> > >>netstat -a|grep telnet > sdjcu> tcp 0 0 *.telnet *.* > sdjcu> LISTEN > sdjcu> > sdjcu> I have checked things such as filepermissions, and inetd.conf looks OK. > sdjcu> > sdjcu> Do you have any suggestions. > sdjcu> > sdjcu> Regards, > sdjcu> Scott > sdjcu> > > Have you tried starting those servers, e.g., # startsrc -t 'telnet' > The error you get might shed some light... Any error log entries? > Are the services defined in /etc/services? > > -Bela (5300-04-01) > -- > "... I shook my family tree, and a bunch of NUTS fell out ..." I have turned on debug mode for inetd and get this in /tmp/syslog.out ar 31 11:16:09 mcsjl40b syslog:info syslogd: restart Mar 31 11:16:25 mcsjl40b daemon:debug inetd[356414]: ADD : ftp proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/ftpd Mar 31 11:16:25 mcsjl40b daemon:err|error inetd[356414]: ftp/tcp: bind: Addr family not supported by protocol Mar 31 11:16:25 mcsjl40b daemon:debug inetd[356414]: ADD : telnet proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/telnetd Mar 31 11:16:26 mcsjl40b daemon:err|error inetd[356414]: telnet/tcp: bind: Addr family not supported by protocol Mar 31 11:16:26 mcsjl40b daemon:debug inetd[356414]: ADD : shell proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/rshd Mar 31 11:16:26 mcsjl40b daemon:err|error inetd[356414]: shell/tcp: bind: Addr family not supported by protocol Mar 31 11:16:26 mcsjl40b daemon:debug inetd[356414]: ADD : login proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/rlogind Mar 31 11:16:26 mcsjl40b daemon:err|error inetd[356414]: login/tcp: bind: Addr family not supported by protocol Mar 31 11:16:26 mcsjl40b daemon:debug inetd[356414]: ADD : exec proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/rexecd Mar 31 11:16:26 mcsjl40b daemon:err|error inetd[356414]: exec/tcp: bind: Addr family not supported by protocol Mar 31 11:16:26 mcsjl40b daemon:debug inetd[356414]: ADD : bootps proto=udp, wait=1(src=0), user=root builtin=0 server=/usr/sbin/bootpd Mar 31 11:16:26 mcsjl40b daemon:debug inetd[356414]: ADD : tftp proto=udp, wait=0(src=1), user=nobody builtin=0 server=/usr/sbin/tftpd Mar 31 11:16:30 mcsjl40b daemon:err|error tftpd[348160]: [00000001] EZZ7025E Retrieval failed for the message: TFTP_MSG_C_25: {1,25} bind failed: Addr family not supported by protocol Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : ntalk proto=udp, wait=1(src=0), user=root builtin=0 server=/usr/sbin/talkd Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: ntalk/udp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : daytime proto=tcp, wait=0(src=0), user=root builtin=20001190 server=internal Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: daytime/tcp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : time proto=tcp, wait=0(src=0), user=root builtin=20001170 server=internal Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: time/tcp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : daytime proto=udp, wait=0(src=0), user=root builtin=200011a0 server=internal Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: daytime/udp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : time proto=udp, wait=0(src=0), user=root builtin=20001180 server=internal Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: time/udp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : wsmserver proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/websm/bin/wsmserver Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: wsmserver/tcp: bind: Address already in use Mar 31 11:16:30 mcsjl40b daemon:debug inetd[356414]: ADD : strexec proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/lpp/storix/bin/strexecd Mar 31 11:16:30 mcsjl40b daemon:err|error inetd[356414]: strexec/tcp: bind: Address already in use Any ideas on what it means. Regards, Scott |
| ||||
| scott_doyland@johnlewis.co.uk wrote: sdjcu> sdjcu> Bela wrote: >> scott_doyland@johnlewis.co.uk wrote: >> sdjcu> Hi, >> sdjcu> I was on AIX 5.3 and just applied ML3. It seems services in inetd.conf >> sdjcu> have stopped working. inetd itself is running and can be refreshed OK. >> sdjcu> >> sdjcu> However telnet, ftp etc have stopped working (they are commented in in >> sdjcu> inetd.conf). >> sdjcu> >> sdjcu> If I try to telnet to the server I get >> sdjcu> >> >>tn serverA >> sdjcu> Trying... >> sdjcu> telnet: connect: A remote host refused an attempted connect operation. >> sdjcu> >> sdjcu> If I run 'netstat -a' I cant see telnet or ftp listening, eg 'netstat >> sdjcu> -a |grep telnet' returns nothing whereas on a good system it shows >> sdjcu> >> >>netstat -a|grep telnet >> sdjcu> tcp 0 0 *.telnet *.* >> sdjcu> LISTEN >> sdjcu> >> sdjcu> I have checked things such as filepermissions, and inetd.conf looks OK. >> sdjcu> >> sdjcu> Do you have any suggestions. >> sdjcu> >> sdjcu> Regards, >> sdjcu> Scott >> sdjcu> >> >> Have you tried starting those servers, e.g., # startsrc -t 'telnet' >> The error you get might shed some light... Any error log entries? >> Are the services defined in /etc/services? >> >> -Bela (5300-04-01) >> -- >> "... I shook my family tree, and a bunch of NUTS fell out ..." sdjcu> sdjcu> sdjcu> I have turned on debug mode for inetd and get this in /tmp/syslog.out sdjcu> sdjcu> ar 31 11:16:09 mcsjl40b syslog:info syslogd: restart sdjcu> Mar 31 11:16:25 mcsjl40b daemon:debug inetd[356414]: ADD : ftp sdjcu> proto=tcp, wait=0(src=0), user=root builtin=0 server=/usr/sbin/ftpd sdjcu> Mar 31 11:16:25 mcsjl40b daemon:err|error inetd[356414]: ftp/tcp: bind: sdjcu> Addr family not supported by protocol <snip><snip><snip><snip> sdjcu> sdjcu> Scott, I am not a TCP/IP guru by any means; however, I notice that for all the failed services "proto=tcp". Looking at my /etc/inetd.conf, I see tcp6. For instance: ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd and similarly for 'telnet, shell, login, exec'. But: imap2 stream tcp nowait root /usr/sbin/imapd imapd We do NOT use IPv6, mind you. I believe the error "Addr family not supported by protocol" indicates a protocol mismatch. Try changing tcp -> tcp6 in the errorneous entries of inetd.conf and see what happens (can't be worse). -Bela -- "... I shook my family tree, and a bunch of NUTS fell out ..." |