SMB not starting Scale 22.02.4

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
As seen below, SMB is not starting.... reboot does not help. Where can I start looking to fix this?

1667770002395.png
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Needs more info.. are networking and storage healthy?
Perhaps update to 13.0-U3 if they are.
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
Needs more info.. are networking and storage healthy?
Perhaps update to 13.0-U3 if they are.
Hi, both networking and storage are OK. I can ftp and ssh into the storage areas.... Also.. this is Scale, I'm on the latest build
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Hi, both networking and storage are OK. I can ftp and ssh into the storage areas.... Also.. this is Scale, I'm on the latest build

Sorry, I was reacting to your signature with 13.0-U1.1

Its a puzzle.. the only thing that is a yellow alarm is the 16GB USB boot drive. Can you check its health and spare capacity..... or update the hardware description.

No other alerts on the system?
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
Well, I've tried to edit SMB... and I get this error when I hit the save button... I hope this jargon means something ha.

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 177, 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 1294, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 574, in update rv = await self.middleware._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1294, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/smb.py", line 880, in do_update await self.middleware.call('smb.reg_update', new_config) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1345, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1294, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry_global.py", line 98, in reg_update await self.middleware.call('sharing.smb.apply_conf_diff', 'GLOBAL', diff) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1345, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1294, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry_share.py", line 232, in apply_conf_diff await self.reg_setparm(set_payload) File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry_share.py", line 153, in reg_setparm return await self.netconf(action='setparm', args=[json.dumps(data)], jsoncmd=True) File "/usr/lib/python3/dist-packages/middlewared/plugins/smb_/registry_share.py", line 83, in netconf raise CallError( middlewared.service_exception.CallError: [EFAULT] net conf setparm [['net', '--json', 'conf', 'setparm', '{"service": "GLOBAL", "parameters": {"log level": {"parsed": "1 auth_json_audit:3@/var/log/samba4/auth_audit.log", "raw": "1 auth_json_audit:3@/var/log/samba4/auth_audit.log"}, "unix charset": {"parsed": "UTF-8", "raw": "UTF-8"}, "netbios aliases": {"parsed": [], "raw": ""}, "guest account": {"parsed": "nobody", "raw": "nobody"}, "syslog only": {"parsed": false, "raw": "False"}, "load printers": {"parsed": false}, "printcap name": {"parsed": "/dev/null"}, "create mask": {"parsed": "0775", "raw": "0775"}, "netbios name": {"parsed": "TrueNAS", "raw": "TrueNAS"}, "max log size": {"parsed": 5120}, "directory mask": {"parsed": "0775", "raw": "0775"}, "bind interfaces only": {"parsed": true, "raw": "True"}, "server multi channel support": {"parsed": false, "raw": "False"}, "ntlm auth": {"parsed": false, "raw": "False"}, "local master": {"parsed": true, "raw": "True"}, "workgroup": {"parsed": "WORKGROUP", "raw": "WORKGROUP"}, "disable spoolss": {"parsed": true}, "dns proxy": {"parsed": false}, "passdb backend": {"parsed": "tdbsam:/var/run/samba-cache/passdb.tdb"}, "logging": {"parsed": "file", "raw": "file"}, "restrict anonymous": {"parsed": 2}, "server min protocol": {"parsed": "SMB2_10", "raw": "SMB2_10"}, "server string": {"parsed": "TrueNAS Server", "raw": "TrueNAS Server"}, "fruit:nfs_aces": {"parsed": false}}}']] failed with error: Unable to initialize messaging context!
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
What is the history of the system... did it ever enable SMB?
What was done before the error occurred?
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
What is the history of the system... did it ever enable SMB?
What was done before the error occurred?
Hi, yes SMB was enabled, I was able to xfer files through my windows installations.

I do not recall when this exactly happened. Last time I had to transfer something was for a VM install (iso) that's still currently going... This was about 5 weeks ago. I usually leave this Scale installation alone, only interaction is when I need to RDP into the VM. I also have a owncloud install on an Ubuntu server VM, that was setup about the same time the other VM was setup.... Again for the most part, it's left alone

There were a bunch of power outages recently, this could have corrupted something. It's not on an UPS, but plugged into a surge protector strip.

Next step, is to backup the configuration, wipe and reinstall? This the only path?
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
SMB was not working because one of the pools was at 0% free space left. I was able to delete some info, and magically, the SMB was able to work.
 
Top