I am trying to create a database via a korn shell script. When i do a startup nomount of that database (via the script), I get the following errors..

ORA-27100: shared memory realm already exists
SVR4 Error: 17: File exists
I dont know why i am getting these errors - when i do the following below, the output shows, no shared memory. And the SVR4 error - what file is it referring to? How do I fix this problem?

oracle@server /u01/app/oracle/product/10.2.0/bin> sysresv

IPC Resources for ORACLE_SID "db1" :
Shared Memory
ID              KEY
No shared memory segments used
ID              KEY
No semaphore resources used
Oracle Instance not alive for sid "db1"