CentOS Oracle 11g R2设置开机自启动(二)

2014-11-24 11:26:23 · 作者: · 浏览: 1
e/app/product/11.2.0/dbhome_1/network/admin/l istener.ora
Log messages written to /usr/oracle/app/diag/tnslsnr/localhost/listener/alert/lo g.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 09-OCT-2012 12:50:44
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /usr/oracle/app/product/11.2.0/dbhome_1/network/admin/ listener.ora
Listener Log File /usr/oracle/app/diag/tnslsnr/localhost/listener/alert/ log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
The listener supports no services
The command completed successfully
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ....... started.
------------------------------------------------------------------
Logs are generated in directory /usr/oracle/app/product/11.2.0/dbhome_1/localhost_MFGS/sysman/log
www.2cto.com
相应关闭oracle数据库的命令为
[root@localhost ~]# service oracle stop
[6] 设置oracle为开机自启动
[root@localhost ~]# chkconfig oracle on
[root@localhost ~]# chkconfig --list oracle
oracle 0:off 1:off 2:on 3:on 4:on 5:on 6:off