Problém 13:
Používate-li ASM, pak před jejim spuštění je potřeba nastartovat clustrové služby. Jedna z nich je CSS (Cluster synchronization services). Veškeré tyto služby běží pod uživatelským účtem root. Občas se stane, že mě volá klient, že jim nefunguje databáze. Když pak zkontroluji logovací soubory mám jasno.
SQL> startup
ORA-29701: unable to connect to Cluster Manager
ASM alert.log
oracle@server:~> tail -f /opt/app/oracle/admin/+ASM/bdump/alert_+ASM.log
Tue Apr 27 22:54:06 2010
Errors in file /opt/app/oracle/admin/+ASM/bdump/+asm_gmon_28925.trc:
ORA-29702: error occurred in Cluster Group Service operation
ORA-29702: error occurred in Cluster Group Service operation
Řešení:

Přihlaste se jako uživatel root a spusťte následující příkazy.
server:~ # cd /opt/app/oracle/product/10.2.0/asm/bin/
server:/opt/app/oracle/product/10.2.0/asm/bin #
server:/opt/app/oracle/product/10.2.0/asm/bin # ./localconfig delete
Stopping CSSD.
Unable to communicate with the CSS daemon.
Shutdown has begun. The daemons should exit soon.
server:/opt/app/oracle/product/10.2.0/asm/bin # ./localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root’, privgrp ‘root’..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process…
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
server
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
server:/opt/app/oracle/product/10.2.0/asm/bin #

Poté se již můžete přihlásit jako uživatel oracle a spustit ASM instanci.
SQL> startup
ASM instance started

Total System Global Area 130023424 bytes
Fixed Size 2019032 bytes
Variable Size 102838568 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted



Komentáře