Geek Boy's blog
Tuesday, July 17, 2007
  Dreamhost troubleshooting
After checking for the existence of the previous post, I noticed that my blog site was kicking out 403 errors. The specific nastiness looked like this:

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



I checked the apache error logs, and saw a whole bunch of errors like this:

[Tue Jul 17 19:30:22 2007] [crit] [client 208.42.29.115] (13)Permission denied: /home/<my home dir>/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Googling for this error message turned up some misdirection, but no answers. Creating a .htaccess file in my home directory didn't fix it. Even putting one in there that was world-readable didn't fix it; because, of course, that wasn't the real problem.

Turned out that what did fix it was to make my home directory world-executable (which, of course, means searchable for directories), and each of the site directories needed to be world-executable as well. Not world-readable, but world-executable.

[rolls]$ chmod u=rwx,g=rx,o=x blog.pclark.net

Shared hosting happiness is back again, and my apologies for the downtime.

Labels: , , ,

 
  Turning off the E3K
I used to run a Sun E3000 server in my basement. I served up this blog, the DaisyCutter site for my band, several friends web sites, I hosted my own subversion repository, ran my own sendmail and IMAP server, etc... It was pretty neat, having a big enterprise-class machine of my own... you could think of it as a gift from PowerAgent.

I knew it ate a lot of power based on the amount of heat it put off - I'd run it in a 2-CPU configuration in the summer and a 6-CPU configuration in the winter! But then I got a Kill-a-watt power meter, and realized that I was paying around $20.00/mo for the privilege of having a big machine warming up my basement.

So, it's now turned off, and the bits that you're reading are coming from a shared hosting service named Dreamhost somewhere in Los Angeles. I'm paying significantly less for the shared hosting service than I was paying Xcel Energy. It took about a day to get everything moved over.

I feel less geeky now, since I don't have a 6-way SPARC/Solaris box running in my house anymore, but I feel greener.

Labels: , , ,

 
Various ramblings from Peter Clark about life, coding, parenthood, Java, grad school, and enjoying my mac book air

Name: Peter Clark

Terror Alert Level

Thao and the Get Down Stay Down -- When We Swam

Archives
09/01/2003 - 10/01/2003 / 10/01/2003 - 11/01/2003 / 11/01/2003 - 12/01/2003 / 12/01/2003 - 01/01/2004 / 01/01/2004 - 02/01/2004 / 02/01/2004 - 03/01/2004 / 03/01/2004 - 04/01/2004 / 04/01/2004 - 05/01/2004 / 05/01/2004 - 06/01/2004 / 06/01/2004 - 07/01/2004 / 07/01/2004 - 08/01/2004 / 08/01/2004 - 09/01/2004 / 09/01/2004 - 10/01/2004 / 10/01/2004 - 11/01/2004 / 11/01/2004 - 12/01/2004 / 12/01/2004 - 01/01/2005 / 01/01/2005 - 02/01/2005 / 02/01/2005 - 03/01/2005 / 03/01/2005 - 04/01/2005 / 04/01/2005 - 05/01/2005 / 05/01/2005 - 06/01/2005 / 06/01/2005 - 07/01/2005 / 07/01/2005 - 08/01/2005 / 08/01/2005 - 09/01/2005 / 09/01/2005 - 10/01/2005 / 10/01/2005 - 11/01/2005 / 11/01/2005 - 12/01/2005 / 12/01/2005 - 01/01/2006 / 01/01/2006 - 02/01/2006 / 02/01/2006 - 03/01/2006 / 03/01/2006 - 04/01/2006 / 04/01/2006 - 05/01/2006 / 05/01/2006 - 06/01/2006 / 06/01/2006 - 07/01/2006 / 09/01/2006 - 10/01/2006 / 10/01/2006 - 11/01/2006 / 11/01/2006 - 12/01/2006 / 12/01/2006 - 01/01/2007 / 01/01/2007 - 02/01/2007 / 02/01/2007 - 03/01/2007 / 03/01/2007 - 04/01/2007 / 04/01/2007 - 05/01/2007 / 05/01/2007 - 06/01/2007 / 06/01/2007 - 07/01/2007 / 07/01/2007 - 08/01/2007 / 08/01/2007 - 09/01/2007 / 10/01/2007 - 11/01/2007 / 11/01/2007 - 12/01/2007 / 12/01/2007 - 01/01/2008 / 02/01/2008 - 03/01/2008 / 03/01/2008 - 04/01/2008 / 04/01/2008 - 05/01/2008 / 05/01/2008 - 06/01/2008 / 06/01/2008 - 07/01/2008 / 07/01/2008 - 08/01/2008 / 09/01/2008 - 10/01/2008 / 10/01/2008 - 11/01/2008 / 11/01/2008 - 12/01/2008 / 12/01/2008 - 01/01/2009 / 01/01/2009 - 02/01/2009 / 02/01/2009 - 03/01/2009 / 03/01/2009 - 04/01/2009 / 04/01/2009 - 05/01/2009 / 05/01/2009 - 06/01/2009 / 06/01/2009 - 07/01/2009 / 07/01/2009 - 08/01/2009 / 08/01/2009 - 09/01/2009 / 10/01/2009 - 11/01/2009 / 11/01/2009 - 12/01/2009 / 12/01/2009 - 01/01/2010 / 03/01/2010 - 04/01/2010 /


Powered by Blogger

Subscribe to
Posts [Atom]