RE: [Info-ingres] Starting Ingres at boot time
- From: "James Higson" <James.Higson@xxxxxxxxxxxxxx>
- Date: Tue, 4 Apr 2006 12:49:17 +1000
Thanks Mike and thanks to everyone who posted. RedHat and Slackware appear
to quite different, but I should be able to figure it out.
-----Original Message-----
From: info-ingres-admin@xxxxxxxxxxxxxxx
[mailto:info-ingres-admin@xxxxxxxxxxxxxxx] On Behalf Of Michael Touloumtzis
Sent: Tuesday, 4 April 2006 10:26
To: info-ingres@xxxxxxxxxxxxxxx
Subject: Re: [Info-ingres] Starting Ingres at boot time
On Mon, 03 Apr 2006 18:24:58 -0400, James Higson
<James.Higson@xxxxxxxxxxxxxx> wrote:
Hi all,
I am running 3.0.2 on Slackware 10.1.
How do I start Ingres at boot time? I have set the sticky bit on
"ingstart" and put it in rc.local and rc.M, but it still knows that
root is running the command and fails. I know I have done this on
Unix about 100 years ago, but I can't remember the trick.
Regards,
James
Melbourne, Australia
The trick, as Ronald correctly points out in his reply, is to use "su".
Attached is the /etc/init.d/ingresII script that is created during an RPM
install on RedHat or SuSE (if the default II_INSTALLATION of II is used).
I know the Slackware startup scripts are a bit different, but the gist of
the matter is the same. The script is attached, renamed to ingresII.txt to
keep mailers happy. A companion sample bash script, .ingIIbash (for the
ingres login id), is attached as ingIIbash.txt.
Mike Touloumtzis
Ingres Corp.
.
- References:
- Re: [Info-ingres] Starting Ingres at boot time
- From: Michael Touloumtzis
- Re: [Info-ingres] Starting Ingres at boot time
- Prev by Date: Re: [Info-ingres] Starting Ingres at boot time
- Next by Date: Re: Limit on "y in (x,...,z)"
- Previous by thread: Re: [Info-ingres] Starting Ingres at boot time
- Index(es):
Relevant Pages
|
Loading