wrong awstats option, shouldn't be there

sehh

Well-Known Member
Feb 11, 2006
579
5
168
Europe
At some point, during the last 2-3 cPanel/WHM updates, our stats got messed up in the following way:

The "awstats" icon in cPanel, takes us to a page which shows the following options:

Domain
mydomain.com
mydomain.com (SSL)
www.mydomain.com (SSL)

If we click on the View icon we get the following results for each options:
1) awstats loads
2) awstats loads again, no difference for SSL
3) errors

The third option reports the following errors:

Error: Couldn't open config file "awstats.www.mydomain.com.conf" nor "awstats.conf" after searching in path "/usr/local/cpanel/base,/home/mydomain/tmp/awstats/,/etc/opt/awstats,/etc/awstats,/etc,/usr/local/etc/awstats": No such file or directory

- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.www.mydomain.com.conf' ?
If not, you can run "awstats_configure.pl" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).


Whats interesting, is that before the updates, cPanel only showed option (1) and (2). Obviously option (3) is wrong.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
I am not able to duplicate this behavior on 11.23.3-CURRENT_25133 No entry for www.example.com ( SSL ) appears, even for traffic directly to that website. Only an entry for example.com ( SSL ) appears. Please open a ticket at https://tickets.cpanel.net/submit/ so we can determine what is causing that error on your system and resolve it.

Thank you.
 

sehh

Well-Known Member
Feb 11, 2006
579
5
168
Europe
i'm on STABLE, maybe that makes a difference.

i'm sorry i'm not allowed to open remote access to 3rd parties, i need approval first, but i'll see what i can do.