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.

An error occured while processing this directive

Discussion in 'General Discussion' started by gvard, Apr 26, 2005.

  1. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Greetings from Greece,

    I've the following problem: domain123.com wants to filter all e-mails that come from IP 1.2.3.4. The user logs in the control panel, goes to Mail -> E-mail Filtering -> Add Filter, then selects 'any header that contains 1.2.3.4 -> discard". When the user presses "Activate", he receives the following error:

    A filter has been added that sends all mail message_headers that contains 1.2.3.4 [an error occurred while processing this directive] Discard


    In the /usr/local/cpanel/logs/error_log the following error appears:


    The filter shows up as active but isn't working. Anyone? :(
     
  2. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    This will be fixed soon. Thanks for reporting this issue. In the future I recommend that you report such issues to our bug tracking system. http://bugzilla.cpanel.net/
     
  3. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    When do you expect it to be fixed? Should I open a trouble ticket?
     
  4. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    Run the following from the command line as root:

    /scripts/upcp --force

    Let me know if that doesn't fix your issue.

    Thanks
     
  5. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    That fixed the issue, thank you :)
     
  6. krathni

    krathni Member

    Joined:
    Mar 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    What version/ build are you running? Even I have same issue & /scripts/upcp -- force didn't fix mine.
     
  7. imhosted

    imhosted Member

    Joined:
    Apr 16, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    an error occurred while processing this directive

    Igot the error " an error occurred while processing this directive" while

    setting the default address in my cpanel. I run /scripts/upcp -- force, but this doesn'nt fix my issue.

    Please help. :)
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Check the cPanel error log in /usr/local/cpanel/logs/error_log when you perform that action.
     
  9. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    Yo,

    Check the ownership of the file /etc/vfilters/domainname.com and correct it. It should be username:mail

    :cool:
     
  10. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Rio de janeiro
    cPanel Access Level:
    Reseller Owner
    mail error (error occured while processing this directive)

    Hi there.

    I had this error:

    [/home/]# tail /usr/local/cpanel/logs/error_log
    main::dotag(undef) called at cpanel.pl line 3430
    main::parsehtml('GLOB(0x8af44d8)') called at cpanel.pl line 329
    (internal warning) Tue Dec 6 17:30:34 2005 [28691] warn: Cannot get file lock on /etc/valiases/visiweb.com.br: Bad file descriptor at /usr/local/cpanel/SafeFile.pm line 127.
    SafeFile::safeopen('GLOB(0x8b27c30)', '>', '/etc/valiases/visiweb.com.br') called at /usr/local/cpanel/Cpanel/Email.pm line 355
    Cpanel::Email::rebuildconf('visiweb.com.br') called at /usr/local/cpanel/Cpanel/Email.pm line 913
    Cpanel::Email::defaultaddress('visiweb.com.br') called at cpanel.pl line 2372
    main::doemail('defaultaddress()') called at cpanel.pl line 617
    main::exectag('<cpanel Email="defaultaddress()">') called at cpanel.pl line 3539
    main::dotag(undef) called at cpanel.pl line 3430
    main::parsehtml('GLOB(0x8af4488)') called at cpanel.pl line 329

    ----
    and found that it was a permission problem onm /etc/valiases/mydoman
     
    #10 FeeL, Dec 6, 2005
    Last edited: Dec 7, 2005
  11. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    Greetings,

    you can see it clearly on /usr/local/cpanel/log/error_log :D

    have a good day!
     
  12. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Thanks Sumith, the error_log showed me the correct way. I got my email issue fixed. :)
     
Loading...

Share This Page