Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    May 2003
    Posts
    208

    Exclamation Error in cpanel - a fatal error or timeout occured while processing this directive

    Hi,

    I have just noticed today that when logging into cpanel, and going into the scripts library, at the top of the page it shows the following error:

    [a fatal error or timeout occurred while processing this directive][a fatal error or timeout occurred while processing this directive]

    I have checked the /usr/local/cpanel/logs/error_log file and I see the error similar to the following several times:


    (internal death) Sat Nov 18 14:16:16 2006 [9722] error: Can't locate Lchown.pm in @INC (@INC contains: /usr/local/cpanel /us$
    Cpanel::SafetyBits::BEGIN() called at Lchown.pm line 1
    eval {...} called at Lchown.pm line 1
    eval 'use Lchown;' called at /usr/local/cpanel/Cpanel/SafetyBits.pm line 13
    require Cpanel/SafetyBits.pm called at /usr/local/cpanel/Cpanel/cPAddons.pm line 18
    Cpanel::cPAddons::BEGIN() called at Lchown.pm line 1
    eval {...} called at Lchown.pm line 1
    require Cpanel/cPAddons.pm called at (eval 19) line 2
    main::BEGIN() called at Lchown.pm line 1
    eval {...} called at Lchown.pm line 1
    eval 'use Cpanel::cPAddons
    ;' called at cpanel.pl line 3593
    main::modloader('cPAddons') called at /usr/local/cpanel/Cpanel.pm line 239
    Cpanel::loadmodule('cPAddons') called at cpanel.pl line 537
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 3493
    main::dotag(undef) called at cpanel.pl line 3407
    main:arsehtml('GLOB(0x8ebc960)') called at cpanel.pl line 352
    (internal death) Sat Nov 18 14:16:16 2006 [9722] error: Can't locate Lchown.pm in @INC (@INC contains: /usr/local/cpanel /us$
    BEGIN failed--compilation aborted at (eval 20) line 1.
    eval 'use Lchown;' called at /usr/local/cpanel/Cpanel/SafetyBits.pm line 13
    require Cpanel/SafetyBits.pm called at /usr/local/cpanel/Cpanel/cPAddons.pm line 18
    Cpanel::cPAddons::BEGIN() called at (eval 20) line 1
    eval {...} called at (eval 20) line 1
    require Cpanel/cPAddons.pm called at (eval 19) line 2
    main::BEGIN() called at (eval 20) line 1
    eval {...} called at (eval 20) line 1
    eval 'use Cpanel::cPAddons
    ;' called at cpanel.pl line 3593
    main::modloader('cPAddons') called at /usr/local/cpanel/Cpanel.pm line 239
    Cpanel::loadmodule('cPAddons') called at cpanel.pl line 537
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 3493
    main::dotag(undef) called at cpanel.pl line 3407
    main:arsehtml('GLOB(0x8ebc960)') called at cpanel.pl line 352
    (internal death) Sat Nov 18 14:17:47 2006 [10494] error: Can't locate Lchown.pm in @INC (@INC contains: /usr/local/cpanel /u$
    Cpanel::SafetyBits::BEGIN() called at Lchown.pm line 1
    eval {...} called at Lchown.pm line 1
    eval 'use Lchown;' called at /usr/local/cpanel/Cpanel/SafetyBits.pm line 13
    require Cpanel/SafetyBits.pm called at /usr/local/cpanel/Cpanel/cPAddons.pm line 18
    Cpanel::cPAddons::BEGIN() called at Lchown.pm line 1

    Anyone any idea on what it causing this problem, and what I need to do to try and fix it ??

    Thanks in advance for any help,

    Daniel

  2. #2
    Member
    Join Date
    Apr 2004
    Posts
    35

    Default

    Looks like a perl module problem... Did you try "/scripts/upcp --force" ?
    Also updating cpanel forcefully after changing release also helps. This just fixed a similar [error] for me now
    Last edited by tgibobby; 11-18-2006 at 01:14 PM. Reason: correction

  3. #3
    Member
    Join Date
    May 2003
    Posts
    208

    Default

    Quote Originally Posted by tgibobby View Post
    Looks like a perl module problem... Did you try "/scripts/upcp --force" ?
    Also updating cpanel forcefully after changing release also helps. This just fixed a similar [error] for me now
    No, haven't tried anything yet...

    I will give that a try.

    Thanks
    Daniel

  4. #4
    Member
    Join Date
    May 2003
    Posts
    208

    Default

    Tried that, unfortunately I am still getting the error

    Any ideas ?

    Thanks
    Daniel

  5. #5
    Member
    Join Date
    May 2003
    Posts
    208

    Default

    Anyone else got any ideas ?

    Thanks
    Daniel

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    16

    Default

    root@xxx [/usr/local/cpanel/logs]# /scripts/perlinstaller Lchown
    Method: Perl Expect
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:5.466 Testing connection speed to www.mednor.net using pureperl...(318400.00 bytes/s)...Done
    Ping:18.839 Testing connection speed to cpan-sj.viaverio.com using pureperl...(78575.00 bytes/s)...Done
    Three usable mirrors located
    Mirror Check passed for www.mednor.net (/index.html)
    commit: wrote '/usr/lib/perl5/5.8.7/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Mon, 27 Nov 2006 19:25:09 GMT
    Running install for module Lchown
    Running make for N/NC/NCLEATON/Lchown-1.00.tar.gz
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
    http://www.mednor.net/ftp/pub/mirror...wn-1.00.tar.gz
    CPAN: Digest::SHA loaded ok
    Fetching with LWP:
    http://www.mednor.net/ftp/pub/mirror...ATON/CHECKSUMS
    Checksum for /home/.cpan/sources/authors/id/N/NC/NCLEATON/Lchown-1.00.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    Deleting from cache: /home/.cpan/build/Archive-Zip-1.18 (10.2>10.0 MB)
    Lchown-1.00/
    Lchown-1.00/t/
    Lchown-1.00/t/allplatforms.t
    Lchown-1.00/t/pod-coverage.t
    Lchown-1.00/t/notsup.t
    Lchown-1.00/t/pod.t
    Lchown-1.00/t/sup.t
    Lchown-1.00/t/noimport.t
    Lchown-1.00/META.yml
    Lchown-1.00/Changes
    Lchown-1.00/Lchown.pm
    Lchown-1.00/Lchown.xs
    Lchown-1.00/MANIFEST
    Lchown-1.00/Makefile.PL
    Lchown-1.00/README

    CPAN.pm: Going to build N/NC/NCLEATON/Lchown-1.00.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for Lchown
    CPAN: YAML loaded ok
    cp Lchown.pm blib/lib/Lchown.pm
    /usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap Lchown.xs > Lchown.xsc && mv Lchown.xsc Lchown.c
    cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic "-I/usr/lib/perl5/5.8.7/i686-linux/CORE" Lchown.c
    Running Mkbootstrap for Lchown ()
    chmod 644 Lchown.bs
    rm -f blib/arch/auto/Lchown/Lchown.so
    LD_RUN_PATH="" cc -shared -L/usr/local/lib Lchown.o -o blib/arch/auto/Lchown/Lchown.so
    chmod 755 blib/arch/auto/Lchown/Lchown.so
    cp Lchown.bs blib/arch/auto/Lchown/Lchown.bs
    chmod 644 blib/arch/auto/Lchown/Lchown.bs
    Manifying blib/man3/Lchown.3
    /usr/bin/make -- OK
    Running make install
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Lchown/Lchown.so
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Lchown/Lchown.bs
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/Lchown.pm
    Installing /usr/share/man/man3/Lchown.3
    Writing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Lchown/.packlist
    Appending installation info to /usr/lib/perl5/5.8.7/i686-linux/perllocal.pod
    /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done
    root@xxx [/usr/local/cpanel/logs]#

    Seemed to fix it.

  7. #7
    Member
    Join Date
    May 2003
    Posts
    208

    Default

    If I run that command I just get the following (and doesn't fix the problem )

    root@server [~]# /scripts/perlinstaller Lchown
    Method: Perl Expect
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:11.621 Testing connection speed to mirrors.24-7-solutions.net using pureperl...(78275.00 bytes/s)...Done
    Ping:11.128 Testing connection speed to cpan-du.viaverio.com using pureperl...(104800.00 bytes/s)...Done
    Ping:26.738 Testing connection speed to cpan.hexten.net using pureperl...(78750.00 bytes/s)...Done
    Three usable mirrors located
    Mirror Check passed for cpan-du.viaverio.com (/index.html)
    commit: wrote '/usr/lib/perl5/5.8.7/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Mon, 27 Nov 2006 06:25:00 GMT
    Lchown is up to date (1.00).
    perlmod--Install done

  8. #8
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

  9. #9
    Member
    Join Date
    Jul 2006
    Posts
    90

    Default

    same error,

    how do i run that patch?

    i save and install as a perl module?

    thanks,

  10. #10
    Member
    Join Date
    Apr 2005
    Posts
    23

    Default

    lehels:

    Navigate to /usr/local/cpanel on your box
    touch fix.patch
    copy the contents of the patch supplied by cPanel into the fix.patch file
    patch -p0 < fix.patch

    Hunk 1 & 2 will succeed and 3 will fail but the problem will be resolved.

    /blakeblake

  11. #11
    Member
    Join Date
    Jul 2006
    Posts
    90

    Default

    Quote Originally Posted by blakeblake View Post
    lehels:

    Navigate to /usr/local/cpanel on your box
    touch fix.patch
    copy the contents of the patch supplied by cPanel into the fix.patch file
    patch -p0 < fix.patch

    Hunk 1 & 2 will succeed and 3 will fail but the problem will be resolved.

    /blakeblake
    Thanks!
    Solved.

  12. #12
    Member
    Join Date
    Nov 2006
    Posts
    337

    Default

    Tried that, didn't work


    croot@server4 [~]# cd /usr/local/cpanel
    root@server4 [/usr/local/cpanel]# touch fix.patch
    root@server4 [/usr/local/cpanel]# patch -p0 < fix.patch
    root@server4 [/usr/local/cpanel]#

  13. #13
    Registered User
    Join Date
    Sep 2008
    Posts
    1

    Default permissions

    for me it was the owner:group incorrectly set on the files we were trying to edit.

Similar Threads & Tags
Similar threads

  1. [a fatal error or timeout occurred while processing this directive] in cPanel
    By KijangmasHost in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 03-07-2011, 07:33 AM
  2. Replies: 5
    Last Post: 08-05-2010, 09:14 PM
  3. Timeout ...a fatal error or timeout occurred while processing this directive]
    By InternetPEI in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-02-2006, 02:02 PM
  4. [a fatal error or timeout occurred while processing this directive]
    By cracks in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-20-2006, 10:27 PM
  5. [a fatal error or timeout occurred while processing this directive]
    By yourhosting.co. in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-14-2005, 03:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube