Solved

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

Posted on 2014-02-04
4
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 16

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 62

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

615 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