Tower/Main WebUi stops working after some time


Recommended Posts

Hey Guys,

I have been having a recurring problem with the web interface since I left 4.7. Everything works perfectly after a reboot but some time later the WebUi to tower/Main stop working. I can access everything else as normal : unmenu, shares, telnet etc just not the main.

 

I generally access it by IP address: http://192.168.1.150/Main

I have tried all the recommended variations suggested in other threads but to no avail. I also cannot access the tower main through Unmenu. The connection times out and gives a "the connection was reset" message in firefox.

I was certain the problem was fixed after I moved from a beta 11 to the latest RC candidate but after a reboot just yesterday I can't access unmenu main - usually it would take a few weeks before it stopped working.

 

Anyways here is my syslog if anyone would mind having a look

http://pastebin.com/HQ065YzX

 

In another thread I read it maybe a RAM problem so i stopped cache dirs to try it then.

I got 3bg ram and all i am using is SAB, sickbeard, slimserver, the printserver, cache_dirs

 

just noticed this pop up on my unmenu:

Aug 6 15:33:19 Tower emhttp: unRAID System Management Utility version 5.0-rc5
Aug 6 15:33:19 Tower emhttp: Copyright (C) 2005-2012, Lime Technology, LLC
Aug 6 15:33:19 Tower emhttp: Pro key detected, GUID: ****
Aug 6 15:33:19 Tower emhttp: rdevName.22 not found
Aug 6 15:33:19 Tower emhttp: diskFsStatus.1 not found
Aug 6 15:33:19 Tower kernel: emhttp[6325]: segfault at 0 ip b747d760 sp bfb1e770 error 4 in libc-2.11.1.so[b7404000+15c000]

 

root@Tower:~# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Aug05 ?        00:00:11 init
root         2     0  0 Aug05 ?        00:00:00 [kthreadd]
root         3     2  0 Aug05 ?        00:00:08 [ksoftirqd/0]
root         5     2  0 Aug05 ?        00:00:00 [kworker/u:0]
root         6     2  0 Aug05 ?        00:00:00 [migration/0]
root         7     2  0 Aug05 ?        00:00:00 [migration/1]
root         9     2  0 Aug05 ?        00:00:08 [ksoftirqd/1]
root        11     2  0 Aug05 ?        00:00:00 [khelper]
root       145     2  0 Aug05 ?        00:00:12 [sync_supers]
root       147     2  0 Aug05 ?        00:00:00 [bdi-default]
root       149     2  0 Aug05 ?        00:00:00 [kblockd]
root       257     2  0 Aug05 ?        00:00:00 [ata_sff]
root       267     2  0 Aug05 ?        00:00:00 [khubd]
root       372     2  0 Aug05 ?        00:00:00 [rpciod]
root       403     2  0 Aug05 ?        00:00:02 [kswapd0]
root       463     2  0 Aug05 ?        00:00:00 [fsnotify_mark]
root       482     2  0 Aug05 ?        00:00:00 [nfsiod]
root       490     2  0 Aug05 ?        00:00:00 [crypto]
root       659     1  0 Aug05 ?        00:00:00 /sbin/udevd --daemon
root       749     2  0 Aug05 ?        00:00:00 [scsi_eh_0]
root       767     2  0 Aug05 ?        00:00:00 [scsi_eh_1]
root       768     2  0 Aug05 ?        00:00:00 [scsi_eh_2]
root       769     2  0 Aug05 ?        00:00:00 [scsi_eh_3]
root       770     2  0 Aug05 ?        00:00:00 [scsi_eh_4]
root       771     2  0 Aug05 ?        00:00:00 [scsi_eh_5]
root       773     2  0 Aug05 ?        00:00:00 [kworker/u:3]
root       777     2  0 Aug05 ?        00:00:00 [scsi_eh_6]
root       778     2  0 Aug05 ?        00:00:00 [usb-storage]
root       903     1  0 Aug05 ?        00:00:00 /usr/sbin/syslogd -m0
root       907     1  0 Aug05 ?        00:00:00 /usr/sbin/klogd -c 3 -x
bin       1009     1  0 Aug05 ?        00:00:00 /sbin/rpc.portmap
root      1013     1  0 Aug05 ?        00:00:00 /sbin/rpc.statd
root      1023     1  0 Aug05 ?        00:00:00 /usr/sbin/inetd
root      1030     1  0 Aug05 ?        00:00:02 /usr/sbin/ntpd -g -p /var/run/nt
root      1037     1  0 Aug05 ?        00:00:00 /usr/sbin/acpid
81        1047     1  0 Aug05 ?        00:00:00 /usr/bin/dbus-daemon --system
root      1052     1  0 Aug05 ?        00:00:00 /usr/sbin/crond -l notice
daemon    1054     1  0 Aug05 ?        00:00:00 /usr/sbin/atd -b 15 -l 1
root      1343     1  0 Aug05 ?        00:00:06 /usr/local/sbin/emhttp
root      1349     1  0 Aug05 ?        00:00:00 /bin/bash /boot/unmenu/uu
root      1350     1  0 Aug05 ?        00:00:00 logger -tunmenu -plocal7.info -i
root      1359  1349  0 Aug05 ?        00:00:01 awk -W re-interval -f ./unmenu.a
root      1360     2  0 Aug05 ?        00:00:00 [mdrecoveryd]
root      1362     2  0 Aug05 ?        00:00:00 [spinupd]
root      1363     2  0 Aug05 ?        00:00:00 [spinupd]
root      1364     2  0 Aug05 ?        00:00:00 [spinupd]
root      1365     2  0 Aug05 ?        00:00:00 [spinupd]
root      1469     1  0 Aug05 ?        00:00:00 /usr/sbin/nmbd -D
root      1471     1  0 Aug05 ?        00:00:00 /usr/sbin/smbd -D
root      1477  1471  0 Aug05 ?        00:00:00 /usr/sbin/smbd -D
root      1493     2  0 Aug05 ?        00:00:02 [unraidd]
root      1495   659  0 Aug05 ?        00:00:00 /sbin/udevd --daemon
root      1496   659  0 Aug05 ?        00:00:00 /sbin/udevd --daemon
root      1509     2  0 Aug05 ?        00:00:00 [reiserfs]
root      1543     1  0 Aug05 ?        00:00:00 /usr/local/sbin/shfs /mnt/user0
root      1550     1  0 Aug05 ?        00:00:20 /usr/local/sbin/shfs /mnt/user -
root      5728 28903  0 15:32 pts/1    00:00:00 sleep 9
root      5749 28878  0 15:32 pts/1    00:00:00 sleep 2
root      5751 28882  0 15:32 pts/1    00:00:00 sleep 2
root      5753 28880  0 15:32 pts/1    00:00:00 sleep 2
root      5755 28877  0 15:32 pts/1    00:00:00 sleep 2
root      5756 27943  0 15:32 pts/1    00:00:00 ps -ef
nobody    6357     1  2 Aug05 ?        00:29:19 python /mnt/cache/.sabnzbd/SABnz
root      6695     1  0 Aug05 ?        00:00:00 /usr/sbin/p9100d -f /dev/usblp0
root      8482     1  0 Aug05 ?        00:00:00 /bin/bash /var/tmp/go
root      8483     1  0 Aug05 ?        00:00:00 /bin/bash /var/tmp/go
root      8484     1  0 Aug05 tty1     00:00:00 /sbin/agetty 38400 tty1 linux
root      8485     1  0 Aug05 tty2     00:00:00 /sbin/agetty 38400 tty2 linux
root      8486     1  0 Aug05 tty3     00:00:00 /sbin/agetty 38400 tty3 linux
root      8487     1  0 Aug05 tty4     00:00:00 /sbin/agetty 38400 tty4 linux
root      8488     1  0 Aug05 tty5     00:00:00 /sbin/agetty 38400 tty5 linux
root      8489     1  0 Aug05 tty6     00:00:00 /sbin/agetty 38400 tty6 linux
root      8504  8483  0 Aug05 ?        00:00:00 inotifywait -m --format %e~%f --
root      8505  8483  0 Aug05 ?        00:00:00 /bin/bash /var/tmp/go
root      8507  8482  0 Aug05 ?        00:00:00 inotifywait -m --format %e~%f --
root      8508  8482  0 Aug05 ?        00:00:00 /bin/bash /var/tmp/go
root      8608     2  0 14:39 ?        00:00:00 [kworker/1:1]
root      9290     2  0 Aug05 ?        00:00:01 [kworker/0:2]
999      10155     1  0 Aug05 ?        00:00:37 /usr/bin/perl /usr/local/slimser
nobody   10224     1  2 Aug05 ?        00:26:50 /usr/bin/python /mnt/cache/.sick
root     19922     2  0 Aug05 ?        00:00:01 [kworker/1:2]
root     25466     2  0 02:13 ?        00:00:03 [flush-8:64]
root     27911  1023  0 15:10 ?        00:00:00 in.telnetd: 192.168.1.100
root     27943 27911  0 15:10 pts/1    00:00:00 -bash
root     28282     2  0 15:11 ?        00:00:00 [kworker/0:1]
root     28877     1  0 15:12 pts/1    00:00:00 /bin/bash /boot/cache_dirs -w -d
root     28878     1  0 15:12 pts/1    00:00:00 /bin/bash /boot/cache_dirs -w -d
root     28880     1  0 15:12 pts/1    00:00:00 /bin/bash /boot/cache_dirs -w -d
root     28882     1  0 15:12 pts/1    00:00:00 /bin/bash /boot/cache_dirs -w -d
root     28903     1  0 15:12 pts/1    00:00:01 /bin/bash /boot/cache_dirs -w -d
root     31024  1471  0 15:17 ?        00:00:00 /usr/sbin/smbd -D

root@Tower:~# free
             total       used       free     shared    buffers     cached
Mem:       3049468    2587336     462132          0      67520    2256580
-/+ buffers/cache:     263236    2786232
Swap:            0          0          0

root@Tower:~# nohup /usr/local/sbin/emhttp &
[1] 6325
root@Tower:~# nohup: ignoring input and appending output to `nohup.out'

[1]+  Segmentation fault      nohup /usr/local/sbin/emhttp

with the previous command the "[1]+  Segmentation fault      nohup /usr/local/sbin/emhttp" only occurs after I press enter as it seems to be waiting on input.

 

Anything else please let me know and thanks a million for help  :)

Link to comment

thanks for the reply dgaschk,

I am just using Sabnzbd, sickbeard, the simple printer service and cache dirs as unmenu packages.

I am using slimserver plg but i think i had the problem even before I tried that.

I did a fresh install of sickbeard last night since the last version wouldnt update correctly and i downloaded the .conf from the thread prostuff has but i had to change the md5 checksum in the .conf since it didnt match according to unmenu. Its working great now i dont know what else it could be.

I would love to find the source of this problem because apart from this I am really happy with the setup since going to pro

Link to comment

root@Tower:~# nohup /usr/local/sbin/emhttp &
[1] 6325
root@Tower:~# nohup: ignoring input and appending output to `nohup.out'

[1]+  Segmentation fault      nohup /usr/local/sbin/emhttp

with the previous command the "[1]+  Segmentation fault      nohup /usr/local/sbin/emhttp" only occurs after I press enter as it seems to be waiting on input.

 

Anything else please let me know and thanks a million for help  :)

On earlier releases it was possible to restart emhttp.

 

On the current 5.0 beta/rc releases, it is NOT possible without it failing with a segment violation.  Tom @ lime-tech says it was not designed to be re-started, so he does not consider it a bug.  (but personally, I do, as emhttp is occasionally killed by the kernel oom process, and there is a need to be able to restart it)

 

Joe L.

Link to comment

Thanks for the input JoeL.

What I did was stop the array in unmenu and then just hold the power off button on the server (after closing sab etc/killing slimserver etc).

The tower/main is back up and running now but I'm not sure what the source of my problem is.

Thinking about what dgaschk said the only changes that i made recently was upgrading sickbeard using the conf file and I also disabled checking for software updates on slimserver just now which Im sure had probably nothing to do with it (i had them disabled before and i did a fresh install when i got my new cache).

Everything is working perfectly now but im worried it may stop working in the future.

Thanks

Link to comment

Right now i have the same problem with emhttp, i simply cannot restart it. Good that i have unmenu installed, so i can do a clean reboot.

 

By the way would it be possible in any way to configure the push of the on/off button of the PC so it calls the same script like e.g. unmenu does for a clean shutdown or reboot?

Link to comment

By the way would it be possible in any way to configure the push of the on/off button of the PC so it calls the same script like e.g. unmenu does for a clean shutdown or reboot?

I'm talking out of my butt here, because I haven't personally tried it, but I seem to remember certain builds have that capability baked in without reconfiguring anything.

 

The "Clean Powerdown" addon for unmenu adds that capability if the particular stock unraid setup lacks it, as long as the power button calls the appropriate ACPI function.

Link to comment

Right now i have the same problem with emhttp, i simply cannot restart it. Good that i have unmenu installed, so i can do a clean reboot.

 

By the way would it be possible in any way to configure the push of the on/off button of the PC so it calls the same script like e.g. unmenu does for a clean shutdown or reboot?

read the sticky at the top of this forum.    The answer is yes, it can be done, but unless YOU install an add-on for the clean powerdown through unMENU (or do the equivalent) the power button may not work when you want.  (as by default, it invokes emhttp, and if emhttp is not running, the power button will do absolutely nothing. (unless held down for 10seconds or so to force a non-clean power off))

 

Start reading here:

http://lime-technology.com/forum/index.php?topic=6078.0

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.