Earlier today, someone posted a question in the comments. It was
sco open 5.07 ml 350 g5 sas e200i when i issue a reboot or shutdown -g0 -y -i6
it starts a shutdown but will not reboot it just hangs nor does it say ok to power off
it i issue the command without the i6 it give me the poweroff mesg how can
i get the auto reboot comand to work? if i can not should i just use the shutdown without the i6
I was immediately ticked off and annoyed.
First, I've had a bad cold the past few days. Second, the article where this question was posed is totally unrelated to the question. Finally, I really hate it when people don't use punctuation and capitalization!
Yes, I AM a grumpy old fart.
So, I instructed the person to post at the Forum, but instead they sent me money by Paypal.
Aaargh! Now I have to think about this!
Thinking about anything SCOish fouls my mood anyway, but asking me to think
about it with a cold is really a bad idea. Nonetheless, I tried and responded
The question is where it is hanging.
When you change to init 6, the "kill" scripts run. One of them is hanging on you.
You might be able to spot it with "ls -lut". If not, the next easiest thing is to add an
echo "I am $0 trying to run"
as the second line of each script. Once you know WHAT is hanging, what to do next may be obvious or it may take more work.
I would say you could start by just doing the first and last in each directory - that will narrow down where you need to search.
I forgot to mention that you could also trace shutdown, but that does
involve more work.
An hour or so later, the poster told me he had found the answer at SCO's TA's:
"The shutdown(ADM) command does not shutdown or reboot my HP Proliant System", which explains that it's
HP's "hpasm" driver that hangs. That hpasm is one of those "value added"
things that HP and Compaq love adding to their servers. It
(link dead, sorry)
monitors temperature thresholds, fan, processor and memory failures. Oh, and hangs your system sometimes.
Obviously I needed to refund his money, which I immediately did, but
he then argued with me, saying that I had "got [him] on the right track".
I don't agree, so I let the refund stand.
SCO's suggested fix is to edit /etc/conf/sdevice.d/hpasm, change the
"Y" to "N", relink and reboot. Of course that isn't a fix: it just disables
Anyway, as much as I dislike inappropriately placed comments and bad
punctuation, I shouldn't have been so grumpy - and I should have thought to check SCO's TA's myself.
Oh, well. At least he found the answer!
Got something to add? Send me email.
Increase ad revenue 50-250% with Ezoic
More Articles by Anthony Lawrence
Find me on Google+
© 2012-07-13 Anthony Lawrence