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.

Fatal error uploading filter/alias backups

Discussion in 'General Discussion' started by Panikos, Mar 22, 2007.

  1. Panikos

    Panikos Member

    Joined:
    Dec 21, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    In backups on cpanel 10.9.0-RELEASE 118 if I try to upload a filter or alias I get this error every time and the filter/alias is unchanged.

    a fatal error or timeout occurred while processing this directive

    I can download a new copy it's just the upload that won't work.

    I've done this before ok, but not for ages so I'm not sure how long this problem has existed.

    I'm on shared hosting and don't have root access (except for anything I can do via cron) but if anyone has any ideas I can pass them on to my host.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Your host would need to check in the cPanel error log in /usr/local/cpanel/logs/error_log when the action is performed to see what cPanel is complaining about.
     
  3. Panikos

    Panikos Member

    Joined:
    Dec 21, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    My host checked the cpanel error log and found this

    Also I just realied that home/rmyusername/tmp/ contained a cpanel.TMP.43Ias12iDsAi67bi (with different endings) for each attempt I had made.

    Any help would be appreciated. I have no idea what's going on there.
     
  4. Arvand

    Arvand Well-Known Member
    PartnerNOC

    Joined:
    Jul 26, 2003
    Messages:
    130
    Likes Received:
    1
    Trophy Points:
    18
    This is the issue across all of our servers. I'll put in a bug fix request.
     
  5. Arvand

    Arvand Well-Known Member
    PartnerNOC

    Joined:
    Jul 26, 2003
    Messages:
    130
    Likes Received:
    1
    Trophy Points:
    18
  6. Panikos

    Panikos Member

    Joined:
    Dec 21, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    On further testing it seems that restore (on cpanel backups) is working despite the error. However the view you see of the filters etc from cpanel is not updated (because of the error) so it looks unchanged and you think it failed to upload.

    For example:

    In cpanel filters add 10 rules.
    In Cpanel backups save a filter backup.
    In cpanel filters delete 1 rule so there are 9 visible.
    In Cpanel backups restore the original filter backup which gives the fatal error

    In cpanel filters there are still only 9 visible rules where you'd hope to see 10 again, but the 10th one is actually operating even though it can't be seen. Proving that the restore did work.

    As I understand it there are two filter files. The true one that the server operates on and cpanels own (.filter) in the users home directory which it keeps in a more readable/editable format.

    After you upload a filter file and it replaces the servers true filter file it's supposed to also convert that and overwrite Cpanels own .filter file so that you can view them from there. That would seem to be the point where the error occurs and not on the upload at all.

    Any thoughts or suggestions would be appreciated.
     
Loading...

Share This Page