[unRAID v5.0] Cannot access WEBUI


Recommended Posts

Hello,

 

During the day I found that the WEBUI was inaccessible.

 

I restarted the server from command line "powerdown" and took a look at the saved syslog after reboot.

This is what I found that's related to emhttp:

 

Before (nothing wrong visible):

 

Oct 21 16:00:01 Tower YAMJ_HTML: YAMJ HTML creation/update - Started...
Oct 21 16:03:55 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 1/6
Oct 21 16:11:46 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 2/6
Oct 21 16:16:26 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 3/6
Oct 21 16:19:09 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 4/6
Oct 21 16:22:12 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 5/6
Oct 21 16:22:50 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 6/6
Oct 21 16:23:00 Tower YAMJ_FLASH: YAMJ FLASH creation/update - PCH Livingroom not connected. No Jukebox created.
Oct 21 19:01:42 Tower kernel: mdcmd (75): spindown 3
Oct 21 19:21:16 Tower kernel: mdcmd (76): spindown 2
Oct 21 19:22:27 Tower kernel: mdcmd (77): spindown 4
Oct 21 20:53:16 Tower in.telnetd[1891]: connect from 192.168.2.100 (192.168.2.100)
Oct 21 20:53:18 Tower login[1892]: ROOT LOGIN  on '/dev/pts/0' from '192.168.2.100'
Oct 21 20:53:41 Tower YAMJ_FLASH: YAMJ FLASH creation/update - Started...
Oct 21 21:52:30 Tower YAMJ_FLASH: YAMJ FLASH creation/update - Finished 1/1
Oct 21 22:36:32 Tower kernel: mdcmd (78): spindown 3
Oct 21 23:30:57 Tower kernel: scsi_verify_blk_ioctl: 36 callbacks suppressed
Oct 21 23:30:57 Tower kernel: hdparm: sending ioctl 2285 to a partition!
Oct 21 23:31:00 Tower last message repeated 5 times
Oct 21 23:31:00 Tower kernel: smartctl: sending ioctl 2285 to a partition!
Oct 21 23:31:00 Tower last message repeated 3 times
Oct 21 23:52:51 Tower kernel: mdcmd (79): spindown 0
Oct 22 02:31:09 Tower kernel: mdcmd (80): spindown 3
Oct 22 02:57:24 Tower kernel: mdcmd (81): spindown 1
Oct 22 02:57:25 Tower kernel: mdcmd (82): spindown 4
Oct 22 03:32:52 Tower kernel: mdcmd (83): spindown 2
Oct 22 11:31:00 Tower kernel: scsi_verify_blk_ioctl: 36 callbacks suppressed
Oct 22 11:31:00 Tower kernel: hdparm: sending ioctl 2285 to a partition!
Oct 22 11:31:01 Tower last message repeated 5 times
Oct 22 11:31:01 Tower kernel: smartctl: sending ioctl 2285 to a partition!
Oct 22 11:31:01 Tower last message repeated 3 times
Oct 22 15:51:08 Tower in.telnetd[512]: connect from 192.168.2.106 (192.168.2.106)
Oct 22 15:51:11 Tower login[513]: ROOT LOGIN  on '/dev/pts/0' from '192.168.2.106'

 

Suspected failure

 

Oct 22 15:51:19 Tower emhttp: unRAID System Management Utility version 5.0-rc8a
Oct 22 15:51:19 Tower emhttp: Copyright (C) 2005-2012, Lime Technology, LLC
Oct 22 15:51:19 Tower emhttp: Pro key detected, GUID: 13FE-3100-07A8-1108F1480299
Oct 22 15:51:19 Tower emhttp: get_config_idx: fopen /boot/config/flash.cfg: No such file or directory - assigning defaults
Oct 22 15:51:20 Tower emhttp: rdevName.25 not found
Oct 22 15:51:20 Tower emhttp: diskFsStatus.1 not found
Oct 22 15:51:20 Tower kernel: emhttp[545]: segfault at 0 ip b7530760 sp bfafb4d0 error 4 in libc-2.11.1.so[b74b7000+15c000]

 

After (things are still running fine):

 

Oct 22 16:00:01 Tower YAMJ_HTML: YAMJ HTML creation/update - Started...
Oct 22 16:04:24 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 1/6
Oct 22 16:11:49 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 2/6
Oct 22 16:16:23 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 3/6
Oct 22 16:18:45 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 4/6
Oct 22 16:21:45 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 5/6
Oct 22 16:22:21 Tower YAMJ_HTML: YAMJ HTML creation/update - Finished 6/6
Oct 22 16:22:21 Tower YAMJ_FLASH: YAMJ FLASH creation/update - Started...
Oct 22 17:31:46 Tower YAMJ_FLASH: YAMJ FLASH creation/update - Finished 1/1

 

Everything else was functioning OK even though unRIAD WEBUI could not be accessed (utserver, plex, YAMJ cron job, etc...).

 

What caused this?

 

Link to comment

How much is alot?

I have copied large amount of data in the past and this never happened.

 

As you can see this happened at 15:51 - I was at work and nobody home.

 

It seems from the log that something in unRAID reset/restarted because the USB license and GUID were rediscovered.

 

Anyone else?

 

Link to comment

 

I had no problem cleanly shutting down my server.

 

I am asking because I would like to know why the WEBUI crashed.

 

I have a theory but is is not widely shared here. However there is a reason why the commercial servers use ECC memory and are powered by UPS.

 

Unraid is loaded in the RAM and a single bit flip (cosmic rays, momentarily power glitch) in that area can cause a "crash" in a module - consequences will be different but can be observed in one or another way.

 

Some readings - http://perspectives.mvdirona.com/2009/10/07/YouReallyDONeedECCMemory.aspx

www.amd.com/us/documents/47644a_ecc_embedded.pdf

Link to comment

It happened yet again - No Access to WEBUI.

Can access using PUTTY, shares, utserver, etc... OK

 

Again no evidence in syslog that anything happened.

 

emhttp is still running in processes list.

 

It seems to be happening every ~3 days.

 

Please help...

I have not restarted my server so any help/suggestions would be appreciated.

 

Link to comment

I have this problem as well. Constantly loosing access to the web ui with nothing in the syslog (2-3 days). I have seen emhttp segfault, but not most of the time. I had reduced it down to some blocking process causing emhttp to stop responding to external requests. Sometimes I can catch an event that has screwed things up (couch potato was a common culprit on the array_strarted event) but now that's fixed, it seems to be spin up related. One thing I have noticed is that simplefeatures Ajax features seem to lock up emhttp more often. I have taken out all the pieces that actively poll the system.

 

My latest approach is to telnet in and use the command line unraid control to spin up all the disks, the go to the web ui. I'd say this is 90% effective. When emhttp does lock up, it can't be restarted with the array running... It segfaults immediately. I have found this to work: I kill it, stop the array with the command line control, then restart emhttp in the background, go to the web GUI and start the array back up.

 

This unexplainable unstableness drives me crazy. It's the only thing that makes me think about other "raid" products. It's also frustrating that as I get deeper into resolving it, the less help you'll get here. Nothing against the wonderful unraid community, but it just seems no one else can explain it either.

 

Try the usual: take out all your plugins and it will probably be fine... Too bad plugins were one of my main selling points for unRAID.

 

whiteatom

Link to comment

How do you accomplish this from command line?

 

My latest approach is to telnet in and use the command line unraid control to spin up all the disks

 

and this?

 

I have found this to work: I kill it, stop the array with the command line control, then restart emhttp in the background

 

Link to comment
  • 4 weeks later...

Disable all add-ons. Re-enable them one at a time until you determine the culprit.

 

I would like to but some too essential for shutting them down for a whole week to see if MAYBE something happens.

 

I would say it started mainly after upgrading to RC8a (4.7 previously).

 

I will try and disable SimpleFeatures Core - as it will hopefully have the least effect on the server usage around the house.

 

Link to comment

Disable all add-ons. Re-enable them one at a time until you determine the culprit.

 

I would like to but some too essential for shutting them down for a whole week to see if MAYBE something happens.

 

I would say it started mainly after upgrading to RC8a (4.7 previously).

 

I will try and disable SimpleFeatures Core - as it will hopefully have the least effect on the server usage around the house.

 

Same problem happening with me, and only after migrate to RC8a. The only plug-in I have installed is the UPS one. I also have UnMenu running.

 

Link to comment

Same problem happening with me, and only after migrate to RC8a. The only plug-in I have installed is the UPS one. I also have UnMenu running.

 

Are you running Simplefeatures GUI?

Is there anything in your syslog that suggests OOM (out of memory) or segfaults occuring?

 

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.