Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Claude Lachat — — source: Informix-list mailing list archive (1991-1998)
Do not need to su : you can launch online as root from the inittab. Just
create a script witch sets the appropriate variables correctly, like
this one :
#!/bin/ksh
#
# Procedure de lancement des systemes online au startup
# et backup des log en continue sur fichier disque
#
# Auteur : C. Lachat
#
# Date : 07.05.96
#
# Version : 1.0
#
export INFORMIXDIR=/usr/dsa
export PATH=$INFORMIXDIR/bin:$PATH
export ONCONFIG=onconfig.p1
export INFORMIXSERVER=dsap1
oninit
sleep 30 # wait 30 seconds (end of fast recovery) before running
the logical logscontinous backup
$INFORMIXDIR/start.savelog # launches continuous backup (ontape -c) in
background for logical logs
Hope this helps
C. Lachat
Jun H. Zhang wrote:
> I created a script under /etc/rc2.d (Unixware 2.1.2)
> with the following line
>
> su - informix -c /home/informix/bin/oninit
>
> This is not successful, since within the informix
> .profile there are some interactions with the
> standard input. How can I respond
> to questions asked by the .profile script within
> the script runing at boot time?
>
> Jun
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.