Вы находитесь на странице: 1из 5

his is a prerequisite condition to test whether the package "gcc-3.4.

6" is
available on the system.�(more details)
Expected Value
�:�gcc-3.4.6
Actual Value
�:�missing
This is a prerequisite condition to test whether the package "compat-libstdc++-33-
3.2.3" is available on the system.�(more details)
Expected Value
�:�compat-libstdc++-33-3.2.3
Actual Value
�:�missing
This is a prerequisite condition to test whether the package "elfutils-libelf-
devel-0.97" is available on the system.�(more details)
Expected Value
�:�elfutils-libelf-devel-0.97
Actual Value
�:�missing
gcc-c++-3.4.6
libaio-devel-0.3.105
libstdc++-devel-3.4.6
unixODBC-devel-2.2.11
pdksh-5.2.14 k

ORA-13516: AWR Operation failed: CATPROC not valid


ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 206
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 239
ORA-06512: at line 1

ORA-01078: failure in processing system parameters LRM-00109: could not open


parameter file '/u01/app/oracle/product/12.1.0/dbhome_1/dbs/initORCL.ora'
/u01/app/oracle/admin/Testdatabase/pfile/init.ora.8102017234335
/u01/app/oracle/product/12.1.0/dbhome_1/sqlplus

create spfile
frompfile='/u01/app/oracle/admin/Testdatabase/pfile/init.ora.8102017234335';
ORA-00845: MEMORY_TARGET not supported on this system

ERROR at line 1:ORA-01034: ORACLE not available Process ID: 0 Session ID: 0 Serial
number: 0

[oracle@testsvr ~]$ ps -fea | grep pmon


oracle 12092 1 0 23:43 ? 00:00:00 ora_pmon_Testdatabase
oracle 13807 6274 0 23:56 pts/0 00:00:00 grep pmon
[oracle@testsvr ~]$ lsnrctl status LISTENER
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 10-SEP-2017 23:57:30

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=testsvr)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 10-SEP-2017 23:17:47
Uptime 0 days 0 hr. 39 min. 43 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File
/u01/app/oracle/diag/tnslsnr/testsvr/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testsvr)(PORT=1521)))
Services Summary...
Service "Testdatabase" has 1 instance(s).
Instance "Testdatabase", status READY, has 1 handler(s) for this service...
Service "TestdatabaseXDB" has 1 instance(s).
Instance "Testdatabase", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@testsvr ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Sep 11 00:02:04 2017

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

Connected to an idle instance.

SQL> @%ORACLE_HOME%\rdbms\admin\catproc.sql
SP2-0310: unable to open file "%ORACLE_HOME%rdbmsadmincatproc.sql"
SQL> connect myuser/password as sysdba
Connected to an idle instance.
SQL> @%ORACLE_HOME%\rdbms\admin\catproc.sql
SP2-0310: unable to open file "%ORACLE_HOME%rdbmsadmincatproc.sql"
SQL>
SQL>
SQL>
SQL> SELECT comp_id, comp_name, version, status FROM dba_registry;
SELECT comp_id, comp_name, version, status FROM dba_registry
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL> SELECT comp_id, comp_name, version, status FROM dba_registry;


SELECT comp_id, comp_name, version, status FROM dba_registry
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>
SQL>
SQL>
SQL> connect / as sysdba ;
Connected to an idle instance.
SQL> SHUTDOWN ABORT
ORACLE instance shut down.
SQL> @CONTROL.SQL
SP2-0310: unable to open file "CONTROL.SQL"
SQL> SHUTDOWN IMMEDIATE
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
SQL> STARTUP MOUNT
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'/u01/app/oracle/product/12.1.0/dbhome_1/dbs/initORCL.ora'
SQL> cd
SP2-0042: unknown command "cd" - rest of line ignored.
SQL> ^Z
SQL> ^C

SQL> exit
Disconnected
[oracle@testsvr ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Sep 11 00:16:27 2017

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

Connected to an idle instance.

SQL> STARTUP
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'/u01/app/oracle/product/12.1.0/dbhome_1/dbs/initORCL.ora'
SQL> ^C

SQL>
SQL> exit
Disconnected
[oracle@testsvr ~]$ cd /u01/app/oracle/oradata/orcl/
-bash: cd: /u01/app/oracle/oradata/orcl/: No such file or directory
[oracle@testsvr ~]$ cd /u01/app/oracle
[oracle@testsvr oracle]$ ls
admin cfgtoollogs checkpoints diag flash_recovery_area oraInventory product
[oracle@testsvr oracle]$ cd flash_recovery_area
[oracle@testsvr flash_recovery_area]$ ls
[oracle@testsvr flash_recovery_area]$ ls
[oracle@testsvr flash_recovery_area]$ cd ..
[oracle@testsvr oracle]$ cd oraInventory
[oracle@testsvr oraInventory]$ ls
ContentsXML install.platform logs oraInstaller.properties oraInst.loc
orainstRoot.sh oui
[oracle@testsvr oraInventory]$ cd ..
[oracle@testsvr oracle]$ ls
admin cfgtoollogs checkpoints diag flash_recovery_area oraInventory product
[oracle@testsvr oracle]$ cd admin
[oracle@testsvr admin]$ ls
Testdatabase
[oracle@testsvr admin]$ cd Testdatabase
[oracle@testsvr Testdatabase]$ ls
adump dpdump pfile scripts
[oracle@testsvr Testdatabase]$ cd pfile
[oracle@testsvr pfile]$ ls
init.ora.8102017234335
[oracle@testsvr pfile]$ ^C
[oracle@testsvr pfile]$ pwd
/u01/app/oracle/admin/Testdatabase/pfile
[oracle@testsvr pfile]$ ^C
[oracle@testsvr pfile]$ cd ..
[oracle@testsvr Testdatabase]$ cd ..
[oracle@testsvr admin]$ ls
Testdatabase
[oracle@testsvr admin]$ cd ..
[oracle@testsvr oracle]$ ls
admin cfgtoollogs checkpoints diag flash_recovery_area oraInventory product
[oracle@testsvr oracle]$ cd product
[oracle@testsvr product]$ ls
12.1.0
[oracle@testsvr product]$ cd 12.1.0
[oracle@testsvr 12.1.0]$ ls
dbhome_1
[oracle@testsvr 12.1.0]$ dbhome_1
-bash: dbhome_1: command not found
[oracle@testsvr 12.1.0]$ cd dbhome_1
[oracle@testsvr dbhome_1]$ ;s
-bash: syntax error near unexpected token `;'
[oracle@testsvr dbhome_1]$ ls
apex clone cv dv install
jdbc log oc4j oracore perl root.sh srvm
utl
assistants config dbs emcli install.platform
jdev md odbc oraInst.loc plsql scheduler sysman
wwg
bin crs dc_ocm EMStagePatches_Testdatabase instantclient
jdk mesg olap ord precomp slax testsvr_Testdatabase
xdk
ccr csmig deinstall has inventory
jlib mgw ons oui racg sqldeveloper timingframework
cdata css demo hs j2ee
ldap network OPatch owb rdbms sqlj ucp
cfgtoollogs ctx diagnostics ide javavm
lib nls opmn owm relnotes sqlplus uix
[oracle@testsvr dbhome_1]$ cd dbs
[oracle@testsvr dbs]$ ls
hc_DBUA0.dat hc_Testdatabase.dat init.ora lkTESTDATA lkTESTDATABASE
orapwTestdatabase peshm_DBUA0_0 peshm_Testdatabase_0 spfileTestdatabase.ora
[oracle@testsvr dbs]$ cd peshm_Testdatabase_0
[oracle@testsvr peshm_Testdatabase_0]$ ls
[oracle@testsvr peshm_Testdatabase_0]$ ls
[oracle@testsvr peshm_Testdatabase_0]$ cd ..
[oracle@testsvr dbs]$ cd peshm_DBUA0_0
[oracle@testsvr peshm_DBUA0_0]$ ls
[oracle@testsvr peshm_DBUA0_0]$ cd ..
[oracle@testsvr dbs]$ cd ..
[oracle@testsvr dbhome_1]$ ls
apex clone cv dv install
jdbc log oc4j oracore perl root.sh srvm
utl
assistants config dbs emcli install.platform
jdev md odbc oraInst.loc plsql scheduler sysman
wwg
bin crs dc_ocm EMStagePatches_Testdatabase instantclient
jdk mesg olap ord precomp slax testsvr_Testdatabase
xdk
ccr csmig deinstall has inventory
jlib mgw ons oui racg sqldeveloper timingframework
cdata css demo hs j2ee
ldap network OPatch owb rdbms sqlj ucp
cfgtoollogs ctx diagnostics ide javavm
lib nls opmn owm relnotes sqlplus uix
[oracle@testsvr dbhome_1]$ pwd
/u01/app/oracle/product/12.1.0/dbhome_1
[oracle@testsvr dbhome_1]$ ^C
[oracle@testsvr dbhome_1]$ cd
[oracle@testsvr ~]$ /u01/app/oracle/product/12.1.0/dbhome_1/sqlplus
-bash: /u01/app/oracle/product/12.1.0/dbhome_1/sqlplus: is a directory
[oracle@testsvr ~]$ /u01/app/oracle/product/12.1.0/dbhome_1/sqlplus
-bash: /u01/app/oracle/product/12.1.0/dbhome_1/sqlplus: is a directory

Вам также может понравиться