Operating System - HP-UX
1830512 Members
2643 Online
110006 Solutions
New Discussion

services depended on inetd does not start properly

 
Li Hao
Advisor

services depended on inetd does not start properly

I have a HPUX 11.23 box which run cvs server through inetd, which is not start properly when client connect to it.

The server was shutdown before this happen due to root file system full. after boot to single user mode to clean up the root file system, I reboot the server and found that the cvs server is not working properly.

when client connect to cvs server. The port is open, but the inetd does not start the cvs server to talk to the client.

I have try to enable ftp, it also does not turn on the ftp server when client connected.

Start/stop of inetd service does not help. after stop using /sbin/init.d/inetd stop, the process still exist, I have to use kill -9 to kill the inetd process.

5 REPLIES 5
Peter Nikitka
Honored Contributor

Re: services depended on inetd does not start properly

Hi,

check your /etc/services and the
services:
entry in /etc/nsswitch.conf which policy is used for resolving.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Steven E. Protter
Exalted Contributor

Re: services depended on inetd does not start properly

Shalom,

On certain releases of HP-UX when the root filesystem gets full, certain system files get hammered. They get reduced in size, sometimes to zero bytes.

Any file important to inetd and networking (listed in prior post) should be checked for size and completeness.

Also check /etc/rc.config.d/netconf
/etc/passwd
/etc/group
/etc/nsswitch.conf

Pretty much any file that has anything to do with networking can be the culprit here.

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
Li Hao
Advisor

Re: services depended on inetd does not start properly

The problem somehow resolved by itself after few hours. I have try multiple time of stop/start inetd, but I don't think that is the solution.

Yesterday we have another similar incident, and the inetd again does not start the cvs server, and we did the stop/start for 3-4 hours but it still not working. This morning I try to access the cvs server, and it works again.

There must be some setting or problem somewhere which cause this strange problem but I just can't find it.
Li Hao
Advisor

Re: services depended on inetd does not start properly

I just found that in syslog there are a lot of entries saying "registar: /etc/tcpd.conf not found". I check other 11.23 servers, there is no /etc/tcpd.conf also. will this be the cause of the problem?
TY 007
Honored Contributor

Re: services depended on inetd does not start properly

Hello Li,

>> "registar: /etc/tcpd.conf not found"

# touch /etc/tcpd.conf
# chmod 444 /etc/tcpd.conf

Thanks