Current time: 05-20-2024, 09:26 AM Hello There, Guest! (LoginRegister)


Post Reply 
RC3 AWStats dynamic - Problem
Author Message
schnere Offline
Junior Member
*

Posts: 40
Joined: Apr 2007
Reputation: 0
Post: #1
RC3 AWStats dynamic - Problem
Hi!

Hab nun auf die RC3 updgedated. Hat soweit keine Fehler gegeben. Die deutsche Sprachdatei hab ich hier im Forum gefunden. Bis auf einige Fehler im Layout (manche durch die deutsche Sprachdatei) funktioniert alles soweit.

Nur bei AWStats hab ich Probleme:

Klicke ich unter Webtools links in der Navigation auf "Webstatistik", werde ich auf diese Seite weiter geleitet:

Code:
http://admin.server.com/client/%7BAWSTATS_PATH%7D

Klicke ich rechts auf "Webstatistik" komme ich dorthin:
Code:
http://server.com/stats/

und da bekomm ich folgende Fehlermeldung:


Error: AWStats database directory defined in config file by 'DirData' parameter (/var/cache/awstats) does not exist or is not writable.
Code:
Setup ('/etc/awstats/awstats.server.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Dieser Ordner existiert nicht: /var/cache/awstats . Hab das Update ganz normal mit dem Update-Skript gemacht. Wie bekomm ich AWSTats jetzt hin?


MfG schnere
02-10-2008 08:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #2
RE: RC3 AWStats dynamic - Problem
ist awstats überhaupt installiert?

lief es vor dem update?
02-10-2008 08:45 PM
Find all posts by this user Quote this message in a reply
schnere Offline
Junior Member
*

Posts: 40
Joined: Apr 2007
Reputation: 0
Post: #3
RE: RC3 AWStats dynamic - Problem
ich hab vor dem update schon mal apt-get install awstats gemacht, mehr nicht. wollte dann doch auf die rc3 warten...
02-10-2008 08:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
schnere Offline
Junior Member
*

Posts: 40
Joined: Apr 2007
Reputation: 0
Post: #4
RE: RC3 AWStats dynamic - Problem
hab das Verzeichnis /var/cache/awstats angelegt und die datei /usr/lib/cgi-bin/awstats.pl reinkopiert. chown -R www-data:www-data /var/cache/awstats gemacht. funktioniert.

Nur scheint da auch was falsches in der crontab zu stehen:

Code:
30      */2     * * *   /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl
Die dateien gibts gar nicht... (zumindest nicht in diesen verzeichnissen)
02-10-2008 09:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #5
RE: RC3 AWStats dynamic - Problem
hm, ja wo hast du die awstats.pl reinkopiert und was steht in deinem cron? augen auf! Wink

mein eintrag:
Code:
0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null

ls -la /var/cache/awstats/

ls -la /var/www/

more /etc/apache2/sites-available/01_awstats.conf
02-10-2008 09:15 PM
Find all posts by this user Quote this message in a reply
schnere Offline
Junior Member
*

Posts: 40
Joined: Apr 2007
Reputation: 0
Post: #6
RE: RC3 AWStats dynamic - Problem
Sollte es funktionieren, wenn ich das in die crontab eintrage:

Code:
30      */2     * * *   /var/www/ispcp/engine/awstats/awstats_updateall.pl now awstatsprog=/var/cache/awstats/awstats.pl

Ich führs mal manuell aus...
02-10-2008 09:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
schnere Offline
Junior Member
*

Posts: 40
Joined: Apr 2007
Reputation: 0
Post: #7
RE: RC3 AWStats dynamic - Problem
ok, probiers zuerst mal mit deinem Eintrag!
02-10-2008 09:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)