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.

Scripts Library Problem

Discussion in 'General Discussion' started by ramorse, Jun 3, 2006.

  1. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    A user is having trouble with cpanel scripts. When the user clicks on any of the packages in the Scripts Library he gets [a fatal error or timeout occurred while processing this directive][a fatal error or timeout occurred while processing this directive]

    I have looked at several other accounts and they are not getting this error. Only this one user as far as I tell. Of course, I haven't checked them all.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Check the cPanel error logs at /usr/local/cpanel/logs/error_log. Paste the error your receive.

    Also try /scripts/upcp --force
     
    #2 madaboutlinux, Jun 4, 2006
    Last edited: Jun 4, 2006
  3. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    /usr/local/cpanel/logs/error_log is empty

    So I unzipped error_log.1

    Lots of stuff. So I looked for the username on the account having the issue and found: ERROR 1045 (28000): Access denied for user 'jkoster'@'localhost' (using password: NO)


    Does that help? Otherwise, what am I looking for?
     
  4. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    before you get too deep in chasing the scripts error check /var/log directory and make sure your syslogd is running correctly. your current logs should be in <path>/log_name not in <path>/log_name.1

    Sounds like your syslogd is not running properly nor is logrotate and if this is the case search the forum for syslog and follow the directions for adding a different tmp directory for logrotate

    syslogd not running right will cause all kinds of strange errors
     
  5. tom_memset

    tom_memset Registered

    Joined:
    Feb 24, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have been having the same problem on a customers server. It turns out that for me the issue was being caused by a syntax error in the following two perl modules -

    /usr/local/cpanel/cpaddons//cPanel/Chat/phpMyChat.pm
    and
    /usr/local/cpanel/cpaddons//cPanel/Bulletin_Boards/phpBB.pm

    In both files I have changed line 9 from -

    our $meta_info =

    to

    our $meta_info => {

    This has fixed the issue on this server. Can anyone else confirm that this is a problem with the code released by cPanel? I would guess it will be a issue on lots of machines if this is the case. If it is then is this a bugzilla job or as the code is not presumably cPanel's should this go somewhere else?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should log it in Bugzilla.
     
  7. Dacsoft

    Dacsoft Well-Known Member

    Joined:
    Aug 30, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Florida
    In my case the /usr/local/cpanel/cpaddons/cPanel folder was missing. The upcp --force fixed it fine. (this is on the Release version).
     
Loading...

Share This Page