thomasliju
asked on
databaselookup
Why this command is not working?
-bash-3.2$ cat /etc/oratab
cat: cannot open /etc/oratab
-bash-3.2$
-bash-3.2$ cat /etc/oratab
cat: cannot open /etc/oratab
-bash-3.2$
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's also possible that the database server doesn't use the oratab convention.
Even if you don't use oratab, a empty one is built during the install. The error would indicate to me that you are looking in the incorrect location, Oracle isn't installed, or the install failed somehow.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Going by users other posts, they are running solaris. So, I would say they are looking in the incorrect location. It should be in /var/opt/oracle, not /etc.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've requested that this question be closed as follows:
Accepted answer: 100 points for johnsone's comment #a39888637
Assisted answer: 100 points for dvz's comment #a39888865
Assisted answer: 100 points for slightwv's comment #a39888613
Assisted answer: 100 points for slightwv's comment #a39883063
Assisted answer: 100 points for johnsone's comment #a39883139
for the following reason:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Accepted answer: 100 points for johnsone's comment #a39888637
Assisted answer: 100 points for dvz's comment #a39888865
Assisted answer: 100 points for slightwv's comment #a39888613
Assisted answer: 100 points for slightwv's comment #a39883063
Assisted answer: 100 points for johnsone's comment #a39883139
for the following reason:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Consider omitting (http:#39888637): johnsone appears to reiterate his prior point.
whoami
ls -al /etc/oratab