Ol�, Andrea,
Segue abaixo, script de inicializa��o autom�tica para o banco Oracle.
Para o listener, substitua o dbstart pelo lsnctl, pode acrescentar a linha
do listener neste mesmo script.
#!/bin/sh
ORA_HOME=/u01/oracle8i
ORA_OWNER=oracle
# Source function library.
. /etc/rc.d/init.d/functions
if [ ! -f $ORA_HOME/bin/dbstart ]
then
echo "Oracle startup: cannot start"
exit 0
fi
case "$1" in
'start')
# Start the Oracle databases:
# The following command assumes that the oracle ogin will not prompt
the
# user for any values
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle ogin will not prompt
the
# user for any values
su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
;;
esac
exit 0
Cleyton
> Boa tarde pessoal,
>
> Algu�m disp�e de algum script de inicializa��o utom�tica do oracle8i em
> Linux
> Suse ?
>
Assinantes em 16/12/2002: 2272
Mensagens recebidas desde 07/01/1999: 193844
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]