Hi!
        I changed the script according to your instructions, and it is
working. I have also inserted dbmcli commands to start/stop the
databases.
        Although I still have a problem. When I execute the script
directly (/etc/rc.d/init.d/sapdb74), it works correctly. When I execute
the script form a link (/etc/rc3.d/S45Sapdb74 ) nothing happens. Does
any one knows  what am I missing? The permissions and User/Group of the
Sap files are the same as for other services.

        Thanks in advance,
                Victor Batista

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Klaus Muth
Sent: segunda-feira, 13 de Janeiro de 2003 11:20
To: [EMAIL PROTECTED]
Subject: Re: FW: Scripts to start SapDB on RH 7.2

Am Montag, 13. Januar 2003 12:04 schrieb Victor Batista:
> Hi!
>             Thanks for your reply. I know what you wrote. The problem
is
> that the script isn't compatible with chkconfig. I have the Links on
This is no Problem; add the Lines
--------------------------------------
# chkconfig: 345 45 55
# description: sapdb database server
--------------------------------------
after the first line of your sapdb start script.
The first number is a list of the runlevels where to start, the 
second the order number for the start script, the third the order
number for the stop script. See, that the second number is less
than the order number for the JBoss start script. See, that the
third number is 100-<second number>.

Then your sapdb start script will be compatible with chkconfig.

>             How can I start the databases automatically too? Should I
> put dbmcli commands on the init script?
Yes.

klaus
-- 
Klaus Muth
HAGOS eG                      Industriestr. 62      fon: (+49) 711
78805-86
EDV-Programmierung            70565  Stuttgart      fax: (+49) 711
78805-35
http://www.hagos.de               Germany
mailto:[EMAIL PROTECTED]

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to