user access rights raising error #3003 and #4000

    • OMV 1.0
    • user access rights raising error #3003 and #4000

      Hi,

      I've set up omv on a plain install and "everything" works fine - except I cant apply changes concerning users and shares in the webUI. I'm sure these are different problems, however I'd appreciate if you would have a look at that.
      First thing concerns the "user problem": If I try to change the password of the (only) user I get the following error:

      Source Code

      1. Failed to execute command 'export LANG=C; omv-mkconf postfix 2>&1':
      2. postmap: warning: valid_hostname: numeric hostname: 192.168.1.100
      3. postmap: fatal: unable to use my own hostname
      4. Error #4000:
      5. exception 'OMVException' with message 'Failed to execute command 'export LANG=C; omv-mkconf postfix 2>&1': postmap: warning: valid_hostname: numeric hostname: 192.168.1.100
      6. postmap: fatal: unable to use my own hostname' in /usr/share/openmediavault/engined/module/postfix.inc:43
      7. Stack trace:
      8. #0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModulePostfix->applyConfig()
      9. #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      10. #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      11. #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      12. #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      13. #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      14. #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      15. #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      16. #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      17. #9 {main}
      Display All


      If had a look at both omv-mkconf and /etc/postfix/main.cf. However I cant find any relevant details in there (content below).
      Display Spoiler

      /etc/postfix/main.cf:
      mydestination =
      inet_interfaces = loopback-only
      relayhost = :25
      sender_canonical_maps = hash:/etc/postfix/sender_canonical
      recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
      smtp_generic_maps = hash:/etc/postfix/generic
      smtp_header_checks = regexp:/etc/postfix/smtp_header_checks


      Do you know what causes the problem? Where do I have to check for the host adress?


      Second issue is the changes in share folders. As soon as I click on "edit" I get the following:

      Source Code

      1. Failed to get configuration (xpath=//system/fstab/mntent[uuid='3324c1d8-4472-4178-94f8-ccab8deadb45'])
      2. Error #3003:
      3. exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[uuid='3324c1d8-4472-4178-94f8-ccab8deadb45'])' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:270
      4. Stack trace:
      5. #0 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
      6. #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      7. #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('get', Array, Array)
      8. #3 /usr/sbin/omv-engined(500): OMVRpc::exec('ShareMgmt', 'get', Array, Array, 1)
      9. #4 {main}


      Checking /etc/fstab reveals there is no drive with the referenced UUID. Could you help me with that please? Which drive should that "mntent" directory be found?
      Since I dont have anything stored in there right now - is there a way to delete this folder? I did: remove all rights for users from the folder, deleted in from all ftp etc shared folder lists but still cant click "delete".


      Thank you very much for all your support!


      Little more details about the server:
      1x SSD with omv 1.17 / Debian 3.2.0-4-amd64
      2x 3TB in Raid1, manually partitioned w/ parted and raid created w/ mdadm.

      plugins:
      clamav 1.3
      forkeddaapd 1.2
      Seafile installed