Skip to contentSkip to conversation

Error during shutdown

DISCUSSION dale 2 participants 5 messages May 19, 2005

lore
Share & tools
lore

dale

author
#0 lore raw

I installed lm_sensors and gkrellm onto my system and it works fine. However when I shut my system down I get a error message. It's gone pretty quick but this is what I could make out after several restarts. /etc/init.d/lm_sensors line 73 [: -ge: unary operator expected. I have uninstalled and reinstalled the lm_sensors package to see if it was just a glitch. I even deleted the files a re-ran sensors-detect. It still does it. Any help would be appreciated. I have attached a copy of the file.

I have a ABIT NF7 mobo with a AMD 2500+ CPU and use Mandrake Linux 9.1 with KDE desktop. These were installed off the Mandrake CD's as a RPM.

If you need more info please advise.

Thanks in advance for your help.

[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: K97lm_sensors
Type: application/x-shellscript
Size: 2606 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030716/76bdb2fd/K97lm_sensors.bin

author
#1 lore raw
Quoted 9 lines · you
Quoted 8 lines

I installed lm_sensors and gkrellm onto my system and it works fine. However when I shut my system down I get a error message. It's gone pretty quick but this is what I could make out after several restarts.
/etc/init.d/lm_sensors
line 73 [: -ge: unary operator expected. I have uninstalled and reinstalled the lm_sensors package to see if it was just a glitch. I even deleted the files a re-ran sensors-detect. It still does it. Any help would be appreciated. I have attached a copy of the file.

Quoted 8 lines

This script comes with your Mandrake 9.1 distribution, so the error is theirs, not ours. However, I think I know how to fix it. Go to line 72 and replace
i=expr $Pmodules
with
i=$modules

Please try this and tell me how it goes.

I replaced the line as you said. No more error and a nice clean shutdown. That explained a lot with it being a script error. I didn't get the error the first time I installed because I installed from a tar.gz package, that was downloaded, and it has no error in the script.
Should I e-mail Mandrake about the boo boo? I may install next time from the downloaded file. Not as easy as a rpm in Mandrake but your copy works better. :-)

Thanks much for your help. I like watching the temps. 103 degrees so far at 99% processing. Cool huh?

[email protected]

author
#2 lore raw
In reply to dale
Quoted 14 lines · you
Quoted 7 lines

I replaced the line as you said. No more error and a nice clean shutdown. That explained a lot with it being a script error. I didn't get the error the first time I installed because I installed from a tar.gz package, that was downloaded, and it has no error in the script. Should I e-mail Mandrake about the boo boo? I may install next time from the downloaded file. Not as easy as a rpm in Mandrake but your copy works better. :-)

You definitely want to report to Mandrake. I found that the packager is Juan Quintela <[email protected]>. However, the last package (which I could not download) was built by Per Oyvind Karlsen <[email protected]>. Better contact both of them. And feel free to
CC: the list or me, just in case something needs to be discussed.

Quoted 5 lines
Quoted 2 lines

Thanks much for your help. I like watching the temps. 103 degrees so far at 99% processing. Cool huh?

Huh. You mean degrees Farenheit, don't you? Well, if you meant Celcius, you probably won't be able to read this mail ;)

Yep. It's Farenheit. I'm using a Thermaltake Volcano 11+ to cool a AMD 2500+. Bit of overkill but it's running cool.

I e-mailed both people you suggested and hope that it will be fixed in next release.
Thanks for your help. I have learned that there are a lot of very helpful people in the Linux world. You would be one of them. I try to do my little part on www.justlinux.com and www.linuxquestions.com as dalek. Hey, I like it much better than windows.

Thanks again.
Best wishes.
[email protected]

#3 lore raw
In reply to dale
Quoted 9 lines

I installed lm_sensors and gkrellm onto my system and it works fine. However when I shut my system down I get a error message. It's gone pretty quick but this is what I could make out after several restarts.
/etc/init.d/lm_sensors
line 73 [: -ge: unary operator expected. I have uninstalled and reinstalled the lm_sensors package to see if it was just a glitch. I even deleted the files a re-ran sensors-detect. It still does it. Any help would be appreciated. I have attached a copy of the file.

This script comes with your Mandrake 9.1 distribution, so the error is theirs, not ours. However, I think I know how to fix it. Go to line 72 and replace
i=expr $Pmodules
with
i=$modules

Please try this and tell me how it goes.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to dale
Quoted 9 lines

I replaced the line as you said. No more error and a nice clean shutdown. That explained a lot with it being a script error. I didn't get the error the first time I installed because I installed from a tar.gz package, that was downloaded, and it has no error in the script. Should I e-mail Mandrake about the boo boo? I may install next time from the downloaded file. Not as easy as a rpm in Mandrake but your copy works better. :-)

You definitely want to report to Mandrake. I found that the packager is Juan Quintela <[email protected]>. However, the last package (which I could not download) was built by Per Oyvind Karlsen <[email protected]>. Better contact both of them. And feel free to
CC: the list or me, just in case something needs to be discussed.

Quoted 2 lines

Thanks much for your help. I like watching the temps. 103 degrees so far at 99% processing. Cool huh?

Huh. You mean degrees Farenheit, don't you? Well, if you meant Celcius, you probably won't be able to read this mail ;)

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/