Operating System - HP-UX
1855302 Members
1773 Online
104109 Solutions
New Discussion

Re: inetd.conf & /usr/bin/env on Itanium

 
SOLVED
Go to solution
Neil Brocklesby
Occasional Visitor

inetd.conf & /usr/bin/env on Itanium

Here's the problem.

I have an HPUX 11.23 Itanium system on which we are trying to install some application software to work on a specific port. I configured it as requested in the docs', but every time we telnet to the port the session just hangs.

We have also attempted some test configurations.

inetd.conf:
test stream tcp nowait testuser /usr/bin/env env -i HOME=/home/testuser LOGNAME=testuser /home/testuser/testscript

services:
test 8500/tcp

The script called just contains a banner command.

Now, when this is added to a PA-RISC 11.00 system its works fine, telneting to port 8500 produces the banner and drops the connection.

On my Itanium 11.23 system it opens the connection and just sits there forever,checking the process table shows that a child inetd process has been started, but there is nothing else attached to that process.

Aborting the connection leaves the child inetd process sat in the process table forever, it can be killed though.

I've tried this on another Itanium with the same results.

Does anyone know anything that I may be overlooking.
2 REPLIES 2
Ermin Borovac
Honored Contributor
Solution

Re: inetd.conf & /usr/bin/env on Itanium

Is the 11.23 system trusted (i.e. passwords are kept under /tcb)?

If so there is an issue with inetd documented in

Doc_id: 8606393744 (CR# JAGaf53799)
Title: 11.23 child inetd process hangs for non-root service on trusted systems

The problem is fixed in libsec cumulative patch PHCO_32794, so check if you have this patch or superseding patch installed.
Neil Brocklesby
Occasional Visitor

Re: inetd.conf & /usr/bin/env on Itanium

Thanks, I haven't had time to patch it yet, but it pretty much explains the problem 100%.

I'll arrange the patching and post the result.