Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

use DBI Problem

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

  1. simoesp

    simoesp Member

    Feb 13, 2008
    Likes Received:
    Trophy Points:
    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

    (internal death while parsing [stdin]) Wed Mar 12 11:34:56 2008 [10254] error: Can't locate 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/ line 3.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ChangePasswd/ line 3.
            require Cpanel/ChangePasswd/ called at (eval 7) line 1
            eval 'require Cpanel::ChangePasswd::UpdateEvents;' called at /usr/local/cpanel/Cpanel/ line 183
            Cpanel::ChangePasswd::loadmodules() called at /usr/local/cpanel/Cpanel/ 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/ 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/ line 92
            Cpanel::ChangePasswd::change_password('new_password', 'asdasd', 'user', 'tstdom1') called at /usr/local/cpanel/Whostmgr/ line
            Whostmgr::Passwd::passwd('tstdom1', 'asdasd') called at whostmgr/bin/ line 2555
            main::passwd called at whostmgr/bin/ line 663

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice