emhttp not starting


Recommended Posts

#!/bin/bash

# Stop existing emhttp
kill `ps aux | grep "/usr/local/sbin/emhtt[p]" | awk '{print $2}'`

# Restart emhttp
echo "Restarting web interface"
/usr/local/sbin/emhttp  & disown

sleep 1;

# Output process list to visually check if running
ps aux | head -n 1
ps aux | grep "/usr/local/sbin/emhtt[p]";

I tried restarting emhttp with the above script (it was still running, but not responding).

 

I then received the following syslog error.

 

Jun 27 18:17:47 pius-server emhttp: unRAID System Management Utility version 6.3.5
Jun 27 18:17:47 pius-server emhttp: Copyright (C) 2005-2017, Lime Technology, Inc.
Jun 27 18:17:47 pius-server emhttp: shcmd (2): mkdir -p /boot/config/plugins/dynamix/users
Jun 27 18:17:47 pius-server emhttp: shcmd (3): mkdir -p /boot/config/shares
Jun 27 18:17:47 pius-server emhttp: shcmd (4): mkdir -p /tmp/emhttp
Jun 27 18:17:47 pius-server emhttp: shcmd (5): mkdir -p /var/local/emhttp/smart
Jun 27 18:17:47 pius-server emhttp: err: device_by_name: device_by_name: (sdh) not found

 

Edited by benyanke
Link to comment

Bringing down the whole system (including containsers and VMs) when only a secondary management interface is really unfortunate... I hope this can be remedied at some point. The whole reason I went for a linux based system is to avoid things like this.

 

Is there any timeline or plans to set up the service properly so it can be restarted like a normal linux service?

Edited by benyanke
Link to comment
3 hours ago, benyanke said:

Bringing down the whole system (including containsers and VMs) when only a secondary management interface is really unfortunate... I hope this can be remedied at some point. The whole reason I went for a linux based system is to avoid things like this.

 

Is there any timeline or plans to set up the service properly so it can be restarted like a normal linux service?

unRAID is a not a fully open Linux implementation.  It is an appliance style implementation with an embedded OS.  You get many of the benefits of being on an open Linux platform, but not all.  That said, I think your request makes a lot of sense and hope you follow Squid's suggestion to post it as a feature request.

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.