- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inetd on Solaris 2.5
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
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
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-06-2003 10:59 AM
тАО02-06-2003 10:59 AM
I know that I should post this at Sun but I figure that I'll get a much quicker answer here.
I have made come changes to inetd.conf on a Sun running Solaris 2.5. I've saved the changes but when I run inetd -c the command fails. A man of inetd shows no option to force a reconfiguration of inetd. So now what do I do to get my changes to occur with a reboot?
TIA, Neil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:00 AM
тАО02-06-2003 11:00 AM
SolutionWe don't need no stinkin' -c option - that's just an HP convenience. All inetd's since the dawn of time respond to a SIGHUP.
You just need to do a ps -e | grep inetd and get the PID. Then kill -1 PID.
That should fix you, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:04 AM
тАО02-06-2003 11:04 AM
Re: inetd on Solaris 2.5
I don't understand. Won't a kill -1 PID kill the inetd process? This is a production server so inetd must not be killed.
Thanks again, Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:04 AM
тАО02-06-2003 11:04 AM
Re: inetd on Solaris 2.5
kill -SIGHUP PID
kill -HUP PID
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:07 AM
тАО02-06-2003 11:07 AM
Re: inetd on Solaris 2.5
This signal kills the process AND then restarts it.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:07 AM
тАО02-06-2003 11:07 AM
Re: inetd on Solaris 2.5
This is the C equivalent to a 'trap' in the shell - actually it's the other way around since the shell is written in C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:10 AM
тАО02-06-2003 11:10 AM
Re: inetd on Solaris 2.5
*Most* of the time kill -1 will stop/restart the process.
But as Clay pointed out - in this case inetd traps that signal & then has a special action - re-read the conf file.
BUT even if inetd was stopped/restarted it wouldn't hurt because a kill on inetd will not break any current connections - it just prevents new ones until inetd starts again.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2003 11:24 AM
тАО02-06-2003 11:24 AM