The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

use DBI Problem

Discussion in 'cPanel Developers' started by simoesp, Mar 12, 2008.

  1. simoesp

    simoesp Member

    Joined:
    Feb 13, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello Everyone, i'm trying to program some modules for cpanel to monitor password changes etc.. but when i try to use «use DBI» it gives me this error

    Code:
    
    (internal death while parsing [stdin]) Wed Mar 12 11:34:56 2008 [10254] error: Can't locate DBI.pm in @INC (@INC contains: /usr/local/cpanel /u
    sr/local/cpanel/perl /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.
    6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ChangePasswd/UpdateEvents.pm line 3.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ChangePasswd/UpdateEvents.pm line 3.
            require Cpanel/ChangePasswd/UpdateEvents.pm called at (eval 7) line 1
            eval 'require Cpanel::ChangePasswd::UpdateEvents;' called at /usr/local/cpanel/Cpanel/ChangePasswd.pm line 183
            Cpanel::ChangePasswd::loadmodules() called at /usr/local/cpanel/Cpanel/ChangePasswd.pm line 168
            Cpanel::ChangePasswd::_run_hooked_modules('user', 'tstdom1', 'newpass', 'asdasd', 'message', 'Password changed for user tstdom1', 'rawo
    ut', 'Changing password for tstdom1^JPassword for tstdom1 has been chan...', ...) called at /usr/local/cpanel/Cpanel/ChangePasswd.pm line 147
            Cpanel::ChangePasswd::_run_hooks('user', 'tstdom1', 'newpass', 'asdasd', 'message', 'Password changed for user tstdom1', 'rawout', 'Cha
    nging password for tstdom1^JPassword for tstdom1 has been chan...', ...) called at /usr/local/cpanel/Cpanel/ChangePasswd.pm line 92
            Cpanel::ChangePasswd::change_password('new_password', 'asdasd', 'user', 'tstdom1') called at /usr/local/cpanel/Whostmgr/Passwd.pm line
    14
            Whostmgr::Passwd::passwd('tstdom1', 'asdasd') called at whostmgr/bin/whostmgr.pl line 2555
            main::passwd called at whostmgr/bin/whostmgr.pl line 663
    
    
     
Loading...

Share This Page