Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Emhttp segfaults, webgui not accessible

Featured Replies

Hi,

 

Running 6B14. Tried to generate a windows KVM machine and the webgui stopped responding and emhttp process has died. If i try to restart it, this happens:

root@tank:/etc/rc.d# /usr/local/sbin/emhttp
Segmentation fault

And syslog shows this:

Apr  9 21:03:28 tank kernel: emhttp[27632]: segfault at 0 ip 00002b8ebad72d16 sp 00007fffe3d89408 error 4 in libc-2.17.so[2b8ebac3c000+1bf000]

 

Any idea can this be fixed without reboot?

 

If reboot is necessary, i would really like to know how to restart cleanly from the console? Dirty restart is not an option because parity check for 22TB takes forever :P

 

Hopefully someone has some ideas how to solve this!

If emhttp has crashed you can only reboot. There is no way to get it back and also no way to reboot "cleanly" from console.

 

So:

 

- Make sure you stop all writing to the array, stop every plugin or docker that you can stop without the unraid console.

 

- do a shutdown NOW from console

 

- reboot the system

 

It will boot up with a parity check, you can break it off if you want, but it is better to keep it running..

Depends on what you call clean... This basically makes sure all writing is stopped.. I think (but could be wrong) that a parity check would still start after tge reboot..

Depends on what you call clean... This basically makes sure all writing is stopped.. I think (but could be wrong) that a parity check would still start after tge reboot..

You are wrong.  If stopped as described in that link to the wiki instructions, the array will not need to perform a parity check upon restart.

 

The key command is

/root/mdcmd stop

which you'll only be able to perform successfully after un-mounting all the disks. (those are the first steps in the wiki link)

 

Joe L

Like i said: could be wrong. Thanks for clarifying,

  • Author

Thank you for the tips. Was able to cleanly reboot the server from command line using jonathanm's link.

 

Cache was a PIA to unmount, had to stop docker containers and force umount with -l. After reboot checked the cache driver manually with btrfschk just to be sure.

 

Now running normally again and parity check was not needed.

Glad all worked out -- every time I see the segfault issue due to emhttp I have to wonder why this couldn't be as easy as it was with v4.7 => with 4.7 you could fairly easily restart emhttp with no reboot needed.  You did have to stop any active processes ... but then you could just restart emhttp and all was well.    Haven't been able to do this since v5, however -- so you need to keep the instructions for a clean shutdown from the console handy  :)

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.