[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Spacewalk-list] dbhome error
- From: "Paul M. Dyer" <pmdyer ctgcentral2 com>
- To: Gerhardus Geldenhuis <Gerhardus Geldenhuis gta-travel com>
- Cc: spacewalk-list redhat com
- Subject: Re: [Spacewalk-list] dbhome error
- Date: Tue, 28 Oct 2008 18:39:34 -0500 (CDT)
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" <Gerhardus Geldenhuis gta-travel com>
To: spacewalk-list redhat com
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
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]