NetVault: Backup fails to restart on Solaris, typically after a crash or failure of NetVault. Enabling tracing shows that only the Process Manager begins, and fails with a message like:
3 SHM :17607 3 0 041730.327844 ShmInitialize: Netvault shared memory key 0xecb is in use
Using this key, we can see that a shared memory segment is still active under this key:
# ipcs -mA
m 2213 0xecb –-rw-rw—rw- root other root other 9 512000 1579 1616 21:40:16 21:40:16 21:40:06
But, the process that owns the segment is not running. The following command is empty:
# ps -ef | grep 1579
Using the Shared Memory segment key from the ipcs command, use ipcrm to remove the shared memory segment.
# ipcrm -m 2213
NetVault should then restart OK.