Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
SQL> set oracle_sid=sid
SP2-0735: unknown SET option beginning "oracle_sid..."
SQL> emctl start dbconsole;
SP2-0734: unknown command beginning "emctl star..." - rest of line ignored.
SQL> set oracle_sid=sid emctl start dbconsole;
SP2-0735: unknown SET option beginning "oracle_sid..."
SQL> SQL> set oracle_sid=sid
SP2-0734: unknown command beginning "SQL> set o..." - rest of line ignored.
SQL> SP2-0735: unknown SET option beginning "oracle_sid...

why this service is invoked??can you tell that?

share|improve this question
add comment

1 Answer 1

These commands should be run from the OS command line not the SQL prompt.

share|improve this answer
    
Note that the ORACLE_SID in Linux is case sensitive, and you should also run ". oraenv" (on linux) to pick up all the correct variables for the different instance. –  Andrew Russell Jan 13 '12 at 0:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.