01-29-2009
have you placed your start script in /etc/init.d and the appropate runlevel like /etc/rc3.d? if you need a service to start before, give it a lower start number like S98xxx and S99xxx.
also, you should really have dev and prod environments the same. Sol10 and Sol9 can handle things differently.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started?
I found something like /etc/rc.d, /etc/rc.init ...
But I have no idea on them, have anyone can help me?
regards
wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies
2. UNIX for Dummies Questions & Answers
sorry, i'm a newbie to unix...
but how do i or rather where do i write scripts that auto start my application e.g. Informix?
in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX?
Greetings,
Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies
4. UNIX for Dummies Questions & Answers
I've put this script in /etc/rc.d and made a symbolic link to it from S99pctb in /etc/rc.d/rc3.d but it wont start up. Anyone know why ?
This is the script:
---------------------------
#!/bin/sh
c=1
case "$1" in
start)
echo -n "starting pctb ..." > /etc/logger
while ; do... (7 Replies)
Discussion started by: msearson1
7 Replies
5. AIX
Hello Friends,
Does anyone know how to create a startup script for Jboss on IBM AIX 5.3?
Please help me, I'd be highly grateful to you...
Thanks & Regards,
Vinit (0 Replies)
Discussion started by: vpatil6688
0 Replies
6. AIX
Hi,
I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server.
which commands may help me?
which commands do I need to use?
my server configuration is, in brief:
hardware:IBM P550 / OS : AIX 5300
thanks,... (1 Reply)
Discussion started by: talipk
1 Replies
7. AIX
As topic, assume we have a service called "blahservice"
and we can start it by:
startsrc -s blahservice
what is the best practice to run such command when system start?
- directly use mkitab to add it into /etc/inittab
or
- drop startup scripts in /etc/rc.d/rcX.d
I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies
8. SuSE
I'm trying to add services to start services automatically during the system start up in suse linux.
I followed these steps..
chkconfig servicename on
and created symbolic link at /etc/rc.d/rc3.d/ folder with name S80servicename. here is the command I used
ln -s /etc/init.d/servicename... (8 Replies)
Discussion started by: s_linux
8 Replies
9. UNIX for Dummies Questions & Answers
Hi guys I want to start a service and a script SiteMonitor.sh at startup.
To start with i have modified /etc/rc.local file.
Here is the content of my /etc/rc.local file.
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own... (3 Replies)
Discussion started by: pinga123
3 Replies
10. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies