# su - oracle
$ svrmgrl
Oracle Server Manager Release
....
SVRMGR< connect internal
Connected.
SVRMGR< startup
ORACLE instance started.
Total System Global Area n bytes
Fixed Size n bytes
Variable Size n bytes
Database Buffers n bytes
Redo Buffers n bytes
Database mounted.
Database opened.
Startup listener:
$ lsnrctl start
Starting /oracle/OraHome1/bin/tnslsnr: please wait...
....
STATUS of the LISTENER
....
Alias LISTENER
....
The command completed successfully
Test connection:
$ tnsping viper
TNS Ping Utility for ....
OK (310 msec)
Shutdown listener:
$ lsnrctl stop
LSNRCTL for
The command completed successfully
Shutdown database:
SVRMGR< connect internal
Connected.
SVRMGRi< shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.