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.

500 Error and Errors in cPanel accounts transfer

Discussion in 'General Discussion' started by postcd, Oct 12, 2011.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    I have moved some cpanel accouints from my old server and after its done, nor old and new accounts on this new server works. It gives:

    500 Internal Server Error

    The request was not completed. The server met an unexpected condition.

    And when i see log of account transfer i see errors in section:

    Rebuilding Apache Conf
    Initial configuration generation failed with the following message:An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.1318388324Exit signal was: 0Exit value was: 1Output was:---Syntax error on line 44 of /usr/local/apache/conf/httpd.conf.1318388324:RLimitMEM takes 1-2 arguments, Soft/hard limits for max memory usage per process---Rebuilding configuration without any local modifications.Failed to generate a syntactically correct Apache configuration.Bad configuration file located at /usr/local/apache/conf/httpd.conf.1318388324Error:An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.1318388324Exit signal was: 0Exit value was: 1Output was:---Syntax error on line 44 of /usr/local/apache/conf/httpd.conf.1318388324:RLimitMEM takes 1-2 arguments, Soft/hard limits for max memory usage per process---

    Please what does it mean and how can i quickly fix it? Like rebuilding Apache, or upgrading apache? What is the cause?

    Thank you,
    P.
     
  2. rwoody

    rwoody Member

    Joined:
    Jul 26, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    I have this exact situation. I'm moving to a new server and I could not get the transfer to work, so we moved thebackup drive over to the new server and I'm restoring the backups to the new box via the restore function. Any site using PHP is giving me this 505 error and I have absolutely no clue. Something that should have been easy has turned out to be a nightmare.

    Can someone please advise what I need to do.

    I've checked the file/folder permissions - they are all as they should be
    I've checked the ownership of the files/folder - they are also as they should be the user name is the owner.

    What would cause this?

    Please help!
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    I dont know exactly but i think i somehow solved it by transfering failed accounts manually one by one. Maybe it has to do with full swap. not sure.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    If the website is displaying an error message, it's always a good idea to check the Apache error log. The Apache error log is located at:

    Code:
    /usr/local/apache/logs/error_log
    Check to see what the exact error message is when visiting the website, and post it here so we can provide you with some possible solutions.

    As for the error message when rebuilding the Apache configuration file, you can try resetting the RLimit entries in /usr/local/apache/conf/httpd.conf using the following option:

    "WHM >> Service Configuration >> Apache Configuration >> Memory Usage Restrictions"

    Thank you.
     
Loading...

Share This Page