Starting up and stopping Oracle's Listner Service and httpd service for iSqlPlus.
I know it's a lame, but what the heck. Someone may be benefitted.
In the last post I installed Oracle 9i on RHEL5. But my Oracle agent dint startup. Which mean I have to startup and stop aforementioned services manually till I could configure the Agent.
Well the commands are quite simple.
To startup Oracle's Listner Service -
$lsnrctl start
To Stop the listner-
$lsnrctl stop
To start the httpd server for iSqlPlus -
$ORACLE_HOME/Apache/Apache/bin/apachectl start
To stop the httpd server for iSqlPlus -
$ORACLE_HOME/Apache/Apache/bin/apachectl stop
I have made two shell-script for these operation, just to ease my finger from over-typing. These files and their contents are:
isqlplusstart.sh
#[Content]
lsnrctl start
ORACLE_HOME/Apache/Apache/bin/apachectl start
#[End Content]
and
isqlplusstop.sh
#[Content]
lsnrctl stop
ORACLE_HOME/Apache/Apache/bin/apachectl stop
#[End Content]
I made them executable by running the command chmod -
$chmod +x isqlplusstart.sh
$chmod +x isqlplusstop.sh
Now I can run them anytime to start and stop my services.
Comments