1833758 Members
2535 Online
110063 Solutions
New Discussion

xinetd on HP-UX

 
SOLVED
Go to solution
ANJU PATEL
Occasional Contributor

xinetd on HP-UX

Hello,
Need help with xinetd!!!
I downloaded the binaries for xinetd from hp.software.com and installed using swinstall and it did not create the /sbin/init.d/xinetd script. I got xinetd script from a linux user and the script has LANG set to en_US. Since we do not have bash shell this en_US is not valid locale. Does anyone know what should be the LANG parameter on HP-UX 11.11?
4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: xinetd on HP-UX

The "locale -a" command should display all valid values for LANG and other locale variables.
MK
ANJU PATEL
Occasional Contributor

Re: xinetd on HP-UX

I did do locale -a and saw that en_US.iso88591 was valid. I tried en_US.iso88591 and it did not work. We are using service guard and looks like we are having problem with the ident service working with xinetd and getting warning message on LANG. When we rebooted our service guard servers the cluster would not come up and we had to go with inetd in order to bring the cluster up.
Matti_Kurkela
Honored Contributor
Solution

Re: xinetd on HP-UX

Invalid LANG setting should not prevent a program from running. The program should just behave like LANG was not set at all and use the POSIX standard defaults.

If your preferred LANG value is en_US, there should be no harm in leaving the LANG unset for xinetd.

What is the error message you're getting?
Could we have a look at the xinetd script you got? There may be other Linux-specific things in it which prevent it from working on HP-UX without changes.
MK
ANJU PATEL
Occasional Contributor

Re: xinetd on HP-UX

I have attached the xinetd config and startup script. Following is the messages we get in syslog when we tried to bring the service guard cluster.

May 20 13:51:10 warthog xinetd[3417]: warning: can't get client address: Socket is not connected
May 20 13:51:10 warthog xinetd[1453]: Deactivating service ident due to excessive incoming connections. Restarting in 10 seconds.
May 20 13:51:10 warthog cmclconfd[3367]: ERROR: The identd authenticated user name () did not match with the sender user name (root)
while querying for node warthog.bcbst.com. Exiting.
May 20 13:51:10 warthog CM-CMD[3365]: Request from root on node warthog to start the cluster on this node failed: not authorized.
May 20 13:51:20 warthog xinetd[1453]: Activating service ident
May 20 13:52:27 warthog xntpd[1872]: synchronized to 10.30.4.5, stratum=1
May 20 13:53:48 warthog xinetd[1453]: Unexpected signal 26
May 20 13:53:48 warthog xinetd[1453]: Exiting...


I noticed the in the xinetd.conf file the user for service ident is bin, should the user be root?

Thanks for helping!!!!