[root@db ~]# cat /proc/version Linux version 2.6.32-696.16.1.el6.x86_64 (mockbuild@c1bl.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Wed Nov 15 16:51:15 UTC 2017
SRC_URI="http://zy-res.oss-cn-hangzhou.aliyuncs.com/oracle/oracle11204.tar.gz" PKG_NAME=`basename $SRC_URI` cd /alidata/install if [ ! -s $PKG_NAME ]; then curl -O $SRC_URI fi tar zxvfP ${PKG_NAME}
TNSLSNR for Linux: Version 11.2.0.4.0 - Production System parameter file is /alidata/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora Log messages written to /alidata/app/oracle/diag/tnslsnr/db/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.19.34.227)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=172.19.34.227)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 08-APR-2019 18:24:02 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /alidata/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora Listener Log File /alidata/app/oracle/diag/tnslsnr/db/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.19.34.227)(PORT=1521))) The listener supports no services The command completed successfully [oracle@db ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 08-APR-2019 18:24:07
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=172.19.34.227)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 08-APR-2019 18:24:02 Uptime 0 days 0 hr. 0 min. 5 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /alidata/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora Listener Log File /alidata/app/oracle/diag/tnslsnr/db/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.19.34.227)(PORT=1521))) The listener supports no services The command completed successfully [oracle@db ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 8 18:26:11 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance. SQL> select 1; select 1 * ERROR at line 1: ORA-01034: ORACLE not available Process ID: 0 Session ID: 0 Serial number: 0