Statistics Software Configuration not displaying ALL users

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
Does anyone have a solution for the ALL users not displaying in Statistics Software Configuration? It once worked, but somewhere around 11.25.0 R4347? is stopped working.

It will display any of the individual users, but not ALL of the users anymore.

I updated today to R44675 and then R44718, but neither corrected this problem.

Any solutions?

Thanks,
Ron
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
Updating my findings to help others with same problem:

I found the following error message in /usr/local/cpanel/logs/error_log when trying to access ALL stats:

[2010-04-13 23:57:26 -0400] warn [statmanager] User file '/var/cpanel/users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 35
Cpanel::Config::LoadCpUserFile::load('root') called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 158
Cpanel::Config::LoadCpUserFile::loadcpuserfile('root') called at /usr/local/cpanel/whostmgr/docroot/cgi/statmanager.cgi line 970
main::biguserstatstatus() called at /usr/local/cpanel/whostmgr/docroot/cgi/statmanager.cgi line 157
Can't use an undefined value as an ARRAY reference at /usr/local/cpanel/whostmgr/docroot/cgi/statmanager.cgi line 972, line 1.


Solution for me was to create the root user in /var/cpanel/users (I took information from another user and modified it to match my actual root user values)

So far it is working without side effects, I hope.

Ron