View Full Version : AWStats in cPanel
I have a new hosting customer who says he has all his past AWStats data files from his previous host. Is there any way I can upload those files to his account so that he is able to view them in his current new hosting account?
Vito
fierceservers 04-18-2010, 04:30 PM I think you can just put the files in the users awstats folder:
~/tmp/awstats/
VIPoint 04-18-2010, 04:57 PM yes, import all the files in the Awstat folder from the older server to the new server and put them under the user account. Make sure you give the right permission to the files.
Make sure you give the right permission to the files.
Thanks, can you be more specific?
Vito
Outlaw Web Master 04-18-2010, 07:17 PM Copy or move the old awstat files to the person's (~/tmp/awstats/) account directory on your server. The files will be named something like awstatsMMYYYY.sitename.txt.
Make sure the sitename.txt matches and the file(s) is/are chmodded to 644
owm
agustan 04-18-2010, 10:40 PM Thanks, can you be more specific?
Make sure you give the right permission to the files.
Vito
I believe VIPoint was referring to CHMOD permission of those log files.
Usually they must be set to CHMOD 644 (in Linux environments).
mellow-h 04-19-2010, 12:42 AM yes, import all the files in the Awstat folder from the older server to the new server and put them under the user account. Make sure you give the right permission to the files.
I am not totally sure, but shouldn't he need to copy the domlogs as well for that specific domain? Otherwise, awstats may reset the logs on the next run?
Thanks everyone so far for your help. I appreciate it.
I am not totally sure, but shouldn't he need to copy the domlogs as well for that specific domain? Otherwise, awstats may reset the logs on the next run?
I wondered about this. I saw log files as well as txt files, and wondered if just the txt files would cause any problems like overwriting or causing any loss of the existing stats.
Vito
VIPoint 04-19-2010, 09:42 AM When you copy the awstat config files, it will take the data from the domlogs of the new server. I think you need not copy the domlogs over. If you replace the existing domlogs, then you will loose recent stats.
Backup your log files >> copy the Awstat config files over to the new server>> CHMOD permission to 644 >> Run stats
If anything goes wrong you can replace the domlogs with backup and you won't loose any stats.
Excellent. Thanks for your help, everyone. As always, the good members of WHT come through. :)
Vito
SaskHosting 04-20-2010, 07:01 PM Oh wow, thanks for the information. This will definitely come in handy :-)
Hmm. Not sure what I'm doing wrong. My customer sent me a bunch of awstats txt files which I uploaded to home/customer/tmp/awstats/. All files are CHMOD 644. It's been 2 days now and the old stats don't appear in his Awstats.
Do I need to run some process to get Awstats to integrate the old files?
Vito
I wonder if I'm missing a conf file. For instance, I see that for the current stats that display properly, I see
awstats042010.customerdomain.customerdomain.com.txt
awstats.customerdomain.customerdomain.com.conf
But for the archived stats, my customer only sent me txt files. Am I perhaps missing the conf file?
Vito
H1Free 04-24-2010, 03:18 AM Hello,
Follow theses steps:
Click on the Awstats link in the Web/FTP Stats area.
Browse the results
Michaels75 05-03-2010, 05:00 AM you just need to put text files in /tamp/awstats folder of client,and this thing can be done from client end as well,and for conf file you dont need to move it,your host already contains one conf file
|