- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Inetd message on console
Categories
Company
Local Language
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
Discussions
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
Community
Resources
Forums
Blogs
- 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
12-18-2001 07:35 AM
12-18-2001 07:35 AM
Inetd message on console
inet:23:respawn:/sbin/rc2.d/s500inetd start >/dev/console 2>&1 # inetd
However, I'd like to suppress the message "Unable to start Internet Services
Inetd is already running, exit code 255
INIT - command is spawning too rapidly
will try again in 5 minutes" from appearing on the console.
I've tried altering the /dev/console to /dev/null but the message still appears.
Can anyone point me in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:42 AM
12-18-2001 07:42 AM
Re: Inetd message on console
It is not advisable to have inetd entry in inittab file.
Normally, inetd should not fail!! and if it fails, it is a *problem* which has to be looked into and fixed. It is not a getty session to be respawned.
So, my only suggestion would be to not using inetd respawn in inittab.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:42 AM
12-18-2001 07:42 AM
Re: Inetd message on console
This is quite a strange idea. Instead of this you can probably keep a small script as a cronjob to check if the inetd is running and start if not.
I would suggest to take this out of inittab entry.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:44 AM
12-18-2001 07:44 AM
Re: Inetd message on console
Also is this a trusted system, and if so do you have auditing running. You may want to look at this if both are true.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:46 AM
12-18-2001 07:46 AM
Re: Inetd message on console
you can edit inittab file replace respawn with off. You are getting this error because inetd is already running.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:49 AM
12-18-2001 07:49 AM
Re: Inetd message on console
Have a look at:
http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=025ee66f1c0d1ea681/screen=ckiDisplayDocument?docId=200000024598992
Whatever you do do NOT edit the rc files!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 02:50 PM
12-18-2001 02:50 PM
Re: Inetd message on console
"inetd" starts itself into the background, hence your entry will try immediatley to restart it :-(
You'll need some script (started from within "/etc/inittab", it you want), which would use a loop like the following to check for a running inetd:
#!/usr/bin/sh
while sleep 60
do if UNIX95=. ps -C inetd
then : # inetd is ok
else inetd # restart it
date | mailx -s"inetd restarted" root
fi
done > /dev/null
exit 0
This should work...
HTH,
Wodisch