mkdir /tmp/V983555-01 unzip -d /tmp/V983555-01 /tmp/V983555-01.zip cd /tmp/V983555-01 tar -xvf nfsimg-18.1.20.0.0-190911-cell.tar cd cellbits/ tar -jxvf cellrpms.tbz yum -y localinstall jdk1.8-1.8.0_221-fcs.x86_64.rpm unzip cell.bin yum -y localinstall cell-18.1.20.0.0_LINUX.X64_190911-1.x86_64.rpm
Starting Cell services.
# cd /opt/oracle/cell/cellsrv/bin/ # ./cellcli CellCLI> alter cell restart services all Stopping RS services... CELL-01509: Restart Server (RS) not responding. Starting the RS services... Getting the state of RS services... running Restarting CELLSRV services... The RESTART of CELLSRV services was not successful. CELL-01531: Unable to parse the cellinit.ora file due to incorrect parameters in the file. Restarting MS services... The RESTART of MS services was successful. CellCLI> create cell exacell01 interconnect1=ens35
sed -i '/PREFIX=24/s/PREFIX=24/NETMASK=255.255.255.0/' /etc/sysconfig/network-scripts/ifcfg-ens35
CELL-02018
执行 create cell cell1 interconnect1=ens35 时,出现如下错误
CellCLI> create cell exacell01 interconnect1=ens35 Cell exacell03 successfully created Starting CELLSRV services... The STARTUP of CELLSRV services was not successful. CELL-02018: Internal error detected: Not enough open file descriptors.
Stopping RS services... The SHUTDOWN of RS services was successful. Starting the RS services... Getting the state of RS services... running Restarting CELLSRV services... The RESTART of CELLSRV services was successful. Restarting MS services... The RESTART of MS services was not successful. CELL-01554: MS startup failed for unknown reasons.
2023-06-05T21:14:33.160755+08:00 [RS] Start service MS failed with error: -74. 2023-06-05T21:14:33.165961+08:00 [RS] Monitoring process /opt/oracle/cell18.1.20.0.0_LINUX.X64_190911/cellsrv/bin/cellrsmmt (pid: 1042) returned with error: 162 2023-06-05T21:14:33.166253+08:00 [RS] Service MS is no longer present Errors in file /opt/oracle/cell18.1.20.0.0_LINUX.X64_190911/log/diag/asm/cell/exacell01/trace/rstrc_556_mmt.trc (incident=137): RS-7445 [Serv MS is absent] [It will not be restarted] [] [] [] [] [] [] [] [] [] [] Incident details in: /opt/oracle/cell18.1.20.0.0_LINUX.X64_190911/log/diag/asm/cell/exacell01/incident/incdir_137/rstrc_556_mmt_i137.trc
[RS] Stopped Service MS
查看提示的 trace 文件
2023-06-05 21:14:23.037 :00000038: MS process is not alive. Pid is missing. 2023-06-05 21:14:23.037 :00000039: Missed a heartbeat for process MS or leaking memory, error: -75 2023-06-05 21:14:23.037 :0000003A: Service MS was not alive, try starting ... 2023-06-05 21:14:23.255 :00000048: OS system dependent operation:connect_error failed with status: 111 2023-06-05 21:14:23.255 :00000049: OS failure message: Connection 2023-06-05 21:14:23.255 :0000004A: failure occurred at: sosstcpconne 2023-06-05 21:14:23.255 :0000004B: Failed to heartbeat MS (port: 5043 timeout: 60 sec) 2023-06-05 21:14:23.255 :0000004C: socket open error: Port no: 8888. Received errorno 111. Connection refused 2023-06-05 21:14:23.356 :0000004D: mon_proc_pid oldpid: 1097
Solution:
原因暂时未排查清楚,用 root 用户可正常重启
[root@exacell01 ~]# cd /opt/oracle/cell/cellsrv/bin [root@exacell01 bin]# [root@exacell01 bin]# ./cellcli -e alter cell restart services all Stopping RS services... The SHUTDOWN of RS services was successful. Starting the RS services... Getting the state of RS services... running Restarting CELLSRV services... The RESTART of CELLSRV services was successful. Restarting MS services... The RESTART of MS services was successful.
CSS startup failed and Network initialization failed
CSS startup failed when running root.sh on the first node.
[root@exadb01 ~]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params User ignored Prerequisites during installation Installing Trace File Analyzer OLR initialization - successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert Adding Clusterware entries to inittab ohasd failed to start Failed to start the Clusterware. Last 20 lines of the alert log follow: 2023-06-04 22:57:07.442: [client(23969)]CRS-2101:The OLR was formatted using version 3. 2023-06-04 23:01:36.538: [client(24889)]CRS-2101:The OLR was formatted using version 3.
CRS-2672: Attempting to start 'ora.mdnsd' on 'exadb01' CRS-2676: Start of 'ora.mdnsd' on 'exadb01' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'exadb01' CRS-2676: Start of 'ora.gpnpd' on 'exadb01' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'exadb01' CRS-2672: Attempting to start 'ora.gipcd' on 'exadb01' CRS-2676: Start of 'ora.cssdmonitor' on 'exadb01' succeeded CRS-2676: Start of 'ora.gipcd' on 'exadb01' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'exadb01' CRS-2672: Attempting to start 'ora.diskmon' on 'exadb01' CRS-2676: Start of 'ora.diskmon' on 'exadb01' succeeded CRS-2674: Start of 'ora.cssd' on 'exadb01' failed CRS-2679: Attempting to clean 'ora.cssd' on 'exadb01' CRS-2681: Clean of 'ora.cssd' on 'exadb01' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'exadb01' CRS-2677: Stop of 'ora.gipcd' on 'exadb01' succeeded CRS-4000: Command Start failed, or completed with errors. CSS startup failed with return code 1 The exlusive mode cluster start failed, see Grid Infrastructure alert log for more information Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_exadb01.log for details /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
See /u01/app/11.2.0/grid/log/exadb01/cssd/ocssd.log
2023-06-04 23:08:37.504: [ SKGFD][315557632]ERROR: -8(OS Error 1 (bind_fail,skgxpvifconf,requested interface 100.100.100.210 failed bind. Check output from ifconfig command,Error 0) ) 2023-06-04 23:08:37.504: [ SKGFD][315557632]ERROR: -10(OSS Operation oss_initialize failed with error 4 [Network initialization failed] ) 2023-06-04 23:08:37.504: [ CSSD][315557632]clsssnmvDDiscThread: Unable to create clsf context 2023-06-04 23:08:37.504: [ CSSD][315557632]################################### 2023-06-04 23:08:37.504: [ CSSD][315557632]clssscExit: CSSD aborting from thread clssnmvDDiscThread 2023-06-04 23:08:37.504: [ CSSD][315557632]################################### 2023-06-04 23:08:37.504: [ CSSD][315557632](:CSSSC00012:)clssscExit: A fatal error occurred and the CSS daemon is terminating abnormally