On 12/31/2015 11:01 AM, Reindl Harald wrote:> > > Am 31.12.2015 um 16:51 schrieb James: >> I forgot, I do not want to update the distro at the moment. My >> production is currently on 12.04. Want to keep things symmetrical. I'm >> going to compile and build bind again. >> >> mount | grep /run >> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) >> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) >> none on /run/shm type tmpfs (rw,nosuid,nodev) > > so it's like on every recent distribution not persistent > https://www.google.at/#q=ubuntu+12.04+/var/run > > http://askubuntu.com/questions/303120/how-folders-created-in-var-run-on-each-reboot > > > >OK I think I solved the tkey-gssapi issue. Apparently It wasn't in the correct location in named.conf. The syslog no longer shows any meaningful bind errors. Looking at the samba log I do see some. [2015/12/31 13:22:46.466800, 0] ../source4/smbd/server.c:370(binary_smbd_main) samba version 4.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2014 ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : /usr/local/samba/lib/private/liberrors-samba4.so: version `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/ldb/dns_notify. so) ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/l db/tombstone_reanimate.so) [2015/12/31 13:22:48.050030, 0] ../source4/smbd/server.c:488(binary_smbd_main) samba: using 'standard' process model [2015/12/31 13:22:48.358595, 0] ../lib/util/become_daemon.c:124(daemon_ready) STATUS=daemon 'samba' finished starting up and ready to serve connections [2015/12/31 13:22:50.709103, 0] ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : /usr/local/samba/lib/private/liberrors-samba4.so: version `SAMBA_4.3.0' not found (require d by /usr/local/samba/lib/ldb/dns_notify.so) [2015/12/31 13:22:51.022158, 0] ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/ldb/tombstone_reanimate.so) [2015/12/31 13:22:51.377786, 0] ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : /usr/local/samba/lib/private/liberrors-samba4.so: version `SAMBA_4.3.0' not found (require d by /usr/local/samba/lib/ldb/dns_notify.so) [2015/12/31 13:22:51.800456, 0] ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/ldb/tombstone_reanimate.so) I need to update to Samba 4.3 in order to resolve this. What exactly do I lose by not updating? -- -James
On 31/12/15 18:28, James wrote:> On 12/31/2015 11:01 AM, Reindl Harald wrote: >> >> >> Am 31.12.2015 um 16:51 schrieb James: >>> I forgot, I do not want to update the distro at the moment. My >>> production is currently on 12.04. Want to keep things symmetrical. I'm >>> going to compile and build bind again. >>> >>> mount | grep /run >>> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) >>> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) >>> none on /run/shm type tmpfs (rw,nosuid,nodev) >> >> so it's like on every recent distribution not persistent >> https://www.google.at/#q=ubuntu+12.04+/var/run >> >> http://askubuntu.com/questions/303120/how-folders-created-in-var-run-on-each-reboot >> >> >> >> > OK I think I solved the tkey-gssapi issue. Apparently It wasn't in the > correct location in named.conf. The syslog no longer shows any > meaningful bind errors. Looking at the samba log I do see some. > > > [2015/12/31 13:22:46.466800, 0] > ../source4/smbd/server.c:370(binary_smbd_main) > samba version 4.2.5 started. > Copyright Andrew Tridgell and the Samba Team 1992-2014 > ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : > /usr/local/samba/lib/private/liberrors-samba4.so: version > `SAMBA_4.3.0' not found (required by > /usr/local/samba/lib/ldb/dns_notify. so) > ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so > : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version > `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/l > db/tombstone_reanimate.so) > [2015/12/31 13:22:48.050030, 0] > ../source4/smbd/server.c:488(binary_smbd_main) > samba: using 'standard' process model > [2015/12/31 13:22:48.358595, 0] > ../lib/util/become_daemon.c:124(daemon_ready) > STATUS=daemon 'samba' finished starting up and ready to serve > connections > [2015/12/31 13:22:50.709103, 0] > ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) > /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen > /usr/local/samba/lib/ldb/dns_notify.so : > /usr/local/samba/lib/private/liberrors-samba4.so: version > `SAMBA_4.3.0' not found (require d by > /usr/local/samba/lib/ldb/dns_notify.so) > [2015/12/31 13:22:51.022158, 0] > ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) > /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen > /usr/local/samba/lib/ldb/tombstone_reanimate.so : > /usr/local/samba/lib/private/libdsdb-module-samba4.so: version > `SAMBA_4.3.0' not found (required by > /usr/local/samba/lib/ldb/tombstone_reanimate.so) > [2015/12/31 13:22:51.377786, 0] > ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) > /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen > /usr/local/samba/lib/ldb/dns_notify.so : > /usr/local/samba/lib/private/liberrors-samba4.so: version > `SAMBA_4.3.0' not found (require d by > /usr/local/samba/lib/ldb/dns_notify.so) > [2015/12/31 13:22:51.800456, 0] > ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) > /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen > /usr/local/samba/lib/ldb/tombstone_reanimate.so : > /usr/local/samba/lib/private/libdsdb-module-samba4.so: version > `SAMBA_4.3.0' not found (required by > /usr/local/samba/lib/ldb/tombstone_reanimate.so) > > > I need to update to Samba 4.3 in order to resolve this. What exactly > do I lose by not updating? >OK James, I have just spent the last hour trying to compile bind9 on the latest Ubuntu 12.04, well that is not entirely true. I have been trying to install the require packages to compile bind9 and it seems that lots of required packages are no longer available i.e. Package gcc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'gcc' has no installation candidate So, sorry, but I have given up, I have had another thought, could your problems be caused by apparmor ? I still think that you would be better off upgrading to 14.04. Rowland
On 12/31/2015 2:30 PM, Rowland penny wrote:> On 31/12/15 18:28, James wrote: >> On 12/31/2015 11:01 AM, Reindl Harald wrote: >>> >>> >>> Am 31.12.2015 um 16:51 schrieb James: >>>> I forgot, I do not want to update the distro at the moment. My >>>> production is currently on 12.04. Want to keep things symmetrical. I'm >>>> going to compile and build bind again. >>>> >>>> mount | grep /run >>>> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) >>>> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) >>>> none on /run/shm type tmpfs (rw,nosuid,nodev) >>> >>> so it's like on every recent distribution not persistent >>> https://www.google.at/#q=ubuntu+12.04+/var/run >>> >>> http://askubuntu.com/questions/303120/how-folders-created-in-var-run-on-each-reboot >>> >>> >>> >>> >> OK I think I solved the tkey-gssapi issue. Apparently It wasn't in >> the correct location in named.conf. The syslog no longer shows any >> meaningful bind errors. Looking at the samba log I do see some. >> >> >> [2015/12/31 13:22:46.466800, 0] >> ../source4/smbd/server.c:370(binary_smbd_main) >> samba version 4.2.5 started. >> Copyright Andrew Tridgell and the Samba Team 1992-2014 >> ldb: unable to dlopen /usr/local/samba/lib/ldb/dns_notify.so : >> /usr/local/samba/lib/private/liberrors-samba4.so: version >> `SAMBA_4.3.0' not found (required by >> /usr/local/samba/lib/ldb/dns_notify. so) >> ldb: unable to dlopen /usr/local/samba/lib/ldb/tombstone_reanimate.so >> : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version >> `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/l >> db/tombstone_reanimate.so) >> [2015/12/31 13:22:48.050030, 0] >> ../source4/smbd/server.c:488(binary_smbd_main) >> samba: using 'standard' process model >> [2015/12/31 13:22:48.358595, 0] >> ../lib/util/become_daemon.c:124(daemon_ready) >> STATUS=daemon 'samba' finished starting up and ready to serve >> connections >> [2015/12/31 13:22:50.709103, 0] >> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) >> /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen >> /usr/local/samba/lib/ldb/dns_notify.so : >> /usr/local/samba/lib/private/liberrors-samba4.so: version >> `SAMBA_4.3.0' not found (require d by >> /usr/local/samba/lib/ldb/dns_notify.so) >> [2015/12/31 13:22:51.022158, 0] >> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) >> /usr/local/samba/sbin/samba_spnupdate: ldb: unable to dlopen >> /usr/local/samba/lib/ldb/tombstone_reanimate.so : >> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version >> `SAMBA_4.3.0' not found (required by >> /usr/local/samba/lib/ldb/tombstone_reanimate.so) >> [2015/12/31 13:22:51.377786, 0] >> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) >> /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen >> /usr/local/samba/lib/ldb/dns_notify.so : >> /usr/local/samba/lib/private/liberrors-samba4.so: version >> `SAMBA_4.3.0' not found (require d by >> /usr/local/samba/lib/ldb/dns_notify.so) >> [2015/12/31 13:22:51.800456, 0] >> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler) >> /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen >> /usr/local/samba/lib/ldb/tombstone_reanimate.so : >> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version >> `SAMBA_4.3.0' not found (required by >> /usr/local/samba/lib/ldb/tombstone_reanimate.so) >> >> >> I need to update to Samba 4.3 in order to resolve this. What exactly >> do I lose by not updating? >> > > OK James, I have just spent the last hour trying to compile bind9 on > the latest Ubuntu 12.04, well that is not entirely true. I have been > trying to install the require packages to compile bind9 and it seems > that lots of required packages are no longer available i.e. > > Package gcc is not available, but is referred to by another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > > E: Package 'gcc' has no installation candidate > > So, sorry, but I have given up, I have had another thought, could your > problems be caused by apparmor ? > > I still think that you would be better off upgrading to 14.04. > > Rowland > >Rowland I seem to have solved all of my Bind related issues on 12.04. To summarize my main issues were * Required upstart script to create /var/run/named temp directory. * Ignore error configuring command channel from '/etc/bind/rndc.key' couldn't add command channel 127.0.0.1#953: file not found * Issue /usr/local/samba/sbin/samba_upgradedns --dns-backend=BIND9_DLZ so it appears in /usr/local/samba/private * Update to Samba 4.3 to resolve `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/ldb/dns_notify. so) * Update to Samba 4.3 to resolve `SAMBA_4.3.0' not found (required by /usr/local/samba/lib/l db/tombstone_reanimate.so) I didn't seem to have any issues during the actual compile. Here is my system info to compare to yours. Thanks for everyone's help. root at VMDC1:~# apparmor_status apparmor module is loaded. 5 profiles are loaded. 5 profiles are in enforce mode. /sbin/dhclient /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/connman/scripts/dhclient-script /usr/sbin/ntpd /usr/sbin/tcpdump 0 profiles are in complain mode. 1 processes have profiles defined. 1 processes are in enforce mode. /usr/sbin/ntpd (1148) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. root at VMDC1:~# cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS" NAME="Ubuntu" VERSION="12.04.5 LTS, Precise Pangolin" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu precise (12.04.5 LTS)" VERSION_ID="12.04" root at VMDC1:~# cat /proc/version Linux version 3.13.0-74-generic (buildd at lgw01-34) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #118~precise1-Ubuntu SMP Fri Dec 18 10:38:55 UTC 2015 -- -James
Maybe Matching Threads
- How to switch from internal DNS to Bind
- How to switch from internal DNS to Bind
- Samba does not work after upgrade to Ubuntu 20.04.1
- samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
- samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)