|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Script for start ans stop MaxDB Instance when Linux Boots
From: Raimund Jacob (Raimund.Jacob
pinuts.de)
Date: Thu Jul 28 2005 - 10:14:03 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jens-Peter C. Hillers wrote:
hello!
> I need a simple script to start and/or stop a MaxDB instance.
>
> I like to integrate it in /etc/init.d/
>
> so that the Database starts on boot and stops on shutdown.
>
> I think I'am not the first to have that Problem but found nothing in the
> Documentation.
>
> If there is somthing similar for wahttp would also be fine.
please find attached what i usually use. also handles wahttp.
Raimund
--
Die Lösung zum effizienten eCRM und eMail-Marketing, mehr unter
Pinuts Universal Messenger http://www.pinuts.de/universalmessenger/
Pinuts media+science GmbH http://www.pinuts.de
Dipl.-Inform. Raimund Jacob Raimund.Jacob
pinuts.de
Krausenstr. 9-10 voice : +49 30 59 00 90 322
10117 Berlin fax : +49 30 59 00 90 390
Germany
# -*-shell-script-*-
#
# Sample configuration
# /etc/maxdb.conf
#
#
# User running the database (sdb)
SDBUSER=sdb
#
# Independent program path (/opt/sdb/programs)
INDEPP=/opt/sdb/programs
#
# You need this for newer kernels
LD_ASSUME_KERNEL=2.4.22
#
# Set to "yes" to start the webtools (wahttp)
MAXDB_STARTWEBTOOLS=yes
#
# Instances to bring online at startup. Format:
# MAXDB_INSTANCES="DB1:dbmuser,dbmpass DB2:dbmuser,dbmpass ..."
# DBX: database SID
# dbmuser: database manager username
# dbmpass: database manager password
#
MAXDB_INSTANCES="TST:dbm,dbm"
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
- application/x-shellscript attachment: maxdb-init.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]