ispCP - Board - Support
[SOLVED] AWstats don't work - 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] AWstats don't work (/thread-2554.html)



[SOLVED] AWstats don't work - KeNt - 02-25-2008 03:11 AM

when I'm going to the http://domain/stats
i have an error message -
Code:
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
Sun Feb 24 19:08:35 2008
Apache

System - Debian Etch adm64
ISPCP upgraded from VHCS

awstats scripts from crontab running ok
where is trouble?

p.s. 4admins - create Russian/Ukrainian Corner please Wink


RE: AWstats don't work - joximu - 02-25-2008 03:25 AM

More infos: what did you do to enable awstats?
how does a vhost entry look like?


How many russian speaking people do we have here? if you think in a russian corner will be more traffic than in the danish, polish, italien or french corner then this maybe an option.
Let us finish release 1.0 and then we have to go through the whole organization here...

/J


RE: AWstats don't work - KeNt - 02-25-2008 03:42 AM

1. Edit /etc/ispcp/ispcp.conf for activate
2. in /etc/apache2/sites-available/ispcp.conf -
Code:
# httpd awstats support BEGIN.
   # httpd awstats support END.

/etc/apache2/sites-enabled/01_awstats.conf loaded succefully

p.s. I can submit info about ISPCP to largest russian site about linux
when I do this corner must be Smile


RE: AWstats don't work - joximu - 02-25-2008 03:53 AM

Hi

2) a awstat sections looks like this (at least if dynamic):
Quote: # httpd awstats support BEGIN.

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /stats http://localhost/stats/domain1.tld
ProxyPassReverse /stats http://localhost/stats/domain1.tld
# httpd awstats support END.

you also have to enable mod_proxy and mod_proxy_http in apache.

maybe the tpl files in /etc/ispcp/apache/parts are not uptodate?
eg. dmn_awstats_dynamic_entry.tpl

/J

PS: please wait with the info to the russian boards... we need some organization first. and we also need one ot two moderators for a russian corner...


RE: AWstats don't work - Rene - 02-25-2008 04:31 AM

hello, try http://domain/stats/

it's only available for user domains


RE: AWstats don't work - KeNt - 02-25-2008 09:37 AM

2 joximu
tnx
Now I know where maybe bug
Russian speaking community is a very many developers for ispcp Wink

2 Rene
I know for what it's available
but now it don't work Sad


RE: AWstats don't work - joximu - 02-25-2008 10:26 AM

Hi

maybe you can tell what's the bug??? - others might be interested...


dev: yes, I know that there are lots of developpers... but we are not too good organized to "control" this... but I hopw, when we reorganized our chaos we are able to occupy all theese developpers :-)))

Cheers
Joxi


RE: AWstats don't work - KeNt - 02-25-2008 10:43 AM

short history:
Upgrading VHCS2 to ISPCP on Debian amd64
All goods works fine with some hacks (eg. net2ftp "HideNoAccess Off")
I tell installer to activate awstats but sites-enabled/ispcp.conf doesn't have properly section for that (eg. dmn_awstats_dynamic_entry.tpl)

Q1: Now how I can update ispcp.conf with ispcp (no manual hacks if possible)

p.s.
In 10-th years of 20th century Nestor Mahno tell "Anarchy is a mother of control" =)


RE: AWstats don't work - joximu - 02-25-2008 11:07 AM

Hi KeNt

the easiest way: set the status of the domains to "change" (direct in the database: ispcp.domains). this is no hack.
and then run the request manager..

This is also written in the wiki under the term config regeneration...
http://www.isp-control.net/documentation/howto/ispcp/regenerate_config

This rebuilds the domains settings as if they just were added now.

/J

PS: I don't mean control as maybe Mister Mahno... :-)


RE: AWstats don't work - KeNt - 02-29-2008 03:40 AM

joximu Wrote:Hi KeNt

the easiest way: set the status of the domains to "change" (direct in the database: ispcp.domains). this is no hack.
and then run the request manager..

This is also written in the wiki under the term config regeneration...
http://www.isp-control.net/documentation/howto/ispcp/regenerate_config

This rebuilds the domains settings as if they just were added now.

/J

PS: I don't mean control as maybe Mister Mahno... :-)

I do that, and that working Smile
Thanx
but check upgrade script for errors on awstats