Hello,
I have just come across OMV and I have installed as a virtual machine (using virtualbox) to determine whether I can move my server over. I am having trouble getting greyhole working. I have installed it, added the database and enabled the service. I can see the greyhole database using mysql plugin. However, when I try and add a drive to the pool I get an error. I have included it below. Can anyone help?
Code
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'omv-mkconf greyhole 2>&1': # Stop Greyhole
# Start/Enable Greyhole
update-rc.d: using dependency based boot sequencing
Starting Greyhole ... Nov 11 21:40:07 WARN test-config: PHP Warning [2]: Invalid argument supplied for foreach() in /usr/bin/greyhole on line 510; BT: greyhole[L3286] run() => greyhole[L2886] process_config() => greyhole[L6058] parse() => greyhole[L147] init() => greyhole[L360] getShares()
Nov 11 21:40:07 WARN test-config: PHP Warning [2]: Invalid argument supplied for foreach() in /usr/bin/greyhole on line 510; BT: greyhole[L3286] run() => greyhole[L2886] process_config() => greyhole[L6058] parse() => greyhole[L147] init() => greyhole[L401] getShares()
Nov 11 21:40:07 WARN test-config: The storage pool drive '/media/41148273-184b-4e09-868e-bc99a1fe646f/.greyhole' is not part of any drive_selection_algorithm definition, and will thus never be used to receive any files.
Nov 11 21:40:07 CRITICAL test-config: Can't connect to database: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)
FAILED' in /usr/share/openmediavault/engined/module/greyhole.inc:39
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleGreyhole->applyConfig()
#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#9 {main}
Alles anzeigen