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)
-   -   ispconfig3 Accidentally Deleted client log files (http://www.howtoforge.com/forums/showthread.php?t=52711)

compugraphix 17th May 2011 12:36

ispconfig3 Accidentally Deleted client log files
 
Hi, i accidentally deleted the log files of a client found under /log used for creating the stats, the apache vhost files are still there, is there a way to recreate the daily access.log files in /var/log/ispconfig/httpd/{vhostname}

Thanks for your help in advance

till 17th May 2011 12:39

It is not possible to recreate the old logs if you dont have a backup of these files. New logs should be created automatically when the iste is accessed.

compugraphix 17th May 2011 12:44

that is strange because the original vhost files in /var/log/apache2 -> other_vhosts_access.log are still intact, so a rerun of some script wouldn't recreate the logs in /var/log/ispconfig/httpd?

thats too bad then.

Has this any negative effects on the web stats of webalizer allready created?

till 17th May 2011 14:13

Quote:

that is strange because the original vhost files in /var/log/apache2 -> other_vhosts_access.log are still intact, so a rerun of some script wouldn't recreate the logs in /var/log/ispconfig/httpd?
No, because the files in /var/log/ispconfig/httpd/{vhostname} are not based on the file other_vhosts_access.log

Quote:

Has this any negative effects on the web stats of webalizer allready created?
No, I dont think so.


All times are GMT +2. The time now is 05:26.

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