Installing Oracle 11 XE on Ubuntu 10.10 or 11.04, 64-bit
2Oracle recently released the XE version of Oracle 11 specifically for Ubuntu 64-bit. These instructions and an automated script will get it up and running in just a few minutes.
(more…)
Call before digging, or curse after digging…made my choice.
0You know those ad spots from the power company about "call before you dig"? And the magnets? And the warnings on the monthly bill? Well, I ignored all that and just cut a cable while digging. Internet still works, so guess we didn't need it much. I nicked the other one last month but repaired it. Feeling pretty dumb right now.
Solaris troubleshooting
2Some quick notes that I will expand at some point. This is based on data requests Oracle Supported requested while troubleshooting a boot issue on a Sun V440.
(more…)
System uptime in Python
0Here is a short recipe to get system uptime in Python. Tested so far on Ubuntu linux and Solaris. Obviously won't work on Windows.
gist on Github for sys_uptime.py
import subprocess
def uptime():
raw = subprocess.check_output('uptime').replace(',','')
days = int(raw.split()[2])
if 'min' in raw:
hours = 0
minutes = int(raw[4])
else:
hours, minutes = map(int,raw.split()[4].split(':'))
totalsecs = days*24*60*60 + hours*60*60 + minutes*60
return totalsecs
print 'System uptime of %d seconds' % (uptime())
How to Configure NTP in Solaris 10
0This is a simple working configuration method posted in the comments of this page. The page is offline but I found it in Google Cache and verified that it works. Reposting it here for posterity.
Setting my own priorities. And griping.
0When a manager requests the "urgent upgrade" of some testing servers to the latest and greatest version and it quickly becomes clear none have been used since original install 15 months ago, expect me to say "sure" and then go do actual work instead.
Fixing sendmail error "[ID 702911 mail.crit] My unqualified host name unknown; sleeping for retry"
0This problem annoys the heck out of me, and apparently thousands of other Solaris admins. I can't imagine the reason someone thought sendmail should log this error every few minutes about the stupid hostname, but must have been a good one because the app sure is adamant about it.
On project managers
1Brain teaser of the day: There are 3 project managers on a project. How many of them and how many times do I have to ask each of them a simple question to get a useful answer?
Answer: 6 emails and 1 phone call. 5 total queries is the best expected solution. My analysis from experience indicates if there are 2 project managers, effective knowledge is limited but accessible. At 3 managers it is nearly zero. At 4 and above it is actually negative because you get between n and 2n answers and the answers get stupider the more desperate you are.
Followup: Thinking I should escape go join the French Foreign Legion.
Disclaimer: Of course I know there are good and great project managers. I suppose the ones I deal with are mostly adequate and maybe even satisfactory. Sometimes I just find the actual project events completely inexplicable assuming a conscious human is paying any attention. The past week has just been a nightmare of confusion and stress.
Preparing for the Rapture
0To my friends and family: I'll be exploding 7 hours ahead of you during Saturday's Rapture. I'll save some seats in case we end up in the same place. If the bottle of gin I taped to my thigh makes it with me, we'll have quite a party.
To my wife: If we end up in different places after this Rapture thing, remember me as I am: a tall, slim, muscle-y armed god of a man who fights crime anonymously and secretly engineered the return of Family Guy and Futurama and sold a fake Dali of my own creation to the Guggenheim and gave all the proceeds to orphans. I love you.
To the people I didn't like: You are deficient as a human being. It was definitely you.
Good riddance to bad rubbish
The "every life is sacred" crowd is wrong. Society has to protect itself from the worst of its members. Laws and the judicial system are for normal crimes like theft and murder. For crimes on a society-killing scale, we need swift sharp action. You don't treat a flesh-eating virus like a paper cut — you excise the area as fast as possible, breathe a sigh of relief, and get back to life. Cheers to everyone who worked toward killing Bin Laden.