Professional Web Applications Themes

DBI can't connect to ORACLE in Win2k (Apache CGI code), scripts fine. - PERL Modules

My DBI was fine when I use them as perl script, however it gives me error when I use it in CGI, as Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 206 I think the problem is due to the CGI has no access to perl modules due to security reasons, how can I bypass this problem? and, UNIX/LINUX has the same problem, if not, why? Thanks, appreciate your help...

  1. #1

    Default DBI can't connect to ORACLE in Win2k (Apache CGI code), scripts fine.

    My DBI was fine when I use them as perl script, however
    it gives me error when I use it in CGI, as
    Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module
    DBD::Oracle: load_file:The specified module could not be found at
    C:/Perl/lib/DynaLoader.pm line 206

    I think the problem is due to the CGI has no access to perl modules
    due to security reasons, how can I bypass this problem?

    and, UNIX/LINUX has the same problem, if not, why?

    Thanks, appreciate your help
    oracle Admin Guest

  2. #2

    Default Re: DBI can't connect to ORACLE in Win2k (Apache CGI code), scripts fine.

    On 14 Jul 2003 22:32:38 -0700, oracle Admin <leohawkmyrealbox.com> wrote:
    >My DBI was fine when I use them as perl script, however
    >it gives me error when I use it in CGI, as
    >Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module
    >DBD::Oracle: load_file:The specified module could not be found at
    >C:/Perl/lib/DynaLoader.pm line 206
    >
    >I think the problem is due to the CGI has no access to perl modules
    >due to security reasons, how can I bypass this problem?
    That error may also indicate that there's a dll from your
    Oracle installation that can't be found. If you print out
    the PATH environment variable from your cgi script, is
    the path to your database dlls included in it? If not,
    you could use an appropriate server directive to set the
    PATH.

    --
    best regards,
    randy kobes
    Randy Kobes Guest

  3. #3

    Default Re: DBI can't connect to ORACLE in Win2k (Apache CGI code), scriptsfine.

    Did you install the Oracle client on the webserver? Is it an
    environment issue?

    oracle Admin wrote:
    > My DBI was fine when I use them as perl script, however
    > it gives me error when I use it in CGI, as
    > Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module
    > DBD::Oracle: load_file:The specified module could not be found at
    > C:/Perl/lib/DynaLoader.pm line 206
    >
    > I think the problem is due to the CGI has no access to perl modules
    > due to security reasons, how can I bypass this problem?
    >
    > and, UNIX/LINUX has the same problem, if not, why?
    >
    > Thanks, appreciate your help

    --
    Ron Reidy
    Oracle DBA

    Ron Reidy Guest

Similar Threads

  1. CF5: Oracle 8i DS's work fine, but 9i DS's don't
    By Mister_HW in forum Coldfusion Database Access
    Replies: 0
    Last Post: August 26th, 02:26 PM
  2. Replies: 3
    Last Post: November 23rd, 07:06 PM
  3. Oracle - IIS - Win2K - SP4
    By Sam Jallad in forum ASP Database
    Replies: 2
    Last Post: July 22nd, 03:40 PM
  4. Replies: 1
    Last Post: July 13th, 03:54 PM
  5. Win2K - Oracle 9.2.0.1
    By Richard Foote in forum Oracle Server
    Replies: 1
    Last Post: December 5th, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139