- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using inittab
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-04-2003 05:26 AM
08-04-2003 05:26 AM
using inittab
At the very end of /etc/inittab i have a user script No.1 that starts an application in a background. I decided to put another user program No.2 before the No.1 script. Now No.2 runs, but No.1 does not run anymore. No.1 is located in /etc, No.2 is in /home/me directory.
Are there any issues with running user aps from inittab? I know it is not reccomended to run from inittab, but due to our configuration management dictatorship, i have to start the aps from inittab for now.
Thanks,
Vlad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:31 AM
08-04-2003 05:31 AM
Re: using inittab
1) The change the default run level of the machine.
2) To configure the machine to shutdown when the UPS says to.
I would take caution at just spawning an application there. Solve the problem. A mistake in /etc/inittab could easily have your box at its knees, very fast.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:38 AM
08-04-2003 05:38 AM
Re: using inittab
Post your two applications entries from 'etc/inittab', please.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 03:08 AM
08-05-2003 03:08 AM
Re: using inittab
Better way is you can configure new start/stop scripts and put in appropriate run level directory.For example put the start script in
/sbin/rc2.d for run level 2 and /sbin/rc1.d will contain the stop script script.
The template file for this is available in /sbin/init.d/template .
This is the recommented practice.
Inittab is a systemwide initialisation file, which generally contains entries to start all system processes while boot up.
regards,
baiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 04:14 AM
08-05-2003 04:14 AM