FN v11 - All sort of errors after joining the AD

Status
Not open for further replies.

Decibel1000

Dabbler
Joined
Nov 13, 2012
Messages
16
This is a complimentary post about a migration issue I'm having from v8.3.1 to 11. I'm starting a new thread specifically for this issue as it has nothing with the migration itself, but it's part of it.

OK, after giving up with the backup / restore approach, I will try to configure the smb.conf (where most of my issues sits) manually with the information of the older server. If this works will save me a lot of time and the rest of the server can be configured without any hassle. After anything else I started from scratch, fresh FreeNAS v11 install. Looks great until I join the Active Directory. After that, I have all sort of errors on the console.
Please, take a look at the bellow errors:

Code:
Jun 22 16:39:16 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:17 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:18 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:19 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:23 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:19 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:19 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:21 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:22 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:23 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:23 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:23 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:23 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:24 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:25 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:26 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:29 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:26 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:26 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:27 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:28 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:29 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:29 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:29 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:29 freenas root: /etc/rc: WARNING: failed to start watchdogd
Jun 22 13:39:30 freenas ntpd[2556]: ntpd 4.2.8p10-a (1): Starting
Jun 22 16:39:33 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:34 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:35 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:36 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:36 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:36 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:36 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:37 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:37 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:38 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:17 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:38 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:38 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:39 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:40 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:41 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:29 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:41 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:39:41 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:39:42 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:39:43 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:39:44 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:29 Err:-1 Errno:2 No such file or directory
Jun 22 16:39:44 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:45 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:39:46 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:39:47 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:39:48 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:39:48 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:48 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:39:49 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:39:50 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:39:51 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:39:51 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:51 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:39:52 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:39:53 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:39:54 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:39:54 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:54 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:39:55 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:39:56 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:39:57 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:39:57 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 13:39:57 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:39:58 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:00 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:01 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:40:01 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 13:40:01 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:02 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:03 freenas kinit: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:04 freenas kinit: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:4 Err:-1 Errno:2 No such file or directory
Jun 22 13:40:04 freenas kinit: mdns: Failed to initialise lookup, error -65563
Jun 22 16:40:06 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:40:07 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:40:08 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:40:09 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:39 Err:-1 Errno:2 No such file or directory
Jun 22 16:40:09 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:40:09 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:40:10 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:40:11 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:40:12 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:39 Err:-1 Errno:2 No such file or directory
Jun 22 16:40:12 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:40:12 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:40:13 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:40:14 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:40:15 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:44 Err:-1 Errno:2 No such file or directory
Jun 22 16:40:15 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 16:40:15 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 16:40:16 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 16:40:17 freenas python3.6: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 16:40:18 freenas python3.6: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:44 Err:-1 Errno:2 No such file or directory
Jun 22 16:40:18 freenas python3.6: mdns: Failed to initialise lookup, error -65563
Jun 22 13:40:18 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:19 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:20 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:22 freenas net: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:10 Err:-1 Errno:2 No such file or directory
Jun 22 13:40:22 freenas net: mdns: Failed to initialise lookup, error -65563
Jun 22 13:40:22 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:23 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:24 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:25 freenas net: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:13 Err:-1 Errno:2 No such file or directory
Jun 22 13:40:25 freenas net: mdns: Failed to initialise lookup, error -65563
Jun 22 13:40:25 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:26 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:27 freenas net: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:28 freenas net: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:14 Err:-1 Errno:2 No such file or directory
Jun 22 13:40:28 freenas net: mdns: Failed to initialise lookup, error -65563
Jun 22 13:40:30 freenas smbd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:30 freenas winbindd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun 22 13:40:30 freenas smbd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:30 freenas winbindd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Jun 22 13:40:31 freenas smbd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:31 freenas winbindd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Jun 22 13:40:32 freenas root: /etc/rc: WARNING: failed precmd routine for minio
Jun 22 13:40:50 freenas /cachetool.py: [common.freenasusers:354] Directory Users could not be retrieved: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Traceback (most recent call last):
  File "/usr/local/www/freenasUI/common/freenasusers.py", line 351, in __init__
	self.__users = dir(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 2568, in __init__
	super(FreeNAS_ActiveDirectory_Users, self).__init__(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 2439, in __init__
	super(FreeNAS_ActiveDirectory, self).__init__(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 1555, in __init__
	self.set_servers()
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 1710, in set_servers
	ssl=self.ssl, certfile=self.certfile, flags=flags)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 171, in __init__
Jun 22 13:40:50 freenas /cachetool.py:
	self._cache = FreeNAS_LDAP_QueryCache()
  File "/usr/local/www/freenasUI/common/freenascache.py", line 321, in __init__
	super(FreeNAS_LDAP_QueryCache, self).__init__(cachedir)
  File "/usr/local/www/freenasUI/common/freenascache.py", line 112, in __init__
	0o700
bsddb3.db.DBRunRecoveryError: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Jun 22 13:40:51 freenas /cachetool.py: [common.freenasusers:232] Directory Groups could not be retrieved: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Jun 22 13:45:42 freenas ntpd[2557]: frequency error 2080 PPM exceeds tolerance 500 PPM



These errors only occurs after joining the AD. It's a fresh install, the AD (functional level 47 W2008R2) is working perfectly well, and the ZFS volume from the previous version wasn't imported yet. This test machine only has the boot device, is fresh installed from the ISO.

I noticed that even before starting anything related with the Windows network I noticed some error being logged during the boot about some error on the smb4.conf file and asking to debug the problem with testparm.

What is going on?

This is a virtual test environment and I'm not dealing with my production server that I'm not willing to mess without having everything sorted out first.

Thanks for your ideas!
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I will try to configure the smb.conf(where most of my issues sits) manually
you can not manually edit that file. it will get overwritten at boot and in upgrades. Everything you do must happen in the GUI.

I have never used AD so I can't help much more than that. +1 to you for using a vm first before doing it in production.
 

Decibel1000

Dabbler
Joined
Nov 13, 2012
Messages
16
you can not manually edit that file. it will get overwritten at boot and in upgrades. Everything you do must happen in the GUI.
I thought someone would say this but I had some hope FreeNas could read each configuration from the corresponding OS file... Bad news...
Anyway, I had to sort out all the other errors before moving forward. I never thought installing FreeNas would be such a hassle. What bugs me most is that I'm not doing anything off the script. Fresh install and AD joining... basic stuff.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I thought someone would say this but I had some hope FreeNas could read each configuration from the corresponding OS file... Bad news...
Anyway, I had to sort out all the other errors before moving forward. I never thought installing FreeNas would be such a hassle. What bugs me most is that I'm not doing anything off the script. Fresh install and AD joining... basic stuff.
You should try freenas 9.10.2-U5, it might be more stable. Freenas 11 is still really new.
 

Decibel1000

Dabbler
Joined
Nov 13, 2012
Messages
16
You should try freenas 9.10.2-U5, it might be more stable. Freenas 11 is still really new.
Ouch! I don't want to load a production server with a one week old release! I just saw the release date after reading your post. I thought this was a more mature product... Downloading v9.10 now!!
Thanks for bringing this into attention.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Well freenas 11 is probably going to be a better choice if you can. It all depends on your requirements. Like why are you updating in the first place? Freenas 9.10.2 is freebsd 10 and freenas 11 is freebsd 11. So really getting freebsd 11 base OS would probably be really nice to have if you can get it to work.
 

Decibel1000

Dabbler
Joined
Nov 13, 2012
Messages
16
Well freenas 11 is probably going to be a better choice if you can. It all depends on your requirements. Like why are you updating in the first place? Freenas 9.10.2 is freebsd 10 and freenas 11 is freebsd 11. So really getting freebsd 11 base OS would probably be really nice to have if you can get it to work.
Agree entirely. Having FreeBSD 11 would be very good, but this is not a home server. This is a production server on my business. I'm moving the disks to a new and faster hardware. In this process I'll update to a newer release . I'm running v8.3.1 on my legacy server.
Take a look on the bellow link and you'll understand how bad is the hardware I have today [emoji16]

https://forums.freenas.org/index.php?posts/387714

Sent from my SM-N910C using Tapatalk
 
Status
Not open for further replies.
Top