Solved

How to make a service autostart next time the HP UX server boots

Posted on 2014-02-04
4
296 Views
Last Modified: 2014-02-16
Hi ,

I need to make sure service1 starts automatically next time HP UX boots

i am on the /etc/rc.config.d]#

but not sure which file to edit.

Any help would be appreciated.
0
Comment
Question by:c_hockland
4 Comments
 
LVL 15

Assisted Solution

by:max_the_king
max_the_king earned 250 total points
ID: 39833347
Hi,
i believe you should add up a line into the /etc/inittab file.

here you find an example to add the dsmcad process at autostart:
http://h30499.www3.hp.com/t5/System-Administration/Edit-File-inittab/td-p/4759019#.UvEubG3YlZs

hope this helps
max
0
 
LVL 14

Expert Comment

by:comfortjeanius
ID: 39833356
Follow these instruction and if you need further assistance just let me know... Create Startup /shutdown script in HP UX
0
 

Author Comment

by:c_hockland
ID: 39833518
thanks for the great inputs.
So if my service is

service uc4 start

how to create a sdcript out of it in order to  add it to the appropriate rc? as the aericle describes ?
0
 
LVL 61

Accepted Solution

by:
gheist earned 250 total points
ID: 39833967
The script needs at least to react on start parameter (blank script that starts a program will do if prepended with headers from other file)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now