I have Oracle Enterprise and the dbhome script is located in ORACLE_HOME/bin.   
In my XE install, that script does not exist.   dbhome just looks in 
/etc/oratab to figure out what the ORACLE_HOME variable is based on the 
ORACLE_SID.   It seems kind of useless, because you would have the have 
PATH=$ORACLE_HOME/bin before using it.

Paul

----- Original Message -----
From: "Gerhardus Geldenhuis" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, October 21, 2008 11:37:06 AM (GMT-0600) America/Chicago
Subject: RE: [Spacewalk-list] dbhome error

> 
> #!/usr/bin/python
> import os
> 
> if os.environ.has_key("ORACLE_HOME"):
>    print 'does contain'

I forgot to add the script returns: does contain, so it does find the
env variable.

Regards

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to