Error in 11G instillation
Hi Experts ,
I am trying to install Oracle Business Intelligence Developer Client Tools Installer (11.1.1.6.0) in vm ware windows XP 64bit mode but i am getting the following error windows error 193 occured while loading the Java VM
how to clear this error.
Regards,
Hi,
Can you make sure right version of Java and OBIEE client tool (i think there is a mismatch of the JVM and the OS. ex: Install 32 bit for windows 32 bit OS)
Thanks
Deva
Similar Messages
-
Error on 11g 2 during external job execution using credential
Hi,
I need a help from you.
I am getting below error on 11g 2 during external job execution using credentials -
EXTERNAL_LOG_ID="job_805812_412409",
ORA-27369: job of type EXECUTABLE failed with exit code: Arg list too long
STANDARD_ERROR="Launching external job failed: Invalid username or password"
Find credentials creation & other required details -
EXECUTE DBMS_SCHEDULER.create_credential(credential_name =>'SYS.SCRIPTS',username =>'scripts',password => 'u5342222');
BEGIN
DBMS_SCHEDULER.CREATE_JOB(
job_name => 'AUTOLOAD_JOB',
job_type => 'EXECUTABLE',
job_action => '/qpshell/dev/scripts/autoload.sh',
repeat_interval => 'freq=MINUTELY;interval=5;byhour=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22;',
enabled => true,
auto_drop => false,
credential_name => 'SYS.SCRIPTS');
end;
-rw-r--r-- 1 root oinstall 1571 Nov 11 14:42 /u01/app/oracle/product/11.2.0/dbhome_1/rdbms/admin/externaljob.ora
content of externaljob.ora -
run_user = nobody
run_group = nobody
run_user=scripts
run_group=qvcscript
-rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
-rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
root@knudwdbs2:/u01/app/oracle/product/11.2.0/dbhome_1/bin> ls -ltr extjob*
-rwx------ 1 oracle oinstall 3068424 Nov 11 12:45 extjoboO
-rwsr-x--- 1 root oinstall 3068424 Nov 11 12:45 extjobO
-rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
-rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
Kindly suggest how it can be fixed. Early response much appreciated.
Thanks
Ajay
--Hi,
When you are logged in to the OS, can you do an "su" to the "scripts" user using this exact password (passwords are case-sensitive) ?
Also make sure that you have libpam.so located somewhere in $LD_LIBRARY_PATH and that it points to a real file.
external jobs with credentials use jssu, but I don't think permissions on jssu are the problem here (it should be setuid to root).
Hope this helps,
Ravi. -
Ora-00600: internal error on 11g database in windows 2007 environment
Hello , i have these problems please help me to solve it.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Windows\system32>set ORACLE_SID=testsid
C:\Windows\system32>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://local:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Logs are generated in directory C:\app\23333941\product\11.1.0\db_3/local_testsid/sysman/log
C:\Windows\system32>sqlplus sys/@**** as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:27:37 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL*Plus: Release 11.1.0.6.0 - Production
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-F Enables the failover mode for a RAC environment.
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: (<username>[/<password>][@<connect_identifier>] | /)
[AS SYSDBA | AS SYSOPER | AS SYSASM] | /NOLOG | [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [//]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Application
Edition
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
C:\Windows\system32>sqlplus sys/1118@testsid as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:29:03 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: sysdba
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: sys
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:32:59 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> create table test(id number, id1 number);
create table test(id number, id1 number)
ERROR at line 1:
ORA-01109: database not open
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> alter database open;
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0x51434A54],
[2], [], [], [], [], []
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>startup mount
'startup' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:05:42 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> recover database;
Media recovery complete.
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
2 539 NO INACTIVE
3 540 NO ACTIVE
1 541 NO CURRENT
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:17:10 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 313860096 bytes
Fixed Size 1332892 bytes
Variable Size 276826468 bytes
Database Buffers 29360128 bytes
Redo Buffers 6340608 bytes
Database mounted.
Database opened.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
3 540 NO INACTIVE
1 541 NO INACTIVE
2 542 NO CURRENT
SQL> restore database;
SP2-0734: unknown command beginning "restore da..." - rest of line ignored.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL>
Thanks with regards Ganaa;What happened prior that resulted in the disaster scenario that you posted/
When was the last time the DB opened with out error?
What changed since then? -
TNS Protocol error in 11g when creating a new database
Hi,
I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
=====================================================
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
Time: 17-DEC-2009 10:30:52
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
=====================================================
Some excerpts from the trace is:
=====================================================
2009-12-17 11:14:38.776040 : nsopen:opening transport...
2009-12-17 11:14:38.776097 : ntpcon:entry
2009-12-17 11:14:38.776140 : ntpcon:toc = 1
2009-12-17 11:14:38.776196 : sntpcall:entry
2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
2009-12-17 11:14:38.796571 : sntpcall:exit
2009-12-17 11:14:38.796674 : ntpcon:exit
2009-12-17 11:14:38.796755 : nserror:entry
2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
2009-12-17 11:14:38.796861 : nsopen:unable to open transport
2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
=====================================================
In /etc/host i have added server ip with host name.
$ more /etc/host
172.26.171.57 sol11oracle-vm
The .profile of oracle user
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
export ORACLE_SID=TSG11G
export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
Please suggest.$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TSG11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TSG11G)
$ tnsping tsg11g
TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
OK (50 msec) -
ORA-00932 Error using 11g and the SDO_RELATE function. Works fine in 10g
Hello,
If I run this query in Oracle 11g:
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID;
I get an error regarding the N.GEOM field. The error is as follows:
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
The same query runs fine on a 10g database with the same data. I've even truncated the N table and still get the error. I've rebuilt the index but it makes no difference and the metadata is exactly the same for this table as it is for other tables that are involved in a similar query.
It looks like a bug to me but just wondered if anyone else had come across this?
Thanks,
Peter.Thanks for the reply. I'm really sorry but I haven't created trace files like this for a very long time and have forgotten the best way to read them. This is the start of the trace file, any help with reformatting it would be greatly appreciated.
Thanks,
Peter.
*** 2009-04-23 17:09:22.902
----- Error Stack Dump -----
*** 2009-04-23 17:09:22.917
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
----- Current SQL Statement for this session (sql_id=br02jqdwy2utk) -----
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+114 CALLrel kgdsdst()+0 FB783A0 2
ksedst1()+91 CALLrel skdstdst()+0
ksedst()+50 CALLrel ksedst1()+0 0 1
dbkedDefDump()+298 CALLrel ksedst()+0 0
5
ksedmp()+40 CALLrel dbkedDefDump()+0 3 0
_dbkdaKsdActDriver( CALLreg 00000000 3
)+841
_dbgdaExecuteAction CALLreg 00000000 7B50420 FB79A4C
()+63
dbgdaRunAction()+3 CALLrel dbgdaExecuteAction 7B50420 4D4C148 20C0002
02 ()+0 FB79A4C
dbgdRunActions()+4 CALLrel dbgdaRunAction()+0 7B50420 A789E54
4
dbgdProcessEventAc CALLrel dbgdRunActions()+0 7B50420 A789E74
tions()+446
__VInfreq__dbgdChkE CALLrel _dbgdProcessEventAc 7B50420 120A3370 A789F64
ventKgErr()+237 tions()+0
dbkdChkEventRdbmsE CALLrel dbgdChkEventKgErr( 7B50420 A7C06F4 3A4
rr()+33 )+0
__PGOSF99__ksfpec() CALLrel _dbkdChkEventRdbmsE 3A4
+110 rr()+0
_dbgePostErrorKGE() CALLreg 00000000 120A3370 3A4
+1601
dbkePostKGEkgsf() CALLrel _dbgePostErrorKGE() 120A3370 A772020 3A4
+49 +0
_kgeade()+268 CALLreg 00000000 120A3370 A772020 3A4
kgesev()+54 CALLrel kgeade()+0
kgesec2()+18 CALLrel kgesev()+0 120A3370 A772020 3A4 2
FB7A200
qctErr932()+217 CALLrel kgesec2()+0 120A3370 A772020 3A4 1 1
FB7A468 1 19 FB7A218
qctErrConvertDataT CALLrel qctErr932()+0 995FBCC0 120A3370 F6 FB7A468
ype()+82 7B C2E85B4 995FBCC0 120A3370
FB7A468 0 0 FB7A468 0 204
qecgby()+240 CALLrel qctErrConvertDataT 995FBCC0 120A3370 F6 0 0 7B
ype()+0 C2E85B4
qecpqbcheck()+75 CALLrel qecgby()+0
qecdrv()+161 CALLrel qecpqbcheck()+0 C2ECD7C 0 0 0
qecdrv()+74 CALLrel qecdrv()+0
kkqcttcalo()+383 CALLrel qecdrv()+0 C2EFBAC
kkqctdrvGBP()+1841 CALLrel kkqcttcalo()+0 C2EFBAC 0 C2EFBAC 166A5D4 0 2
__VInfreq__kkqgbpTr CALLrel _kkqctdrvGBP()+0 A730DD8
avChkTran()+193
_qksqbApplyToQbcLoc CALLreg 00000000 A730DD8 FB7A9BC
()+536
qksqbApplyToQbc()+ CALLrel qksqbApplyToQbcLoc
67 ()+0
kkqctdrvTD()+1000 CALLrel qksqbApplyToQbc()+ A730DD8 2EF2DA0 FB7A9BC 0
0
kkqgbpdrv()+88 CALLrel kkqctdrvTD()+0 A754820 995FBDF4 6
kkqdrv()+1520 CALLrel kkqgbpdrv()+0 A754820 995FBDF4
kkqctdrvIT()+698 CALLrel kkqdrv()+0 A754820 0
apadrv()+1205 CALLrel kkqctdrvIT()+0 A754820 995FBDF4
opitca()+1841 CALLrel apadrv()+0 995FBDF4
__PGOSF435__kksFull CALLrel _opitca()+0 A7CC9E4 995FBDF4
TypeCheck()+15
_rpiswu2()+560 CALLreg 00000000 FB7B718
kksLoadChild()+860 CALLrel rpiswu2()+0 AF495220 5 A77DCBB4 16
8 94591E54 5 A77DCBE0 0 FB7B670
615F44 0 FB7B718 0
kxsGetRuntimeLock( CALLrel kksLoadChild()+0 120A3370 AE9130D8 FB7C090
)+1421
kksfbc()+8954 CALLrel kxsGetRuntimeLock( 120A3370 A7CC9E4 FB7C090 3 1
)+0
kkspsc0()+1882 CALLrel kksfbc()+0 A7CC9E4 3 108 FB7D2D8 1BB 0 0
0
kksParseCursor()+1 CALLrel kkspsc0()+0
43
opiosq0()+2028 CALLrel kksParseCursor()+0 FB7C610
kpooprx()+273 CALLrel opiosq0()+0 3 E FB7C734 A4
kpoal8()+729 CALLrel kpooprx()+0 FB7F214 FB7D2D8 1BA 1 0 A4
_opiodr()+1224 CALLreg 00000000 5E 1C FB7F210
_ttcpip()+2733 CALLreg 00000000 5E 1C FB7F210 0
_opitsk()+1278 CALL??? 00000000
opiino()+1067 CALLrel opitsk()+0 0 0
_opiodr()+1224 CALLreg 00000000 3C 4 FB7FC28
opidrv()+807 CALLrel opiodr()+0 3C 4 FB7FC28 0
sou2o()+45 CALLrel opidrv()+0 3C 4 FB7FC28
opimaireal()+130 CALLrel _sou2o()+0 FB7FC1C 3C 4 FB7FC28
opimai()+92 CALLrel opimai_real()+0 2 FB7FC54
OracleThreadStart@ CALLrel opimai()+0
4()+764
77E6482C CALLreg 00000000
00000000 CALL??? 00000000 -
ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)
Hello All,
I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
ORA-12560 TNS protocol Adapter error
By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?
Any help would be appreciated friends.....
Thanks in Advance!!!!!
Regards.
AliciaAlso the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>. -
Subquery in pivot_in_clause gives an error in 11g
Hi,
according to the 11g sql documentation a subquery is allowed in pivot_in_clause
http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm here's is the pivot_in_clause syntax.
When I use a subquery I get an error. What am I doing wrong?
Without a subquery, everything works fine.
DB version is 11.1.0.6
SQL> with t as (select 1 id from dual
2 union all
3 select 2 from dual)
4 select * from t pivot(sum(id) for id in (1,2));
1 2
1 2
SQL>
SQL> with t as (select 1 id from dual
2 union all
3 select 2 from dual)
4 select * from t pivot(sum(id) for id in (select level from dual connect by level<3));
select * from t pivot(sum(id) for id in (select level from dual connect by level<3))
ERROR at line 4:
ORA-00936: missing expression Thanks,
AntsSo .. is there a way to convert the SQL below so that it CAN work?
with t as (select 1 id from dual
2 union all
3 select 2 from dual)
4 select * from t pivot(sum(id) for id in (select level from dual connect by level<3));
Thanks in advance for any assistance. -
Error OSR 11g when tring to open in browser
Hi for All
I installed OSR 11g, got this error when tring to open in browser: Http://localhost:7777/registry/uddi/web
In browser:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.In console:
[oracle@app1arq2t jdk1.6.0_21]$ INFO: com.systinet.wasp.WaspImpl - Starting Systinet Server for Java/6.0 (Java/1.6.0_21; Linux/2.6.18-164.el5; build SSJ-6.0-20091204-1155)
<Sep 9, 2010 10:53:23 AM BRT> <Error> <HTTP> <BEA-101017> <[ServletContext@1772602351[app:registry module:registry.war path:/registry spec-version:null]] Root cause of ServletException.
org.idoox.wasp.WaspInternalException: java.lang.RuntimeException: Updates to config files not supported
at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:399)
at org.systinet.wasp.Wasp.init(Wasp.java:151)
at com.systinet.transport.servlet.server.Servlet.init(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: Updates to config files not supported
at com.idoox.config.xml.XMLConfigurator.updateConfigFile(XMLConfigurator.java:720)
at com.idoox.config.xml.XMLConfigurator.prepareConfigFile(XMLConfigurator.java:570)
at com.idoox.config.xml.XMLConfigurator.init(XMLConfigurator.java:420)
at org.idoox.config.Configurator.init(Configurator.java:64)
at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:357)
Truncated. see log file for complete stacktrace
>My enviroment:
- Linux RedHat 5
- jdk1.6.0_21
- Weblogic 10.3 x64
- OSR 11.1.1.2.0
+ Patch 9499508_111120_GenericMy Domain:
DOMAIN_HOME="/oracle/middleware/user_projects/domains/app1arq2t"
/$DOMAIN_HOME/servers/AdminServer/...
/$DOMAIN_HOME/servers/osr_server1/tmp/_WL_user/registry/x9u4h5/...Additionally in my Entreprise Manager the server AdminServer and osr_server1 are UP
anyone with idea please,...
Regards,
ChrisHi Chris/Sayama,
This error seems to happen because of the SMTP password provided being more than or less than 8 characters. The workaround is to either not provide any SMTP details or provide an exact 8-character password.
For more information on this look at the metalink note [ID 1091903.1].
Thanks,
Edwin -
hiiiiiii i installed oracle 11g for window7 64-bit it works good but today when i start it and entered the user name and password it shows the error message of
ORA-12560: TNS:protocol adapter error
please give me its solution
thanksHi,
See this post
http://arjudba.blogspot.com/2008/08/ora-12560-tnsprotocol-adapter-error-on.html -
Pro*c errors in 11g. -- Compiles fine in 10g.
Hi,
We are planning to migrate from 10g to 11g so started compiling our Pro*c code in to 11g. Got several errors and couldn't trace. So to investigate further I have written a basic pro*c program as follows:
#include <stdio.h>
#include <sqlca.h>
/*#include <sqlcpr.h>*/
#include <oraca.h>
#include <sqlda.h>
/* Declare error handling function. */
void sql_error();
int main(int argc, char** argv)
char user[]="myusername";
char pwd[]="mypassword";
char msg_buf[51]="";
/* Register sql_error() as the error handler. */
EXEC SQL WHENEVER SQLERROR DO sql_error("ORACLE error\n");
EXEC SQL CONNECT :user IDENTIFIED BY :pwd;
EXEC SQL
INSERT INTO hello_world
VALUES ('Hello world!');
EXEC SQL COMMIT;
EXEC SQL
SELECT msg
INTO :msg_buf
FROM hello_world
WHERE rownum <= 1;
printf("%s\n", msg_buf);
return(0);
void sql_error(char *msg)
char err_msg[128];
int buf_len, msg_len;
EXEC SQL WHENEVER SQLERROR CONTINUE;
printf("%s\n", msg);
buf_len = sizeof (err_msg);
sqlglm(err_msg, &buf_len, &msg_len);
if (msg_len > buf_len)
msg_len = buf_len;
printf("%.*s\n", msg_len, err_msg);
EXEC SQL ROLLBACK RELEASE;
exit(1);
}And then did the following:
proc iname=hellodb.pc MODE=ORACLE it has created a .c file.
Now run
/opt/ansic/bin/cc -g -I. -I${ORACLE_HOME}/precomp/public -c hellodb.c -o hellodbwhich gave me a big list of errors / warnings.
"hellodb.c", line 117: warning #2837-D: omission of explicit type is
nonstandard ("int" assumed)
extern sqlcxt ( void **, unsigned int *,
^
"hellodb.c", line 119: warning #2837-D: omission of explicit type is
nonstandard ("int" assumed)
extern sqlcx2t( void **, unsigned int *,
^
"hellodb.c", line 121: warning #2837-D: omission of explicit type is
nonstandard ("int" assumed)
extern sqlbuft( void **, char * );
^
"hellodb.c", line 122: warning #2837-D: omission of explicit type is
nonstandard ("int" assumed)
extern sqlgs2t( void **, char * );
^
"hellodb.c", line 123: warning #2837-D: omission of explicit type is
nonstandard ("int" assumed)
extern sqlorat( void **, unsigned int *, void * );
^
"hellodb.c", line 316: warning #2223-D: function "sqlglm" declared implicitly
sqlglm(err_msg, &buf_len, &msg_len);
^
"hellodb.c", line 342: warning #2223-D: function "exit" declared implicitly
exit(1);I did the same in another server which is having 10g installation and it went on well and created the exe hellodb.
Any idea what these errors are?
Thanks in advance,
Deep.
Edited by: user11984804 on 06-Apr-2010 03:49Hello,
We face the similar problem.Our database is migrated to 11.2.0.2 from 10g.
PRO*C compilation is not happening with so many warnings and 1 error below
error #4313-D: no prototype or definition in scope for call to memory allocation routine "malloc".
Could you please provide the solution.
we are using the following command to compile PRO*C
make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk EXE=$program OBJS=$program.o PROCFLAGS="sqlcheck=full userid=<username>/<password>@oraclesid" build
Edited by: user12058331 on 30-Jun-2011 04:02
Edited by: user12058331 on 30-Jun-2011 04:05 -
Oracle Report Hang with error on 11g.
Dear Team,
I have following setup:-
We are using oracle database 11g R2
Oracle Forms & reports : 11.1.2
O.S : Windows 7 Professional
When I log in to forms, I am able to log in successfully, after that when i run the report from forms 11g, i receive the below error in web logic server.
<Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in d:\oracle\middleware\user_projects\domains\classicdomain\servers\adminserver\adr\diag\ofm\classicdomain\adminserver\incident\incdir_27 with a lockout minute period of 1>
Reports were running fine till today, but only recently i made one change in rwserver.conf, i changed maxengine = 2 there.
Secondly I setup xampp apache server and gave a path in windows folder to instantclient for successfully connecting with php.
Please let me know is the error coming because of the 2 changes or either of the changes. Or else, please let me know any workaround to avoid this error.
Thank you in advance.Thanks Roberto for your reply.
Now Reports were running fine, I removed xampp apache server path from windows folder and put same path at the end of oracle configuration path separated by semicolon.
whenever I made some changes in configuration file weblogic server hangs up and it doesn't allow to run report on web while in report builder it works fine.
What is the reason behind it, is there any permenent solution to this problem. -
I am facing the following error massege in writeback funtionality.
I checked the value ,connection pool,writable,read/write permissions but not resolved the issue.
"An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists, contact your system administrator."
Any help about that ?Hi,
http://satyaobieesolutions.blogspot.in/2013/03/write-back.html -- recheck your configuration following this link step by step with screen shots.
http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html Note : The Problem Occurred two ways,
1. Problem your XMl Script
2. If null value not present in your columns in your table in database.The ; problem has occured.
please check below steps.
1. Are you using OCI or ODBC in your connection pool? Try it with OCI Call Interface 11g.
2.Remove the commit tag from the XML file.
<postUpdate>COMMIT</postUpdate>
=============================================================================================================
This xml file working for me.
Insert--
A couple of small adjustments got your XML to work here:
<?xml version="1.0"; encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="WriteBack">
<XML>
<writeBack connectionPool="Connection Pool">
<insert> INSERT INTO FACT (PRICE,PRODUCT_KEY,REGION_KEY,SALE_UNIT,TIMEKEY,SALES_QUOTA)
values (@{c7},@{c8},@{c9},@{c10},@{c11},@{c5} ) </insert>
<update> </update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
The <writeBack> tag is written with a lower case "w".
The "connetionPool" needs an upper case "P".
Update--
I think that you have to specify also an SQL statement for the update tag, for example:
<?xml version="1.0"; encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="pmet_update">
<XML>
<writeBack connectionPool="PMTCOG">
<insert> select null from dual</insert>
<update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
The witeback wants for both the tags (<insert></insert> and <update></update>) an SQL Statement.
Hope this help's
Thanks
Satya -
Hi,
Windows 7 home basic.
Oracle Fusion Middle Ware 11g Forms [32 Bit] Version 11.1.1.6.0 (Production).
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
I have problem with compiling webutil and others forms & library ?
" Sql Statement Ignored "
"the declarion of the type of the expression is in complete or malformat"
Regards,Hi
While facing compilation errors in forms pls check...
1.Does any of ur forms supports Graphics which is no longer supported in Forms 11g.
2.Does it any of ur forms supports Triggers, code e.g. using OLE2 without using Webutil..
3.Even icons and passwords r Case Sensetive
4.Forms during compilation may have in-consistancy between package Specification and Bodies...
Pls before migrating read Oracle Forms 11g Migration Documentation to see the desupported Built in
Regarding ur SQL Statment Error u might need to upgrade to ORACLE 10.2.0.3 to Solve such a problem
Regards,
Amatu Allah
Edited by: Amatu Allah on May 10, 2012 7:48 AM -
SOA Database Adapter error in 11g
Hi All,
Created BPEL process in 11g that invokes a UPDATE functionality on Database Adapter in Jdeveloper 11g. Using XA database ......
Getting following error.
*<fault>*
*<bpelFault>*
*<faultType>*
*<message>0</message>*
*</faultType>*
*<bindingFault>*
*<part name="summary">*
*<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'update' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:UpdateDBAdapter [ UpdateDBAdapter_ptt::update(CreditcardinfoCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>*
*</part>*
*<part name="detail">*
*<detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail>*
*</part>*
*<part name="code">*
*<code>null</code>*
*</part>*
*</bindingFault>*
*</bpelFault>*
*</fault>*
What must be going wrong ?
Thanks
ppCheck whether dbadapter application is deployed on the Weblogic. If it is already deployed, then update it once and try again.
Regards,
Anuj -
Win_Api_Environment.Read_Ini_File throws error in 11g OAS
Dear All,
We are in the process of upgrading our forms application from 10g to 11g. During this process we are facing an issue in Win_Api_Environment.Read_Ini_File.
h1.Issue :-
When we access this function we are getting "Undefined Error" error at run time. The same form with same Ini file is working in 10g. Ini file is present in the same path of the OAS and path is configured in the env file. Earlier we got an error WUC-21 in the console along with this "Undefined Error" and after changing the webutil properties in both the server side and client side WUC-21 is resolved but still ""Undefined Error" is present in the screens.
h1.Server Spec:
Fussion Middle ware : FMW 11.1.1.4.0 64
Oracle Application Server : 11.1.1.2.0_64
patch Applied : p11060983_111140_MSWIN-x86-64
OS : Windows 2008
Bit : 64
Please help me to solve this issue...Without looking at the details too far, I can say that some webutil functionality will not work correctly on a 64bit client machine if you are using 11.1.1.x. In this version Oracle only supports using 32bit clients if you are expecting to use WebUtil. In release 2 (11.1.2.x), 64bit Windows client machines are supported.
Also, be sure you have not copied configuration or webutil specific files from version 10 and moved them to v11. The WebUtil version is Forms 11 is also version 11. Using v10 WebUtil in Forms 11 is not supported. Also, be sure that you have generated webutil.pll into webutil.plx in your version 11 environment. Again, do not use the files from v10.
Finally, if the client machine you are using for v10 is the same as the one you are using for 11 testing, I would recommend that you clean house before testing v11. Specifically do the following on the client:
1. Close ALL open browsers
2. Clear the JRE cache. This can be done from the Java Control Panel or the file system
3. Delete all occurances of webutil.*properties
4. Delete the following files from the JRE home\bin directory (C:\Program Files\Java\jre6\bin) if they exist:
<li>d2kwut60.dll
<li>jacob.dll
<li>JNIsharedstubs.dll
5. Retest.... but again, if you are using a 64bit machine (client) you can expect some webutil features to not work correctly.
Maybe you are looking for
-
Report for last date of an activity
I'm running Crystal Server / Designer 2008 in conjunction with SAP Business One. I'm trying to create a report that will list all of my customers that have not been seen in the past 90 days. I have two tables that this report needs to be generated
-
Hello everyone! I am editing a big bunch of short 4K clips (XAVC in MP4) which will then go onto DVDs. The idea is to get as many of those clips on a DVD as possible. Using Premiere Pro 7.2.2 on Windows 8. What I would like to know is whether I'm act
-
REP-1219: 'F_MONTH' has no size -- length or width is zero.
Dear all, I want to create a .lis file through form call report. The statements in form are as below: lv_report_id := 'FAR017A'; P_List := CREATE_PARAMETER_LIST(lv_report_id); if :ctl_blk.destype = 'FILE' then ADD_PARAMETER(P_LIST,'desformat', TEXT_P
-
How to disable or remove Remote Desktop in Windows 7 Pro
Hello, I need to be able to disable, turn off, uninstall, or restrict Remote Desktop Connection completely on student laptops running Windows 7 Pro. The students do not take their laptops home. Can someone please assist me with a definite way to remo
-
Hello I was reading this link http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00800ae96a.shtml Trying to understand the Load Balancing Part I looked to more configurations about this, and I got completely lost. For Example F0