RAC database cannot be connected after Grid and RAC DB have been installed
Folks,
Hello. I am installing Oracle 11gR2 RAC using 2 VMs (main VM rac1 and slave VM rac2) with Oracle Linux 5.6
according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
Grid and RAC database have been installed successfully for both VMs rac1 and rac2. I am using the slave VM rac2 to test Grid and RAC database.
I have run the commands as below:
[ora11g@rac2 bin]$ pwd
/u01/app/grid/bin
[ora11g@rac2 bin]$ ./crsctl status resource
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
[ora11g@rac2 bin]$ ./srvctl config database -d racdb
PRCD-1027 : Failed to retrieve database racdb
PRCR-1070 : Failed to check if resource ora.racdb.db is registered
Cannot communicate with crsd
[ora11g@rac2 bin]$ ./sqlplus SYS/SYS
SQL*Plus: Release 11.2.0.1.0 Production on Sat Mar 10 14:07:07 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: SYS
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: SYSTEM
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[ora11g@rac2 /]$ /u02/11g_db/ora11g/racdb/sqldeveloper/sqldeveloper.sh
In its GUI, the inputs are below:
Connection: C1
Username: SYS
PWD: SYS
Role: SYSDBA
Connection Type: Basic
Hostname: rac2.localdomain
Port: 1521
SID: racdb2
Test: failed. Network Adapter could not establish connection.
Browser url: https://rac2.localdomain:1158/em
Its output: cannot connect to the server at https://rac2.localdomain:1158/em
As we see the outputs for commands above, Grid is running at the beginning but now is not running. SQLPLUS and SQLdeveloper cannot connect with database. Browser url cannot connect to the console https://rac2.localdomain:1158/em.
My question is:
Do any folks understand how to solve the above 4 problems ?
Thanks.