2005-01-19

Starting and stopping Oracle

This isn't going to make any sense to the vast majority of you, and the others will point and laugh at something that can probably be looked up elsewhere. But I've been carrying this little piece of paper around for almost a year now, so I figure it must be important enough to write down somewhere a little more permanent.

Stopping Oracle:

    sudo su - oracle
    lsnrctl stop
    sqlplus /nolog
    connect sys as sysdba    # any password should do
    shutdown immediate;
    exit

Starting Oracle:

    sudo su - oracle
    sqlplus /nolog
    connect sys as sysdba    # any password should do
    startup
    exit
    lsnrctl start

0 comments: