Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

after installation, sqlplus / as sysdba, select status from v$instance & enterprise manager (localho

User_AAD34Jul 30 2015 — edited Aug 19 2015

Hello,

i've successfully installed oracle database 11gr2 on oracle linux 7 thanks a ton to the community!

But after installation, i tried to run 'sqlplus / as sysdba' and it's not working at first.

Then after couple of minutes googling, i found out that i need to run '. ./.bash_profile'. BOOOM! it works!

Afterwards, i executed the 'select status from v$instance', again, it's not working.

after another couple of minutes googling, it turns out that 'startup' is what i need to start the instance. And yep, it works well.

Next, i opened the browser, and tried to open the enterprise manager (EM). It says 'unable to connect'.

Another couple of minutes spent thanks to Larry Page who founded the google, i supposed to run 'emctl start dbconsole' in order to run EM.

NOW, The problem is, everytime i restart my server, they're not working, and i need to run all the scripts again.

questions:

- is it normal or is it just me?

- if it's not normal, so what should i do to make them automatically working without having to run the scripts?

Best Regards,

Jerry Antonius

*UPDATE :

- sqlplus / as sysdba is now working even after restart. After running '. ./.bash_profile', run this script: 'chsh -s /bin/bash oracle'

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2015
Added on Jul 30 2015
2 comments
1,039 views