ispCP - Board - Support
[SOLVED] RC7 Clean install - awstats setup prob - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] RC7 Clean install - awstats setup prob (/thread-5178.html)



[SOLVED] RC7 Clean install - awstats setup prob - four2theizz0 - 12-17-2008 03:48 PM

Hi,

I was able to backup and install RC7 as new and everything went perfect but I do not think I set awstats up correctly.

When I go to domain.tld/stats I get
Code:
    Never updated (See 'Build/Update' on awstats_setup.html page)

in the "Last Update: " section. And all 0's for stats

When I go to domain.tld/stats/awstats_setup.html

I get
Code:
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.

Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).


awstats.conf does indeed not have an entry for SiteDomain but how would I set it to check every domain? I do also have the awstats.domain.tld.cfg files as well and those have the correct SiteDomain values in them.

I know I am just missing something small and have not found any other threads on here for this.
I am running Ubuntu Hardy 64
Thank you


RE: RC7 Clean install - awstats setup prob - BeNe - 12-17-2008 05:58 PM

Check your
Code:
/etc/ispcp/ispcp.conf
The should be some variables about AWStats (enabled/disable)
Also check you ispcp cron (/etc/cron.d/iscp) about the AWStats script.
Did you enabled it during the installation ?
Static or dynamic ?

Greez BeNe


RE: RC7 Clean install - awstats setup prob - sci2tech - 12-18-2008 02:37 AM

Does not matter if is dinamic or static. This happend if cron that build awstats pages was never run. See in /etc/cron.d/ispcp if you have any values between {}, and if not just wait that cron is executed. Smile


RE: RC7 Clean install - awstats setup prob - four2theizz0 - 12-18-2008 03:01 AM

it works!

sweeet, ya i had to run the cron line manually first and change a path in it

thanks! Big Grin