Invalid RPC response

  • Hi @ all


    I get subsequent errors when using SMB / CIFS.Invalid RPC response. Please check the syslog for more information. :

    Code
    Fehler #0:
    OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('SMB', 'getShareList', Array, Array, 3)
    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #2 {main}




    SYSLOG:



    Code
    omv-engined[7615]: PHP Fatal error: Uncaught TypeError: Argument 1 passed to OMV\Config\ConfigObject::setAssoc() must be of the type array, string given, called in /usr/share/php/openmediavault/config/database.inc on line 85 and defined in /usr/share/php/openmediavault/config/configobject.inc:230#012Stack trace:#012#0 /usr/share/php/openmediavault/config/database.inc(85): OMV\Config\ConfigObject->setAssoc('\n        ', false)#012#1 /usr/share/openmediavault/engined/rpc/smb.inc(118): OMV\Config\Database->get('conf.service.sm...')#012#2 [internal function]: OMVRpcServiceSmb->getShareList(Array, Array)#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getShareList', Array, Array)#012#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('SMB', 'getShareList', Array, Array, 1)#012#6 {main}#012  thrown in /usr/share/php/openmediavault/config/configobject.inc on line 230



    System:



    Code
    Version: 4.0.15-1 (Arrakis)
    Kernel: Linux 4.13.0-0.bpo.1-amd64


    can someone help?

  • Hi,




    the smb service works.



    I have created 2 shares some time ago.


    These are available under the windows explorer.The Openmediavault webinterface does not show any shares anymore.I get the rpc error when i select the menu item SMB/CIFS.The point shares are empty.

    • Offizieller Beitrag

    One problem is an invalid entry in the <smb>...</smb> section.


    XML
    <smb>
        ...
        <shares>
            <share>
            </share>
            <share>
              <uuid>cf39b9ee-f532-437d-a0e1-25231a3c5807</uuid>
              <enable>1</enable>
              <sharedfolderref>252866ab-914f-4fbe-a0e0-35176ebf0ddd</sharedfolderref>

    Remove the empty <share></share> entry.

  • yes that was the problem.


    that was myself.


    I tried to manually create a share.
    The tool remotemount probably writes a bad config in config.xml.
    When i create a nfs-share wiht remotemount i receive the following error message


    Could not fetch a matching mount point from the provided fsname: '/srv/61d02631-b06a-48fa-ad00-cb2c65989356'./tt]

    at point file systems.

    The share works and is over

    [tt]/srv/61d02631-b06a-48fa-ad00-cb2c65989356/


    integrated. (I have access)


    /etc/fstab


    192.168.1.20:/nas1 /srv/61d02631-b06a-48fa-ad00-cb2c65989356 nfs4 rsize=8192,wsize=8192,timeo=14,intr,nofail 0 0


    /etc/openmediavault/config.xml


    <mntent> <uuid>c96ed62b-3109-4993-9577-a7c111ac70d9</uuid> <fsname>61d02631-b06a-48fa-ad00-cb2c65989356</fsname> <dir>/srv/61d02631-b06a-48fa-ad00-cb2c65989356</dir> <type>nfs</type> <opts></opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> </mntent>


    When I modify the point <opts></opts> with rsize=8192,wsize=8192,timeo=14,intr,nofail


    I have access to point file systems.


    The creation of share folder is not possible because the network drive is not displayed or selectable.


    These errors occurred during the installation of remotemount.


    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7faf1c2ad730>Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in removeTypeError: 'NoneType' object is not callableException ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7faf1c2ad730>Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in removeTypeError: 'NoneType' object is not callable



    SMB/CIF share´s are working.


    But here I have only read access not write access.

Jetzt mitmachen!

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