~$ sudo apt-get

Archive for December, 2009

Urchin : Unable to retrieve local file listing / Permission denied

by on Dec.10, 2009, under Apache, Linux

A common issue with occurs when apache is updated. Red Hat Enterprise Linux will revert /var/log/httpd to 0755 with root:root as ownership resulting in the following error.

WARNING: (****-****-****) Unable to retrieve local file listing
DETAIL: /var/log/httpd/access_log : Permission denied

A temporary fix until the next apache update, which are few and far between, is to ‘chmod 0755 /var/log/httpd’. Then ensure the current access logs are readable to the urchin user, 0644 should work. A permanent work around is to specify a log directory that will not be touched by the httpd rpm and give urchin sufficient permissions to access it.

Leave a Comment more...

Remove default domain from IP in Plesk

by on Dec.01, 2009, under Plesk

Of all the things Plesk does well, this which would seem like common sense to include within the interface, cannot be done. To rectify this issue, you must update the default_domain field within psa.IP_Addresses.

mysql -uadmin -p`cat etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0 WHERE ip_address = 'IPGOESHERE';"

Remove the WHERE statement if you wish to do a blanket default domain removal.

mysql -uadmin -p`cat etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0;"

3 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...