ramorse

Well-Known Member
Sep 6, 2003
256
5
168
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.
 

ramorse

Well-Known Member
Sep 6, 2003
256
5
168
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?
 

dave9000

Well-Known Member
Apr 7, 2003
888
1
168
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
 

tom_memset

Registered
Feb 24, 2006
2
0
151
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?