December 18, 201213 yr I had a sick setup going, then one day the web interface stopped responding. I waited two weeks to reboot because it meant no plex for a while. Here's what I've done: I formatted a brand new flash drive and re-imaged it with the same version of unRAID (5.0-rc8a), copying only the contents of the "config" directory to the new flash. starting a emhttp manually, as expected, causes a segmentation fault right away. Below is some debugging after a reboot: root@dex:/var/log# cat syslog | grep emhttp Dec 18 17:33:17 dex emhttp: unRAID System Management Utility version 5.0-rc8a Dec 18 17:33:17 dex emhttp: Copyright © 2005-2012, Lime Technology, LLC Dec 18 17:33:17 dex emhttp: Basic key detected, GUID: Dec 18 17:33:17 dex emhttp: get_config_idx: fopen /boot/config/flash.cfg: No such file or directory - assigning defaults Dec 18 17:33:17 dex emhttp: shcmd (1): modprobe md-mod super=/boot/config/super.dat slots=3 |& logger Dec 18 17:33:17 dex emhttp: shcmd (2): udevadm settle Dec 18 17:33:17 dex emhttp: Device inventory: Dec 18 17:33:17 dex emhttp: WDC_WD20EFRX-68AX9N0_WD-WMC300513667 (sda) 1953514584 Dec 18 17:33:17 dex emhttp: WDC_WD20EFRX-68AX9N0_WD-WMC300461127 (sdb) 1953514584 Dec 18 17:33:17 dex emhttp: WDC_WD20EADS-00S2B0_WD-WCAVY2093501 (sdc) 1953514584 Dec 18 17:33:17 dex emhttp: shcmd (3): /usr/local/sbin/emhttp_event driver_loaded Dec 18 17:33:17 dex emhttp_event: driver_loaded Dec 18 17:33:17 dex emhttp: shcmd (4): :>/etc/samba/smb-shares.conf Dec 18 17:33:17 dex emhttp: Start SMB... Dec 18 17:33:17 dex emhttp: shcmd (5): /etc/rc.d/rc.samba start |& logger Dec 18 17:33:17 dex emhttp: shcmd (6): ps axc | grep -q rpc.mountd Dec 18 17:33:17 dex emhttp: _shcmd: shcmd (6): exit status: 1 Dec 18 17:33:17 dex emhttp: Spinning up all drives... Dec 18 17:33:17 dex emhttp: shcmd (7): /usr/local/sbin/set_ncq sdc 1 &> /dev/null Dec 18 17:33:17 dex emhttp: shcmd (: /usr/local/sbin/set_ncq sda 1 &> /dev/null Dec 18 17:33:17 dex emhttp: shcmd (9): /usr/local/sbin/set_ncq sdb 1 &> /dev/null Dec 18 17:33:17 dex emhttp: Start array... Dec 18 17:33:17 dex emhttp: shcmd (10): udevadm settle Dec 18 17:33:17 dex emhttp: shcmd (11): /usr/local/sbin/emhttp_event array_started Dec 18 17:33:17 dex emhttp_event: array_started Dec 18 17:33:17 dex emhttp: Mounting disks... Dec 18 17:33:17 dex emhttp: shcmd (12): mkdir /mnt/disk1 Dec 18 17:33:17 dex emhttp: shcmd (13): set -o pipefail ; mount -t reiserfs -o user_xattr,acl,noatime,nodiratime /dev/md1 /mnt/disk1 |& logger Dec 18 17:33:17 dex emhttp: shcmd (14): chmod 770 '/mnt/disk1' Dec 18 17:33:17 dex emhttp: shcmd (15): chown nobody:users '/mnt/disk1' Dec 18 17:33:17 dex emhttp: shcmd (16): mkdir /mnt/disk2 Dec 18 17:33:17 dex emhttp: shcmd (17): set -o pipefail ; mount -t reiserfs -o user_xattr,acl,noatime,nodiratime /dev/md2 /mnt/disk2 |& logger Dec 18 17:33:17 dex emhttp: shcmd (18): chmod 770 '/mnt/disk2' Dec 18 17:33:17 dex emhttp: shcmd (19): chown nobody:users '/mnt/disk2' Dec 18 17:33:17 dex emhttp: shcmd (20): mkdir /mnt/user Dec 18 17:33:17 dex emhttp: shcmd (21): /usr/local/sbin/shfs /mnt/user -disks 16777214 -o noatime,big_writes,allow_other,default_permissions,remember=0 Dec 18 17:33:17 dex emhttp: shcmd (22): /usr/local/sbin/emhttp_event disks_mounted Dec 18 17:33:17 dex emhttp_event: disks_mounted Dec 18 17:33:17 dex emhttp: shcmd (23): :>/etc/samba/smb-shares.conf Dec 18 17:33:17 dex emhttp: get_config_idx: fopen /boot/config/shares/apps.cfg: No such file or directory - assigning defaults Dec 18 17:33:17 dex emhttp: Restart SMB... Dec 18 17:33:17 dex emhttp: shcmd (24): killall -HUP smbd Dec 18 17:33:17 dex emhttp: shcmd (25): ps axc | grep -q rpc.mountd Dec 18 17:33:17 dex emhttp: _shcmd: shcmd (25): exit status: 1 Dec 18 17:33:17 dex emhttp: shcmd (26): /usr/local/sbin/emhttp_event svcs_restarted Dec 18 17:33:17 dex emhttp_event: svcs_restarted Dec 18 17:33:17 dex emhttp: unclean shutdown detected, checking parity... I think its REDICULOUS there is no way to cleanly reboot a system through CLI, i'm having to "shutdown -r now" and hope the parity drive isn't messed up.. Any ideas? I think I'm going to get this guy up and going again without emhttp for now, but please give me guidance for the next brief time i have to troubleshoot.
December 19, 201213 yr See here: http://lime-technology.com/wiki/index.php?title=Console#To_cleanly_Stop_the_array_from_the_command_line
December 31, 201213 yr Author Still no update on this.. i rebooted once and the web interface came back up about 30 minutes later.. stayed online for a few hours and is now offline. I can't just keep rebooting. Why is this happening?
Archived
This topic is now archived and is closed to further replies.