[Linux] Re: bash script

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: mengu yazicioglu (mengu@metu.edu.tr)
Date: Tue 31 Dec 2002 - 17:21:23 EET


su - oracle -c '(. /...../ lsnrctl start)' seklinde deneyin.
bu da olmazsa once .profile'ini calistirip sonra ilgili dizinden listener'i
calistirmayi deneyin.

kolay gelsin

On Fri, Dec 27, 2002 at 03:21:51PM +0200, Fuat Altun wrote:
> #!/bin/sh
> ORA_HOME=/export/home/oracle/u01/app/oracle/product/9.2.0
> ORA_OWNER=oracle
>
> case "$1" in
> 'start') # Start listeners
> su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
> ;;
> 'stop') # Stop the Oracle databases and listeners
> su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"
> ;;
> esac
-----------------------------------------------------------------------
Liste üyeliğiniz ile ilgili her türlü işlem için
http://liste.linux.org.tr adresindeki web arayüzünü kullanabilirsiniz.

Listeden çıkmak için: 'linux-request@linux.org.tr' adresine,
"Konu" kısmında "unsubscribe" yazan bir e-posta gönderiniz.
-----------------------------------------------------------------------


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b29 tarafindan uretilmistir.