AFP Returns Error when trying to activate

  • Hi,


    I've changed my nas from Freenas to Openvault, have to say it's much more better than my old system and thanks for developers and testers for this wonderfull solution.


    My problem is about AFP, when i try to activate Apple Filing system returns below Error message ;


    Code
    Error #4000:exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'netatalk' start 2>&1': Starting Netatalk services (this will take a while): cnid_metadcnid_metad is already running (pid = 7818), or the lock file is stale.invoke-rc.d: initscript netatalk, action "start" failed.' in /usr/share/php/openmediavault/initscript.inc:176Stack trace:#0 /usr/share/php/openmediavault/initscript.inc(141): OMVSysVInitScript->invoke('start')#1 /usr/share/php/openmediavault/initscript.inc(61): OMVSysVInitScript->start()#2 /usr/share/openmediavault/engined/module/afp.inc(94): OMVSysVInitScript->exec()#3 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleAFP->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)#11 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)#12 {main}


    On the dashboard at Services tab Apple Filling's status sometimes Green sometimes Red and MAC Users acn not access to AFP shares. I'm using the latest version and Update settings as Automatically Download and Install. I'm very rookie about Unix based systems, what is causing this problem and how i can fix it ? System information as attached.


    Thanks in advance and sorry for bad english.

  • now i've tried via SSH to start service as you adviced, now service is running, but when i create a AFP share,after applying changes service is stopping. Actually SMB or CFIS is enough for me but i want to do is hide Shares which belong to Apple users, i mean Windows users should not reach or see shares related to Mac users on network that's why i'm trying to use AFP.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!