error_log created under cpanel home directory

Discussion in 'Site & Server Administration' started by teena1jain, Jul 29, 2005.

  1. #1
    Hello,

    I have started putting up the Ad Coop since last month.

    I am facing a problem these days. After every 4-5 days, an error_log file is created in my root directory in the cpanel and its too huge...approx 45 MB.

    It is created in a single shot and then my remaining space is taken up by this error_log. Can any one send me the solution to this problem.
    I will add the contents from the error_log in this thread once I get it again. :(

    Due to this problem, my cpanel is also not behaving properly.

    Please help.

    Teena
     
    teena1jain, Jul 29, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Once you get the log, see what's inside (better yet, run it through a web analysis tool). If it's a single client making all these requests, you can block this client denying access from their IP address or an address range (it may be not as easy if it's tons of them). The error may also indicate some configuration problem with your site (e.g. circular redirection), in which case you just need to fix what's broken.

    J.D.
     
    J.D., Jul 30, 2005 IP
  3. teena1jain

    teena1jain Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I got it again. I have quoted it below, please someone help to get rid of it. I am not able to understand this error_log.

    regards
    tina
     
    teena1jain, Aug 7, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What you have is a poorly-coded PHP file and some problem in configuration. The former causes the script to continue executing PHP statements following the one that is failed. The latter causes one of the statements to fail in the first place.

    Disable the functionality that uses this script (i.e. /home/public_html/ad_network_305.php) - this will allow your website to function normally. Then try to figure out what's wrong. First contact whoever this script is coming from and ask to correct it so that it would behave properly in case of an error. Then try to see what's wrong with your configuration (e.g. if your script is trying to connect too many times to ads.digitalpoint.com, your IP address will be blocked).

    J.D.
     
    J.D., Aug 7, 2005 IP