- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: inetd servi ce issue
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
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
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
02-19-2013 11:29 AM
02-19-2013 11:29 AM
Hi All,
I am trying to start the inetd services but it is not getting started.
I have tried with inetd -c command.
[root@ncsqas06:/etc]#
#-> ps -ef | grep -i inetd
root 4075 20851 0 14:27:45 pts/5 0:00 grep -i inetd
[root@ncsqas06:/etc]#
#->
[root@ncsqas06:/etc]#
#-> ll /etc/inetd.conf
-r--r--r-- 1 bin bin 5022 Feb 24 2009 /etc/inetd.conf
[root@ncsqas06:/etc]#
#->
Anyone please let me know, whats the exact issue
Solved! Go to Solution.
- Tags:
- inetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2013 11:52 AM
02-19-2013 11:52 AM
Re: inetd servi ce issue
'inted -c' simply tells inetd to re-read its configuration file. If inetd isn't running then that will not accomplish anything.
To start inetd try doing:
# /sbin/init.d/inetd start
If there are any errors, post them and we can troubleshoot.
You should also check /var/adm/syslog/syslog.log for any error messages about inetd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 04:15 AM
02-20-2013 04:15 AM
Re: inetd servi ce issue
An inetd is already running
Usage: inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]
inetd [-c]
inetd [-k]
EXIT CODE: 255
Unable to start Internet Services
[root@ncsqas06:/.root]#
#->
[root@ncsqas06:/.root]#
#-> ps -ef | grep -i inetd
root 14526 14099 0 07:14:45 pts/0 0:00 grep -i inetd
[root@ncsqas06:/.root]#
#-> /sbin/init.d/inetd -k
usage: /sbin/init.d/inetd {start|stop}
[root@ncsqas06:/.root]#
#-> /sbin/init.d/inetd stop
Terminated
[root@ncsqas06:/.root]#
#-> /sbin/init.d/inetd start
An inetd is already running
Usage: inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]
inetd [-c]
inetd [-k]
EXIT CODE: 255
Unable to start Internet Services
[root@ncsqas06:/.root]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 08:08 AM
02-20-2013 08:08 AM
Re: inetd servi ce issue
I have tired to restart it but it is not getting started and these below logs are getting generated on the server.
#-> ps -ef | grep -i inetd
root 23682 14099 0 11:06:53 pts/0 0:00 grep -i inetd
[root@ncsqas06:/var/adm/syslog]#
#-> uname -a
HP-UX ncsqas06 B.11.23 U ia64 3127169658 unlimited-user license
[root@ncsqas06:/var/adm/syslog]#
#->
Feb 20 11:05:02 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23205 (/opt/TIDAL/Agent/lib/HP-UX11i/tjb) to PRMID 0
Feb 20 11:05:13 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23355 (/usr/openv/netbackup/bin/bpcd) to PRMID 1
Feb 20 11:05:14 ncsqas06 HP-PRM: [5976]: prm1d: moved pgrp 23356 (/opt/quest/qmxcm/libexec/qmxsmsoopcpp1pr) to PRMID 1
Feb 20 11:05:21 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23372 (/usr/openv/netbackup/bin/bpcd) to PRMID 1
Feb 20 11:05:30 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23397 (/usr/openv/netbackup/bin/bpcd) to PRMID 1
Feb 20 11:05:30 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23396 (/usr/openv/netbackup/bin/bpcd) to PRMID 1
Feb 20 11:05:55 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23458 (/usr/openv/netbackup/bin/bpcd) to PRMID 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 02:05 PM
02-20-2013 02:05 PM
Re: inetd service issue
>I have tired to restart it but it is not getting started
You may want to try tusc to see what errors inetd is getting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 05:02 AM
02-21-2013 05:02 AM
Re: inetd service issue
#-> /home/sverma8/tusc/tusc/tusc-RUN/usr/local/bin/tusc -f -p -T "%c" -k -o /tmp/tusc_inetd_start inetd
An inetd is already running
Usage: inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]
inetd [-c]
inetd [-k]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 02:17 PM
02-21-2013 02:17 PM
Re: inetd service issue
>I have tried with inetd -c command.
Did you get a message saying: There is no inetd running
>An inetd is already running
Is it now running? Or were you very unlucky and caught it just before it died?
Have you changed /etc/inetd.conf recently and broken it? (I guess not since Feb 2009.)
You might want to use "inetd -l" to turn on logging.
And look at syslog to see if any messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 02:02 AM
02-22-2013 02:02 AM
Re: inetd service issue
Since you ran inetd with tusc, the /tmp/tusc_inetd_start file should now contain a list of all the system calls made by inetd in that start attempt. Examining that file should reveal what inetd was checking to see if it's already running.
Look for the "An inetd is already running" message in the tusc output file, then look for filenames it accesses just before that.
If you don't know how to interpret the tusc output file (/tmp/tusc_inetd_start according to the command you used), please attach it to this thread.
Apparently inetd does not have a PID file, so the reason for this behavior cannot be a stale PID file. Maybe a stale UNIX socket/FIFO or something like that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2013 06:57 AM
02-24-2013 06:57 AM
Re: inetd service issue
Hi,
I am attaching the file /tmp/tusc_inetd_start.
Please review it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2013 01:14 PM - edited 02-24-2013 01:16 PM
02-24-2013 01:14 PM - edited 02-24-2013 01:16 PM
Re: inetd service issue
Thu Feb 21 07:27:50 2013 [8057] semget(0x1090522, 1, 0) .................................. = 16390
Thu Feb 21 07:27:50 2013 [8057] semctl(16390, 0, GETPID, 0) .............................. = 0
These entries indicate that a leftover inetd semaphore with the key 0x1090522 is the problem.
Did someone use a kill -9 on inetd?
You may want to list it: ipcs -sa
You can cleanup by: ipcrm -s 16390
>Maybe a stale UNIX socket/FIFO or something like that?
Hmm, a stale semaphore. And they are trying to get a PID out of it and not recognizing a PID of 0, isn't much good.