Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Message 51 not found; product=RDBMS; facility=ORADIM in OraDim.log ?
Hi,
I am pretty new in the oracle environment. Recently I tried to create a new database on a exiting Oracle 8.1.3.0 Server using a script. Unfortunately it seems that the following command of the script is not properply executed
-----Script part-------------
echo Creating service ...
oradim -new -sid %ORACLE_SID%
if not errorlevel 1 goto service_ok
goto exit
:service_ok
The script hangs and when I lookup the OraDim.log I found the following error message: Message 51 not found; product=RDBMS; facility=ORADIM
The afterwards following command:
-----Script part--------------------
echo Creating database ...
sqlplus "/ as sysdba" @CreateDB_%ORACLE_SID%.sql >>%INSTALL_LOG%
fails also and I can see that the connect fails in the script log SQL*Plus: Release 8.1.7.0.0 - Production on Wed Oct 9 14:48:19 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve service name
Enter user-name:
I assume that it tries to connect to the db but this is not up and running because the oradim aborted (no service - no db). I am right in this conclusion?
The question for me is what cases the Message 51 not found (in general where can I look up error messages) and how can I solve it?
Thanks in advance,
Garp
Received on Wed Oct 09 2002 - 14:21:46 CDT