Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Posts
    688

    fatal error in cpanel > spam

    When clicking the link it shows

    Code:
    Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 72.
        YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 67
        eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 49
        Cpanel::DataStore::load_ref('/home/user/.cpanel/filter.yaml', 'HASH(0x97c9640)') called at /usr/local/cpanel/Cpanel/DataStore.pm line 37
        Cpanel::DataStore::fetch_ref('/home/user/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3290
        Cpanel::Email::_fetchfilter('/home/user/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3920
        Cpanel::Email::has_spam_autodelete() called at cpanel.pl line 354
        main::__ANON__() called at cpanel.pl line 1763
        main::exectag('<cpanel Email="has_spam_autodelete()">') called at cpanel.pl line 4806
        main::dotag(undef) called at cpanel.pl line 4673
        main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625
        main::cpanel_parse('GLOB(0x9406294)') called at cpanel.pl line 1295
    I've forced updated exim, spam assassin and cpanel, still same problem.
    Attached Thumbnails Attached Thumbnails 3.gif  

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    Yikes, you're still using Perl 5.6.2?

    perl -v

    cPanel highly recommends 5.8.8, which may explain the issue you are experiencing given how old that version of Perl is.
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  3. #3
    Join Date
    Jan 2007
    Posts
    688
    No I am not, I'm using 5.8.8

    perl -v

    This is perl, v5.8.8 built for i686-linux

  4. #4
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    Strange, if you look at the error output you'll see Perl 5.6.2 hidden in there... try this, login to WHM and click on "Install a Perl Module" then enter in YAML::Loader:: Syck and click search. (Remove the space between : and S - WHT is parsing it as a smiley.)

    Try reinstalling the module and see if that helps...

  5. #5
    Join Date
    Sep 2004
    Location
    Chennai , India
    Posts
    4,608
    Quote Originally Posted by Calibaba View Post
    No I am not, I'm using 5u.8.8

    perl -v

    This is perl, v5.8.8 built for i686-linux
    Did you update it manually to version 5.8.8, if so check the configuration files.

    Check for recent log messages and make sure SE linux is not blocking anything though its not related in this context

  6. #6
    Join Date
    Jan 2007
    Posts
    688
    That did not work. However, I can confirm this is happening with one user only strange enough

  7. #7
    Join Date
    Sep 2004
    Location
    Chennai , India
    Posts
    4,608
    Quote Originally Posted by Calibaba View Post
    That did not work. However, I can confirm this is happening with one user only strange enough
    Try to create a new user account and then check if that problem presists.

    Next, have you given SSH access to the user account.

    Make sure that there is no script running in that particular user a/c which is causing this trouble. Check his bash profile and log messages which should indicate the problem.

Posting Permissions

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