DBD and Oracle

Hi,
I would like to run a perl script that needs a dbi database connection.
When I ran my perl program using the command line:
perl perlprogramname.pl
It worked fine.
But when I ran the program using webserver apache,
I got the error message: Internal Server Error.
The following error message was found in the log file:
install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
Compilation failed in require at (eval 4) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /home/username/public_html/cgi-bin/test.pl line 32
[Fri Jul 14 13:43:13 2006] [error] [client 111.2.111.111] Premature end of script headers: /home/username/public_html/cgi-bin/test.pl
[Fri Jul 14 13:43:13 2006] [error] [client 111.2.111.111] File does not exist: /usr/local/apache/htdocs/favicon.ico
A perl program containing no dbi connection can be run without errors using webserver.
Can someone please help me?
Thanks

Hi,
I am able to run a program with database connection now.
Sorry, I have other problem:
The DocumentRoot in the httpd.conf is stated as
DocumentRoot "/var/www/html"
Normally, the html contains some data. But when I checked it on my linux, I saw that it is an empty directory. Is it correct?
I need to mention that there is probably 2 versions of apache on the machine (2.0 and 1.3.)
I have an array "resultArray" of large data retrieved from the database. When I want to output elements of this array on the HTML page, I saw "Transfer data from http://....". After 5 minutes, some HTML components were gone, and no data could be displayed on the screen. And also no error messages were shown.
In the log file I saw the following message:
"The timeout specified has expired: ap_content_filter: apr_bucket_read() failed"
If I replace the resultArray array with another array that contains a small dataset. I works fine. I can display the data on the HTML page.
Do you think because some information are missing in the /var/www/html DocumentRoot?

Similar Messages

  • Select query differences between oracle 9 and oracle 8.

    Hi,
    I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
    ex:
    With oracle7
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP 'CHAMP
    champ1 champ2
    With Oracle 9
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP1' 'CHAMP2'
    champ1 champ2
    So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
    Thanx.

    Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
    This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
    My suggestion is -> First Go through the basics Of SQL in general.
    Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
    And, finally learn the advanced commands of that DB.
    You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
    Anyway,
    You can get the quite familier output by first type the following command ->
    set lin 310Regards.
    Satyaki De.

  • Oracle Single Sign on and Oracle Internet Directory

    Hello Gurus,
    What is the relationship between Oracle Single Sign on and Oracle Internet Directory.
    To my understanding, OID is required to install SSO.
    If OID already exist, can we just install SSO and go on integrating it to existing OID.
    Great Thanks,
    vimal jain.
    [email protected]

    Hi Tim,
    I've been working on this and could reproduce the issue with anonymous binds. A fix will be ready in 4.2.1.
    So what I really need is the password used for login to pass to the is_member call.The P101_PASSWORD item does not save state. However, you can access the value during submit processing of the login page, for example in the post authentication function of your authentication scheme. People sometimes put code in there to query the user's groups (e.g. with apex_ldap.member_of2) and save them in an application. This item value can then be used in the authorization schemes.
    Regards,
    Christian

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Oracle Streams b/w MS-Access 2007 and Oracle 10g.

    Can we set up Oracle Streams between MS-Access 2007 and Oracle 10g? Ms-Access as source and Oracle 10g as destination database. If so, can any one please give me little heads up with supported doc's or any source of info.

    Help Help....!!!

  • Limitation on SQL executing select statement from ADO and Oracle 8.1.7.1 OleDB Driver

    Hi,
    we are running a query with a big dunamic select statement from VB code using ADO command object. When Execute method is called system hangs and control won't return back to the application. it seems to be that there is some type limitation on Query string length. Please tell us if there is any?
    we are running Oracle 8.1.7 Server on Windows 200 Server and connecting from a W2K professional, ADO 2.6 and Oracle OLEDB 8.1.7.1 OLEDB Driver.
    Sample code:
    Dim rs As ADODB.Recordset
    Dim cmd As ADODB.Command
    Set cmd = New Command
    With cmd
    .CommandText = ' some text with more than 2500 characters
    .CommandType = adCmdText
    Set rs = .Execute
    End With
    when i debug using VB6 and when .Execute line is called system hangs or return a message method <<somemethod> of <<some class name>> failed error.
    Any help is appreciated.
    Thanks,
    Anil

    A stored procedure would only slow you down here if it was poorly written. I suspect you want to use the translate function. I'm cutting & pasting examples from the documentation-- a search at tahiti.oracle.com will give you all the info you'll need.
    Examples
    The following statement translates a license number. All letters 'ABC...Z' are translated to 'X' and all digits '012 . . . 9' are translated to '9':
    SELECT TRANSLATE('2KRW229',
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    '9999999999XXXXXXXXXXXXXXXXXXXXXXXXXX') "License"
    FROM DUAL;
    License
    9XXX999
    The following statement returns a license number with the characters removed and the digits remaining:
    SELECT TRANSLATE('2KRW229',
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', '0123456789')
    "Translate example"
    FROM DUAL;
    Translate example
    2229
    Also, LIKE '%<string>%' is going to be rather expensive simply because it has to compare the entire string and because it forces full table scans, rather than using indexes. You could speed this sort of query up by using interMedia Text (Oracle Text now in 9i). If you can eliminate one of the '%' options, you could also improve things.
    My guess is that your stored procedure is inefficient and that's causing the problem-- 5k rows per table should be pretty trivial.
    If you post your query over on the PL/SQL forum, there are better performance tuners than I that might have more hints for you. To get really good advice, though, you'lllikely have to get at least the execution plan for this statement and may need to do some profiling to identify the problem areas.
    Justin

  • New to XML and Oracle

    Just trying to clarify some issues as I try and learn about XML, and specifically how it integrates into the DB.
    1 - Is there a way with Oracle tools for me to get an XSD of an existing 9i relational schema? We are not currently using the XML DB, but our middleware developers would like to have an up to date XSD to use for their internal mapping.
    2 - Is there any way that I can keep that XSD up-to-date automatically, so I get a new one whenever the schema gets updated?
    3 - If I wanted to investigate storing XML docs within the DB in native XML format, I need to have an XML DB, correct? Is this DB construct maintained seperatelly from my "normal" relational schema? or are they kept in sync by Oracle?
    I know these may all be real basic questions, but as I said, I'm new to XML and Oracle. I am reading as much as I can, but there are a lot of docs out there.
    Thanks,
    Mike

    Hi
    1. On my opinion such a tool doesn't exists. Some parts can be implemented elsewhere, but not as described by you... e.g. with XSU if you specify the parameter "withschema" the XSD of the executed statement is generated. Another example is to use DBMS_METADATA to dump the data dictionary in XML (but not XSD, of course you could write your own XSLT to do this transformation...).
    2. -
    3. If you use XSD-based tables the XSD and the relational model are stored separately in the data dictionary. Therefore if you change the XSD you have to drop/create the XSD-based table... no schema evolution yet.
    Chris

  • SRM 4.0 Installation Master and Oracle Installation

    Dear Members, I am trying to install SRM 4.0 in sandbox using the SRM 4.0 Installation Master DVD. The question I have is does this installation take care of Oracle Installation also or should I install Oracle 9.2 first and then use the SRM Installation Master DVD to install the SRM. I am using SRM on Linux and Oracle.  Appreciate expert advice. Thanks in advance.
    Best Regards
    Gabriel

    I installed ORACLE 9x (only software) on Linux and also installed SAP SRM 4.0
    When I try to start the oracle db, i get the following error message..
    Trying to start ORASR2 database ...
    Thu Aug 9 21:08:39 UTC 2007
    checking required environment variables
    ORACLE_HOME  is >/oracle/SR2/920_32<
    ORACLE_SID   is >ORASR2<
    Thu Aug 9 21:08:39 UTC 2007
    check initora
    Thu Aug 9 21:08:39 UTC 2007
    check initora
    Thu Aug 9 21:08:39 UTC 2007
    starting orasrv
    /oracle/SR2/920_32/bin/orasrv missing or without set-user-ID bit. Terminating.
    ./startdb: Terminating with error code
    can someone help identify what the problem could be

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Problem with installing Oracle UI  and Oracle SP (ouiosp220160.jar)

    Hello,
    I have downloaded the installation file for Oracle Universal Installer and Oracle Software Packager which is in the form of a jar file:
    ouiosp220160.jar.
    WhenI try to extract it, the JVM says that the jar file is a corrupt one.
    So, I downloaded it again and still it is a corrupted one.
    What to do now? Is it in the corrupt form on the site or I am missing something?
    Any other mirror site?
    Please help.
    -Sameer

    Yes use a different ORACLE_HOME's for the Database,
    The Application Server (Needs 2 Oracle Homes if you are installing it on one server) and the developer suite - I would expect to see this more on a client PC than a server but if you are trying everything out on say a windows box then that also needs its own HOME.
    Have fun.

  • Which LKM and IKM to use for Fast data loading b/w MSSQL 2005 and Oracle 11

    Hi,
    Can anybody help us to decide which LKMs and IKMs are best for data loading between MSSQL and Oracle.
    Staging Area is Oracle. We have to load around 400Million rows from MSSQL to Oracle 11g.
    Best regards,
    Muhammad

    Thanks Ayush,
    You are right and it has dumped the file very quickly; but it is giving error on sqlldr call thorugh jython. I have reaised SR with oracle to look into it further.
    thanks again and have a very nice time.
    Regards,
    Muhammad

  • Reports Requirements using R12 and Oracle 10g Reports

    Hi All,
    Looking forward to some valuable inputs to propose a technical solution in R12 using 10g Reports Developer.
    Requirements are :
    1. Report output should be in Excel Format. ( Is this possible without XML Publisher using 10g Reports only )
    2. Report Parameters to have multi selection criteria. ( Is this possible in 10g Reports and Oracle Apps, Report Manager responsibility ?)
    Regards,
    Anand

    >
    1. Report output should be in Excel Format. ( Is this possible without XML Publisher using 10g Reports only )
    >
    Yes, Reports can create output in Excel - but XML Publisher offers better and easier options.
    >
    2. Report Parameters to have multi selection criteria. ...
    >
    Pl explain what you mean by multi selection criteria.
    HTH
    Srini

  • Crystal Report and Oracle SDO_GEOMETRY

    Hi,
    <br />
    <br />
    I'm using Crystal Reports for Eclipse version 2.0.4.r825 with Eclipse 3.5 and Oracle 11g as database. I configured the database connection using ojdbc14.jar. Some of the tables i want to use in the report contains columns using the SDO_GEOMETRY data type and if i try to drag this table in the data tab of the report i get the following "Unexpected ValueType" error:
    <br />
    <br />
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
    Unexpected ValueType: ValueType=[255]---- Error code:-2147215362 Error code name:unknownError
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
         at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
         at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
         at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
         at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
         at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
         at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.runtime.Platform.run(Platform.java:888)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
         at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
         at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
         at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
         at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
         at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
         at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
         at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
         at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
         at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
         at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    <br />
    <br />
    I tried the same with the Crystal Reports 2008 trial version and i'm having the same problem.
    <br />
    <br />
    I don't wanna use the geometry column in my report but because of this error i can't use the whole table. Is there a way to avoid this error and still use the other columns of the table. Or maybe there is another way to connect to an Oracle database which can handle this special data type.
    <br />
    <br />
    Thanks in advance,
    <br />
    <br />
    Jens Keller

    Hi Jens,
    Views would work also as you noted.
    No, if DB manufacturers change/update their Servers/clients they need to follow ANSII 92 standards. If they don't return the correct data type then CR will not "hack" our drivers to fix their issues. We did that for years and was a code nightmare, when they got around to fixing the problem it broke CR again. We decided to follow the standards, it may be our issue sometimes but in this case unique data types typically are not supported by CR. If you want support and it's not a client issue then add your request to the Enhancement Request2 post.
    So yes in your case it would make it easier but for others they'll be asking why CR doesn't show all fields. Same reason.... not a CR issue.
    Thanks agian
    Don

  • BAM and Oracle application server 10.1.3???

    Hi,
    I would like to understand more about integration between BAM and OAS.
    I remember I read a document that stated that BAM was included (or was integrated) as part of OAS 10.1.3, however I installed it and still don;t see how it is integrating with OAS.
    Also, in one of the Tutorials it mentions this:
    "Note –if you are using Oracle Application Server with opmn process, the following
    additional files are required in the above path:
    C:\OracleBAM\OC4J\opmn\lib\optic.jar
    Copy the entire Application Server “opmn” directory to c:\oraclebam"
    So... are there any additional steps for the OAS and BAM integration?
    I am still learning BAM but mi goal is install it as part of EBS(order Manegemnet)-BPEL-OTM (oracle Transportation) integration installation I currently have.
    If it can be integrated can it be done using iAS 10.1.2.0.2 instead?
    Thanks

    Its recommended that you should use same versions of OAS and Oracle BAM.
    For integration between OAS components and BAM you can check BAM tech notes (http://www.oracle.com/technology/products/integration/bam/10.1.3/htdocs/1013_support.html#technotes)
    Hoping it will help you.

  • Error On Attach File in Apex 4.0.2 And Oracle database 10.2.3.0

    hi all
    i using Apex 4.0.2 and Oracle database 10.2.0.3
    i have Blob Item in table and i wanted upload a file to Blob Item .
    when i used Attach file button at the first saving connection failed and the second time successfully
    How can i Fixed this problem?
    Tommy
    Edited by: Tommy on Sep 4, 2011 10:50 AM

    Hi,
    The absolute link works fine, but opening it in IE, I will get the following error message:
    Internet Explorer could not open http://localhost:8080/i as a Web Folder.
    I have troubles with Windows Server 2003, I'm going to install APEX in XP. Thank you.
    Guys, I installed APEX on Windows XP and the borwser seems to give the same message about creating a webfolder. I'm unable to create one, please help will be appreciatied.
    Regards,
    Edited by: 873013 on 17-jul-2011 12:05

Maybe you are looking for

  • How can I disable guest access on AFP

    I want to securise my access from my Mac to my Ready Nas. In order to access it I need a password wich is good. But if I choose "guest access" I'm able to go through witout the password. How can I disable the "Guest access" ? Message was edited by: j

  • Opening .indd files in CS5 that were created in a newer version

    I need to open .indd files in InDesign CS5.  Apparently those files were created in a newer version of InDesign, to which I do NOT have access in order to create legacy (IDML) versions of those files.  What is the "fix" for this issue?

  • Cannot Duplicate DVD

    I used a Toshiba DVR620 to convert my own VHS home movie to DVD.  Now I want to make a copy of my own DVD so I can send it to my mother 1000 miles away.  I have Disk Utilities 12.1.1.  I followed the instructions to the letter.  Everything looks fine

  • PowerView: 500.19 - Internal Server Error

    Hi, I'm going through PowerView RTM tutorial from http://technet.microsoft.com/en-us/library/hh759325(v=sql.110).aspx  and have deployed HelloWorldPicnicPowerViewRTM.xlsx in a PowerPivot Gallery. But when I click on Create PowerView Report icon on to

  • DSL in the city, do we have dial up access numbers in upstate?

    I have DSL in the city, do we have dial up access numbers in upstate? Anyone know who to call for that number? Thanks Ñin