Ask the Expert

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?

    Requires Free Membership to View

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.

This was first published in July 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: