Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to specify rdns for multi-homed mail server 5 39
AWS Central Authentication 1 59
awk file 6 51
capture vmstat info and insert it into an oracle table 31 15
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

770 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