HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Re create stats folder (http://www.howtoforge.com/forums/showthread.php?t=47702)

Toucan 2nd August 2010 11:58

Re create stats folder
 
I accidentally deleted the stats folder on a site so now the stats service is no longer working. Is there a way I can recreate this?

till 2nd August 2010 12:12

The stats folder gets recreated automatically on the next nightly run of the statistics scripts.

Toucan 2nd August 2010 12:42

Or at least that's what I thought the problem was. It asks me for the password but returns
ERROR 500 - Internal Server Error!

till 2nd August 2010 12:44

Take a look into the error log of the website to see the reason for the error.

Toucan 2nd August 2010 13:18

Quote:

Originally Posted by till (Post 235381)
Take a look into the error log of the website to see the reason for the error.

The filed in the stats folder do appear to be being written as there are entries for the 2nd.

I found this in the ispconfig log which does relate to the site:
chmod: cannot access `/var/www/clients/client1/web51/*': No such file or directory

Where do I find the site log you speak of?

till 2nd August 2010 13:21

Quote:

Where do I find the site log you speak of?
in the log folder of the website.

Toucan 4th August 2010 23:55

Thanks Till. There didn't seem to be any errors in the site log relating to that - just a load of missing link errors.

I deleted the stats folder and as promised it was recreated over night and now it works. I'm wondering if as the site was imported from another server, the stats folder had maintained it's original permissions etc. All works now.


All times are GMT +2. The time now is 17:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.