[Samba] Samba 4.0.0 upgrade to 4.0.5 from source

Mārtiņš Gailītis martins.gailitis at outlook.com
Mon May 13 06:24:17 MDT 2013


Hi!

Thanks for a tip!

I'm using bind9 for dns functionality and defined it during provisioning process.  

Here is my smb.conf and part of log file from working 4.0.0 installation.

[global]
        workgroup = domain
        realm = domain.local
        netbios name = AD
        server role = active directory domain controller
        server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns
        acl:search = false
        dns forwarder = 192.168.1.1
        dns forwarder = 8.8.8.8
        printcap name = /dev/null
        load printers = no
        eventlog list = Application System Security SyslogLinux


/usr/local/samba/var/log.samba writes:
[2013/05/13 01:00:06,  0] ../source4/smbd/server.c:475(binary_smbd_main)
  samba: using 'standard' process model
[2013/05/13 01:00:06,  0] ../source4/smbd/service_stream.c:342(stream_setup_socket)
  Failed to listen on 0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
[2013/05/13 01:00:06,  0] ../source4/dns_server/dns_server.c:616(dns_add_socket)
  Failed to bind to 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
[2013/05/13 01:00:06,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
  task_server_terminate: [dns failed to setup interfaces]

Is samba internal DNS is trying start as well?!

regards,
Martins

Date: Mon, 13 May 2013 11:21:56 +0200
Subject: Re: [Samba] Samba 4.0.0 upgrade to 4.0.5 from source
From: ict at sint-pietersschool.be
To: martins.gailitis at outlook.com
CC: samba at lists.samba.org

Check /usr/local/samba/var/log.samba for errors.

On my install, when i only had a comparable list of processes, it was due to bind running and already taking up port 53 in combination with internal dns being used (check for 'dns' on the 'server services' line in smb.conf,) so there were errors in the logfile about not being able to setup some services, which seemed to have as consequence that some instances died....


2013/5/12 Mārtiņš Gailītis <martins.gailitis at outlook.com>
Sorry, html formatting was enabled:
Right now i have a Ubuntu 12.04.2 LTS 64bit KVM machine running samba 4.0.0 (used as AD domain controller) that was build from source right after 4.0.0 stable was released.It's working pretty stable (a couple of times had to restart samba because of service just stopped working unexpectedly).
.Right now i see that there is a 4.0.5 version, that has to be more stable than 4.0.0.Tried to compile and install it, but with no luck :(
I read upgrading-samba4.txt before trying to upgrade.
./configure --enable-debug --enable-selftest
make -j 4
make install
/usr/local/samba/bin/samba-tool dbcheck --fix (fixed huge amount of errors)
Started samba!
With compiling and installing everything goes pretty smooth, but after starting samba - there is only three instances in process list and nothing's working (before there was i guess more than 10 samba -D instances):
root      1275  1262  0 11:12 ?        00:00:00 /usr/local/samba/sbin/samba -D
root      1269  1263  0 11:12 ?        00:00:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes --foreground
root      1279  1269  0 11:12 ?        00:00:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes --foreground
Is there some special instruction of how to upgrade samba4 from source?! As i said, read upgrading-samba4.txt before trying to upgrade.
Thanks in advance!

Martins



./configure --enable-debug --enable-selftestmake -j 4make install/usr/local/samba/bin/samba-tool dbcheckWith compiling and installing everything goes pretty smooth, but after starting samba - there is only three instances in process list and nothing's working:root 1275 1262 0 11:12 ? 00:00:00 /usr/local/samba/sbin/samba -Droot 1269 1263 0 11:12 ? 00:00:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes --foregroundroot 1279 1269 0 11:12 ? 00:0
> 0:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes --foreground
> Is there some special instruction of how to upgrade samba4 from source?! I read upgrading-samba4.txt before trying to upgrade.Thanks in advance!
> kind regards,Martins
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



-- 
Michael De Groote
ICT-coordinator Sint-Pietersschool Korbeek-Lo
ICT-support Sancta Maria Basisschool Leuven 		 	   		  


More information about the samba mailing list