Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109525

SMB service failed to start.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Master - TrueNAS SCALE
    • Fix Version/s: N/A
    • Component/s: SMB
    • Impact:
      High

      Description

      TrueNAS-SCALE-21.02-MASTER-20210218-032938

      Service SMB failed to start.

      Windows Shares unavailable.

      When I try to start the service manualy, I received the message: "SMB service failed to start.".

      When I try to modify any configuration of any windows share, and click save, I saw the error:
      "

      CallError

      [EFAULT] net conf addshare [trabalho] failed with error: Can't load /etc/smb4.conf - run testparm to debug it

      remove_circle_outlineMore info...

      Error: Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 138, in call_method
          result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1196, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/service.py", line 692, in update
          rv = await super().update(app, id, data)
        File "/usr/lib/python3/dist-packages/middlewared/service.py", line 509, in update
          rv = await self.middleware._call(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1196, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 999, in nf
          return await f(*args, **kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/smb.py", line 987, in do_update
          await self.middleware.call('sharing.smb.reg_addshare', new)
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1239, in call
          return await self._call(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1196, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry.py", line 76, in reg_addshare
          await self.netconf(
        File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry.py", line 61, in netconf
          raise CallError(
      middlewared.service_exception.CallError: [EFAULT] net conf addshare [trabalho] failed with error: Can't load /etc/smb4.conf - run testparm to debug it

      "

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                JLFerreiraBR JEFFERSON LUIZ FERREIRA
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: