How to avoid a restart after installing software which requires one (e.g. Oracle-xe)

There are many software, which needs a restart after installation. For me there were quite a few. One of the annoying ones is Oracle XE. After installing, if you don’t restart, you wont get the sqlplus command under your username.

The workaround is , after installing oracle-xe, open a terminal and ..

1. stop oracle
sudo /etc/init.d/oracle-xe stop
2. Drop to root
sudo su
3. Reload the links
ldconfig
4. reload profile
. /etc/profile
5. Exit root
exit
6. start oracle-xe
sudo /etc/init.d/oracle-xe start

That’s it. This workaround has been tested on Ubuntu and Fedora and can be applied for any software.

Share

Leave a Reply

tuxtrixmod
Scroll to Top