A friend sent this to me. I’m ROFL!
If you’ve ever wondered how to determine your current run level, use the command
This works for Solaris and Linux (at least the ones I’ve tested)
Today I realized I was missing the showrev command on a Solaris 10 machine I installed.
I found it in the SUNWadmc package but recieved the following error:
ld.so.1: showrev: fatal: libadmapm.so.2: open failed: No such file or directory
Then I found the following page:
showrev(1M) missing on Solaris 8
Adding the SUNWadmfw package as mentioned still left me with the following error:
ld.so.1: showrev: fatal: libadmutil.so.2: open failed: No such file or directory
It turns out I was missing the SUNWadmlib-sysid package.
If you are missing showrev check if you have the following packages:
SUNWadmlib-sysid SUNWadmc SUNWadmfw
This helped when I changed the hostname on my mysql slave server:
Here is a sample error message:
060614 11:17:42 Error reading packet from server: Could not find first log file name in binary log index file (server_errno=1236)
060614 11:17:42 Got fatal error 1236: ‘Could not find first log file name in binary log index file’ from master when reading data from binary log