Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

failed--compilation aborted at CybOrg/DB.pm

Help
RazaMetaL
2005-04-28
2013-04-02
  • RazaMetaL
    RazaMetaL
    2005-04-28

    Im getting the following error when point my browser to http://my.domain.com/cgi-bin/cyborg.pl

    Software error:

    CybOrg::Exception=HASH(0x967319c)BEGIN failed--compilation aborted at CybOrg/DB.pm line 182.
    Compilation failed in require at /var/www/cgi-bin/cyborg.pl line 30.
    BEGIN failed--compilation aborted at /var/www/cgi-bin/cyborg.pl line 30.

    For help, please send mail to the webmaster (soporte@my.domain.com), giving this error message and the time and date of the error.

    From console :

    # perl cyborg.pl
    DB Error:db_connect
    Params:HASH(0x9e8a6c4)

    Content-type: text/html

    <h1>Software error:</h1>
    <pre>CybOrg::Exception=HASH(0x9fc7c0c)BEGIN failed--compilation aborted at CybOrg/DB.pm line 182.
    Compilation failed in require at cyborg.pl line 30.
    BEGIN failed--compilation aborted at cyborg.pl line 30.
    </pre>
    <p>
    For help, please send mail to this site's webmaster, giving this error message
    and the time and date of the error.

    </p>
    [Thu Apr 28 01:33:26 2005] cyborg.pl: CybOrg::Exception=HASH(0x9fc7c0c)BEGIN failed--compilation aborted at CybOrg/DB.pm line 182.
    [Thu Apr 28 01:33:26 2005] cyborg.pl: Compilation failed in require at cyborg.pl line 30.
    [Thu Apr 28 01:33:26 2005] cyborg.pl: BEGIN failed--compilation aborted at cyborg.pl line 30.

    The httpd log :

    [Thu Apr 28 01:32:05 2005] [error] [client 200.93.xxx.xx]
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx] DB Error:db_connect
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx] Params:HASH(0x95354b8)
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx]
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx] [Thu Apr 28 01:35:13 2005] cyborg.pl: CybOrg::Exception=HASH(0x967319c)BEGIN failed--compilation aborted at CybOrg/DB.pm line 182.
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx] [Thu Apr 28 01:35:13 2005] cyborg.pl: Compilation failed in require at /var/www/cgi-bin/cyborg.pl line 30.
    [Thu Apr 28 01:35:13 2005] [error] [client 200.93.xxx.xx] [Thu Apr 28 01:35:13 2005] cyborg.pl: BEGIN failed--compilation aborted at /var/www/cgi-bin/cyborg.pl line 30.

    Please, can you help?

    Ive follow the installation procedure, Im using fedora core 2 with apache 2.0 and pgsql 7.4.7

    Regards,

     
    • Stephen Samuel
      Stephen Samuel
      2006-08-25

      Make sure that you've installed all of the requesite packages.  In this case (I had the same problem) I was missing the mysql-dbi perl module... 

      For debian based distributions I think you need the libdbd-pg-perl package.  I'm not sure what the equivalent redhat package is.

       
    • Stephen Samuel
      Stephen Samuel
      2006-08-25

      Make sure that you've installed all of the requesite packages.  In this case (I had the same problem) I was missing the mysql-dbi perl module... 

      For debian based distributions I think you need the libdbd-pg-perl package.  I'm not sure what the equivalent redhat RPM is.