Posted by Edmund Haselwanter on Mar 13, 2009
Tags: java, tomcat
the symptom
If tomcat just respondes with HTTP 500 and you find something like
org.apache.tomcat.jni.Error: Too many open files
at org.apache.tomcat.jni.Socket.accept(Native Method)
at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1110)
at java.lang.Thread.run(Thread.java:619)
Mar 12, 2009 12:01:34 PM org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
in catalina.out
Continue Reading…
Posted by Edmund Haselwanter on Mar 10, 2009
Tags: chef, environment-2.0, iclassify, opschef, opscode, opscookbook, puppet
There is a new kid on the configuration management block Chef from Opscode. Here is a blog post about Puppet vs. Chef.
Chef is kind of Puppet with integrated iClassify and a rubyish configuration DSL. No wonder, Adam Jacob joined forces on Chef.
You can find it on github
Posted by Edmund Haselwanter on Mar 09, 2009
Tags: apache, apache2, centos, ssl, virtualhost
Here is a very good HOWTO for setting up an SSL secured Webserver with CentOS
ensure there is no ssl.conf for the default VirtualServer in /etc/httpd/conf.d/ or incorporate your changes there.
Posted by Edmund Haselwanter on Mar 06, 2009
Tags: amazon, aws, cloud, cron, ebs, ec2, environment-2.0
Create the volume and assign it to your instance
Attach it to your Centos 5.2 instance
yum install xfsprogs
according to Thread: Debian Lenny and XFS causes kernel panic: Suggested Workaround
mkfs.xfs -l version=1 /dev/sdh
insert into /etc/fstab
/dev/sdh /vol/shared xfs noatime 0 0
mount the volume
mount /vol/shared
Continue Reading…