Archive for February, 2007

Testing NTP services

Periodically I need to update my systems with new NTP server information. Since I have no idea if the remote servers are well kept, I tend to run ntpdate in test mode prior to starting ntpd or adding ntpdate to root’s crontab. To run ntpdate in test mode, you can use the “-d” option: $ […]

Changing the server name Sun One Web Server reports

I am a big fan of the Sun One Web Server, although I dislike the fact that it provides the server software and version by default in the HTTP header: $ telnet localhost 80 Trying 127.0.0.1… Connected to localhost.localdomain (127.0.0.1). Escape character is ‘^]’. HEAD / HTTP/1.0 HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Fri, 23 […]

Configuring the V40z SP to email home when problems occur

Having now worked with the Sun V40Z for more than a year, I can safely say that it is one of the best server platforms I have ever used. It has incredible lights out management, does a killer job of monitoring the platform environmentals, and can be configured to alert staff to problems it detects. […]

Replacing failed disk drives in a ZFS pool

I had a disk drive fail in one of my ZFS pools over the weekend, and needed to swap it out to restore the pool to an optimal state. To begin the swap out, I used the zpool utility to see which disk drive was faulty: $ zpool status -v pool: rz2pool state: DEGRADED status: […]

The power of the SMF Apache2 service

I am in the process of migrating some old Solaris 8 web servers to Solaris 10, and plan to use SMF to stop and start Apache. Solaris ships with a relatively recent release of Apache (if only it included the LDAP authentication module and PHP), which is nicely integrated with SMF. If your a *NIX […]

Creating more /dev/md[0-9]+ entries

While upgrading my desktop this weekend to Fedora Core 6, I received the following error while attempting to start one of my md arrays: $ /sbin/mdadm -A /dev/md3 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh mdadm: error opening /dev/md3: No such file or directory To fix the issue, I had to cd into /dev and add […]

« Older Entries