- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inetd was killed - how do I figure out why ?????
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
08-23-2006 09:20 AM
08-23-2006 09:20 AM
inetd was killed - how do I figure out why ?????
Symptom: Telnet stopped accepting new connections
What I found: inetd was not running
Fixed by : /sbin/init.d/inetd start
What I cant figure out is what killed it. The only entry in syslog.log was :
Aug 23 07:30:02 mysystem inetd[800]: Going down on signal 15
Any Ideas on what to look at ? Where to look ?
Thanks in advance
Glen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 09:22 AM
08-23-2006 09:22 AM
Re: inetd was killed - how do I figure out why ?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 09:33 AM
08-23-2006 09:33 AM
Re: inetd was killed - how do I figure out why ?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 10:10 AM
08-23-2006 10:10 AM
Re: inetd was killed - how do I figure out why ?????
--------------------------------------------
#!/usr/bin/sh
# Checks to see that inetd is running
# 07/27/1998 acs only execute in run level 3
typeset PROCESS=inetd
typeset TDIR=${TMPDIR:-/var/tmp}
typeset LOG=${TDIR}/inetdchek.log
typeset ERRLOG=${TDIR}/inetdchek.err
readonly PROCESS LOG ERRLOG
PATH=/usr/bin:${PATH}
export PATH
run_state()
{
typeset -i RSTAT=0
typeset RS=$(who -r | awk '{ print $3 }')
RSTAT=${?}
if [[ ${RSTAT} -ne 0 ]]
then
RS="-1"
fi
echo "${RS}"
return ${RSTAT}
} # run_state
typeset -i STAT=0
typeset RS1=$(run_state)
STAT=${?}
if [[ "${RS1}" -ne 3 ]]
then
exit ${STAT}
fi
UNIX95="" ps -C ${PROCESS} -o pid= > /dev/null 2>&1
STAT=${?}
if [[ ${STAT} -ne 0 ]] # process not found
then
/sbin/init.d/${PROCESS} stop >> ${LOG} 2>>${ERRLOG}
sleep 5
/sbin/init.d/${PROCESS} start >> ${LOG} 2>>${ERRLOG}
STAT=${?}
fi
exit ${STAT}
-------------------------------------------
Because your inetd in this case received a SIGTERM and because the UID of this process is 0, the only user that could have sent the signal (ie a kill -15) to inetd was root. As Pogo said (or nearly so), "We have met the enemy and the enemy is us." In any event, I would cron the above script because it will restart inetd if it stops for whatever reason. Though it is not the problem in your case, I would also install the latest inetd cumulative patch because there were some problems which would cause inetd to crash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 11:55 PM
08-23-2006 11:55 PM
Re: inetd was killed - how do I figure out why ?????
- That script looks promising - I will give it a try.
- the history file showed nothing related to this :(
- Is there any way to trap (in the logs maybe) what process is sending the sigterm ? I like to solve problems instead of just finding a workaround.
Again , thanks . The hunt continues.
Glen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 12:10 AM
08-24-2006 12:10 AM
Re: inetd was killed - how do I figure out why ?????
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 12:15 AM
08-24-2006 12:15 AM