Archive for October, 2006

Another reason to love ZFS

While perusing the ZFS mailing list last today, I came across several interesting replies to a message titled “recover zfs data from a crashed system?”. I have been using ZFS now for 6-months, and the following reply is just one of the reasons I trust my data with it: “I built a test zpool spanning […]

Fixing a broken Solaris zone

I applied the latest set of patches to my x86 Solaris 10 server this morning, and after the server was rebooted I noticed that my zones didn’t start. When I ran the zoneadm utility with the “list” option, all of the zones were in the “installed” state (they should be in the running state since […]

Viewing previous dates with GNU date

GNU date has some nifty options, and is a time keepers toolbox rolled up into an ELF executable. One really cool option in GNU date is the ability to print a date in the past using the the “–date” option, and the “days ago” format string: $ date –date=”30 days ago” Wed Aug 30 15:15:51 […]

Solaris needs SMART support! Please help!

While attempting to run the smartctl utility a few weeks back on an x86 Solaris 10 host with IDE disk drives, I received the following error: $ smartctl -a /dev/dsk/c1d0s0 smartctl version 5.36 [i386-pc-solaris2.10] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ ####################################################################### ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris. Please contact smartmontools-support@lists.sourceforge.net […]

Debugging the ipfilter SMF service

I logged into one of my Solaris 10 hosts today to add some additional firewall rules, and noticed that the ipfilter service was in the maintenance state: $ svcs -x ipfilter svc:/network/ipfilter:default (IP Filter) State: maintenance since Sat Oct 28 15:56:30 2006 Reason: Start method failed repeatedly, last exited with status 2. See: http://sun.com/msg/SMF-8000-KS See: […]

Dumping HTTP requests and reponses to the Apache error log

When debugging problems with web applications, it is often useful to display the HTTP request and response headers along with the HTTP entity bodies. There are numerous ways to do this, and I covered several client centric solutions in my SysAdmin article Debugging Web Applications. Client side tools are extremely useful for pinpointing problems, but […]

« Older Entries