Operating System - HP-UX
1838052 Members
3917 Online
110124 Solutions
New Discussion

inetd behaving oddly after 11.23 upgrade

 
SOLVED
Go to solution

inetd behaving oddly after 11.23 upgrade

We are running cvs for source control. It worked fine on 11.0. We upgraded our server to 11.11 and also upgraded the CVS file-set to the 11.11 PA-RISC version and it continued to work o.k.

We then upgraded the same PA-RISC server to 11.23 and also installed the 11.23 PA-RISC version of CVS and it stopped working.

One thing I have noticed is that when I try to connect to CVS a second inetd child-process starts and remains indefinately. The CVS login nevers comes back with either a success or failure

I restarted inetd with the -l option and all I got in the syslog was the following

Oct 15 19:40:12 ilife121 inetd[10049]: cvsport/tcp: Connection from unknown (10.239.52.112) at Sat Oct 15 19:40:12 20
05
Oct 15 19:40:19 ilife121 inetd[10050]: registrar/tcp: Connection from ilife121 (10.239.41.21) at Sat Oct 15 19:40:19
2005


Can anyone suggest any further logging/tracing/debugging I can do to see what is causing it to 'stick'
8 REPLIES 8
Stuart Abramson
Trusted Contributor

Re: inetd behaving oddly after 11.23 upgrade

Check your /etc/inetd.conf and make sure it's right.

The registrar entry comes from EMS Monitoring, I think. I'm not sure that it has anyting to do with cvs.

Are you mixing up the ports in /etc/services? Check them too...

Re: inetd behaving oddly after 11.23 upgrade

I had a check of all the config and I double checked the permissions on the /home/cvs directory

$grep cvs /etc/inetd.conf

cvsport stream tcp nowait cvs /usr/local/bin/cvs /usr/local/bin/cvs --allow-root=/home/cvs pserver

$grep cvs /etc/services
cvsport 2401/tcp #cvs

$grep 2401 /etc/services
cvsport 2401/tcp #cvs

$file /usr/local/bin/cvs
/usr/local/bin/cvs: PA-RISC2.0 shared executable dynamically linked

$ll /usr/local/bin/cvs
-rwxr-xr-x 1 root sys 602112 Oct 14 14:25 /usr/local/bin/cvs


Ermin Borovac
Honored Contributor

Re: inetd behaving oddly after 11.23 upgrade

Can you try connecting to CVS from the server (ilife121) itself?

Try running 'telnet 2401' from both server and clients. After connecting enter some text followed by return and compare the results.

See the following link for some troubleshooting tips.

http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Troubleshooting#Trouble_making_a_connection_to_a_CVS_server

Syslog message states 'connection from unknown' indicating that your server could not resolve IP address of the client. Make sure DNS is properly configured.

Re: inetd behaving oddly after 11.23 upgrade

Looks like a permissions problem. When I use the root account instead of cvs in the inetd.conf line it works fine.

It is just a question now of figuring out what it is having problems with.
Ermin Borovac
Honored Contributor
Solution

Re: inetd behaving oddly after 11.23 upgrade

Patch notes for PHCO_32794 match your symptoms.

Patch Name: PHCO_32794
Patch Description: s700_800 11.23 libsec cumulative patch

( SR:8606393744 CR:JAGaf53799 )
Child inetd process may hang for non-root service on
trusted systems.

If your system is trusted it may be worthwhile installing this patch.

Re: inetd behaving oddly after 11.23 upgrade

That looks like it might well be the culprit. I used the May-2005 CD's to upgrading to 11.23 and the patch is June-2005.

I need to get downtime to apply the patch but I will let you know if it solves the problem.

Re: inetd behaving oddly after 11.23 upgrade

I applied phco_32794 and initial tests indicate that the problem is solved

Re: inetd behaving oddly after 11.23 upgrade

phco_32794 worked