AwStats plugin for DA [Still in BETA]

fusionictnl said:
You could try using the full path to your perl binary, same as executing a php file through cron.

Well, could you guide me as to what do i do exactly? What do you mean by "using full path to perl binary"?
 
Like putting /usr/bin/perl between the interval and the command (/usr/bin/perl like the path on your server)
 
Hi, first of all, thanks for making this plugin public!

Second, for some reason, AwStats doesn't seem to count the visits/hits etc correctly. When i check the logs, i see there are every hour 10-20 unique visits. But AwStats says every day the total unique visits is somewhere between 5 and 10. For the hits the same, a very big difference with what the logs say, and what AwStats say....

Anyone has an clue why AwStats doesn't count them?
 
Alain said:
Hi, first of all, thanks for making this plugin public!

Second, for some reason, AwStats doesn't seem to count the visits/hits etc correctly. When i check the logs, i see there are every hour 10-20 unique visits. But AwStats says every day the total unique visits is somewhere between 5 and 10. For the hits the same, a very big difference with what the logs say, and what AwStats say....

Anyone has an clue why AwStats doesn't count them?

Hmm.. Very strange.. Is your log format correct ? Remember that the ACCESS.log shows ALL requests. But as you say I could find this problem to be in the CRON. Try running it manualy half the day or in the evening and check the results. If they are higher it could have something to do with the tally. Also if the logs aren't that big then just run the script after the tally as a seperate cron line.

Remember that the plugin just installs it in the correct place. http://www.awstats.org has a FAQ wich could help you out with this.
 
Thanks, I installed it But it did not work successfully.
All of statistics are seem 0.
my directadmin versiyon is the latest 1.254.
Sorry, what can i do?
 
Last edited:
Only thing that concerns me is the recent security issues with awstats. Anyway to disable the webbased update capability and keep the enduser from reenabling it?
 
gokhanweb

Make sure you update the statistics and add the cron as explained in the first post.

sullise

Has been explained a lot in the threads! Just change the template awstats.none.conf in the hooks dir and use the awstatsupdate.php script (documented) to update all the conf's
 
hello fusionictnl!

I have a question maybe you can help me with ...

I have ver 2.1.7 installed on one of my servers with DA, and I am running 14 users with 49 domains in total.

Every day, the same 5 domains are locked in the /tmp file ... I remove them, and they are there again tomorrow ...

What causes this, and what actions can I take to prevent it ... awstats works like a charm on all other domains!

Please advise
Tim H.
 
I get this error.
Can anyone help?

Unable to execute your request



Details

The password provided is not correct. The password is required due to the high risk factor of plugins
 
wchost said:
I get this error.
Can anyone help?

Unable to execute your request



Details

The password provided is not correct. The password is required due to the high risk factor of plugins

Both posting your problem AND PM me your problem :s Some people are just annoying.

This isn't a problem of the plugin. You just DIDN'T enter a password next to the install button! This is your admin password!
 
Nice work with the plugin !

Is there any 'need' to disable webalizer because that seems kinda useless when u are using awstats. Or is that not even possible because it's integrated in DA ?

Regards speed.
 
fusionictnl said:
Both posting your problem AND PM me your problem :s Some people are just annoying.

This isn't a problem of the plugin. You just DIDN'T enter a password next to the install button! This is your admin password!

Sorry~~ :D
 
Hello again,

Followed all the steps at the start of this thread and awstats seems to work nicely.

Only i have one 'problem':
When i make a new user the awstats dir and files seems not to be generated directly (it is auto-include in the permission list like it should be i think). What is the moment awstats dir and files will be generated ?

Is that when crontab is excecuted ?

Regards speed.
 
Automaticaly give access to stats to new users

# cd /usr/local/directadmin/scripts/custom
# vi user_create_post.sh

Add the following to the new file or add the line if exists:



quote:
--------------------------------------------------------------------------------


#!/bin/sh
echo $username >> /usr/local/directadmin/plugins/awstats/hooks/permissions.txt


--------------------------------------------------------------------------------



# save the file VI command ( 'ESC' then ':' then 'wq!' )
# chmod a+x user_create_post.sh

This will add the abillity for every new user to activate awstats. The user must first manually click on install awstats for each of his/her domains. This is not done automaticaly!
 
The user must first manually click on install awstats for each of his/her domains. This is not done automaticaly!

Thanks fusion, that part i did miss in the instruction.

Is there any reason u don't let it generate automaticaly when the admin included a user in the permission file ?

(I'll guess it can be done automatically easily using that check and install hook).

Regards speed.
 
how can i set another time to refresh data to awstats? I don't want update awstats in one time with update Direct Admin data. Is is possible? How can i do this.

Anyway great plugin:)
 
Back
Top