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.

easyapache errors

Discussion in 'EasyApache' started by scristopher, Dec 21, 2012.

  1. scristopher

    scristopher Registered

    Joined:
    Dec 21, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    when trying to rebuild using easyapache I cannot using any configuration setup, I get the following error everytime:

    -- Begin step 'Patching mod_suphp' --
    Testing patch '../cppatch/01_suphp_paths.patch' -p1...
    patch: **** Can't create file /root/tmp/popToQsu : File exists
    Testing patch '../cppatch/01_suphp_paths.patch' -p0...
    The text leading up to this was:
    --------------------------
    |diff -Nur suphp-0.7.1.orig/src/apache/mod_suphp.c suphp-0.7.1/src/apache/mod_suphp.c
    |--- suphp-0.7.1.orig/src/apache/mod_suphp.c 2007-03-14 09:50:55.000000000 -0500
    |+++ suphp-0.7.1/src/apache/mod_suphp.c 2009-05-04 17:16:38.000000000 -0500
    --------------------------
    File to patch:
    Skip this patch? [y] patch: **** Can't create file /root/tmp/pr6jlOoE : File exists
    !! Patch test '../cppatch/01_suphp_paths.patch' failed !!
    !! Restoring original working apache !!

    Any Idea what the problem may be?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    1st I'd check if there's room in /root/tmp
     
  3. scristopher

    scristopher Registered

    Joined:
    Dec 21, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    appears to be
    root@fer [/]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vzfs 30G 21G 9.6G 69% /
    none 384M 4.0K 384M 1% /dev
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check to see if that directory is configured with the immutable flag:

    Code:
    # lsattr /root
    You will see an "i" next to the directory name if it's immutable. If it is, you can remove that attribute with a command such as:

    Code:
    # chattr -i /root/tmp
    Thank you.
     
  5. scristopher

    scristopher Registered

    Joined:
    Dec 21, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Sorry its been a while since my last reply, it does not appear that any files in /root are immutible
    and no flags or set when checking with lsattr.

    Here is the full output and other things I have checked:
    /http://pastebin.com/gpd3JKhi]

    any other ideas?
    thanks :)
     
  6. prajithp13

    prajithp13 Member

    Joined:
    Jun 12, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator

    Please take a backup of the /root/tmp/ folder and delete everything from /root/tmp/ folder. Then try to rebuild the apache.
     
  7. cPanelJamyn

    cPanelJamyn Social Engineer
    Staff Member

    Joined:
    Jan 29, 2009
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    0
    This is obviously not normal behavior. If the problem persists, please open a support case so we can look into the root cause. Thanks.
     
Loading...

Share This Page