I have written an init script for Tomcat Catalina running in RHEL version 5. I have tested this script using Oracle Enterprise Linux 5.5 Carthage. The script should comply to the init standards defined for RedHat Enterprise Linux using the INIT Functions lib. The script also alows the use of chkconfig eventhough you might want to […]Read More RHEL5 init script for tomcat catalina
Below a script designed to use the RH . /etc/init.d/functions library. It will use 2 “find” commands to test if it can find the ndo2db binairy and config file. Next it will daemonize the ndo2db process following the Redhat standard init procedure. This script was written for Redhat enterprise linux using Nagios, Centreon (auto generation […]Read More NDO2DB startup script for RH (EL) / OEL
Hi All, Just Wrote : AMIS.zip An application to start / stop multiple custom scripts during INIT in a specific order without the need to understand the full INIT.d process. Written by AMIS to enable DBAs to create basic tiny startup / stop scripts and run them using the chkconfig / services commands. through a […]Read More Application for running custom init scripting in a saver way.
previously I wrote an article on how to create a deamon script for ndo. But when you are using Centreon the only “nice” way to do this is by altering the Nagios startupscript to include the ndo part. Here is what i have done to make this possible. First i wrote a function to find […]Read More Altering the Nagios daemon startup script to include NDO.
Just one of those thing I want to remember, Show system services and the runlevel in which they are supposed to start… chkconfig -list | less Alter system services chkconfig –level [runlevels] [servicename] [state on|off] i.e. chkconfig –level 2345 xntpd onRead More Memo : Add a linux system service to the “boot” or init.tab