linux oracle启动

交谈中请勿轻信汇款、中奖信息、陌生电话,勿使用外挂软件。

董乾林  11:45:01

[oracle@DBserver01 ~]$ lsnrctl 

a.txt                   ccntbpm_2013_02_05.dmp  daochu.dmp              hz/                     response/               test_old_temp.dbf

.bash_history           ccntBpm.dbf             d:a.txt                 hz6sp1.dmp              rzsz-3.48.tar.gz        .vim/

.bash_logout            ccntBpm_temp.dbf        db_bak/                 inventory/              src/                    .viminfo

.bash_profile           ccnt.dmp                dmp/                    .kshrc                  .ssh/                   

.bashrc                 ccnt_final.dbf          exit                    .mozilla/               startup                 

b.txt                   ccnt_final_temp.dbf     expdat.dmp              oa.dbf                  test2012_10_29.dmp      

ccnt11g_2013_01_23.dmp  c.txt                   .gnome2/                oloa.dbf                test_old.dbf            

[oracle@DBserver01 ~]$ lsnrctl 

a.txt                   ccntbpm_2013_02_05.dmp  daochu.dmp              hz/                     response/               test_old_temp.dbf

.bash_history           ccntBpm.dbf             d:a.txt                 hz6sp1.dmp              rzsz-3.48.tar.gz        .vim/

.bash_logout            ccntBpm_temp.dbf        db_bak/                 inventory/              src/                    .viminfo

.bash_profile           ccnt.dmp                dmp/                    .kshrc                  .ssh/                   

.bashrc                 ccnt_final.dbf          exit                    .mozilla/               startup                 

b.txt                   ccnt_final_temp.dbf     expdat.dmp              oa.dbf                  test2012_10_29.dmp      

ccnt11g_2013_01_23.dmp  c.txt                   .gnome2/                oloa.dbf                test_old.dbf            

[oracle@DBserver01 ~]$ lsnrctl start

 

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-FEB-2013 11:42:32

 

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

 

Starting /opt/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

 

TNSLSNR for Linux: Version 11.2.0.1.0 - Production

System parameter file is /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora

Log messages written to /opt/oracle/diag/tnslsnr/DBserver01/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))

 

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias                     LISTENER

Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production

Start Date                21-FEB-2013 11:42:34

Uptime                    0 days 0 hr. 0 min. 0 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora

Listener Log File         /opt/oracle/diag/tnslsnr/DBserver01/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))

The listener supports no services

The command completed successfully

[oracle@DBserver01 ~]$ sqlplus / as sysdba

 

SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 21 11:42:53 2013

 

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

 

 

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

SQL> startup;       

ORA-01081: cannot start already-running ORACLE - shut it down first

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup;

ORACLE instance started.

 

Total System Global Area  534462464 bytes

Fixed Size                  2215064 bytes

Variable Size             398459752 bytes

Database Buffers          125829120 bytes

Redo Buffers                7958528 bytes

Database mounted.

Database opened.

SQL> 

 

 

 

 

 

 

 

 

 

方法二:

重新启动监听

lsnrctl  reload

重新启动服务

dbstart

猜你喜欢

转载自thinktothings.iteye.com/blog/1810988