I have installed Solutions Enabler V6.2.2 on a solaris 9 machine. I having problems in running the symapi secure daemon and I get an error
"The lock attempt on the gatekeeper path or SYMAPI database file failed" .
Did some search and it says it is because of the locked semaphore which I need to kill but cannot find any semaphore in the locked state.
Any ideas and a quick solution is very much appreicated
I get the list of semaphores currently in use by running the following command:
symcfg list -semaphore
I also verify if SYMCLI commands are running and if no SYMCLI commands are running, remove semaphores labelled as locked by running the following command:
ipcrm -s semaphore ID.
If no SYMCLI commands are running but the semaphores show locked, remove them also.
After removing the semaphores, you should be able to run a symcfg discover successfully.
1) a snip of the symapi log may help identifying what's broken 2) do you have Oracle (or other applications) running on the same host ??
maybe Oracle (or other applications) are consuming semaphores and when symapi needs a lock simply can't find a lock since they are already used by someone else .. It happened to me in the past .. maybe it's happening also to you
Yes .. the mesage (APILCK_DASEMGET) pointed to a very limited number of primus solutions .. Let me pose another (and hope final) question .. Are you using Veritas on the host ??
I get the list of semaphores currently in use by running the following command:
symcfg list -semaphore
I also verify if SYMCLI commands are running and if no SYMCLI commands are running, remove semaphores labelled as locked by running the following command:
ipcrm -s semaphore ID.
If no SYMCLI commands are running but the semaphores show locked, remove them also.
After removing the semaphores, you should be able to run a symcfg discover successfully.
After doing all this I am getting the same error.
Try to get the full list of semaphores .. Sometimes Solution Enabler leaves some locks .. and forgets about them .. And it happens usually when you upgrade solution enabler ... Run an "ipcs -s" to show the full list and search for locks beginning with 0x45 .. If no sym* process is running, shutdown all the stor* daemons and remove the locks as per primus emc19899
If you are using Veritas VM please look if you can find in the symapi log the following string:
SYSCALL_FORMAT_NOT_SUPPORTED
If you can find this string, please look at the value of the "SYMAPI_USE_VXDMP_GATEKEEPERS" in the "option" file. The value should be DISABLED as per Support Solution emc54732 ..
munish2
17 Posts
1012
0
Posted August 28th, 2007 08:00