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'