Error Message
Sybase_A.log error messages:
-----------------------------
2011/09/02 13:16:06 VCS ERROR V-16-2-13066 Thread(3) Agent is calling clean for resource(sg1_syb_rs) because the resource is not up even after online completed.
2011/09/02 13:16:08 VCS ERROR V-16-2-13068 Thread(3) Resource(sg1_syb_rs) - clean completed successfully.
2011/09/02 13:16:08 VCS ERROR V-16-2-13071 Thread(3) Resource(sg1_syb_rs): reached OnlineRetryLimit(0).
-----------------------------
Sybase_A.log Debug information:
-------------------------------
2011/09/02 13:41:08 VCS DBG_1 V-16-50-0 Sybase:sg1_syb_rs:monitor:Cookie analysis finished. proc_ok is FALSE
Sybase.C:sybase_monitor[641]
2011/09/02 13:41:08 VCS DBG_1 V-16-50-0 Sybase:sg1_syb_rs:monitor:Could not find a process for data server SYB1. Returning OFFLINE.
Sybase.C:sybase_monitor[779]
2011/09/02 13:41:08 VCS DBG_AGINFO V-16-50-0 Thread(3) Resource(sg1_syb_rs) - monitor entry point exited with a confidence value 0.
VCSAgType.C:call_monitor[1409]
--------
2011/09/02 13:42:15 VCS DBG_AGDEBUG V-16-50-0 Thread(3) Calling online for resource sg1_syb_rs
VCSAgType.C:call_online[1563]
2011/09/02 13:42:46 VCS DBG_AGDEBUG V-16-50-0 Thread(3) script (/opt/VRTSagents/ha/bin/Sybase/online) exited with status (10)
VCSAgProcess.C:exec_script[1111]
2011/09/02 13:42:46 VCS DBG_AGINFO V-16-50-0 Thread(3) Resource(sg1_syb_rs) - online entry point exited with a return value 10.
VCSAgType.C:call_online[1594]
--------------------------------
---------------Use truss to check the SybaseAgent during online process ----------
root@osssvr-1 # ps -ef | grep -i sybase | grep -i agent
root 25991 1 0 Sep 08 ? 25:49 /opt/VRTSagents/ha/bin/Sybase/SybaseAgent -type Sybase -agdir /opt/VRTSagents/h
root 25993 1 0 Sep 08 ? 21:22 /opt/VRTSagents/ha/bin/SybaseBk/SybaseBkAgent -type SybaseBk -agdir /opt/VRTSag
root@osssvr-1 # truss -faile -o truss.out.0923 -p 25991
-------------------------------------------
The issue node truss info:
26134: 95.5537 sigaction(SIGINT, 0xFFFFFFFF7FFFCCC0, 0x00000000) = 0
26134: 95.5538 sigaction(SIGQUIT, 0xFFFFFFFF7FFFCCC0, 0x00000000) = 0
26132: 95.5544 lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
26134: 95.5550 execve("/bin/sh", 0xFFFFFFFF7FFFCEC8, 0xFFFFFFFF7FFFE1F8) argc = 3
26134: argv: sh -c bin:/usr/sbin:/sbin <<<<<<<<<<< Sybase startserver tried to run a non-existent program and caused the online failure
The truss output from a successful Sybase resource online:
28388: 92.1887 lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
28390: 92.1893 execve("/bin/sh", 0xFFFFFFFF7FFFD2D8, 0xFFFFFFFF7FFFE608) argc = 3
28390: argv: sh -c /export/home/sybase/ASE-15_0/install/RUN_SYB1 & <<<<<<<<< Sybase startserver should execute this program
--------------------------------------------------------------------