ORA-03135connectionslostcontactProcessID: 0
ORA-03135 connections lost contact Process ID: 0
Scenario Description:
Lead callme, saying that the remote logon error of pslql has the following error message:
ORA-03135 connections lost contact Process ID: 0
1. Hurry to the vpn and log on to the backend to check the load. The load is very low: [Oracle @ powerlong4 ~] $ W up, @ rootpts/. 16 s 0.03 s sqlplus as sysdbarootpts/. 00 s 0.18 s 0.03 s wrootpts/days. 02 s-bash [oracle @ powerlong4 ~] $2. Check the alert Log again: wed May Clearing Resource Manager plan via parameterWed May Suspending MMON action Wed May wait MMON slave action done _ Wed May Suspending MMON action Wed May suspendmmon slave action kewfmcpsa _ Wed May *********************************** * *********************************** Fatal NI connect error 12170. version information: TNS-ProductionOracle Bequeath NT Protocol Adapter-productiontcp/ip NT Protocol Adapter-Production Time: 27-MAY-2015 19:32:45 Tracing not turned on. tns error struct: ns main err code: 12535TNS-12535: TNS: operation timed outns secondary err code: 12606nt main err code: 0nt secondary err code: 0nt OS err code: 0 Client address: (ADDRESS = (PROTOCOL = tcp) (HOST =) (PORT = 55693) Wed May 3. The alert Log does not show the problem. check whether there is a lock and the log is stuck, so I had to press ctrl + c to stop.
Execute SQL check for Lock
SQL> select t2.username, t2.sid, t2.serial #, t2.logon _ time from v $ locked_object t1, v $ session t2 where t1.session _ id = t2.sid order by t2.logon _ time; ^ Cselect t2.username, t2.sid, t2.serial #, t2.logon _ time from v $ locked_object t1, v $ session t2 where t1.session _ id = t2.sid order by t2.logon _ time * ERROR at line 1: ORA-01013: user requested cancel of current operationSQL> 4, try to restart, get stuck, shutdown hang lived SQL> shutdown immediate ^ CORA-01013: user requested cancel of current operationSQL>
Background alert Log Information
Shutting down instance (immediate) Stopping background process SMCOShutting down instance: further logons available May Stopping background process QMNCStopping background process MMNLStopping background process MMONWed May AUD: Audit Commit Delay exceeded, written a copy to OS Audit TrailLicense high water mark = 28 Stopping Job queue slave processes, flags = 7Wed May Errors in file/oracle/app/oracle/diag/rdbms/pddev1/pddev1/trace/pddev1_j005_8455.trc: ORA-ORA-01089: immediate shutdown in progress-no operations are permittedORA-01089: immediate shutdown in progress-no operations are permittedProcess ID: Session ID: 0 Serial number: 0Wed May opiodr aborting ORA-1089Wed May opiodr aborting ORA-1089Wed May opiodr aborting ORA-1089Job queue slave processes wait May Instance shutdown canceled
Check the trace log again, as shown below:
[Oracle @ powerlong4 ~] $ More/oracle/app/oracle/diag/rdbms/pddev1/pddev1/trace/pddev1_j005_8455.trcTrace file/oracle/app/oracle/diag/rdbms/pddev1/pddev1/trace/Export Database -64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsORACLE_HOME =/oracle/app/oracle/product/11.2.0/dbhome_1System name: LinuxNode name: powerlong4Release: 2.6.32-358. el6.x86 _ 64 Version: #1 SMP Fri Feb 22 00:31:26 UTC 2013 Machine: x86_64Instance name: pddev1Redo thread mounted by this instance: 1 Oracle process number: 49 Unix process pid: 8455, image: oracle @ powerlong4 (J005) *** 19:39:48. 078 *** session id: (79.110) 19:39:48. 078 *** client id :() 19:39:48. 078 *** service name :( SYS $ USERS) 19:39:48. 078 *** module name :() 19:39:48. 078 * ** Action name :() 19:39:48. 078ORA-12012: error on auto execute of job 57381ORA-01089: immediate shutdown in progress-no operations are permittedORA-01089: immediate shutdown in progress-no operations are permittedProcess ID: Session ID: 0 Serial number: 0 [oracle @ powerlong4 ~] $5. I didn't see any problems. The leaders rushed to the emergency. It seems that I had to use shutdown abort; SQL> shutdown abortORACLE instance shut down. SQL> startupORA-32004: obsolete or deprecated parameter (s) specified for RDBMS instanceORACLE instance started. total System Global Area 1820540928 bytesFixed Size2214296 bytesVariable size1191183696 bytesDatabase Buffers620756992 bytesRedo Buffers6385664 bytesDatabase mounted. database opened. SQL> select t2.username, t2.sid, t2.serial #, t2.logon _ time from v $ locked_object t1, v $ session t2 where t1.session _ id = t2.sid order by t2.logon _ time; no rows selectedSQL>
OK. The logon is normal. After the event, Zhuge Liang showed that my online db is completely edge-based and has no pressure. How can I remotely log on to plsql? Strange. Check whether there is any exception in the alert Log. Leave it here for future observation.
This article permanently updates the link address: