The Oratab file is in the /etc directory and can be read by everyone, I have copied the contents of the file below, there is really nothing in it.
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME::
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
# *:/opt/oracle920:N
# *:/opt/oracle920:N
*:/opt/oracle920:N
Can I manually update it with the service that I need to see, and if so can you post the sintax.
The listener is also in it's default location /opt/oracle920/network/admin - it's contents are
You can manually edit the oratab file and it should have an entry for each database in the form of
INSTANCE_NAME:ORACLE_HOME:STARTUP_FLAG
eg
TESTDB:/home/oracle/product/9.2.0.1:Y
Once you've added those entries try removeing the services.ora and snmp*.ora files and stopping and restarting the agent. Once you've done that check to see if the entries are recorded in the services.ora file.
Regards
Jim
Oracle Certified Professional "Build your reputation by helping other people build theirs."
"Sarcasm may be the lowest form of wit but its still funny"
Sorry still no joy - the oratab file now looks like the one below, but still no mention in the services.ora file
#
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME::
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
# *:/opt/oracle920:N
# *:/opt/oracle920:N
*:/opt/oracle920:N
portals:/opt/oracle920:Y
I'm sure you have looked at this before but I thought I would mention it anyway. Can you connect to the database on the linux server from another machine? Can you connect to the database on the linux server from the Oracle management machine using sqlplus? Have you tried to ping the linux machine using the computer name? If you are trying to run the management server on windows, I'm not sure why you would look at the oratab file on the linux machine. Either the listener on the linux machine works or it doesn't. Just a few thoughts.
Bookmarks