View Full Version : new awstats
ultimategp1
07-19-2008, 10:21 PM
Hi i just installed new directadmin and got awstats installed also
but when i go to statistics/logs on directadmin i cant see webalizer anywhere there
i have set both awstats and web to 1
also my folder is still point to /stats is this where its suppose to be?
please let me know about this thanks!
spirit
07-20-2008, 02:52 AM
I also dont see de Webalizer stats anymore.
ultimategp1
07-20-2008, 02:11 PM
yea I wonder whats up with that...also my awstats arent even updating :S
spirit
07-20-2008, 10:25 PM
The stats updating fine here!
littleoak
07-20-2008, 11:01 PM
yea I wonder whats up with that...also my awstats arent even updating :S
AWStats is not updating here either.
DirectAdmin Support
07-21-2008, 01:17 AM
Hello,
AwStats live in the "awstats" folder, and webalizer still live in "stats".
If you have an old domain.com/stats link, it will still point to webalizer.
If you want /stats to point to awstast, you'd have to delete the stats link from your public_html folder, then recreate it again. Or just create /awstats as the link as well.
Webalizer is current not given a link in DA if you have awstats enabled.
If you have webalizer=1, you could just add a link:
<a href="/CMD_WEBALIZER/|domain|/index.html">Webalizer</a>
in your user_stats.html in the skins.. else I could look at adding a 2nd colum in the table in the case both webalizer and awstats are enabled.
John
smtalk
07-21-2008, 01:22 AM
AWStats is not updating here either.
Check if you are able to update it with:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
If not - try to set webalizer=0 and awstats=1 in /usr/local/directadmin/conf/directadmin.conf. Then do:
service directadmin restart
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
Does it work now?
tlchost
07-21-2008, 03:39 AM
else I could look at adding a 2nd colum in the table in the case both webalizer and awstats are enabled.
John
Giving the site admin the choice of which stats program to use would be nice...some folks like one, some like the other, not all like whatever I would set as default (kinda like the webmail).
thanks
Thom
littleoak
07-24-2008, 04:37 PM
Check if you are able to update it with:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
If not - try to set webalizer=0 and awstats=1 in /usr/local/directadmin/conf/directadmin.conf. Then do:
service directadmin restart
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
Does it work now?
Martynas,
AWStats still does not update nightly.
smtalk
07-25-2008, 01:32 AM
But are the stats updated after these commands?
littleoak
07-25-2008, 12:07 PM
Yes, but only when I run them.
smtalk
07-26-2008, 03:34 AM
So, you have a problem with your cron daemon :) Check if it's running and /etc/cron.d/directadmin_cron has a line for tally.
ultimategp1
07-26-2008, 08:08 PM
this is what my says is this ok?
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl && echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
smtalk
07-26-2008, 08:42 PM
10 0 * * * root /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl && echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
Change it to:
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
littleoak
07-26-2008, 08:52 PM
Just a note - I had a similar problem. A plugin had changed my directadmin_cron file to the point where it was no longer functioning. I replaced the file with a new one that contained the proper crons and all is well.
Thank you Martynas for helping me figure out the problem!
ultimategp1
07-26-2008, 09:39 PM
hey smtalk i did that, now i will just wait to see what happenes :)
another question i have is how to i move my old awstats to this new one? i have copied the .txt files into the new awstats folde into the .data
but the thing is i cant see the old stats :(
please let me know about this asap thanks!
and one more thing my folder is point to /stats is that still ok?
thanks!
ultimategp1
07-27-2008, 11:05 AM
ok i think i got the files moved to new awstats from old, but now how do i look at those files from awstats? theres no drop down button that gives you the option to do that :S
RagekiJohn
07-27-2008, 12:44 PM
I remember reading somewhere on the DA site that Awstats was still in beta testing. I'm currently using the plugin version of Awstats instead because it's been around longer :).
ultimategp1
07-27-2008, 01:46 PM
ah ok, so i guess i wont be able to view my past stats?
and also my folder is point to /stats instead of /awstats is that still ok?
fester
07-27-2008, 01:49 PM
I could look at adding a 2nd colum in the table in the case both webalizer and awstats are enabled.
This would be the neatest, sanest option, and gets my vote.
The webalizer link above looks cludgey at best, and downright confusing to the end-user at worst.
Is it ready yet? :)
What about... now?
:)
littleoak
07-27-2008, 02:39 PM
Fester,
I added the following html to my usr/local/directadmin/data/skins/enhanced/user/user_stats.html file:
<table class=list>
<tr>
<td class=listtitle>Additional Statistics</td>
</tr>
<tr>
<td class=list><a href="/CMD_WEBALIZER/|domain|/index.html">Webalizer Statistics</a></td>
</tr>
</table>
I agree that it'd be nice if DA included a link to both by default.
ultimategp1
07-29-2008, 10:19 PM
so any solution on how i can view past months data? thanks!
Small question: how can I make both awstats and webalizer public available?
smtalk
07-30-2008, 03:29 AM
mdr, http://directadmin.com/forum/showpost.php?p=136096&postcount=21.
thx, but i'd like them to be available like: /stats/ and /awstats/
spirit
08-01-2008, 11:42 PM
It is possible to import de old stats into the new one?
(from the AwStats plugin).
mattb
09-04-2008, 11:21 AM
thx, but i'd like them to be available like: /stats/ and /awstats/
You can accomplish this pretty easily.
cd ~<user>/domains/<domain>/public_html/
ln -s ../awstats
NB: Where <user> is your username
<domain> is the domain you want the stats on.
/stats should still be webalizer
/awstats should be awstats.
If the webalizer (/stats) is missing.... just replace ln -s ../awstats with ln -s ../stats
Cheers Matt.
mattb
09-04-2008, 11:32 AM
It is possible to import de old stats into the new one?
(from the AwStats plugin).
Yes, but you'll need the old log files. If you do have them... then follow these steps.
You need to delete the .txt file in the .data directory in awstats
Change the .conf file the same directory to point to where your 'old logs are'.
Take a copy of the /usr/local/directadmin/scripts/awstats_process.sh ie: cp ./awstats_process.sh ./awstats_genold.sh
Edit awstats_genold.sh.
Change the line "LOGDIR=/var/log/httpd/domains" to where your log files are.
Extract the logfile in the format (domain[.sub].log and domain[.sub.]error.log into the logdir specified above.
Run ./awstats_genold.sh <user> <domain> [<sub>]
Rinse and repeat Steps 6 and 7.
Remember to change back the *.conf file found in the awstats/.data file to the original location.
Run ./awstats_process.sh <user> <domain> (<subdomain>) finally to process your current log file.
Hope that helps. :)
Update: Argg... just re-read the question. You should be able to move the old stuff into the new location. Edit the conf file so it now makes sense (in this new location). The run ./awstats_process.sh found in the scripts directory of ya DA install.
decafranky
09-13-2008, 06:41 AM
i have installed the awstats.sh from directadmin, but i suppose i have conflicts with configs from the old plugin?
also, there is no awstats links in directadmin panel
http://alka-system.be/awstats/
Check if you are able to update it with:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
If not - try to set webalizer=0 and awstats=1 in /usr/local/directadmin/conf/directadmin.conf. Then do:
service directadmin restart
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
Does it work now?
Does not work here :confused:
smtalk
09-16-2008, 07:35 AM
Are you sure you have AWstats installed?
decafranky
09-16-2008, 07:38 AM
me?
yes, from /usr/local/directadmin/scripts/awstats.sh
says awstats is installed, but there is nothing to configure in directadmin, is that normal?
the script to update stats works, but i need to remove each /awstats folder and replace it with a symlink to ../awstats
Are you sure you have AWstats installed?
smtalk
09-16-2008, 07:46 AM
Yes, it's normal. Statistic is under "Site Summary / Statistics / Logs" on "User level".
Are you sure you have AWstats installed?
Yes i installed it like the feature comment on update 1.32200.
RadMan
09-30-2008, 11:41 PM
Not sure if everybody has this issue but I would like to view previous months statistics in awStats just like I could in Webalizer..
Not sure if this is some sort of configuration that has to be make in awStats to allow for this, but all I can see in my version is the statistics for the current month with no detailed view of months previous..
If anybody knows how to set up awStats to allow detailed viewing for specific months for the past year just like Webalizer does, please advise..
Cheers
smtalk
09-30-2008, 11:50 PM
http://directadmin.com/features.php?id=907
DirectAdmin Support
10-01-2008, 12:10 AM
Yep, the link smtalk posted is it for viewing previous months (starting from this last release of DA). Just a note that the month selector is in DA and not in the awstats page. On your stats page in DA will be a dropdown selector for all the months that you can view.
John
RadMan
10-01-2008, 07:52 AM
Problem is that I cannot update to 1.323 because of some sort of problem that DA has with one of their hard drives.. At least I couldn't a few days ago.
Is there a way to bypass the update and get the previous months stats.
If yes, can you supply the exact code/steps that I would need to insert in order to activate this function..
Yep, the link smtalk posted is it for viewing previous months (starting from this last release of DA). Just a note that the month selector is in DA and not in the awstats page. On your stats page in DA will be a dropdown selector for all the months that you can view.
John
DirectAdmin Support
10-01-2008, 12:56 PM
The 4.4 binaries are just linked to the 4.x binaries now, so you should be good to update DA.
John
RadMan
10-04-2008, 07:08 AM
Hi John Thanks..
I just got it to update but I still cannot view last months statistics...
Will only give me access to stats for this month (Present) yet AW is displaying the history for the 4 or 5 days I had it running last month.
Sep 2008 1821 2524 5780 22905 98.59 MB
Oct 2008 794 1027 2667 11480 41.63 MB
The 4.4 binaries are just linked to the 4.x binaries now, so you should be good to update DA.
John
RadMan
10-07-2008, 05:47 AM
John
How do I add builddate into September stats so they appear as a selection in DA ADMIN panel?
I have updated DA to the latest release and am not able to slect September stats even though they are logged..
My only option in the drop down is "Present"...
It appears smtalk is busy and is not able to respond..
Maybe because you do not have September statistics with added builddate (%YY%MM format) :)
Yep, the link smtalk posted is it for viewing previous months (starting from this last release of DA). Just a note that the month selector is in DA and not in the awstats page. On your stats page in DA will be a dropdown selector for all the months that you can view.
John
smtalk
10-29-2008, 04:10 AM
http://directadmin.com/forum/showpost.php?p=142043&postcount=785
Bullcat
11-01-2008, 04:25 PM
Hello, I have installed awstats, but i cannot find the link/button , update now.
I have activate in the .conf the option ( AllowToUpdateStatsFromBrowser=1 ) and restart directadmin and refresh the pages, but nothing there.
Do i miss something ?
Hans
SupermanInNY
11-19-2008, 04:34 AM
Hi all,
In my previous plugin usage of Stats Control and of the previous Fucisis, I had the awstats page show with frames like this:
http://speedy-servers.com/awstats-da/awstats-conf-new-With-frames-1.jpg
Notice I have the option to select a Month and Year.
Now, the new DA Awstats is showing without frames, and without months
http://speedy-servers.com/awstats-da/awstats-conf-new-no-frames-1.jpg
Also, the entire Left Side frame is not showing.
I have old data from the previous plug-ins and I need/want to incorporate everything to the new DA Awstats.
Any pointers on how to make it looks the same?
Thanks,
-Alon.
lkbryant
11-19-2008, 04:48 PM
glad to know i wasn't the only one with this problem.
so is this awstats a stripped down version ?
i noticed it doesn't combine all the subdomains stats either.
DirectAdmin Support
11-19-2008, 11:03 PM
Hello,
We implemented awstasts using the static html method.
To get past months (from the time you enabled the DA version, an on) as long as you're using the latest version of DA, there is a month dropdown in DA itself. The static html pages don't do that.
http://www.directadmin.com/features.php?id=907
The reason we went static is that they're more compatible with showing stats through DA. It also prevents the requirement of having cgi scripts running, which could be disabled for certain users.
John
SupermanInNY
11-20-2008, 12:49 AM
Hello,
We implemented awstasts using the static html method.
To get past months (from the time you enabled the DA version, an on) as long as you're using the latest version of DA, there is a month dropdown in DA itself. The static html pages don't do that.
http://www.directadmin.com/features.php?id=907
The reason we went static is that they're more compatible with showing stats through DA. It also prevents the requirement of having cgi scripts running, which could be disabled for certain users.
John
How did the fusionictnl implemented it?
http://www.directadmin.com/forum/showthread.php?t=3901&highlight=awstats
With his (fusionictnl ) plug-in, there was no need for CGI (not enabled in any account) at all and it worked fine.
The 'flat' looking page with no menus on the side or the ability to navigate through previous period's data (collected from other plugins) is not very comfortable.
His plug-in is still working great on new installs.
I urge to adapt the looks and feels of the rich content.
-Alon.
mattlovell
02-12-2009, 03:03 AM
hmm that month thing is really frustrating - I have got my old data across but dont have old html files to rename
so i can see jans stats but all of those back to 2006 are missing...
Also I haev a problem where awstats is working on all non admin accounts (eg reseller accounts)
on admin accounts (users setup by admin) there is no awstats folder created
and the tally dont seem to pick tthem up as users
any ideas why that may be?
thanks
Matt
congkai
07-12-2010, 09:52 AM
so did anyone solve this problem yet?
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.