Errors
ORA-27123
Symptoms
Startup of database fails
Startup done immediately after shutdown from SQL*Plus
ORA-27123:unable to attach to shared memory segment
Linux error :22: Invalid argument
Additional information:1
Additional information:2457610
Cause
Oracle did not shutdown cleanly and could not attach to shared memory segments upon startup
Fix
- Restart your SQL*Plus session after shutdown.
OR..
- Remove shared memory and semaphores using
ipcs -mt
to list shared memory segments and
ipcs -st
to list semaphores to be removed.
Then remove them using
ipcrm -m (shared memory id)
ipcrm -s (semaphore id)
Where id is the ID of the shared memory segment and semaphores to be removed respectively.