[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I've been messing with it for the last couple weeks.  What happens if
you run the script by hand...

./testOracleObject.pl 

That'll tell you if you have a perl syntax problem.  Comment out any
insert or update commands just to be on the safe side also.


Thus spake Armsby John-G16665 (John.Armsby at motorola.com):

>    I have a little test script which runs from the shell "perl
>    testOracleObject.pl"  It uses DBI successfully and prints a few records to
>    the screen. No warnings, works great.
>    
>    I take the same script, add a little html stuff... and run it directly as
>    a url from cgi-bin
>    print"content-type: text/html\n\n";
>    print("<html><body>");
>    
&gt;    [1]<a  rel="nofollow" href="http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl";>http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl</a>
&gt;    
&gt;    and APACHE 2.0.46 blows up.
&gt;    
&gt;    Any ideas??  I am stumped.  Next thing to do is post to perl guys.....
&gt;    
&gt;    John
&gt;    
&gt;    
&gt;    
&gt;    [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]
&gt;    install_driver(Oracle) failed: Can't load
&gt;    '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
&gt;    for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object file:
&gt;    No such file or directory at
&gt;    /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
&gt;    [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]  at (eval 1)
&gt;    line 3
&gt;    [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Compilation
&gt;    failed in require at (eval 1) line 3.
&gt;    [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Perhaps a
&gt;    required shared library or dll isn't installed where expected
&gt;    [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]  at
&gt;    oracleConnectionObject.pm line 54
&gt; 
&gt; References
&gt; 
&gt;    Visible links
&gt;    1. <a  rel="nofollow" href="http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl";>http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl</a>

&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00678" href="msg00678.html">[ale] Any DBI Oracle guys out there?</a></strong>
<ul><li><em>From:</em> John.Armsby at motorola.com (Armsby John-G16665)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00680.html">[ale] Any DBI Oracle guys out there?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00682.html">[ale] Any DBI Oracle guys out there?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00678.html">[ale] Any DBI Oracle guys out there?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00682.html">[ale] Any DBI Oracle guys out there?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00681"><strong>Date</strong></a></li>
<li><a href="threads.html#00681"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>