veröffentlicht von Edmund Haselwanter am Mär 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
weiterlesen…
veröffentlicht von Edmund Haselwanter am Mär 10, 2009
Tags: chef, environment-2.0, iclassify, opschef, opscode, opscookbook, puppet
Sehr gute Neuigkeiten, es gibt ein neues Configuration Management Framework: Chef from Opscode. Eine interessante Diskussion dazu kann man hier finden: Puppet vs. Chef.
Chef ist ähnlich wie Puppet mit integriertem iClassify und im Gegensatz zu Puppet mit einer Ruby DSL. Und natürlich ist das wieder mal Adam Jacob zu verdanken, der uns auch schon iClassify beschert hat:-)
Mehr dazu auf Github:
veröffentlicht von Edmund Haselwanter am Mär 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.
veröffentlicht von Edmund Haselwanter am Mär 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
weiterlesen…