Saturday, March 1, 2008

webalizer errors : Unable to lock DNS cache file /usr/local/psa/var/webalizer.cache

If you get following error while running webalizer updater :

Error: Unable to lock DNS cache file /usr/local/psa/var/webalizer.cache

then do as follows:

rm -f /usr/local/psa/var/webalizer.cache
touch /usr/local/psa/var/webalizer.cache
chown root:root /usr/local/psa/var/webalizer.cache
chmod 644 /usr/local/psa/var/webalizer.cache
start /usr/local/psa/var/webalizer.cache
=====================================================================================
/usr/bin/webalizer -n 145street.com -D /usr/local/psa/var/webalizer.cache -p -N 15 -o /home/httpd/vhosts/145street.com/webstat -F clf /home/httpd/vhosts/145street.com/logs/access_log

replace the above domain name with therespective domain name .

No comments: