Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Pro*C-PL/SQL---Problem---More details
Program
Extract
EXEC SQL WHENEVER SQLERROR DO sql_error(); ....
EXEC SQL CONNECT :glh_username IDENTIFIED BY :glh_password; if (g_OK)
EXEC SQL COMMIT WORK RELEASE;
int sql_error()
{
EXEC SQL WHENEVER SQLERROR CONTINUE;
EXEC SQL ROLLBACK RELEASE;
return(1);
}
Problem
ORA-01034: ORACLE not available
ORA-07429: smsgsg: shmget() failed to get segment.
Digital Unix Error: 2: No such file or direct
FINE! All other subsequent requests gave us this message...
ORA-12154: TNS:could not resolve service name
Even if DB turn ON, we got the same message... I have to stop (kill) my daemon and restart it to do more request. Even the short extract didn't work!
Need help!
Thx Received on Mon Jun 21 1999 - 08:20:03 CDT