- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Whats the correct way to restart inetd
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
Discussions
Forums
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
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
тАО05-07-2009 07:02 AM
тАО05-07-2009 07:02 AM
Whats the correct way to restart inetd
Hi,
Can anyone help.. I am getting a error when telneting to my HP-UX server, (I'm trying to telnet to port 3872 on HP-UX server from aremote server, I get connection refusted. I'ce checked firewall, The rules are in palce and the port 3872 is enabled, it doesnt look like its firewall. I've checked /etc/inetd.conf and found the line with telnet commented out. So I have un commented and would like to know the correct way to restart inetd. And hoping that will fix it.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:04 AM
тАО05-07-2009 07:04 AM
Re: Whats the correct way to restart inetd
Just run #inetd -c to reread the configuration file. that's enough. No need to restart inetd daemon.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:06 AM
тАО05-07-2009 07:06 AM
Re: Whats the correct way to restart inetd
What process should answer port 3872 requests?
This is normally used by oracle.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:08 AM
тАО05-07-2009 07:08 AM
Re: Whats the correct way to restart inetd
Yes I have tried inetd -c, it probably has re read the file, but hasnt fixed th etelent connection refused issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:09 AM
тАО05-07-2009 07:09 AM
Re: Whats the correct way to restart inetd
yes should be oracle using port 3872
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:17 AM
тАО05-07-2009 07:17 AM
Re: Whats the correct way to restart inetd
By default telnet will listen on port no 23. If you want to configure to listen on some other port comment out the existing line on /etc/inetd.conf and /etc/services and put the new entries like this...
#vi /etc/inetd.conf
newtelnet stream tcp nowait root /usr/lbin/telnetd telnetd
#vi /etc/services
newtelnet 3872/tcp # new telnet with port no 3872
then reread the inetd daemon by #inetd -c
Make sure that port 3872 is not used by any other service or application.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:22 AM
тАО05-07-2009 07:22 AM
Re: Whats the correct way to restart inetd
in my opinion port 3872 is not in listen currently, you can check that by
netstat -an|grep 3872
You're getting connection refused not for telnet issues, the reason is that port is not on listen. Just for a try, issue
netstat -an
and
telnet
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:23 AM
тАО05-07-2009 07:23 AM
Re: Whats the correct way to restart inetd
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:31 PM
тАО05-07-2009 07:31 PM
Re: Whats the correct way to restart inetd
The correct way to restart would be:
/sbhin/init.d/inetd stop; /sbin/init.d/inetd start
in single line, yes, to minimize the time when it remains down. And then ensure it started.
It is critical to start inetd immediately upon stopping it because many services are dependent on it. Particularly when you have clustered nodes, a failure of inetd beyond time out periods can spell disaster.
Regards,
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:55 PM
тАО05-07-2009 07:55 PM
Re: Whats the correct way to restart inetd
So you may test with telnet, but modify the inetd.conf will create other problems and isn't a solution.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:55 PM
тАО05-07-2009 07:55 PM
Re: Whats the correct way to restart inetd
telnet
and also
lsof -i tcp:3872
Regards,
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 09:39 PM
тАО05-07-2009 09:39 PM