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
LEARN ABOUT CENTOS
dhcpmgr
dhcpmgr(1M) System Administration Commands dhcpmgr(1M)
NAME
dhcpmgr - graphical interface for managing DHCP service
SYNOPSIS
/usr/sadm/admin/bin/dhcpmgr
DESCRIPTION
dhcpmgr is a graphical user interface which enables you to manage the Dynamic Host Configuration Protocol (DHCP) service on the local sys-
tem. It performs the functions of the dhcpconfig, dhtadm, and pntadm command line utilities. You must be root to use dhcpmgr. The dhcpmgr
Help, available from the Help menu, contains detailed information about using the tool.
USAGE
You can perform the following tasks using dhcpmgr:
Configure DHCP service
Use dhcpmgr to configure the DHCP daemon as a DHCP server, and select the data store to use for storing network configuration tables..
Configure BOOTP relay service
Use dhcpmgr to configure the DHCP daemon as a BOOTP relay.
Manage DHCP or BOOTP relay service
Use dhcpmgr to start, stop, enable, disable or unconfigure the DHCP service or BOOTP relay service, or change DHCP server parameters.
Manage DHCP addresses
Use dhcpmgr to add, modify, or delete IP addresses leased by the DHCP service.
Manage DHCP macros
Use dhcpmgr to add, modify or delete macros used to supply configuration parameters to DHCP clients.
Manage DHCP options
Use dhcpmgr to add, modify or delete options used to define parameters deliverable through DHCP.
Convert to a new DHCP data store
Use dhcpmgr to configure the DHCP server to use a different data store, and convert the DHCP data to the format used by the new data
store.
Move DHCP data to another server
Use dhcpmgr to export data from one Solaris DHCP server and import data onto another Solaris DHCP server.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdhcm |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
dhcpconfig(1M), dhtadm(1M), pntadm(1M), in.dhcpd(1M), dhcpsvc.conf(4), dhcp_network(4), dhcptab(4), attributes(5), dhcp(5), dhcp_modules(5)
Solaris DHCP Service Developer's Guide
System Administration Guide: IP Services
SunOS 5.10 13 Mar 2001 dhcpmgr(1M)