[SunHELP] Startup script problem

Chanaka Mendis chanakam at millenniumit.com
Fri Jan 11 04:11:05 CST 2002


Scott Jonathan wrote:

> I wrote about this earlier, and I still havent gotten it resolved. Below is
> the startup portion of the rc script for starting oracle.
>
>         sleep 100; /usr/bin/su - oracle -c /opt/oracle/OraHome1/bin/dbstart
>         /usr/bin/ps -ef > /usr/users/jwscott/oracletest1
>         /usr/bin/su - oracle -c "/opt/oracle/OraHome1/bin/lsnrctl start"
>         /usr/bin/ps -ef > /usr/users/jwscott/oracletest2
>         /usr/bin/su - oracle -c /usr/bin/env >
> /usr/users/jwscott/oracletest-env
>         exit 0
>         ;;
>
> Inside the "oracletest-env" file, I see the following:
>
> Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
>
> Starting OpenWindows in 5 seconds (type Control-C to interrupt)
>
> ^L
>
> What is up with this? Is this the reason I cannot get Oracle to start? How
> can I get rid of this situation? I have never seen anything do this before,
> so Im at a complete loss. Any help is really appreciated!
>
> JS
>
> _________________________________________________________________
> お店よりも気軽に!好きなモノ好きなだけ見られる MSN ショッピング
> http://shopping.msn.co.jp/
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

Hi

Try with (double quats)
sleep 100; /usr/bin/su - "oracle"  -c /opt/oracle/OraHome1/bin/dbstart
/usr/bin/ps -ef > /usr/users/jwscott/oracletest1


/Gayantha
----------------------------------------- (on postoffice)

The information contained in this email is confidential and is meant to be read only by the person to whom it is addressed.Please visit http://www.millenniumit.com/legal/email.htm to read the entire confidentiality clause.

---------------------------------------------------------



More information about the SunHELP mailing list