Help linking oracle 11g and joomla 1.6
Hello
I am currently working on a project which uses Joomla 1.6 and MySQL 5.15. We now need to migrate the DB from MySQL to Oracle 11g R2 and I would like some help in finding a driver between Oracle 11g and Joomla 1.6. If anybody has worked with and successfully connected these two could you please help me out.
Could really do with the help as I need to complete the project soon.
Thanks
Bharat
Edited by: 842910 on Mar 8, 2011 11:10 PM
Hey there...
Well.... It sort of all depends on how Joomla is connecting to the database. Are they using a pre-built framework like PDO or Zend ?
If they are it should be a a relatively easy task to move it to Oracle. If not then you will have to alter their DB layer and replace a lot of the mySQL calls with Oracle calls and add a few. For example MySQL does not parse a statement prior to execution but Oracle does eg:
$oraDB = oci_connect([parms]);
$query = oci_parse($OraDB,'select 'a' from dual');
// If you are binding variables it would go between the parse and execute areas and it is mostly the same as doing
// it with MySQL
oci_execute($query);
$data = oci_fetch_assoc($query);The instant client and the full client do things very differently and connections to the DB server are done differently so you will need to understand those differences and code accordingly.
The OCI_8 php libraries are well established and documented. They must be installed on the server on which Joomla is running.
If your machine is setup correctly this is as simple as:
%pecl install oci8
pecl will take care of pretty much everything including dealing with 32 -v- 64 bit and all you need do is make an entry in the php extension section letting it know the OCI libraries are installed. If not it is a bit more complicated.
The software along with the instructions ca be found here: http://pecl.php.net/package/oci8
You must have either the instant client or the regular Oracle client installed on the server on which Joomla is running.
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlhttp://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
After you accept the license agreement click on "See All" and you will see both the instant client and the full client for the version you require.
It is extremely un-wise to attempt to run any version of oracle on the machine running joomla / Apache. If you do so, then you stand a better then even chance of failure as Oracle does not like to share resources.
Make sure you read the install instructions for the oracle client and pay very close attention to things like environment settings and permissions issues on the php server as these are some of the most common problems. Once the client is installed and the oci libraries are installed things should run very smoothly. The whole php to Oracle chain is very fast and the fact that the db server is remote from the web server will not be an issue as long as the links are fast.
If you have problems get back to us and we will do the best we can to help you sort things out.
- FG
Similar Messages
-
Oracle 11g and PRO*C : pre-compile errors only with 11g !
Hi !
I didn't find a forum specific to pro*c, so here i am.
I've downloaded Oracle 11g and recompiled our applications using pro*c
We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
With Oracle 11g, it doesn't work !
every EXEC SQL followed by a command works.
every EXEC SQL followed by a query generates the same error.
Example :
char *oracle_date_courante()
static char buf[SIZE_ORADATE+1];
EXEC SQL SELECT sysdate into :buf from DUAL;
if(ORA_SQLERROR())
oracle_error("sélection date courante");
buf[0]=0;
return buf;
PRO*C output :
Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
EXEC SQL
.1
PLS-S-00000, SQL Statement ignored
erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
EXEC SQL
.1
PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
So, it's a vicious circle !
Any ideas ?
Thanks...
VincentAdding the option common_parser=yes removes the errors !
But brings errors linked to the PL/SQL parser such like
CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
1>, [], [], [], []
1>ORA-06553: PLS-801: erreur interne [55916]
Really vicious..and still not precompiling !
By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
So bye bye option common_parser and i'm back to my orignals errors.
Message was edited by:
Vicenzo -
Help with oracle 11g pivot operator
i need some help with oracle 11g pivot operator. is it possible to use multiple columns in the FOR clause and then compare it against multiple set of values.
here is the sql to create some sample data
create table pivot_data ( country_code number , dept number, job varchar2(20), sal number );
insert into pivot_data values (1,30 , 'SALESMAN', 5000);
insert into pivot_data values (1,301, 'SALESMAN', 5500);
insert into pivot_data values (1,30 , 'MANAGER', 10000);
insert into pivot_data values (1,301, 'MANAGER', 10500);
insert into pivot_data values (1,30 , 'CLERK', 4000);
insert into pivot_data values (1,302, 'CLERK',4500);
insert into pivot_data values (2,30 , 'SALESMAN', 6000);
insert into pivot_data values (2,301, 'SALESMAN', 6500);
insert into pivot_data values (2,30 , 'MANAGER', 11000);
insert into pivot_data values (2,301, 'MANAGER', 11500);
insert into pivot_data values (2,30 , 'CLERK', 3000);
insert into pivot_data values (2,302, 'CLERK',3500);
using case when I can write something like this and get the output i want
select country_code
,avg(case when (( dept = 30 and job = 'SALESMAN' ) or ( dept = 301 and job = 'SALESMAN' ) ) then sal end ) as d30_sls
,avg(case when (( dept = 30 and job = 'MANAGER' ) or ( dept = 301 and job = 'MANAGER' ) ) then sal end ) as d30_mgr
,avg(case when (( dept = 30 and job = 'CLERK' ) or ( dept = 302 and job = 'CLERK' ) ) then sal end ) as d30_clrk
from pivot_data group by country_code;
output
country_code D30_SLS D30_MGR D30_CLRK
1 5250 10250 4250
2 6250 11250 3250
what I tried with pivot is like this I get what I want if I have only one ( dept,job) for one alias name. I want to call (30 , 'SALESMAN') or (301 , 'SALESMAN') AS d30_sls. any help how can I do this
SELECT *
FROM pivot_data
PIVOT (SUM(sal) AS sum
FOR (dept,job) IN ( (30 , 'SALESMAN') AS d30_sls,
(30 , 'MANAGER') AS d30_mgr,
(30 , 'CLERK') AS d30_clk
this is a simple example .... my real life scenario is compliated with more fields and more combinations .... So something like using substr(dept,1,2) won't work in my real case .
any suggestions get the result similar to what i get in the case when example is really appreciated.Hi,
Sorry, I don't think there's any way to get exactly what you requested. The values you give in the PIVOT ... IN clause are exact values, not alternatives.
You could do something like this to map all alternatives to a common value:
WITH got_dept_grp AS
SELECT country_code, job, sal
, CASE
WHEN job IN ('SALESMAN', 'MANAGER') AND dept = 301 THEN 30
WHEN job IN ('CLERK') AND dept = 302 THEN 30
ELSE dept
END AS dept_grp
FROM pivot_data
SELECT *
FROM got_dept_grp
PIVOT ( AVG (sal)
FOR (job, dept_grp)
IN ( ('SALESMAN', 30)
, ('MANAGER' , 30)
, ('CLERK' , 30)
;In your sample data (and perhaps in your real data), it's about as easy to explicitly define the pivoted groups individually, like this:
WITH got_pivot_key AS
SELECT country_code, sal
, CASE
WHEN job = 'SALESMAN' AND dept IN (30, 301) THEN 'd30_sls'
WHEN job = 'MANAGER' AND dept IN (30, 301) THEN 'd30_mgr'
WHEN job = 'CLERK' AND dept IN (30, 302) THEN 'd30_clrk'
END AS pivot_key
FROM pivot_data
SELECT *
FROM got_pivot_key
PIVOT ( AVG (sal)
FOR pivot_key
IN ( 'd30_sls'
, 'd30_mgr'
, 'd30_clrk'
;Thanks for posting the CREATE TABLE and INSERT statements; that really helps! -
BUG for sort column with Oracle 11g and APEX 3.2
I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear
Report error :
ORA-00910: specified length too long for its datatype.
But in an other environement in Oracle 10g and apex 3.2, with the same data. I have no BUG.
Somebody have an idea for a possible solution to this problem???Again, I may just be wasting your time...but if I have XDB problems...especially with the password, I do the following:
1. Change your working directory to $ORACLE_HOME/apex.
2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.
3. Run apxconf.sql
> @apxconf
4. When prompted, enter a password for the Oracle Application Express Admin account.
5. When prompted, enter the port for the Oracle XML DB HTTP server. (default port being, of course,8080).
6. Unlock the ANONYMOUS account
> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
7. If needed, I do the SETHTTPPORT command mentioned before...
Since I'm using the Oracle 11g, with embedded PL/SQL server, I have no idea if this is the same for 10g us OHS?
Hope that helps!
KSL. -
How to do integration between Oracle 11g and SAP Data services
HI All,
i want to load data from Oracle 11g data base to some other data bases. we have installed oracle 11g server in one machine and Data services server in one machine.we installed oracle 11g client in data services server machine . i created data store for oracle and when i was executing job i got the following error.
how to resolve this issue. do i need to do any configuration between two servers (Oracle 11g and data services), and do i need create ODBC for oracle in data services machine.
if any one know the solution please help me out ASAP.
Thanks,
RamanaHi,
we installed oracle client "win64_11gR2_client" version on DS Server.
but i need the steps after installing oracle client tool. meaning integration between those two servers(Oracle and DS Server).and what are the variable create on DS Server and paths for variable and how to create ODBC for Oracle on DS Server.
Thanks,
Ramana -
Oracle 11g and 12c on same windows 7 machine
Hi folks,
Want to try out 12c on my windows 7 laptop but still want to keep my 11g database.
Anyone tried running Oracle 11g and 12c on same windows machine?
Any links or guidelines are appreciated
Thanksyou won't be the first or the last person to try it.
this question can be easily answered but why question something that it's easier to test by yourself?
My advice: Try and if you have problems then question us. -
Hello ....
I have an application server with Windows Server 2008, IIS 7 and Oracle Data Provider 11G.
The website was set up. NET 2008 has made reference to the oracle, and to run from the application
working properly executes the SQL without problem, but to make the creation of a website
The IIS 7, and test its functionality, displays the following error
Could not load file or assembly 'Oracle.Web, Version = 2.111.6.20' or one of its dependencies.
The system can not find the file specified.
The problem may be a compatibility between the version of Oracle 11G and IIS 7.0, I do not know if there is an
additional component to the IIS 7.0 can recognize the version of Oracle as a provider of data?
Please I am attentive to their solutions .... Thank youOne thing might be if the web server has multiple versions of Oracle installed, then check to see which is first in the path. Another would be that at the least IIS would need to be restarted after the Oracle install, for the path to take effect, possibly the whole machine would need a re-boot for this.
-
Database link between Oracle 11g and MS Sql Server 2005 EE
Hi everybody,
I trying to create database link from Oracle 11g to MS Sql and I'm not succesful.
I found tutorial for Oracle 10g, but it does't work.
I created odbc data source, then I modified tnsnames.ora and listener.ora, then I created initkw.ora in HS directory and then I created dabase link, but it does't work.
Can you help me please? Thanks for help ... ondra
Tnsnames.ora:
KW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = oracle_ip)(PORT = 1521))
(CONNECT_DATA =
(SID = KW)
(HS = OK)
listener.ora:
(SID_DESC =
(SID_NAME = KW)
(ORACLE_HOME = C:\oracle\product\11.1.0\db_1)
(PROGRAM = hsodbc)
initkw.ora
HS_FDS_CONNECT_INFO = kw
HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_FILE_NAME = kw.trc
create public database link KW connect to "user" identified by "pass" using 'KW';
Message was edited by:
user598176Hi, I get two errors.
ORA-28545 - NET8 mistake Unable to restrieve textof NEWTWORK/NCR message 65535
and then ORA-02063
zenda
I resolved one of error, I have wrong ip.
But now I have another error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name
not found and no default driver specified (SQL State: IM002; SQL Code: 0)
I have ODBC data source in system DSN
PS: Our Oracle 11g database is 64 bit version
Message was edited by:
user598176 -
HELP! Oracle 11g installation error
OS: RHEL4
Oracle 11g
During the install step an error dialog showed up when "Linking Oracle Net Required Support files 11.1.0.6.0......" The information it prompted is:
Error in invoking target 'ntcontab.o' of makefile '/home/oracle/11g/network/lib/ins_net_client.mk'. See '/home/oraInventory/logs/installActions2007-08-21_03-17-58AM.log' for details.
The log file mentioned above tell me that:
INFO: (if [ "compile" = "compile" ] ; then \
/home/oracle/11g/bin/gennttab > ntcontab.c ;\
/usr/bin/gcc -c ntcontab.c ;\
rm -f /home/oracle/11g/lib/ntcontab.o ;\
mv ntcontab.o /home/oracle/11g/lib/ ;\
INFO: /usr/bin/ar rv /home/oracle/11g/lib/libn11.a /home/oracle/11g/lib/ntcontab.o ; fi)
INFO: cc1: unrecognized option `-auxbase'
cc1: output filename specified twice
INFO: mv:
INFO: cannot stat `ntcontab.o'
INFO: : No such file or directory
INFO:
INFO: /usr/bin/ar: /home/oracle/11g/lib/ntcontab.o: No such file or directory
INFO: make:
INFO: *** [ntcontab.o] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ntcontab.o' of makefile '/home/oracle/11g/network/lib/ins_net_client.mk'. See '/home/oraInventory/logs/installActions2007-08-21_03-17-58AM.log' for details.
Exception Severity: 1
If i ignore this, the same error will appear about other *.o target.
What could i do now? I am eager for the help.That's right this is not related to the above problem, so the gcc issue could be considered as solved. Oracle 11g requires you to have about 1.5 the amount of RAM, if your swap is not configured to meet this requirement, then you should manually configure additional swap space. This should not prevent the process from continuing as long as you check the User Verified box. You can continue and if you notice an increase in the swap space consumption at execution time, then increase the swap area by using swap file space as this example illustrates:
How to create a swapFile
Short on memory? Under 128MB is. Then build a swap file.
Go to Start > Run > Rxvt
Type, then press Enter:
dd if=/dev/zero of=/mnt/home/puppy.swp bs=1024 count=800k
Be patient. This will take several minutes.
That 800k translates to 800MB (819,200KB).
So decrease according to available disk space.
Type, then press Enter:
mkswap /mnt/home/puppy.swp
Type, then press Enter:
swapon /mnt/home/puppy.swp
Go to Start > File Managers > uXplor
Drill down to /root/.etc/rc.d/rc.local and right-click and select edit.
Add this line to the bottom:
swapon /mnt/home/puppy.swp
Save the file. This will turn on the swap file upon next boot.
~ Madrid -
hi,
could some one tell how to connect oracle 11g in windows from sqldeveloper. Is there something like starting oracle 11g before connection, I am bit confused.Hi,
Welcome 2 Oracle Forums :)
could some one tell how to connect oracle 11g in windows from sqldeveloper. Is there something like starting oracle 11g before connection, I am bit confused.Yes your database should be up and running in order to connect to database either with command prompt or with sqldeveloper.
Just you need to configure the $ORACLE_HOME with proper service name for connecting to database via sqldeveloper.
Refer links:
http://download-uk.oracle.com/docs/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGFCEGG
http://www.devshed.com/c/a/Oracle/How-to-Use-the-Oracle-SQL-Developer-Tool/1/
Hope helps :)
Regards,
X A H E E R -
ODBC connectivity between Oracle 11G and MSSQL Server on Solaris 10
When we were running in 10G, I was able to successfully configure hsodbc using unixODBC and freeTDS to allow for an ODBC connection between Oracle and MSSQL Server.
A few weeks ago we upgraded to 11G and I've been struggling to get the connectivity (dg4odbc) working.
In our 10g environment unixODBC and freeTDS were compiled as 32-bit. I have recompiled them as 64-bit and switched over to an 11G listener and I am getting the following error:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
here are my configuration files:
/usr/local/unixODBC/etc[PPRD]> more odbc.ini
[ODBC Data Sources]
identipass = MS SQL Server
[identipass]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Setup = /usr/local/freetds/lib/libtdsodbc.so
Description = MS SQL Server
Trace = 1
TraceFile = /export/home/oracle/ODBC/odbc.trace
Server = stormwind
QuoteID = Yes
AnsiNPW = No
Database = identipass
Port = 1433
TDS_Version = 8.0
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
/usr/local/unixODBC/etc[PPRD]> more odbcinst.ini
[TDS]
Description=FreeTDS driver
Driver=/usr/local/freetds/lib/libtdsodbc.so
Setup=/usr/local/freetds/lib/libtdsodbc.so
Trace=Yes
TraceFile=/tmp/freetds.log
FileUsage=1
UsageCount=2
tnsnames.ora
identipass =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SID = identipass)
(HS = OK)
listener.ora
LISTENERODBC =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERODBC=
(SID_LIST=
(SID_DESC=
(SID_NAME=identipass)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
(ENV="LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/hs/lib")
(PROGRAM=dg4odbc)
And finally, output from the trace file:
/u01/app/oracle/product/11.2.0/db_1/hs/log[PPRD]> more identipass_agt_1381.trc
Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.010
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.008
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "Debug"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLSt
atistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "identipass"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:identipass
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=873
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/11/18-16:00:16
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixODBC/lib/libodbc.so"
Entered hgolofns at 2010/11/18-16:00:16
symbol_peflctx=0x7a715450
hoaerr:0
Exiting hgolofns at 2010/11/18-16:00:16
Exiting hgolofn, rc=0 at 2010/11/18-16:00:16
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/11/18-16:00:16
Entered hgolgon at 2010/11/18-16:00:16
reco:0, name:identipass, tflag:0
Entered hgosuec at 2010/11/18-16:00:16
Exiting hgosuec, rc=0 at 2010/11/18-16:00:16
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using identipass as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/11/18-16:00:16
HS_FDS_CONNECT_INFO = "identipass"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/11/18-16:00:16
dsn:identipass, name:identipass
optn:
Entered hgocip at 2010/11/18-16:00:16
dsn:identipass
Exiting hgocip, rc=0 at 2010/11/18-16:00:16
Exiting hgogenconstr, rc=0 at 2010/11/18-16:00:16
Entered hgopoer at 2010/11/18-16:00:16
hgopoer, line 233: got native error 0 and sqlstate ; message follows...
Exiting hgopoer, rc=0 at 2010/11/18-16:00:16
hgocont, line 2753: calling SqlDriverConnect got sqlstate
Exiting hgocont, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgocont.c LINE:2772 ID:Something other than invalid authoriza
tion
Exiting hgolgon, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
Entered hgoexit at 2010/11/18-16:00:16
Exiting hgoexit, rc=0
Can anyone help me see what I'm missing?Thank you for your response.
I modified the envs LD_LIBRARY_PATH parameter in my SID_LIST_LISTENERODBC to be:
(ENV="LD_LIBRARY_PATH=/usr/local/freetds/lib:/usr/local/unixODBC/lib:/u01/app/oracle/product/11.2.0/db_1/lib:/
u01/app/oracle/product/11.2.0/db_1/hs/lib")
and bounced the listener, but I'm still getting the same error.
I do not have a lib64 directory in my Freetds installation, but all the files in the lib directory are 64-bit.
Here is a listing of my DG4ODBC init file:
/u01/app/oracle/product/11.2.0/db_1/hs/admin[PPRD]> more initidentipass.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = identipass
#HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_LEVEL = Debug
HS_FDS_SHAREABLE_NAME = /usr/local/unixODBC/lib/libodbc.so
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
# ODBC specific environment variables
set ODBCINI=/usr/local/unixODBC/etc/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Thanks for your help with this!
Catina -
Configuring oracle 11g and Appl.server
hello
we are beginners and need some step by step guide
to step our database envirnonment.
Since we have been working in an obsolete database(8i & dev6)
we are switching to the new version and hence unable to proceed .
1. Installed oracle 11g on a server with OS windows2003.we are able to
open the admin pages in a browser and created users and control files.
we have also imported one users data using dmp files.
2. Next we have sample application developed using Developer suite 10g .
In another PC we have installed OS windows xp and also installed only
application server 10g services for forms and reports.We have placed our sample fmx files
in this pc.
3. we are able able to open the file fmx from the browser on this pc and locally
(Lan) on other pcs by giving the url completely.
4. Next we want our remote office to open this file through the internet.
when we tried this we failed in our attempt.Hence please let us know
how to open the file from the internet.
5. Next we require one active server page to authenticate the user (from the Table
created in the database) and if ok open the sample fmx file .
Here we are struck and do not know how to proceed .
Please guide as how we have to go about with a sample script and
other details.
Thanks in advanceI do not intend to be insulting but your question reads something like: "my car doesn't start please tell me why?"
Did you see any error message displayed?
Did you look in the log files for error messages?
Can you ping the server?
Is there a firewall?
In other words you need to provide a lot more information before we can help you. Right now it could be anything from the battery is dead to it is out of petrol to some thief took the engine. <g> -
Oracle 11g and iSeries ODBC 32/64bit version???
Hi folks,
I've some questions....
I need setup a new server with Oracle db 11g and from this db i need setup a DBLINK to an IBM iSeries (AS/400) server. I've some doubts about the 32/64 bit version to use.
My idea is:
Oracle Linux 64bit
Oracle Database 11g 64bit
Oracle Gateway 11g 64bit
IBM i Access ODBC driver 64bit ( maybe 7.1 version?!?!?!)
Do you think I'll be able to achieve my goal with this configuration?
Else where can you suggest me a valid and wonrking configuration?
Thank you very much!!!!
bye byeEmilio,
That combination of products should work, as long as the ODBC driver is 64-bit and satisfies the ODBC driver criteria listed in the documentation.
If you have access to My Oracle Support have a look at this note -
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)
Regards,
Mike -
How to install oracle 11g and 10g on same linux server.
how can i install oracle 10g and 11g on same linux server ????
10g database is already installed , i want to installed 11g on the same machine. How can i do this???Hi;
how can i install oracle 10g and 11g on same linux server ????
10g database is already installed , i want to installed 11g on the same machine. How can i do this???You may go wiht different mount point like to create /oracle11g and /oracle10g and you can choose related path for your installation.
Please read:
Managing multiple oracle home
http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm#i1005615
http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm
Regard
Helios -
USER_DEPENDENCIES view in oracle 11g and oracle 10g are different?
I have tested oracle 10g and oracle 11g. And I found some different behavior in the user_dependencies view between two oracle version.
In the oracle 10g, whatever referenced object is populated in the user_dependencies view. In the oracle 11g, however, only valid referenced objects are populated in it.
For example, a package, pac_1, references table, ref_tab_1, and package, ref_pac_2. After ref_tab_1 is dropped and ref_pac_2 is invalid, I query to user_dependencies.
sql> select referenced_name, referenced_type from user_dependencies where name = 'pac_1'.
In oracle 10g, the result is like the following,
< referenced_type > , < referenced_name >
non-existent , ref_tab_1
package , ref_pac_2
In oracle 11g, the result is not showing non-existed object nor invlid object like the following,
no rows selected
Is that the TRUE or do I missed some when I installed database or created database in 11g?
Is there a way to make the behavior of user_dependencies like it in 10g which shows all the referenced objets?
Edited by: user7436913 on Mar 10, 2010 5:48 AM
Edited by: user7436913 on Mar 10, 2010 5:51 AM
Edited by: user7436913 on Mar 10, 2010 5:52 AM
Edited by: user7436913 on Mar 10, 2010 5:53 AMcan you post your query with explain plan for both 9i version and 10g version.
Thanks,
karthick.
Maybe you are looking for
-
How do you burn photos to CDR from Iphoto. 9.5.1
How do you burn photos in Iphoto 9. You used to do it from Share and now I can't find the instruction.
-
Spotlight shortcut does not work (ctrl + space)
Spotlight shortcut does not work. When I press ctrl + space, nothing happen. When I click on magnifier icon by mouse, everything work well. In Spotlight configuration and also in keyboard shortcut configuration this shortcut is present and marked as
-
How to properly configure a home network using both Mac and PC computers
Is there a book or set of guidelines that can tell me how to properly configure (exact specifications) my computers in a home network? Here is what I am trying to do and using: 1) Three computers: iMac (late 06 ver), Macbook (newest version), Dell la
-
Can you email completed PDF form as attachment by clicking on hyperlink you create?
Can you email completed PDF form as attachment by clicking on hyperlink you create?
-
Where is the built in microphone on the Mac Book Air. I want to record my lectures.
I wish to use my Macbook Air to record my lectures and then upload them into our site for reviewing. I am not sure the best and quickest way to do this? Anne Sinclair