- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- initrtab behavuour
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
04-05-2002 12:25 AM
04-05-2002 12:25 AM
initrtab behavuour
I thought I'
s get bright , and insert the sendmail daemon into inittab with:
mail:35:respawn:/usr/sbin/sendmail -bd -q30m -om
which is ok; only the way it works is funny:
1. I kill the daemon.
2) Nothing happens for ca. 3 mins
3) sendmail comes up in 8 instances
4) the surplus instances die after ca 3 mins.
How come ?
Anybody know where to to tune this ?
Regards
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 12:26 AM
04-05-2002 12:26 AM
Re: initrtab behavuour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2002 12:02 PM
04-06-2002 12:02 PM
Re: initrtab behavuour
The "-bd" option tells sendmail to run in daemon mode.
Using inittab with "respawn" directive, you tell the "init" process to restart the sendmail daemon when it dies. In my opinion, it is not a good idea to mix both mechanisms.
If you look at "xdm" (or prefdm) in /etc/inittab, a "nodaemon" option is explicitly specified.
For sendmail in inittab, I would suggest "-bD" (capital D):
mail:35:respawn:/usr/sbin/sendmail -bD -q30m -om
The "-bd" (small d) should be used only when sendmail is started from command-line or rc scripts.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 03:13 PM
04-09-2002 03:13 PM
Re: initrtab behavuour
I think the problem is with sendmail going into daemon mode, it becommes a different process, and thus the original calling process is dead. There may some issues in handling this, I figure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 01:58 AM
04-19-2002 01:58 AM
Re: initrtab behavuour
try using "once" instead of "respawn".
regards,
U.SivaKumar.