Author Archives: admin

Apache Tomcat and Logging – The 2nd

By | June 26, 2012

After I got the access logs for our Tomcat‘s to syslogd (see the entry below), I found that the Solaris syslogd can not handle the the RFC-5424 header format:-( So the info in that section was not really useful for us. That brought up a new problem, I needed to include the process ID in… Read More »

Apache Tomcat Access Log to Syslogd

By | June 12, 2012

OK, I searched the WWW far and wide, but I could not really find a good solution how to send the access log from Apache Tomcat to a syslogd:-( So I checked the source;-) and there were at least more than the default AccessLogValve.java implementation. There was even one for logging to a DB. But… Read More »

Solaris IPS Packages & Ruby Dependencies

By | February 2, 2012

I’m currently building Solaris IPS packages for Some Ruby gems. Yes, I know rubygems does a very good job of keeping everything together. But that does not work so well on backend systems where you don’t have a free internet access and where repeatability is important. So I decided to wrap the gems we need… Read More »

Puppet @ Solaris – Some Extensions to Facter

By | February 2, 2012

I’m using the OpenSource version of puppet, the system configuration engine to keep some Solaris systems in sync. For some modules, I wanted to know which zones are running on a given system. So I extended facter, puppet’s system fact collecting framework a bit. This little patch adds a list of zones and a mapping… Read More »

GNU Bash and Environment Variables in the PS1

By | January 27, 2012

Update – Sorry, while the patch below works, it’s NOT needed to get that functionality!! GNU bash can do that without modifications. I don’t know why I missed that before:-( Simply add a ${VAR} into the single quotes when you define the PS1! $ PS1=’\u@${FOO}\$ ‘ marcow@YY$ FOO=XX marcow@XX$ Sorry for the confusion — Marco… Read More »