Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

install oracle

afshin
Occasional Contributor

install oracle

hi,
i have a problem with
./dbstart. i want to install oracle 9 under radhat. i install that but i can`t start the database oracle.
the error is:
SQL> ERROR:
ORA-12162: TNS:service name is incorrectly specified

SQL> ORA-12162: TNS:service name is incorrectly specified
SQL>
Database "" warm started.

Can't find init file for Database "clary".
Database "clary" NOT started.

How can I start the oracle? and how can i make connection from client to my oracle server?
Any suggestions anyone?

Regards,

Afshin
2 REPLIES
Michael Steele_2
Honored Contributor

Re: install oracle

Check your services file for TNS:

tns-server 3308/tcp TNS Server
tns-cml 590/tcp TNS CML
tns-cml 590/udp TNS CML

Here are some guidelines:

The Well Known Ports are those from 0 through 1023.

The Registered Ports are those from 1024 through 49151

The Dynamic and/or Private Ports are those from 49152 through 65535

Here are some guidelines from Red Hat about TNS service:

"...you need to make sure that the client has the appropriate entries for the datasource in question to your TNS service; generally a tnsnames.ora file..."

http://www.europe.redhat.com/documentation/HOWTO/Tango-HOWTO-6.php3

Regarding "...Can't find init file for Database "clary"..."

How is /etc/rc.d/init.d/oracle configured? Can you attach?
Support Fatherhood - Stop Family Law
afshin
Occasional Contributor

Re: install oracle

hi,

I can't find the configuration file but I saw it on the website of RedHat. and I copied the content of the script on it.

http://www.europe.redhat.com/documentation/HOWTO/Oracle-7-HOWTO-6.php3#ss6.1

Regards