Oracle Packaging – Not So Eco-Friendly

Posted 65 days ago | 0 Comments

This is what Oracle sent to replace a battery in a server. That little silver thing in the bag is the battery – no bigger than the fingernail on my smallest finger!

Continue Reading

Solaris 11 – Getting Started HowTo

Posted 70 days ago | 0 Comments

I’m writing this from the perspective of a naive Linux admin so I may not be doing everything right and I certainly don’t address issues such as Zones, ZFS … I just spent a few hours to get some basic services running on an old T2000 box. Installation Downloaded Solaris 11 from Oracle – Text [...]

Continue Reading

Solaris: Service Console Commands

Posted 84 days ago | 0 Comments

Fault finding and clearing at the Service Console the following commands may be useful: To gather info for a service request: sc> showfru sc> showsc sc> showhost sc> showlogs -v sc> showfaults -v sc> consolehistory -v sc> showenvironment To clear faults try the following commands: sc> showfaults -v sc> clearfault [uuid] sc> clearasrdb sc> setsc diag_level min sc> setsc diag_mode normal sc> setsc sc_servicemode true sc> clearereports -y [...]

Continue Reading

Solaris: Change IP Address

Posted 84 days ago | 0 Comments

When changing the IP address on a Solaris 10 box edit the hostname and IP address settings in the following files (if present): /etc/hosts /etc/defaultdomain /etc/defaultrouter /etc/hostname.[interface] /etc/inet/hosts /etc/inet/netmasks /etc/inet/ipnodes /etc/nodename After making changes to these files restart networking with: 1svcadm restart network/physical

Continue Reading

Shutting Down Solaris 8

Posted 1340 days ago | 0 Comments

I was trying to shutdown an old solaris box with: shutdown now Obviously not the right thing to do as I got output similar to this: Shutdown started.    Mon Oct 19 11:58:55 BST 2009Broadcast Message from root (pts/1) on apu Mon Oct 19 11:58:55…The system myhostname will be shut down in 1 minutenowrwall: Can’t send [...]

Continue Reading

Killing Memory Hogs

Posted 1767 days ago | 0 Comments

On an old server I temporarily added the following script as a cron job to find and kill processes using too much memory. This is just a stop gap until we get to the root of the problem. #!/bin/bashfor i in `ps -efl | grep “httpd” | awk ‘{ if ($10 > 16000) {print $4″ [...]

Continue Reading

Crontab -e returns a number

Posted 1767 days ago | 0 Comments

On a solaris system I sometimes try to edit the crontab file with crontab -e and all I get in return is a number (signifying the number of characters by the ed editor I believe). # crontab -e4025^C?The crontab file was not changed. I need to Ctrl-D to exit.To get the ball rolling again: EDITOR=vi;export [...]

Continue Reading