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.

cpsrvd failing

Discussion in 'General Discussion' started by Fallout2man, May 30, 2004.

  1. Fallout2man

    Fallout2man Member

    Joined:
    May 16, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Recently a problem occurred and cpsrvd failed, whenever I try to restart it I get the following error.

    Fatal! Could not open error_log
    Content-type: text/html

    <h1>Software error:</h1>
    <pre> at cpsrvd.pl line 165.</pre>
    <p>
    For help, please send mail to this site's webmaster, giving this error message
    and the time and date of the error.

    </p>
    [Sun May 30 09:13:17 2004] cpsrvd.pl: at cpsrvd.pl line 165.

    I'd really like to get the daemons back up as soon as possible so any help would be greatly appreciated.
     
  2. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    try to execute it from the prompt (/usr/local/cpanel/cpsrvd on FreeBSD). Normally you get an extended view of the error.


    Could it be a perl-version conflict ?
     
  3. Fallout2man

    Fallout2man Member

    Joined:
    May 16, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Nope, same message.

    I'm pretty sure someone removed some sort of system log somewhere. The problem is it doesn't say where, apache and all my other services (except for mailman) are working fine. The problem is I can't find where this error_log it's looking for is, and recreate a blank one, since cpsrvd's a binary file.
     
  4. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    You tried /scripts/upcp ? And which version are you running ?
     
  5. Fallout2man

    Fallout2man Member

    Joined:
    May 16, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Yes, but it doesn't do the full update since before cpsrvd failed it was set to only stable updates. If you could point me to the file to change so that I can start getting release tree updates I'd be much obliged.
     
  6. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    Look in the file /etc/cpupdate.conf

    If you run stable, it's mentioned here (can't remember the variable), if you want to switch to release just remove that line in the file.

    Then run : /scripts/updatenow en /scripts/upcp
     
  7. Fallout2man

    Fallout2man Member

    Joined:
    May 16, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cpupdate.conf only has the following lines.

    CPANEL=manual
    RPMUP=daily
    SYSUP=daily

    so what you said probably wouldn't work. Thanks anyway though.
     
  8. Fallout2man

    Fallout2man Member

    Joined:
    May 16, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Okay, figured out what was wrong. Someone got in and deleted /usr/local/cpanel/logs/ so cpanel couldn't find the stats_log and access_log files it uses. I remade the directory and made some blank files and now it's working fine again.
     
Loading...

Share This Page