So, what you are saying is, be patient, it will be corrected soon, is that correct?
Beiträge von odinb
-
-
Well, does not look good!
Code
Alles anzeigenroot@openmediavault:/etc# systemctl status nut-monitor ● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled) Active: inactive (dead) since Tue 2017-03-28 17:08:40 CDT; 6min ago Process: 1289 ExecStart=/sbin/upsmon (code=exited, status=0/SUCCESS) Main PID: 1294 (code=exited, status=0/SUCCESS) Mar 28 17:05:27 openmediavault upsmon[1289]: UPS: BackUPS@localhost (master) (power value 1) Mar 28 17:05:27 openmediavault upsmon[1289]: Using power down flag file /etc/killpower Mar 28 17:05:27 openmediavault upsmon[1293]: Startup successful Mar 28 17:05:27 openmediavault systemd[1]: PID file /var/run/nut/upsmon.pid not readable (yet?) after start. Mar 28 17:05:27 openmediavault systemd[1]: nut-monitor.service: Supervising process 1294 which is not our child. We'll most likely not notice when it exits. Mar 28 17:05:27 openmediavault upsmon[1294]: Init SSL without certificate database Mar 28 17:05:27 openmediavault systemd[1]: Started Network UPS Tools - power device monitor and shutdown controller. Mar 28 17:08:40 openmediavault systemd[1]: Stopping Network UPS Tools - power device monitor and shutdown controller... Mar 28 17:08:40 openmediavault upsmon[1294]: Signal 15: exiting Mar 28 17:08:40 openmediavault systemd[1]: Stopped Network UPS Tools - power device monitor and shutdown controller. root@openmediavault:/etc#
-
Seems to be running ok, but services dashboard is still showing red!
Also, collectd seems to be dead!Code
Alles anzeigenroot@openmediavault:/# systemctl status nut-server ● nut-server.service - Network UPS Tools - power devices information server Loaded: loaded (/lib/systemd/system/nut-server.service; enabled) Active: active (running) since Sun 2017-03-26 18:15:54 CDT; 1 day 3h ago Process: 1197 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS) Main PID: 1295 (upsd) CGroup: /system.slice/nut-server.service └─1295 /lib/nut/upsd Mar 26 18:15:54 openmediavault upsd[1197]: fopen /var/run/nut/upsd.pid: No such file or directory Mar 26 18:15:54 openmediavault upsd[1197]: listening on 127.0.0.1 port 3493 Mar 26 18:15:54 openmediavault upsd[1197]: Connected to UPS [BackUPS]: usbhid-ups-BackUPS Mar 26 18:15:54 openmediavault upsd[1197]: listening on 127.0.0.1 port 3493 Mar 26 18:15:54 openmediavault upsd[1197]: Connected to UPS [BackUPS]: usbhid-ups-BackUPS Mar 26 18:15:54 openmediavault upsd[1295]: Startup successful Mar 26 18:15:54 openmediavault systemd[1]: Started Network UPS Tools - power devices information server. Mar 26 18:15:54 openmediavault upsd[1295]: User monmaster@127.0.0.1 logged into UPS [BackUPS] Mar 26 22:01:10 openmediavault upsd[1295]: User monmaster@127.0.0.1 logged out from UPS [BackUPS] Mar 26 22:01:24 openmediavault upsd[1295]: User monmaster@127.0.0.1 logged into UPS [BackUPS] root@openmediavault:/#
-
Hmmm, it says it is running now, but services dashboard is still showing red!
Code
Alles anzeigenroot@openmediavault:/# service upsmon start root@openmediavault:/# service upsmon status ● ups-monitor.service - LSB: Network UPS Tools monitor initscript Loaded: loaded (/etc/init.d/ups-monitor) Active: active (exited) since Sun 2017-03-26 21:59:57 CDT; 20s ago Process: 26609 ExecStart=/etc/init.d/ups-monitor start (code=exited, status=0/SUCCESS) Mar 26 21:59:57 openmediavault ups-monitor[26609]: Starting NUT - power device monitor and shutdown controller: nut-client failed! Mar 26 21:59:57 openmediavault systemd[1]: Started LSB: Network UPS Tools monitor initscript. Mar 26 22:00:14 openmediavault systemd[1]: Started LSB: Network UPS Tools monitor initscript. root@openmediavault:/#
I also see this in the daemon log, seems "collectd" is not running:
Code
Alles anzeigenMar 26 22:01:24 openmediavault systemd[1]: Started LSB: Network UPS Tools monitor initscript. Mar 26 22:01:24 openmediavault ups-monitor[27529]: Starting NUT - power device monitor and shutdown controller: nut-client. Mar 26 22:01:24 openmediavault upsmon[27533]: Init SSL without certificate database Mar 26 22:01:24 openmediavault upsd[1295]: User monmaster@127.0.0.1 logged into UPS [BackUPS] Mar 26 22:01:36 openmediavault monit[1289]: 'collectd' process is not running Mar 26 22:01:36 openmediavault monit[1289]: 'collectd' trying to restart Mar 26 22:01:36 openmediavault monit[1289]: 'collectd' start: '/bin/systemctl start collectd' Mar 26 22:01:36 openmediavault systemd[1]: Started Statistics collection and monitoring daemon. Mar 26 22:02:06 openmediavault monit[1289]: 'collectd' failed to start (exit status 0) -- no output Mar 26 22:02:36 openmediavault monit[1289]: 'collectd' process is not running Mar 26 22:02:36 openmediavault monit[1289]: 'collectd' trying to restart Mar 26 22:02:36 openmediavault monit[1289]: 'collectd' start: '/bin/systemctl start collectd' Mar 26 22:02:36 openmediavault systemd[1]: Started Statistics collection and monitoring daemon. Mar 26 22:03:07 openmediavault monit[1289]: 'collectd' failed to start (exit status 0) -- no output Mar 26 22:03:37 openmediavault monit[1289]: 'collectd' process is not running Mar 26 22:03:37 openmediavault monit[1289]: 'collectd' trying to restart Mar 26 22:03:37 openmediavault monit[1289]: 'collectd' start: '/bin/systemctl start collectd'
-
Hi!
After a recent update, it now seems my UPS daemon is no longer running! Hints on where to start looking?
root@openmediavault:/# dpkg -l | grep openmediavault
ii openmediavault 3.0.67 all Open network attached storage solution
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-netatalk 3.2.8 all OpenMediaVault netatalk (AppleTalk Protocol Suite) plugin
ii openmediavault-nut 3.2.9 all OpenMediaVault Network UPS Tools (NUT) plugin
ii openmediavault-omvextrasorg 3.4.24 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-virtualbox 3.0.7 all VirtualBox plugin for OpenMediaVault.
root@openmediavault:/# -
Still getting this error, and have not figured it out yet. Google seems to be of no help also!
Get this message every time i log in to the GUI:
Code
Alles anzeigenError #0: exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; monit summary 2>&1' with exit code '1': Monit: the monit HTTP interface is not enabled, please add the 'set httpd' statement and use the 'allow' option to allow monit to connect' in /usr/share/php/openmediavault/system/process.inc:175 Stack trace: #0 /usr/share/php/openmediavault/system/monit.inc(142): OMV\System\Process->execute(Array) #1 /usr/share/php/openmediavault/system/monit.inc(171): OMV\System\Monit->status() #2 /usr/share/openmediavault/engined/module/nut.inc(105): OMV\System\Monit->isRunning() #3 /usr/share/openmediavault/engined/rpc/services.inc(56): OMVModuleNetworkUPSTools->getStatus() #4 [internal function]: OMVRpcServiceServices->getStatus(Array, Array) #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #6 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array) #7 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1) #8 {main}
-
saw this today when I took updates:
Restarting engine daemon ...
Monit: the monit HTTP interface is not enabled, please add the 'set httpd' statement and use the 'allow' option to allow monit to connectLooks like something is mis-configured somewhere!
Any ideas?
-
So, just ignore it?
It appears every time i log on to the webGUI.
-
Hi!
Updated (minor upgrade) to Erasmus 3.0.62 and the Linux kernel 4.9.0-0.bpo.1-amd63.
After reboot, I get the following error:
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; monit summary 2>&1' with exit code '1': Monit: the monit HTTP interface is not enabled, please add the 'set httpd' statement and use the 'allow' option to allow monit to connect' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/monit.inc(142): OMV\System\Process->execute(Array)
#1 /usr/share/php/openmediavault/system/monit.inc(161): OMV\System\Monit->status()
#2 /usr/share/openmediavault/engined/module/nut.inc(105): OMV\System\Monit->isRunning()
#3 /usr/share/openmediavault/engined/rpc/services.inc(56): OMVModuleNetworkUPSTools->getStatus()
#4 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array)
#7 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1)
#8 {main}Any idea on what to do?
Seems I need to edit "/usr/share/php/openmediavault/system/process.inc" on row 175, but with what?This is what the file looks like now:
root@openmediavault:/usr/share/php/openmediavault/system# cat process.inc
<?php
/**
* This file is part of OpenMediaVault.
*
* @license http://www.gnu.org/licenses/gpl.html GPL Version 3
* @author Volker Theile <volker.theile@openmediavault.org>
* @copyright Copyright (c) 2009-2017 Volker Theile
*
* OpenMediaVault is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* OpenMediaVault is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
*/
namespace OMV\System;/**
* @ingroup api
*/
class Process {
use \OMV\Debugable;private $cmdArgs = [];
private $redirect1toFile = FALSE;
private $redirect2toFile = FALSE;
private $inputFromFile = FALSE;
private $quiet = FALSE;
private $background = FALSE;
private $env = array(
"PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
"LANG=C"
);/**
* Constructor
* Example:
* $cmd = new \OMV\System\Process("ls -alh");
* $cmd = new \OMV\System\Process("ls", "-al", "-h");
* $cmd = new \OMV\System\Process(array("ls", "-alh"));
* $cmd = new \OMV\System\Process("ls", array("-a", "-l", "-h"));
*/
public function __construct() {
$args = func_get_args();
if (1 == func_num_args() && is_string($args[0])) {
$this->cmdArgs[] = $args[0];
} else if (1 == func_num_args() && is_array($args[0])) {
$this->cmdArgs = $args[0];
} else if (2 == func_num_args() && is_string($args[0])) {
$this->cmdArgs[] = $args[0];
if (is_array($args[1]))
$this->cmdArgs = array_merge($this->cmdArgs, $args[1]);
else
$this->cmdArgs[] = $args[1];
} else {
$this->cmdArgs = $args;
}
}/**
* Redirect STDOUT to the given file. Set to FALSE to do not redirect
* STDOUT to a file.
* @param file The file path, e.g. '/tmp/xyz'.
* @return None.
*/
public function setRedirect1toFile($file) {
$this->redirect1toFile = $file;
}/**
* Redirect STDERR to STDOUT.
* @return None.
*/
public function setRedirect2to1() {
$this->setRedirect2toFile("&1");
}/**
* Redirect STDERR to the given file. Set to FALSE to do not redirect
* STDERR to a file.
* @param file The file path, e.g. '/dev/null' or '&1'.
* @return None.
*/
public function setRedirect2toFile($file) {
$this->redirect2toFile = $file;
}/**
* Accept input from a file. Set to FALSE to do not accept input from
* a file.
* @param file The file path.
* @return None.
*/
public function setInputFromFile($file) {
$this->inputFromFile = $file;
}/**
* Do not throw an error exception if the command execution fails.
* @param quiet Set to TRUE to do not throw an exception.
* Defaults to TRUE.
* @return None.
*/
public function setQuiet($quiet = TRUE) {
$this->quiet = $quiet;
}/**
* Execute the command in background. The method \em execute immediatelly
* returns in this case.
* @param background Set to TRUE to do execute the command in background.
* Defaults to TRUE.
* @return None.
*/
public function setBackground($background = TRUE) {
$this->background = $background;
}/**
* Set an environment variable.
* @param name The name of the environment variable.
* @param value The value of the environment variable.
* @return None.
*/
public function setEnv($name, $value) {
if (1 == func_num_args())
$this->env[] = $name; // Keep backward compatibility.
else
$this->env[] = sprintf("%s=%s", $name, $value);
}/**
* Get the command line to be executed.
* @return The command line.
*/
public function getCommandLine() {
$cmdArgs = [];
foreach ($this->env as $env)
$cmdArgs[] = sprintf("export %s;", $env);
$cmdArgs = array_merge($cmdArgs, $this->cmdArgs);
if (FALSE === empty($this->redirect1toFile))
$cmdArgs[] = sprintf("1>%s", $this->redirect1toFile);
if (FALSE === empty($this->redirect2toFile))
$cmdArgs[] = sprintf("2>%s", $this->redirect2toFile);
if (FALSE === empty($this->inputFromFile))
$cmdArgs[] = sprintf("<%s", $this->inputFromFile);
if (TRUE === $this->background)
$cmdArgs[] = "&";
return implode(" ", $cmdArgs);
}/**
* Execute the command.
* @param output If the output argument is present, then the specified
* array will be filled with every line of output from the command.
* @param exitStatus If the argument is present along with the output
* argument, then the return status of the executed command will be
* written to this variable.
* @return The last line from the result of the command.
* @throw \OMV\ExecException
*/
public function execute(array &$output = NULL, &$exitStatus = NULL) {
// Build the command line.
$cmdLine = $this->getCommandLine();
// Execute the command.
$this->debug("Executing command '%s'", $cmdLine);
$result = exec($cmdLine, $output, $exitStatus);
if ((FALSE === $this->quiet) && (0 !== $exitStatus))
throw new \OMV\ExecException($cmdLine, $output, $exitStatus);
return $result;
}
}
root@openmediavault:/usr/share/php/openmediavault/system# -
To fix this, I uninstalled everything virtual box related, starting with persistent stuff (remember, purge will remove config also, so please backup any existing virtual machines prior to starting
Code# cd /var/lib/dpkg/info/ # sudo rm virtualbox* # sudo apt-get update # sudo apt-get autoremove # sudo apt-get remove --purge virtualbox virtualbox-4.* virtualbox-5.*
Then I went on to cleanup DKMS stuff (substitute correct version for you):
if you still have leftovers not shown with “dkms status”, you can remove them manually from /var/lib/dkms/ and /usr/src/<modulename>-<moduleversion>/dkms.conf).
To end the virtual box cleanup procedure (dangerous, only perform if you know that you do not need these files):
Then delete all files you find (dangerous, only perform if you know that you do not need these files) except for /dev/vboxdrv, or you will get:
WARNING: The character device /dev/vboxdrv does not exist.Please install the virtualbox-dkms package and the appropriateheaders, most likely linux-headers-amd64.Here I uninstalled all old kernels:
Code
Alles anzeigenOpen terminal and check your current kernel: # uname -r DO NOT REMOVE THIS KERNEL! Next, type the command below to view/list all installed kernels on your system. # dpkg --list | grep linux-image Find all the kernels that lower than your current kernel. When you know which kernel to remove, continue below to remove it. Run the commands below to remove the kernel you selected. # sudo apt-get purge linux-image-x.x.x.x Finally, run the commands below to update grub2 # sudo update-grub2 Reboot your system.
Then, after reboot, install the plugin again:
This worked for me, but please remember, back everything up that you delete manually above, as you might end up with a broken system if you happen to delete the wrong things!Good luck!
-
What does:
# dpkg --list | grep linux-image
# uname -aand
# dkms status
give in terms of a match?
In other words, did dkms recompile for the latest installed kernel!
-
Thanks!
That seems to have fixed it!
The contents of "/etc/netatalk/afp.conf" now totally changed, and lists the valid user and a lot of other details!
Timemachine is now running a backup!
-
Applevolumes.default seems to be ok though, or:
root@openmediavault:/etc/netatalk# cat AppleVolumes.default
"/media/f7e3bc30-c184-4f4d-aa81-b87ffeb6d844/TimeShare/" "TimeShare" volsizelimit:1048576 options:upriv,usedots,tm deny:"nobody"
root@openmediavault:/etc/netatalk# -
Hmm, looks like the file is back to default!
But as you can see from the screenshot below, the GUI seems to think it is configured.
What now? Hit "reset", but nothing seemed to change in the window...
root@openmediavault:/# cat /etc/netatalk/afp.conf
;
; Netatalk 3.x configuration file
;
; Edited to serve as example for Debian/Ubuntu by
; Martin Loschwitz <madkiss@debian.org>
;[Global]
; Global server settings
vol preset = default_for_all
log file = /var/log/netatalk.log
uam list = uams_dhx2.so,uams_clrtxt.so
save password = no[default_for_all]
file perm = 0664
directory perm = 0774
cnid scheme = dbd
; Uncomment the following line to restrict access to specific users
; valid users = someuser[Homes]
basedir regex = /home; The following is an example for a TimeMachine compatible volume,
; limited to a size of round about 1.5 Terabyte.
; [TimeMachine]
; path = /mnt/backup/someuser
; time machine = yes
; vol size limit = 1500000
root@openmediavault:/# -
Same error, I also tried afp://IP_SERVER/TimeShare which is the folder i store in.
-
It was major update, i.e. 2 to 3!
Yep, have checked the service at the same time as the settings! It is running!
Have tried PRAM reset on my Macs, but no change. It connects to the SMB side just fine!
The message basically tells me it cannot find the share, but it is in the same location as before, with no changes to privileges or anything!
It does show up in finder as both openmediavault-SMB and openmediavault-AFP, so it is seeing the server.
-
Hi!
After my upgrade to OMV 3.0.59 Erasmus, I now cannot connect to my OMV NAS from my MacBooks (running Sierra)!
This worked before the upgrade, and I have not changed any config or folders open OMV for AFP!
Any ideas on what to check, or what could fix this?
-
Finally fixed it after much trial and error!
What i did was:
# apt-get remove --purge virtualbox openmediavault-virtualbox virtualbox-extpack-installer phpvirtualbox virtualbox-dkms
# rm -f /etc/default/openmediavault-virtualbox /etc/default/virtualbox
# userdel vboxNow I cleaned out all old kernels, and kept the running one only!
Use terminal and check your current kernel:
# uname -r
DO NOT REMOVE THIS KERNEL!Next, type the command below to view/list all installed kernels on your system.
# dpkg --list | grep linux-imageFind all the kernels that lower than your current kernel (leaving current kernel). When you know which kernel to remove, continue below to remove it. Run the commands below to remove the kernel you selected.
# sudo apt-get purge linux-image-x.x.x.xFinally, run the commands below to update grub2
# sudo update-grub2Then:
# dkms status
# dkms remove(until status shows nothing, if leftovers not shown with “dkms status”, you can remove manually from /var/lib/dkms/ and /usr/src/<modulename>-<moduleversion>/dkms.conf)Then:
# apt-get remove --purge dkmsThen after this I ran:
# find / -iname "vbox*"and deleted everything I found. (Yes, risky, I know! But what other options did i have? Re-install would have taken lots longer.)
Rebooted.
Then I re-installed with:
# apt-get install openmediavault-virtualboxand defined path in the GUI for vbox and started the service.
Rebooted again just to be sure!
Looks like it worked!
-
So I go back to the terminal, and run "journalctl -xn", and try to restart the services, but are still hit with the "status=203" error.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# journalctl -xn
-- Logs begin at Sat 2017-01-14 21:26:51 CST, end at Sun 2017-01-15 22:36:18 CST. --
Jan 15 22:33:34 x2100 systemd[1]: Dependency failed for VirtualBox Web Service.
-- Subject: Unit virtualbox-web.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit virtualbox-web.service has failed.
--
-- The result is dependency.
Jan 15 22:33:34 x2100 systemd[1]: Unit vboxdrv.service entered failed state.
Jan 15 22:35:38 x2100 sshd[12093]: Accepted password for odinb from x.y.x.y port 59254 ssh2
Jan 15 22:35:38 x2100 sshd[12093]: pam_unix(sshd:session): session opened for user odinb by (uid=0)
Jan 15 22:36:18 x2100 sudo[12135]: odinb : TTY=pts/0 ; PWD=/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library/odinb ; USER
Jan 15 22:36:18 x2100 sudo[12135]: pam_unix(sudo:session): session opened for user root by odinb(uid=0)
Jan 15 22:36:18 x2100 su[12137]: Successful su for root by root
Jan 15 22:36:18 x2100 su[12137]: + /dev/pts/0 root:root
Jan 15 22:36:18 x2100 su[12137]: pam_unix(su:session): session opened for user root by odinb(uid=0)
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# systemctl status vboxdrv.service
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; disabled)
Active: failed (Result: exit-code) since Sun 2017-01-15 22:33:34 CST; 7min ago
Process: 12077 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=203/EXEC)Jan 15 22:33:34 x2100 systemd[1]: vboxdrv.service: control process exited, code=exited status=203
Jan 15 22:33:34 x2100 systemd[1]: Failed to start VirtualBox Linux kernel module.
Jan 15 22:33:34 x2100 systemd[1]: Unit vboxdrv.service entered failed state.Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# systemctl daemon-reloadroot@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# systemctl restart vboxdrv.service
Warning: Unit file of vboxdrv.service changed on disk, 'systemctl daemon-reload' recommended.
Job for vboxdrv.service failed. See 'systemctl status vboxdrv.service' and 'journalctl -xn' for details.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# systemctl status vboxdrv.service
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; disabled)
Active: failed (Result: exit-code) since Sun 2017-01-15 22:41:25 CST; 13s ago
Process: 12309 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=203/EXEC)Jan 15 22:41:25 x2100 systemd[1]: vboxdrv.service: control process exited, code=exited status=203
Jan 15 22:41:25 x2100 systemd[1]: Failed to start VirtualBox Linux kernel module.
Jan 15 22:41:25 x2100 systemd[1]: Unit vboxdrv.service entered failed state.Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library#What now, any ideas?
-
Ok, ran the install command from terminal, looks ok.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# apt-get install openmediavault-virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcrypt-openssl-random-perl libcrypt-passwdmd5-perl makepasswd phpvirtualbox virtualbox-ext-pack-installer
The following NEW packages will be installed:
libcrypt-openssl-random-perl libcrypt-passwdmd5-perl makepasswd openmediavault-virtualbox phpvirtualbox virtualbox-ext-pack-installer
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,818 kB of archives.
After this operation, 15.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.us.debian.org/debian/ jessie/main libcrypt-openssl-random-perl amd64 0.04-2+b1 [11.0 kB]
Get:2 http://ftp.us.debian.org/debian/ jessie/main libcrypt-passwdmd5-perl all 1.3-10 [10.5 kB]
Get:3 http://ftp.us.debian.org/debian/ jessie/main makepasswd all 1.10-9 [12.7 kB]
Get:4 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main phpvirtualbox all 5.0-5-2 [2,748 kB]
Get:5 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main virtualbox-ext-pack-installer all 5.1.8 [2,084 B]
Get:6 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main openmediavault-virtualbox all 3.0.6 [33.4 kB]
Fetched 2,818 kB in 0s (4,548 kB/s)
Selecting previously unselected package libcrypt-openssl-random-perl.
dpkg: warning: files list file for package 'virtualbox-dkms' missing; assuming package has no files currently installed
(Reading database ... 68044 files and directories currently installed.)
Preparing to unpack .../libcrypt-openssl-random-perl_0.04-2+b1_amd64.deb ...
Unpacking libcrypt-openssl-random-perl (0.04-2+b1) ...
Selecting previously unselected package libcrypt-passwdmd5-perl.
Preparing to unpack .../libcrypt-passwdmd5-perl_1.3-10_all.deb ...
Unpacking libcrypt-passwdmd5-perl (1.3-10) ...
Selecting previously unselected package makepasswd.
Preparing to unpack .../makepasswd_1.10-9_all.deb ...
Unpacking makepasswd (1.10-9) ...
Selecting previously unselected package phpvirtualbox.
Preparing to unpack .../phpvirtualbox_5.0-5-2_all.deb ...
Unpacking phpvirtualbox (5.0-5-2) ...
Selecting previously unselected package virtualbox-ext-pack-installer.
Preparing to unpack .../virtualbox-ext-pack-installer_5.1.8_all.deb ...
Unpacking virtualbox-ext-pack-installer (5.1.8) ...
Selecting previously unselected package openmediavault-virtualbox.
Preparing to unpack .../openmediavault-virtualbox_3.0.6_all.deb ...
Unpacking openmediavault-virtualbox (3.0.6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for openmediavault (3.0.59) ...
Restarting engine daemon ...
Setting up libcrypt-openssl-random-perl (0.04-2+b1) ...
Setting up libcrypt-passwdmd5-perl (1.3-10) ...
Setting up makepasswd (1.10-9) ...
Setting up phpvirtualbox (5.0-5-2) ...
Setting up virtualbox-ext-pack-installer (5.1.8) ...
--2017-01-15 22:28:31-- http://download.virtualbox.org…n_Pack-5.1.8.vbox-extpack
Resolving download.virtualbox.org (download.virtualbox.org)... 184.24.98.232, 184.24.98.184
Connecting to download.virtualbox.org (download.virtualbox.org)|184.24.98.232|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19475839 (19M) [text/plain]
Saving to: ‘/tmp/Oracle_VM_VirtualBox_Extension_Pack-5.1.8.8vg43XWdni.vbox-extpack’/tmp/Oracle_VM_VirtualBox_Extension_P 100%[==========================================================================>] 18.57M 1.14MB/s in 8.9s
2017-01-15 22:28:40 (2.09 MB/s) - ‘/tmp/Oracle_VM_VirtualBox_Extension_Pack-5.1.8.8vg43XWdni.vbox-extpack’ saved [19475839/19475839]
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
Setting up openmediavault-virtualbox (3.0.6) ...
WARNING: The function 'omv_config_add_element' is deprecated.
WARNING: The function 'omv_config_add_element' is deprecated.
WARNING: The function 'omv_config_add_element' is deprecated.
WARNING: The function 'omv_config_add_element' is deprecated.
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
Processing triggers for openmediavault (3.0.59) ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library#Then I go to GUI and go to "Services" > "Virtualbox" > "Settings", under "General settings" I choose an existing directory (/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library/virtualbox), and hit "Enable", and then "Save". It then tells me I need to "Apply" for it to take effect, and when I do, it hits me with "Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start virtualbox-web 2>&1' with exit code '1': A dependency job for virtualbox-web.service failed. See 'journalctl -xn' for details." and:
XML
Alles anzeigenError #0: exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start virtualbox-web 2>&1' with exit code '1': A dependency job for virtualbox-web.service failed. See 'journalctl -xn' for details.' in /usr/share/php/openmediavault/system/process.inc:175 Stack trace: #0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 1) #1 /usr/share/php/openmediavault/system/systemctl.inc(101): OMV\System\SystemCtl->exec('start', NULL, false) #2 /usr/share/openmediavault/engined/module/virtualbox.inc(107): OMV\System\SystemCtl->enable(true) #3 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Engined\Module\VirtualBox->startService() #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array) #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusj5...', '/tmp/bgoutputkx...') #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array) #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #12 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array) #13 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1) #14 {main}