Problem solve Get help with specific problems with your technologies, process and projects.

Creating a service on Solaris

I just installed Oracle on Solaris and can't log in via PL/SQL. I try to create a service but get the following error when testing the service:

Connecting... The test did not succeed. ORA-01034: ORACLE not available.

There may be an error in the fields entered or the server may not be ready for a connection. You can check the server and retry, or continue. In a similar question posed previously, you suggested starting the service in control panel, etc. How does one achieve the same thing on Solaris?
Solaris does not have Services. Services are only available on a Windows platform. On Solaris, you'll have to start Oracle with SQL*Plus. Issue the following:

1. Sign on to the Solaris server as 'oracle'
2. Make sure that your environment variables are set correctly. In particular, set ORACLE_SID, ORACLE_HOME and LD_LIBRARY_PATH.
3. sqlplus/nolog
4. connect/as sysdba
5. startup

The Oracle database should now be up and running.

Dig Deeper on Oracle DBA jobs, training and certification

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.