Solved

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

Posted on 2014-02-04
4
303 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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é.
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

751 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