Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2013, 23:08
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
Default awstats - Error: SiteDomain parameter not defined in your config/domain file

Hello,

I installed most of my software before installing ISPConfig; this is usually the preferred order-of-operations, as I understand it, which makes sense in that it allows ISPC to determine what is installed and configure itself accordingly. Among the packages I installed was awstats.

The problem I'm having is that every 10 minutes I receive an email that results from a cron job that does:

Code:
[ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
The resultant error is:

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).
Do I simply need to disable this cron job, e.g., because ISPC calls its own job to compile stats?

Or is some other measure required? I don't remember having to perform any configuration of awstats on servers that I've built in the past with ISPC.

I have ISPC 3.0.5.2 and haven't modified any of the default values relating to Web-stats in the GUI.

Thanks for any help!
Reply With Quote
Sponsored Links
  #2  
Old 25th June 2013, 10:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Do I simply need to disable this cron job, e.g., because ISPC calls its own job to compile stats?
Yes, The global awstats cronjob has to be disabled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th June 2013, 18:32
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
Default

Thanks, Till.

I seem to have two awstats cron jobs:

Code:
[ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh

[ -x /usr/share/awstats/tools/buildstatic.sh ] && /usr/share/awstats/tools/buildstatic.sh
Should both of these be disabled? Or only update.sh (as that is the script that is throwing errors)?
Reply With Quote
  #4  
Old 21st February 2014, 22:37
mintess mintess is offline
Junior Member
 
Join Date: Feb 2014
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can anybody please answer this?
Reply With Quote
  #5  
Old 21st February 2014, 22:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Yes, both have to be disabled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tried to compile a kernel but: bryzf Kernel Questions 0 20th January 2013 00:48
scriptdir and bindir in RKHUNTER stigge2000 Server Operation 6 21st December 2012 14:57
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 21:01
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 12:56
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 18:57


All times are GMT +2. The time now is 10:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.