- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need help adding entry into 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
06-11-2002 06:35 AM
06-11-2002 06:35 AM
syncpass:2:respawn:/usr/bin/ssod
I ran the init q afterwards and the process still does not start at bootup. However it will run manually.
Any help would be most appreciated.
Andrew Imm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:37 AM
06-11-2002 06:37 AM
Re: need help adding entry into inittab
change the run levels.....by default the Unix system boots to run level 3
Check the run level by
# init -r
Change it to 3 and it will work
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:39 AM
06-11-2002 06:39 AM
Re: need help adding entry into inittab
you can put two/three entries also
syncpass:234:respawn:/usr/bin/ssod
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:46 AM
06-11-2002 06:46 AM
SolutionThe standard way of starting a process at boot time is to create an entry in /sbin/init.d.
There is a template file there that you can copy and adapt to your needs. You then link the version in /sbin/init.d to start and kill scripts in /sbin/rcN.d.
For example, let's say your script in /sbin/init.d is called 'silly'. You would then make a symbolic link in rc2.d to start the script abd a link in rc1.d to kill the script.
e.g. ln -s /sbin/init.d/silly /sbin/rc2.d/S901silly
ln -s /sbin/init.d/silly /sbin/rc1.d/K099silly.
If the script is started in run-level N (the 'S' script), it should be killed (the 'K' script) in run-level N - 1. By convention, K + S = 1000; that generally brings a service up and down in correct order.
Man rc for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:48 AM
06-11-2002 06:48 AM
Re: need help adding entry into inittab
The entry should look like this :L
syncpass:234:respawn:/usr/bin/ssod
if you want to run it at runlevels 2 ,3 4 and also the file /usr/bin/ssod should be excutable atleast by root.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:09 AM
06-11-2002 11:09 AM
Re: need help adding entry into inittab
CHECK THE CURRENT RUN LEVEL BY
# who -r
By mistake I wrote init -r.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:13 AM
06-12-2002 06:13 AM