Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Awstats stoped working [with solution]

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Awstats stoped working [with solution]
  • Quote

Post by Felix » Fri Nov 03, 2017 8:35 am

[devs, please read on. Possible bug at the end]

Hello community.

In one Ubuntu 14.04 server with VESTA 0.9.8 (amd64) R17, I'm hosting some domains. One of the domains only is facing the following problem when trying to view awstats at http://domain.tld/vstats/ :

Code: Select all

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). 
At the top of the page, there is the drop-down selection. If I select April 2016 the stats appear OK. But selecting any month after April 2016, is showing the same error.

I have already tried running v-update-web-domain-stat [user] [domain.tld] but although it finishes without errors, the above problem is still there.

SOLUTION and possibly a bug somewhere
The symbolic link in /etc/awstats was pointing at the wrong directory. Instead of pointing at

Code: Select all

/home/[user2]/conf/web/awstats.domain.tld.conf
it was pointing at

Code: Select all

/home/[user1]/conf/web/awstats.domain.tld.conf
which of course didn't exist any more.

As far as I remember, I had moved this domain from user1 to user2 using the command v-change-domain-owner. If this is the case, then the command v-change-domain-owner didn't update the symbolic link, causing this problem.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password