Koozali.org: home of the SME Server

Importing old files from AwStats?

Offline LeoM

  • **
  • 33
  • +0/-0
    • http://www.musp.nl
Importing old files from AwStats?
« on: November 22, 2007, 12:11:54 PM »
Hello all,

The last days i've installed a new (faster) server with SME 7.2 from CD and restored it with all the stuff from the old server. Works like a charm.

I had to install Awstats again with yum, and it works fine.
The only thing is that I was (naturally) missing the complete history of the past year(s).

I have put the files /var/awstats/awstatsxxxxxxxx.localhost/localdomain.txt from my old server in the same awstats directory of the new server, but AwStats does not seem to read them.

Where did I go wrong?

Greetz, Leo

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Importing old files from AwStats?
« Reply #1 on: November 22, 2007, 03:16:22 PM »
LeoM

check ownership is correct
...

Offline LeoM

  • **
  • 33
  • +0/-0
    • http://www.musp.nl
Re: Importing old files from AwStats?
« Reply #2 on: November 22, 2007, 06:49:25 PM »
Hello all

Now made ownership of the old files same as the new one that is working, were root/admin now set to root/root.
Also Chmod set the same for all files.
Results the same, only recent data of this month is shown.


regards,

Leo.


Offline raem

  • *
  • 3,972
  • +4/-0
Re: Importing old files from AwStats?
« Reply #3 on: November 23, 2007, 02:35:36 AM »
LeoM

Quote
Now made ownership of the old files same as the new one that is working, were root/admin now set to root/root. Also Chmod set the same for all files.

... and the directories ?
Here's what I have

drwxrwx---  19 admin root  4096 Mar 12  2007 awstats

drwxrwx---   2 admin root  4096 Nov 14 08:30 domain1.com

-rw-rw-rw-   1 root  root 6169 Feb  3  2006 awstats012006.domain1.com.txt
.......
-rw-rw-rw-   1 root  root 6141 Nov 14 08:30 awstats112007.domain1.com.txt
-rw-rw-rw-   1 root  root 1912 Nov 14 08:30 dnscachelastupdate.domain1.com.txt

...

Offline LeoM

  • **
  • 33
  • +0/-0
    • http://www.musp.nl
Re: Importing old files from AwStats?
« Reply #4 on: November 23, 2007, 09:22:52 AM »
Hello RayMitchell,


Thanks for your answer again.

Looking at your list of files, it seems that I did'nt copy all my old files.
Still strange that the backup didn't do that for me....

Will put the "old" server back on line, check again, and get back to you.
This can take a while with other things to do with the weekend coming up, so please keep watching this topic.

regards,

Leo