- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trusted System, inetd, a bad app and persistent ch...
Operating System - HP-UX
1822458
Members
2524
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2001 12:04 AM
тАО02-19-2001 12:04 AM
Hello all,
I have a rather unusual problem (was 'I've never seen this before' in that top admin response post?) involving the Trusted System, inetd and MQSeries.
We have a standard security setup where we basically do this:
- enable the trusted system
- enable default auditing
- deny most inetd services using SAM (ftp, tftp, rexec etc. Basically we just leave telnet running plus any app services)
- also we comment out the lines in /etc/inetd.conf for the services we don't run - a double whammy.
MQSeries runs a few services in /etc/inetd.conf. We leave these enabled and allowed (obviously). Now, the problem is that when this configuration is set up, we can't connect to MQSeries. However, if we don't run the trusted system (ie: /usr/lbin/tsconvert -r) then MQSeries runs just fine! As soon as I convert to a trusted system and re-start inetd the problem arises.
This brings me to the children issue. When I run inetd under the trusted system I get about 5 - 10 children that spawn off. If I kill the parent inetd the children don't die. I have to kill them too. I can kill the parent and start a new one and the children still hang around. But when I'm not running a TS there are no children inetd processes.
A couple of other things. I've run inetd -l and it shows a successful connection into the MQSeries service even though I can't connect. This leads me to believe that inetd may be processing the incoming request correctly but that MQ dies after starting up
Second is that if I configure inetd.conf so that MQ runs as root instead of the MQ user (mqm) then I get a connection OK. This would suggest a permissions problem normally but the fact that this problem only occurs when running a TS seems to contradict this. Nonetheless I've checked that all the permissions and ownerships are OK and also we're installed on VxFS filesystems so ACL's aren't a problem.
Any suggestions would be appreciated.
Thanks
Mark
I have a rather unusual problem (was 'I've never seen this before' in that top admin response post?) involving the Trusted System, inetd and MQSeries.
We have a standard security setup where we basically do this:
- enable the trusted system
- enable default auditing
- deny most inetd services using SAM (ftp, tftp, rexec etc. Basically we just leave telnet running plus any app services)
- also we comment out the lines in /etc/inetd.conf for the services we don't run - a double whammy.
MQSeries runs a few services in /etc/inetd.conf. We leave these enabled and allowed (obviously). Now, the problem is that when this configuration is set up, we can't connect to MQSeries. However, if we don't run the trusted system (ie: /usr/lbin/tsconvert -r) then MQSeries runs just fine! As soon as I convert to a trusted system and re-start inetd the problem arises.
This brings me to the children issue. When I run inetd under the trusted system I get about 5 - 10 children that spawn off. If I kill the parent inetd the children don't die. I have to kill them too. I can kill the parent and start a new one and the children still hang around. But when I'm not running a TS there are no children inetd processes.
A couple of other things. I've run inetd -l and it shows a successful connection into the MQSeries service even though I can't connect. This leads me to believe that inetd may be processing the incoming request correctly but that MQ dies after starting up
Second is that if I configure inetd.conf so that MQ runs as root instead of the MQ user (mqm) then I get a connection OK. This would suggest a permissions problem normally but the fact that this problem only occurs when running a TS seems to contradict this. Nonetheless I've checked that all the permissions and ownerships are OK and also we're installed on VxFS filesystems so ACL's aren't a problem.
Any suggestions would be appreciated.
Thanks
Mark
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2001 12:19 AM
тАО02-19-2001 12:19 AM
Solution
Hi Mark,
If you're running 11.0, Cumulative inted patch PHNE_21835 is supposed to solve the following (from patch description):
"Child inetd process may hang for non-root service on trusted 11.0 system."
Best regards,
Dan
PS: here's the link:
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHNE_21835
If you're running 11.0, Cumulative inted patch PHNE_21835 is supposed to solve the following (from patch description):
"Child inetd process may hang for non-root service on trusted 11.0 system."
Best regards,
Dan
PS: here's the link:
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHNE_21835
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2001 07:38 PM
тАО02-20-2001 07:38 PM
Re: Trusted System, inetd, a bad app and persistent children
Thanks, Dan.
I applied the patch and now MQSeries runs just fine under a Trusted System. All those pesky inetd children have disappeared too.
I forgot to mention that, yes, I am running 11.00 on a L2000.
Mark
I applied the patch and now MQSeries runs just fine under a Trusted System. All those pesky inetd children have disappeared too.
I forgot to mention that, yes, I am running 11.00 on a L2000.
Mark
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP