Jump to content

Server NOT shutting down fully (NOT powering off) (Using 4.6) [NOT Solved]


Recommended Posts

Just started to experience the server NOT shutting down fully - that is, it doesn't power off after shutting the array down. A couple of days ago this happened when shutting down from the WebGUI.  The array shut down correctly, but the server didn't power off.  I had to use the power button.  The log shows the array shut down correctly.

 

I started to use the ctrl-alt-delete buttons to shut down, and this worked for a couple of days, but now it is also doing the same thing. Again, there is nothing in the log.  I did capture this from the screen.  Seems to be some sort of apcupsd issue.

 

unRAIDapcupsderror.jpg

 

I've only done two things recently

 

1 - Upgraded a HDD to a bigger one.

2 - Installed "SmartHistory" - which also meant installing PHP.

 

One thing I have noticed is that the "Clean Power Down" package shown via unMenu seems to be installed twice?? Not sure how this can happen??

 

Edit (I"ve just noticed that "powerdown_ctlaltdel-unmenu-package.conf" is in the package folder twice, but the other one is "powerdown_ctrlaltdel-unmenu-package.conf" - this one has an "r" in ctrl, whereas the other one doesn't. Is this my problem? The first one is the newer file.

 

Here is my "GO" script (should you require it)

 

Should there be a "Sleep" in here?

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
echo nameserver ***.***.*.* >/etc/resolv.conf
echo ***.***.***.* tower >>/etc/hosts
/boot/cache_dirs  -d  5  -m  3  -M  5  -w
CTRLALTDEL=YES LOGSAVE=30 installpkg /boot/packages/powerdown-1.02-noarch-unRAID.tgz
sysctl -w kernel.poweroff_cmd="/sbin/powerdown"
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

Thx.

Link to comment

Been investigating this some more.

 

The two .conf  files were definitely the reason I was getting two "Powerdown" segments in the Pkg Manager of unMenu. I have removed one.

 

It would also seem that at some point I manually installed "Powerdown", which I'm currently in the process of removing.  However, I wonder if someone could tell me if this portion of the "Go" script is part of the powerdown script or for something else?? Thx

 

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

 

Link to comment

Been investigating this some more.

 

The two .conf  files were definitely the reason I was getting two "Powerdown" segments in the Pkg Manager of unMenu. I have removed one.

 

It would also seem that at some point I manually installed "Powerdown", which I'm currently in the process of removing.  However, I wonder if someone could tell me if this portion of the "Go" script is part of the powerdown script or for something else?? Thx

 

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

 

That line re-installs all the packages you've marked as "re-install on reboot" in the unmENU package manager.  It invokes all the scripts in /boot/packages that end in .auto_install

 

Joe L.

Link to comment

Been investigating this some more.

 

The two .conf  files were definitely the reason I was getting two "Powerdown" segments in the Pkg Manager of unMenu. I have removed one.

 

It would also seem that at some point I manually installed "Powerdown", which I'm currently in the process of removing.  However, I wonder if someone could tell me if this portion of the "Go" script is part of the powerdown script or for something else?? Thx

 

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

 

That line re-installs all the packages you've marked as "re-install on reboot" in the unmENU package manager.  It invokes all the scripts in /boot/packages that end in .auto_install

 

Joe L.

 

Ahhh...that makes sense. So if I understand that correctly, I only have to remove these two lines to remove the manual install of powerdown.

 

CTRLALTDEL=YES LOGSAVE=30 installpkg /boot/packages/powerdown-1.02-noarch-unRAID.tgz
sysctl -w kernel.poweroff_cmd="/sbin/powerdown"

 

Des the order of things in the Go script have any bearing? For example, I'd like to add the unmenu call to the go script, but does it have to go at any particular place? Does it need a sleep process?

 

/boot/unmenu/uu

 

 

EDIT: Got in sorted I think. Thx

 

 

 

Link to comment

Seems I was mistaken about getting this issue sorted. When I used the cltr-Alt-delete buttons last night my server again didn't shutdown completely. The array seems to do a clean shutdown, but the server doesn't power off.

 

It always surprises me that things can work properly for ages then for some reason they decide its time to play up.

 

I have been researching this issue and found this post http://lime-technology.com/forum/index.php?topic=3020.msg104075#msg104075.  Can anyone tell me if this could be my issue? And...if it is...what needs to be done to fix it?

 

I've included the log here. Thx

syslog-20111025-223637.zip

Link to comment

Just used the "Check for unMenu update and got this list of files  :o Are these all for just 4.6?? Can anything be stuffed up?

 

 images/stock/Hitachi.png :Revision: 24207  Date: 2011-09-19 22:42:42 -0400
images/stock/Kingston.png :Revision: 33153  Date: 2011-09-19 22:42:42 -0400
images/stock/Maxtor.png :Revision: 30117  Date: 2011-09-19 22:42:42 -0400
images/stock/MyServer_sample.jpg :Revision: 02087  Date: 2011-09-19 22:42:42 -0400
images/stock/MySlots_sample.jpg :Revision: 49545  Date: 2011-09-19 22:42:42 -0400
images/stock/Samsung.png :Revision: 65402  Date: 2011-09-19 22:42:42 -0400
images/stock/Seagate.png :Revision: 08152  Date: 2011-09-19 22:42:42 -0400
images/stock/WD.png :Revision: 59372  Date: 2011-09-19 22:42:42 -0400
images/stock/bolt.png :Revision: 00889  Date: 2011-09-19 22:42:42 -0400
images/stock/down.png :Revision: 11653  Date: 2011-09-19 22:42:42 -0400
images/stock/myMainLogo.jpg :Revision: 04236  Date: 2011-09-19 22:42:42 -0400
images/stock/preclear.png :Revision: 53287  Date: 2011-09-19 22:42:42 -0400
images/stock/refresh.png :Revision: 43438  Date: 2011-09-19 22:42:42 -0400
images/stock/refreshall.png :Revision: 14109  Date: 2011-09-19 22:42:42 -0400
images/stock/spinning.gif :Revision: 62801  Date: 2011-09-19 22:42:42 -0400
images/stock/status_bt.gif :Revision: 03167  Date: 2011-09-19 22:42:42 -0400
images/stock/status_cache.png :Revision: 41329  Date: 2011-09-19 22:42:42 -0400
images/stock/status_dsbl.png :Revision: 36920  Date: 2011-09-19 22:42:42 -0400
images/stock/status_dsbl_new.png :Revision: 47516  Date: 2011-09-19 22:42:42 -0400
images/stock/status_dsbl_np.png :Revision: 36920  Date: 2011-09-19 22:42:42 -0400
images/stock/status_invalid.png :Revision: 44778  Date: 2011-09-19 22:42:42 -0400
images/stock/status_mt.gif :Revision: 56729  Date: 2011-09-19 22:42:42 -0400
images/stock/status_new.gif :Revision: 02070  Date: 2011-09-19 22:42:42 -0400
images/stock/status_np.png :Revision: 54435  Date: 2011-09-19 22:42:42 -0400
images/stock/status_np_missing.png :Revision: 54435  Date: 2011-09-19 22:42:42 -0400
images/stock/status_ok.png :Revision: 48009  Date: 2011-09-19 22:42:42 -0400
images/stock/status_raw.gif :Revision: 02070  Date: 2011-09-19 22:42:42 -0400
images/stock/status_un.gif :Revision: 01611  Date: 2011-09-19 22:42:43 -0400
images/stock/status_wrong.png :Revision: 39553  Date: 2011-09-19 22:42:43 -0400
images/stock/up.png :Revision: 00612  Date: 2011-09-19 22:42:43 -0400
07-unmenu-mymain.awk :Revision: 229  Date: 2011-05-18 07:51:50 -0400 (Wed, 18 May 2011) 
08-unmenu-array_mgmt.awk :Revision: 241  Date: 2011-07-08 07:37:36 -0400 (Fri, 08 Jul 2011) 
09-unmenu-disk_mgmt.awk :Revision: 232  Date: 2011-05-18 08:55:57 -0400 (Wed, 18 May 2011) 
10-unmenu_user_script_update_check_unmenu :Revision: 193  Date: 2010-12-15 09:59:01 -0500 (Wed, 15 Dec 2010) 
10-unmenu_user_script_update_unmenu :Revision: 193  Date: 2010-12-15 09:59:01 -0500 (Wed, 15 Dec 2010) 
100-unmenu_user_script_unraid_version :Revision: 244  Date: 2011-09-11 12:45:25 -0400 (Sun, 11 Sep 2011) 
15-unmenu-network_perf.cgi :Revision: 190  Date: 2010-12-06 08:10:30 -0500 (Mon, 06 Dec 2010) 
16-unmenu-syslog.awk :Revision: 178  Date: 2010-12-03 08:32:35 -0500 (Fri, 03 Dec 2010) 
30-unmenu-file_browser.awk :Revision: 234  Date: 2011-05-18 16:17:25 -0400 (Wed, 18 May 2011) 
40-unmenu-iso_share.awk :Revision: 236  Date: 2011-05-23 07:39:53 -0400 (Mon, 23 May 2011) 
99-unmenu-myMain-Config.awk :Revision: 209  Date: 2011-01-02 19:51:03 -0500 (Sun, 02 Jan 2011) 
99-unmenu-utility.awk :Revision: 229  Date: 2011-05-18 07:51:50 -0400 (Wed, 18 May 2011) 
99-unmenu_user_script_powerdown :Revision: 178  Date: 2010-12-03 08:32:35 -0500 (Fri, 03 Dec 2010) 
990-unmenu-wget.awk :Revision: 243  Date: 2011-08-10 20:28:18 -0400 (Wed, 10 Aug 2011) 
999-unmenu-unraid_main.awk :Revision: 244  Date: 2011-09-11 12:45:25 -0400 (Sun, 11 Sep 2011) 
UtilityShell.html :Revision: 04917  Date: 2011-09-19 22:42:44 -0400
airvideo-unmenu-package.conf :Revision: 240  Date: 2011-07-02 08:03:13 -0400 (Sat, 02 Jul 2011) 
drivedb.lib.awk :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
ds_store_cleanup-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
dynamic-dns-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
image_server-unmenu-package.conf :Revision: 7  Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) 
iperf-unmenu-package.conf :Revision: 1 Date:2011-02-04 23:40:00 -0400(Tue, 21 Dec 2010) 
jre-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
mail-ssmtp-unmenu-package.conf :Revision: 152  Date: 2010-08-30 13:14:06 -0400 (Mon, 30 Aug 2010) 
md5deep-unmenu-package.conf :Revision: 244  Date: 2011-09-11 12:45:25 -0400 (Sun, 11 Sep 2011) 
monthly-parity-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
mover_conditional_sync-unmenu-package.conf :Revision: 197  Date: 2010-12-21 12:59:38 -0500 (Tue, 21 Dec 2010) 
mover_exclude_underscore-unmenu-package.conf :Revision: 197  Date: 2010-12-21 12:59:38 -0500 (Tue, 21 Dec 2010) 
mover_fix-logging-unmenu-package.conf :Revision: 197  Date: 2010-12-21 12:59:38 -0500 (Tue, 21 Dec 2010) 
myMain.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
myMainConfigDrive.html :Revision: 00464  Date: 2011-09-19 22:42:46 -0400
myMainConfigMain.html :Revision: 34672  Date: 2011-09-19 22:42:46 -0400
myMainConfigView.html :Revision: 42344  Date: 2011-09-19 22:42:46 -0400
myMain_local.conf :Revision: 182  Date: 2010-12-04 08:15:52 -0500 (Sat, 04 Dec 2010)
mysql-unmenu-package.conf :Revision: 7  Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) 
openssh-unmenu-package.conf :Revision: 7  Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) 
openssl-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
p910nd-unmenu-package.conf :Revision: 193  Date: 2010-12-15 09:59:01 -0500 (Wed, 15 Dec 2010) 
php-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
powerdown-overtemp-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
python-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
python_cheetah-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
sabnzbd-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
shellinabox-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
sqlite-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
syslog_match.conf :Revision: 192  Date: 2010-12-12 22:09:53 -0500 (Sun, 12 Dec 2010) 
unmenu.awk :Revision: 241  Date: 2011-07-08 07:37:36 -0400 (Fri, 08 Jul 2011) 
unmenu.base.lib.awk :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
unmenu.conf :Revision: 201  Date: 2010-12-23 16:20:06 -0500 (Thu, 23 Dec 2010) 
unmenu_install :Revision: 186  Date: 2010-12-04 14:58:29 -0500 (Sat, 04 Dec 2010) 
unraid-web-unmenu-package.conf :Revision: 7  Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) 
unrar-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011) 
utility.lib.awk :Revision: 223  Date: 2011-03-13 21:37:58 -0400 (Sun, 13 Mar 2011) 
zip-unmenu-package.conf :Revision: 242  Date: 2011-08-06 10:34:39 -0400 (Sat, 06 Aug 2011)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...