Getting error CJS-00084 SQL Statement or script failed while creating a DB
Hi All,
I ma trying to install IDES CRM 4.0 with Oracle DB and process went fine till the point of central instance installation. I am at the final step of installing the database instance and got an error while it is performing different steps of it.
At the step CREATE ORACLE DATABASE, i got the below error message:
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-01092: ORACLE instance terminated. Disconnection forced
Can someone help me to resolve this?
Thanks
Vijay
-> did you follow all steps correctly? for example did you say NO when runinstaller asks for database creation?
-> which operating system are you on?
GreetZ, AH
Similar Messages
-
SQL 4.7 Installation Error CJS-00084 SQL Statement or Script failed
Dear SAP Gurus,
pl do let me know hoe to resolve this error.......
"""CJS-00084 SQL Statement or Script failed"""
my ora_sql_results file is like that..
===========================================
2008-10-25, 16:14:44 SAPINST ORACLE start logging for
connect / as sysdba ;
@@"C:\SAPinstORACLEKERNEL/oradbusr.sql"
exit;
Output of SQL executing program:
SQL*Plus: Release 9.2.0.2.0 - Production on Sat Oct 25 16:14:44 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
Connected.
old 3: if substr(upper('&&1'),1,5) = 'SAPR3' then
new 3: if substr(upper('SAPERP'),1,5) = 'SAPR3' then
old 6: if upper('&&2') = 'NT' then
new 6: if upper('NT') = 'NT' then
old 13: :sDomain := upper('&&3');
new 13: :sDomain := upper('ERP');
old 17: :sSchema := upper('&&1');
new 17: :sSchema := upper('SAPERP');
old 18: if upper('&&2') = 'NT' then
new 18: if upper('NT') = 'NT' then
old 25: :sDomain := upper('&&3');
new 25: :sDomain := upper('ERP');
using following Parameters:
. Oracle SID: ERP
. Oracle Version: 9.2.0.2.1
. Parametervalue os_authent_prefix: OPS$
. Database User (Schema): SAPERP
. SAP R/3 Administrator: OPS$ERP\ERPADM
. SAP R/3 Serviceuser: OPS$ERP\SAPSERVICEERP
O/S Message: No such file or directory
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.2.0 - Production
SAPINST: End of output of SQL executing program F:\oracle\ora92/bin/sqlplus.exe.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2008-10-25, 16:14:44 SAPINST ORACLE stop logging
=======================================
My SAPINST_ORA_ENVIRONMENT FIle is like that
==========================================
2008-10-25, 16:10:43 SAPINST Current process environment:
=::=::\
=C:=C:\SAPinstORACLEKERNEL
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\tanya\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=ERP
ComSpec=C:\WINDOWS\system32\cmd.exe
DBMS_TYPE=ORA
DBS_ORA_SCHEMA=SAPERP
dbs_ora_tnsname=ERP
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\tanya
JAVA_HOME=C:\j2sdk1.4.2_09
JSERV=F:\oracle\ora92/Apache/Jserv/conf
LOGONSERVER=
ERP
NLS_LANG=AMERICAN_AMERICA.WE8DEC
NUMBER_OF_PROCESSORS=2
ORACLE_HOME=F:\oracle\ora92
ORACLE_SID=ERP
OS=Windows_NT
Path=F:\oracle\ora92\bin;$PATH$
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramFiles=C:\Program Files
SAPDATA_HOME=F:\oracle\ERP
SAPEXE=F:\usr\sap\ERP\SYS\exe\run
SAPLOCALHOST=ERP
SAPSYSTEMNAME=ERP
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
USERDOMAIN=ERP
USERNAME=tanya
USERPROFILE=C:\Documents and Settings\tanya
windir=C:\WINDOWS
WV_GATEWAY_CFG=F:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
SAPINST: End of current process environment.
=====================================
REgards,
AbhishekThanks, but most of the people in the industry are still using the same, and it is working on their Machine
As far as I remember 9.2.0.2 was never released, one needed to install at least 9.2.0.4 (or .5). That´s why the official installation guides tell you to install the latest patches PLUS the latest interim patches for the database.
On top of that, Oracle 9.2 is out of extended support already, I would get a new installation CD set with Oracle 10g and use that for a new installation.
why it is not working on my machine?
Because those old database versions have many bugs that are fixed with patches - so why do you want to run such an old version if one KNOWS that it´s buggy and there are patches to fix those errors?
secondly from where i will get the latest patches, as told by you. pl do let me know any website from where i can down load them
Check
Note 938986 - Oracle Database 9.2: Patches for 9.2.0
Markus -
CJS-00084 SQL Statement or Script failed. Error Message: Executable
Hello
Hello
I am facing one problem at the time of installing 4.7 IDES can you please guide me on that. Do I need to reinstall system ageing or it can be sort it out in this stage.
ERROR AT THE TIME OF INSTALLING SAP 4.7 IDES ARE
1. CJS-00084 SQL Statement or Script failed. Error Message: Executable
C:\oracle\ora92/bin/sqlplus.exe returns 3.
2. FJS-00012 Error when executing script.
Complete error log :--
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:29
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:29
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:37
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:37
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:51
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:51
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:07:00
Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (276), with parameter (C:\oracle\ora92/bin/sqlplus.exe /NOLOG @ora_scr_tmp.sql).
ERROR 2000-06-15 21:07:00
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:07:00
MDB-06030 A call to the system library failed. System error message: [No such file or directory].
ERROR 2000-06-15 21:07:00
MUT-02011 Internal error: A call to syslib failed. System error message: No such file or directory.
ERROR 2000-06-15 21:07:00
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:11:52
Error 1326 (Logon failure: unknown user name or bad password.
) in execution of a 'LogonUser' function, line (537), with parameter (SAPTRANSHOST\godadm).
ERROR 2000-06-15 21:11:52
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:11:52
MDB-06030 A call to the system library failed. System error message: [Unknown error].
ERROR 2000-06-15 21:11:52
MUT-02011 Internal error: A call to syslib failed. System error message: Unknown error.
ERROR 2000-06-15 21:11:52
FJS-00012 Error when executing script.
INFO 2000-06-15 21:11:53
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:11:54
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:11:54
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:11:54
FJS-00012 Error when executing script.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:13:42
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:13:42
FJS-00012 Error when executing script.
INFO 2000-06-16 02:00:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:00:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:00:07
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:00:07
FJS-00012 Error when executing script.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:08:18
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:08:18
FJS-00012 Error when executing script.
INFO 2000-06-16 02:09:48
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:09:49
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:09:49
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:09:49
FJS-00012 Error when executing script.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:14:33
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:14:33
FJS-00012 Error when executing script.> WARNING 2000-06-15 21:07:00
> Error 2 (The system cannot find the file specified.
> ) in execution of a 'CreateProcess' function, line
> (276), with parameter
> (C:\oracle\ora92/bin/sqlplus.exe /NOLOG
> @ora_scr_tmp.sql).
> ERROR 2000-06-15 21:07:00
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
> ERROR 2000-06-15 21:07:00
> MDB-06030 A call to the system library failed.
> System error message: [No such file or directory].
> ERROR 2000-06-15 21:07:00
> MUT-02011 Internal error: A call to syslib failed.
> System error message: No such file or directory.
> ERROR 2000-06-15 21:07:00
> FJS-00012 Error when executing script.
> WARNING 2000-06-15 21:11:52
> Error 1326 (Logon failure: unknown user name or bad
> password.
> ) in execution of a 'LogonUser' function, line (537),
> with parameter (SAPTRANSHOST\godadm).
> ERROR 2000-06-15 21:11:52
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
is that file there (sqlplus)?
as which user are you installing?
Markus -
I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin. Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database. The user attempts
to connect using Excel client or Access or SQL Management Studio and receives Error 18456. The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data. But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
We've turned off UAC on the client machine to see if that was the problem, but no change.
I have dropped and re-added the user's SQL Login (and the related database user login info). No success.
The Ring Buffers output shows:
The Calling API Name: LookupAccountSidInternal
API Name: LookupAccountSid
Error Code: 0x534
Thanks for any help.
-WaltYes, you understand correctly. The user is logging onto a workstation (not the server) with a Windows Authenticated id. The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
If the account has sysadmin role (which is only for testing) then the connection is successful. If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
(SQL Authentication is not an option here. I must use Windows Authentication).
Any other troubleshooting assistance you can offer would be appreciated. Thanks.
-Walt -
RMAN script failed while creating Data Guard 11g
Hi Friends,
I am creating Physical Standby (11g) using RMAN (ACTIVE) on windows using the doc : Step by Step Guide on Creating Physical Standby Using RMAN DUPLICATE...FROM ACTIVE DATABASE [ID 1075908.1]
The folder structure on Primary DB and on Physical Standby is totally different.
while executing RMAN script i got errors for lot of locations and i specified the proper location in RMAN script itself (ex set diagnostic_dest = 'c:\app\' , set db_recovery_file_dest='C:\app\flash_recovery_area')
Location of control files on Primary DB:
D:\oradata\MESSTG\CONTROL01.CTL
D:\oradata\flash_recovery\messtg\MESSTG\CONTROL02.CTL
Location of control files (planned) on Physical Standby DB:
C:\app\oradata\MESSTDBY\CONTROL01.CTL
C:\app\flash_recovery_area\MESSTDBY\CONTROL02.CTL
How to specify control file location of Physical standby in set control_files?
Also i have 2 control files on Primary DB so do i need to specify both the control files , if so how?
I tried different combination in RMAN script but all are failed:
set control_files='D:\oradata\MESSTG\CONTROL01.CTL','C:\app\oradata\MESSTDBY\CONTROL01.CTL'
RMAN Error is :
while using set control_files=: C:\app\oradata\MESSTDBY\CONTROL01.CTL
contents of Memory Script:
backup as copy current controlfile for standby auxiliary format 'D:\ORADATA\MESSTG\CONTROL01.CTL';
restore clone controlfile to 'C:\APP\ORADATA\MESSTDBY\CONTROL01.CTL' from
'D:\ORADATA\MESSTG\CONTROL01.CTL';
executing Memory Script
Starting backup at 16-APR-13
channel prmy1: starting datafile copy
copying standby control file
released channel: prmy1
released channel: prmy2
released channel: prmy3
released channel: prmy4
released channel: stby
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 04/16/2013 14:18:41
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on prmy1 channel at 04/16/2013 14:18:41
ORA-17628: Oracle error 19505 returned by remote Oracle server
RMAN>
Error 2)
while using set control_files='D:\oradata\MESSTG\CONTROL01.CTL','C:\app\oradata\MESSTDBY\CONTROL01.CTL'
contents of Memory Script:
backup as copy current controlfile for standby auxiliary format 'D:\ORADATA\MESSTG\CONTROL01.CTL';
executing Memory Script
Starting backup at 16-APR-13
channel prmy1: starting datafile copy
copying standby control file
released channel: prmy1
released channel: prmy2
released channel: prmy3
released channel: prmy4
released channel: stby
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 04/16/2013 13:22:33
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on prmy1 channel at 04/16/2013 13:22:33
ORA-17628: Oracle error 19505 returned by remote Oracle server
RMAN>
Regards,
DBHi,
Can you paste here you rman script ?
I think following script can help you.
duplicate target database for standby
from active database
spfile
set "control_files"="d:\oradata\<standbydbuniquename>\CONTROL01.CTL"
set "db_name"="<DBNAME>"
set "db_unique_name"="<STANBYD DBA UNIQUENAME>"
set "db_file_name_convert"="C:\app\oracle\oradata\<dbname>","d:\oradata\<standbydbuniquename>"
set "log_file_name_convert"="C:\app\oracle\oradata\<dbname>","d:\oradata\<standbydbuniquename>"
set "db_recovery_file_dest"="D:\fast_recovery_area"
nofilenamecheck;C:\app\oracle\oradata\<dbname> - it is primary database dafiles location
D:\oradata\<standbydbuniquename> - it is standby database datafile location.
Don't forget creation of diagnostinc dests.
Regards
Mahir M. Quluzade -
QL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of
Dear all,
please help me4 on this
i am getting this error
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
my logs are:
sapinst.log
ERROR 2011-12-18 09:40:34.550
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
ERROR 2011-12-18 09:40:34.558
MUT-03025 Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
ERROR 2011-12-18 09:40:34.717
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
INFO 2011-12-18 09:57:09.852
An error occured and the user decided to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase".
INFO 2011-12-18 09:57:15.747
Creating file /tmp/sapinst_instdir/.lastInstallationLocation.
INFO 2011-12-18 09:57:16.545
Creating file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.
oracle_sql_results.log
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Dec 18 09:40:34 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
Disconnected
SAPINST: End of output of SQL executing program /oracle/PRD/102_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-12-18, 09:40:34 SAPINST ORACLE stop logging
alert_prd.log
Sun Dec 18 09:40:34 2011
Starting ORACLE instance (normal)
Sun Dec 18 09:40:34 2011
WARNING: EINVAL creating segment of size 0x000000d8001b2000
fix shm parameters in /etc/system or equivalent
please sujest the solution very urjent pz........Dear deepak
itried to start the database manually
but it is not working.
SQL> startup
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
SQL>
and my shm parametrs for the Solaris ACCORDING TO NOTE 724713 are
projadd -p 333 -c "SAP System PRD" \
-U prdadm,oraprd \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
dr
projmod -s \
-K "process.max-file-descriptor=(basic,65536,deny)" \
-K "process.max-sem-nsems=(priv,2048,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-shm-ids=(priv,256,deny)" \
-K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
user.root
prdadm::::project=dr;oraprd::::project=dr
thanks & Regards
k.Phani Krishna -
I am getting "ORA-00900: invalid SQL statement" error.?
I did installed oracle 11gR2. and used "DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','USER1','USER2')" to see the result like below, but I am getting "ORA-00900: invalid SQL statement" error. Any idea?
I am using:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> desc user1.tbl_a
Name Null? Type
FIELD_A1 NOT NULL NUMBER
FIELD_A2 VARCHAR2(20)
FIELD_A4 NOT NULL NUMBER(5,2)
FIELD_A5 VARCHAR2(10)
FIELD_A6 NOT NULL NUMBER(2)
SQL> desc user2.tbl_a
Name Null? Type
FIELD_A1 NOT NULL NUMBER
FIELD_A2 VARCHAR2(50)
FIELD_A3 DATE
FIELD_A4 NUMBER(5,2)
FIELD_A5 NOT NULL VARCHAR2(10)
SQL> select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual
expected result:
DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','U1','U2')
ALTER TABLE "U1"."TBL_A" ADD ("FIELD_A3" DATE)
ALTER TABLE "U1"."TBL_A" DROP ("FIELD_A6")
ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A2" VARCHAR2(50))
ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NUMBER(5,2) DEFAULT 0)
ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NULL)
ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A5" NOT NULL ENABLE)Thanks for reply rp,
I got result using "select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual" -
MDM Database command execution error. A SQL statement failed to execute
Hi,
When we tried to execute an MDM Java query modify/create, we get the following dump.
Is this anything to do with the parameters that we pass or is it something to do with the database ?
We have checked the code and we do not find anything wrong with the code at all.
We are using Java API 5.5.63.73 and calling MDM API's using WebDynpro for Java.
I have noticed this issue has been raised here as well :
Database command execution error. (While mounting a repository)
com.sap.mdm.commands.CommandException:
com.sap.mdm.internal.protocol.manual.ServerException: Database command execution error. A SQL
statement failed to execute. The actual error may have been written to a log file. at
com.sap.mdm.data.commands.ModifyRecordCommand.execute(ModifyRecordCommand.java:163) at
Regards,
Subramanian V.
Edited by: Subramanian Venkateswaran on Dec 10, 2008 8:11 PMHi Subramanian ,
The error looks more like a problem with the data base or MDM system rather than the java code.
Which is the underlying database you are using with MDM? As some users have faced some difficulties when working with the DB2 Data base,If this is the data base you too are working upon then may be the issue could be similar,if possible try using the Oracle or SQL data base as these databse show more compatibility than a DB2 when working with MDM .
Also check the MDM users autorization and authentication to modifyor create recordrs in MDM.try given the user the ADMIN rights,and tehn try and see if teh user is able to modify/Create the mdm records.
Lastly you can check the database instance and listener configuration correctly.try restarting the Database service form the system if possible.
Hope It Helped
Thanks & Regards
Simona Pinto -
What can be the cause of Web ADI error : Cannot execute SQL statement?
I created a custom integrator in r12.2.3 and while loading I encountered an error, Cannot execute SQL statement.
I checked my setup in Interface attribute , the RUN_ID column has a default type SQL QUERY with a default value SELECT XXCONV_EAM_ASSET_NUM_S.NEXTVAL FROM DUAL.
If I have a right setup here, what can be the cause of this error?Hi,
The possibilities can be of various reasons, with the sql statements,
xml descriptors, data sources, improper drivers anything. To crack down
the solution, kindly let me know the error messages and what exactly are
you trying to accomplish.
Thanks & Regards
Raj
manimaran t wrote:
what may be the cause of this error java.sql.SQLException: invalid sql
type passed to callable statement in iplanet ussing JNDI
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Get an set the SQL statement from a report at runtime
i know there is an opportunity to filter the records by using setRecordSelectionFormula() method...but i wondered if you can anyhow get the whole SQL statement that is in the report. i think it would be very useful for many developers to maipulate the SQL directly like you were able to using the PE-functions in the old CRPE32.DLL...
but in CR XI the CRPE32.DLL is no longer supported. now we have to substitute these functions with the JRC but i am not sure if it provides everything we had in the CRPE32.DLL...
after all i do not understand why the CRPE32.DLL is still delivered but not supported. in my CR XI R2 installtion i found this file signed with version 11.5.3.438
by the way it is a question of performance...a query would be faster if you could directly query the database by changing the reports sql statement instead of allowing the report to retrieve all data and then performing the filtering.
so please, for the next version of the JRC give us the opportunity to get an set the sql statement of a report directly!Not an option. crpe32 is proprietory and the SQL we generate is to complex to assume it will be done correctly. Which is why the ability was removed
-
Hi Experts,
i am getting error "The connection to the server was reset while the page was loading" whenever i am trying to view one perticular page asset. i am directly view page asset through contribute editor. Please tell me what is the issue.
Thanks
SatyaHello.
Can you provide more details? Is there more information in the logs (what's the stacktrace)? What version are you working with?
Regards,
Raul. -
Hi All,
While Opening HFM application I'm getting Error : "A connection to the server has failed. (status=503)".
I Checked the Doc ID 1516598.1 and tried to increase the timeout setting, which really didn't help.
Where can check a log for this connection issue, not able to see any error in Starter or HFM server logs.
Please help me to fix this issue.
Server: Windows 2008 R2
EPM Application: 11.1.2.2
Database: Oracle 11g
Regards,
Rajeevan DHi!!
I am facing the same issue and have increased the timeout setting according to the Doc ID 1516598.1.
When I open up the app, it takes more than 5 minutes but it just get little longer and I've got the error....
My HFM is at 11.1.2.2.300 version.
Server: Windows 2008 R2
EPM Application: 11.1.2.2
Database: Oracle 11g
Thanks -
Getting error in migrating SQL server SP's having case statements
Hello Sir,
using migration workbench tool for converting SQL server database to Oracle Databse.Getting error message in converting below SP with Case Structure.
Please help me in solving this problem
****** Object: Stored Procedure dbo.SP_Sec_GetScreenFieldAccessLevel
Procedure Name : SP_Sec_GetScrnFldAccessLevel
Notes :
This procedure selects data from E_E_C_field_Access_level table
CREATE PROCEDURE SP_Sec_GetScrnFldAccessLevel
AS
Select Screen_ID + '-' + FieldDescription as ScreenFieldName
,Level=
CASE
WHEN Len(IsNull(E_E_C_field_Access_level.ein_code,''))= 1 THEN campus_name
WHEN Len(E_E_C_field_Access_level.ein_code)> 1 THEN ein_name
END,
ein_name,campus_name,Urole,
IsLocked=case IsLocked
when 1 then 'Yes'
when 0 then 'No'
End
from E_E_C_field_Access_level,Field_Name_Field_Description,User_Roles_Master,EIN,Campus
where
E_E_C_field_Access_level.Screen_Field_ID*=Field_Name_Field_Description.ID
and E_E_C_field_Access_level.User_role_Id *=User_Roles_Master.Role_Id
and E_E_C_field_Access_level.ein_code *= EIN.ein_code
and E_E_C_field_Access_level.campus_code *= Campus.campus_code
and E_E_C_field_Access_level.del_flag=0
order by E_E_C_field_Access_level.date_created desc
IF @@ERROR <> 0
RETURN @@ERROR
ELSE
RETURN 0I have since found out subqueries in the select list are not supported by Oracle.
Brad
null -
I am getting Error! java.sql.SQLException:General error
hi every body,
I struck with this error , can any one suggest in solving this.
I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt.
table format----> id and text columns
Now my question is to retrieve that data and store it in local disk i am getting this error
import java.io.*;
import java.sql.*;
//import java.sql.SQLException;
public class Cread {
public static void main(String[] args) throws ClassNotFoundException,IOException,SQLException {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection cn=DriverManager.getConnection("jdbc:odbc:sivadsn","scott","tiger");
Statement s = cn.createStatement();
ResultSet rs=s.executeQuery("Select text from ram where id=10");
if(rs.next()){
FileOutputStream file=new FileOutputStream("c:/store.txt");
InputStream fin=rs.getBinaryStream(1);
int c;
while((c=fin.read())!=-1){
file.write(c);
fin.close();
s.close();
rs.close();
catch(IOException e){
e.printStackTrace();
System.out.println("Err:"+e);
I am getting the error as
java.sql.SQLException: General error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Unknown Source)Error! java.sql.SQLException: General error
at attach.Clobread.main(Clobread.java:30)That usually means something is wrong with the syntax of your sql.
As a guess 'text' is probably a keyword and shouldn't be used as a field name. It is possible that the same is true for 'id' -
Oracle + Unix question , Error validation for SQL statements in co process
Hi,
If I use co process in a shell script , what is the best way to do the error validation of the execution of any sql statements . I was trying to change the following code to make use of co process concept. When I tried echo $? after the execution of a "wrong statements"
it is still giving Zero output ( meaning success)
<<<<<<<<<<<<<<<<<<<<<<<<<<<
cat ${CFG_DIR}/srs_indx.lst | egrep -v '^#' | egrep -v '^[ ]*$' | while read x
do
echo " Processing values :: pre $pre tbl $tbl indx $indx tblspc $tblspc cols $cols param $param" >> ${LOGS_DIR}/srs_indx.log
sqlplus ${BIZSTG} << EOT >> ${LOGS_DIR}/srs_indx.log
set verify on timing on term on echo on feedback on serveroutput on
WHENEVER SQLERROR CONTINUE
drop index $indx;
WHENEVER SQLERROR EXIT FAILURE
alter session set query_rewrite_enabled = true;
create $pre index $indx on $tbl ($cols)
tablespace $tblspc
$param;
exit
EOT
RC=$?
if ( test $RC -ne 0 )
then
ERR_MSG="ERROR in creating index $indx for table $tbl from srs_indx.ksh of $ENVIR : $APP by `whoami`@`hostname` on `date` "
echo $ERR_MSG >> ${LOGS_DIR}/srs_indx.log
process_warning ${LOGS_DIR}/srs_indx.log
exitstat=1
else
echo "$indx created at `date`" >> ${LOGS_DIR}/srs_indx.log
fi
done
>>>>>>>>>>>>>>>>>>>>
Any help will be appreciated .
with thanks and regards
Ranjeesh K RHi,
Thanks for the response, I guess people misunderstood my question .
My question was about "error handling in case of CO PROCESS". For those who don't know about this, in case CO PROCESS you just need to login once to Oracle. In my above code It is logging in & out for each entry in the list. CO process statements may look Similar to SQL statements in pro*C. In PRO*C we use EXEC, but here print -p statements..
a sample is given for those who are new to co process.
sqlplus -s /nolog |& # Open a pipe to SQL*Plus
print -p -- 'connect user/password@instance'
print -p -- 'set feed off pause off pages 0 head off veri off line 500'
print -p -- 'set term off time off'
print -p -- "set sqlprompt ''"
print -p -- "select sysdate from dual;"
read -p SYSDATE
print -p -- "select user from dual;"
read -p USER
print -p -- "select global_name from global_name;"
read -p GLOBAL_NAME
print -p -- exit
echo SYSDATE: $SYSDATE
echo USER: $USER
echo GLOBAL_NAME: $GLOBAL_NAME
But I got stuck during error handling of these SQL statements, especially the $? / $* returns 0 even after an erroneus execution.
Regards
Maybe you are looking for
-
My iTunes library will not sync to my iPhone 4S
So I am getting extremely frustrated. Both with my phone; and possibly iOS 8. The first thing my phone has been doing lately, is sometimes randomly deleting songs off of the music app. Please note that the songs are songs that I listen to the most. Q
-
i get this get every time i shut down firefox then reboot it or try at least Firefox is already running, but is not responding.
-
I have one dead pixel in the middle of the screen.
I have 3 issues with my iPad2 at the moment 1. Bad back-light bleeding around edges. It is kind of big bleed on the right edge and small ones on the left. 2. One dead pixel in the middle of the screen. 3. Lots Horizontal lines occured everytime when
-
Changes in 902b stylesheet parser
Just noticed that in 902b a variable declared in a stylesheet is not visible within an included stylesheet. All previous version have worked so that the variable IS visible. ie declare a variable in the main stylesheet. xsl:variable name="dictionary"
-
Cant install Premiere Pro for some reason. Log Inside (Mac)
Premiere Pro CS5 and encore amongst other programs wont install. Here's the log for premiere pro. Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example, ERROR: DF024, DW063 ... WARNING: DW036 ... ---------------