libclntshcore.so.19.1: invalid ELF header

it2025-09-18  5

[root@oem ~]# su - oracle Last login: Thu Oct 22 10:49:26 CST 2020 [oracle@oem ~]$ lsnrctl start lsnrctl: error while loading shared libraries: /u01/app/oracle/product/19.3.0/db_1/lib/libclntshcore.so.19.1: invalid ELF header [oracle@oem ~]$ sqlplus / as sysdba sqlplus: error while loading shared libraries: /u01/app/oracle/product/19.3.0/db_1/lib/libclntshcore.so.19.1: invalid ELF header 之前一直好好的。过几天虚机启动数据库突然报错,很奇怪。

重新relink all解决

[oracle@oem trace]$ relink all writing relink log to: /u01/app/oracle/product/19.3.0/db_1/install/relinkActions2020-10-22_10-52-41AM.log [oracle@oem trace]$ lsnrctl start

LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 22-OCT-2020 10:53:27

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

Starting /u01/app/oracle/product/19.3.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 19.0.0.0.0 - Production System parameter file is /u01/app/oracle/product/19.3.0/db_1/network/admin/listener.ora Log messages written to /u01/app/oracle/diag/tnslsnr/oem/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oem)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oem.local)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias                     LISTENER Version                   TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date                22-OCT-2020 10:53:29 Uptime                    0 days 0 hr. 0 min. 0 sec Trace Level               off Security                  ON: Local OS Authentication SNMP                      OFF Listener Parameter File   /u01/app/oracle/product/19.3.0/db_1/network/admin/listener.ora Listener Log File         /u01/app/oracle/diag/tnslsnr/oem/listener/alert/log.xml Listening Endpoints Summary...   (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oem)(PORT=1521)))   (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) The listener supports no services The command completed successfully [oracle@oem trace]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Oct 22 10:53:37 2020 Version 19.3.0.0.0

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

Connected to an idle instance.

SQL> startup ORACLE instance started.

Total System Global Area 5368705768 bytes Fixed Size                  9147112 bytes Variable Size            1509949440 bytes Database Buffers         3825205248 bytes Redo Buffers               24403968 bytes Database mounted. Database opened. SQL> 

最新回复(0)