Skip to content

Instantly share code, notes, and snippets.

@spindles7
Created May 26, 2021 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spindles7/1e812dc83eb61453f149e3d40962d6e2 to your computer and use it in GitHub Desktop.
Save spindles7/1e812dc83eb61453f149e3d40962d6e2 to your computer and use it in GitHub Desktop.
Logfiles from Bind & Samba
log.samba:
[2021/05/26 17:20:23.792883, 0] ../../source4/samba/server.c:646(binary_smbd_main)
samba version 4.14.4-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2021
[2021/05/26 17:20:23.793016, 0] ../../lib/util/become_daemon.c:147(daemon_status)
daemon_status: daemon 'samba' : Starting process...
[2021/05/26 17:20:23.971733, 0] ../../source4/samba/server.c:920(binary_smbd_main)
binary_smbd_main: samba: using 'prefork' process model
[2021/05/26 17:20:23.985592, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
service_setup_stream_socket(address=::,port=0) for netlogon mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:23.993753, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
service_setup_stream_socket(address=::,port=0) for dnsserver backupkey eventlog6 browser unixinfo dssetup drsuapi lsarpc mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:23.996454, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
service_setup_stream_socket(address=::,port=0) for samr rpcecho wkssvc mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:23.998398, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
service_setup_stream_socket(address=::,port=135) for epmapper mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:24.007882, 0] ../../source4/kdc/kdc-server.c:585(kdc_add_socket)
Failed to bind to :::88 TCP - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:24.008072, 0] ../../source4/cldap_server/cldap_server.c:130(cldapd_add_socket)
Failed to bind to ipv6::::389 - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:24.010407, 0] ../../source4/kdc/kdc-server.c:585(kdc_add_socket)
Failed to bind to :::464 TCP - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:24.033384, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'samba' finished starting up and ready to serve connections
[2021/05/26 17:20:24.085045, 1] ../../source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 10662
[2021/05/26 17:20:24.288474, 0] ../../source3/winbindd/winbindd_cache.c:3206(initialize_winbindd_cache)
initialize_winbindd_cache: clearing cache and re-creating with version number 2
[2021/05/26 17:20:24.290013, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
[2021/05/26 17:20:24.294860, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
[2021/05/26 17:20:24.299833, 0] ../../source3/lib/util_sock.c:265(open_socket_in)
open_socket_in(): socket() call failed: Address family not supported by protocol
[2021/05/26 17:20:24.300116, 0] ../../source3/smbd/server.c:1083(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in: Address family not supported by protocol
[2021/05/26 17:20:24.302570, 0] ../../source3/lib/util_sock.c:265(open_socket_in)
open_socket_in(): socket() call failed: Address family not supported by protocol
[2021/05/26 17:20:24.302599, 0] ../../source3/smbd/server.c:1083(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in: Address family not supported by protocol
[2021/05/26 17:20:24.305616, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2021/05/26 17:20:25.713273, 0] ../../source4/ldap_server/ldap_server.c:1186(add_socket)
add_socket: ldapsrv failed to bind to :::389 - NT_STATUS_INVALID_PARAMETER_MIX
[2021/05/26 17:20:39.057937, 1] ../../source4/dsdb/kcc/garbage_collect_tombstones.c:68(garbage_collect_tombstones_part)
Doing a full scan on DC=ForestDnsZones,DC=microlynx,DC=org and looking for deleted objects
[2021/05/26 17:20:39.059726, 1] ../../source4/dsdb/kcc/garbage_collect_tombstones.c:68(garbage_collect_tombstones_part)
Doing a full scan on DC=DomainDnsZones,DC=microlynx,DC=org and looking for deleted objects
[2021/05/26 17:20:39.063182, 1] ../../source4/dsdb/kcc/garbage_collect_tombstones.c:68(garbage_collect_tombstones_part)
Doing a full scan on DC=microlynx,DC=org and looking for deleted objects
[2021/05/26 17:20:39.076641, 1] ../../source4/dsdb/kcc/garbage_collect_tombstones.c:68(garbage_collect_tombstones_part)
Doing a full scan on CN=Configuration,DC=microlynx,DC=org and looking for deleted objects
[2021/05/26 17:20:44.972595, 0] ../../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1104(dnsserver_query_zone)
[2021/05/26 19:05:32.445712, 0] ../../source4/samba/server.c:646(binary_smbd_main)
=========================================================
syslog
May 26 17:20:23 tiger-db systemd[1]: Starting Samba AD Daemon...
May 26 17:20:23 tiger-db systemd[1]: bind9.service: Succeeded.
May 26 17:20:23 tiger-db systemd[1]: Stopped BIND Domain Name Server.
May 26 17:20:23 tiger-db systemd[1]: Starting BIND Domain Name Server...
May 26 17:20:23 tiger-db named[10639]: starting BIND 9.11.5-P4-5.1+deb10u5-Debian (Extended Support Version) <id:998753c>
May 26 17:20:23 tiger-db named[10639]: running on Linux x86_64 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19)
May 26 17:20:23 tiger-db named[10639]: built with '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=/usr/lib/x86_64-linux-gnu' '--libexecdir=/usr/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--libdir=/usr/lib/x86_64-linux-gnu' '--sysconfdir=/etc/bind' '--with-python=python3' '--localstatedir=/' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-gost=no' '--with-openssl=/usr' '--with-gssapi=/usr' '--disable-isc-spnego' '--with-libidn2' '--with-libjson=/usr' '--with-lmdb=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' '--enable-native-pkcs11' '--with-pkcs11=/usr/lib/softhsm/libsofthsm2.so' '--with-randomdev=/dev/urandom' '--enable-dnstap' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/bind9-oeLM0t/bind9-9.11.5.P4+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-delete-null-pointer-checks -DNO_VERSION_DATE -DDIG_SIGCHASE' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
May 26 17:20:23 tiger-db named[10639]: running as: named -u bind
May 26 17:20:23 tiger-db named[10639]: compiled by GCC 8.3.0
May 26 17:20:23 tiger-db named[10639]: compiled with OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
May 26 17:20:23 tiger-db named[10639]: linked to OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
May 26 17:20:23 tiger-db named[10639]: compiled with libxml2 version: 2.9.4
May 26 17:20:23 tiger-db named[10639]: linked to libxml2 version: 20904
May 26 17:20:23 tiger-db named[10639]: compiled with libjson-c version: 0.12.1
May 26 17:20:23 tiger-db named[10639]: linked to libjson-c version: 0.12.1
May 26 17:20:23 tiger-db named[10639]: threads support is enabled
May 26 17:20:23 tiger-db named[10639]: ----------------------------------------------------
May 26 17:20:23 tiger-db named[10639]: BIND 9 is maintained by Internet Systems Consortium,
May 26 17:20:23 tiger-db named[10639]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
May 26 17:20:23 tiger-db named[10639]: corporation. Support and training for BIND 9 are
May 26 17:20:23 tiger-db named[10639]: available at https://www.isc.org/support
May 26 17:20:23 tiger-db named[10639]: ----------------------------------------------------
May 26 17:20:23 tiger-db named[10639]: adjusted limit on open files from 524288 to 1048576
May 26 17:20:23 tiger-db named[10639]: found 8 CPUs, using 8 worker threads
May 26 17:20:23 tiger-db named[10639]: using 7 UDP listeners per interface
May 26 17:20:23 tiger-db named[10639]: using up to 4096 sockets
May 26 17:20:23 tiger-db named[10639]: loading configuration from '/etc/bind/named.conf'
May 26 17:20:23 tiger-db named[10639]: reading built-in trust anchors from file '/etc/bind/bind.keys'
May 26 17:20:23 tiger-db named[10639]: initializing GeoIP Country (IPv4) (type 1) DB
May 26 17:20:23 tiger-db named[10639]: GEO-106FREE 20181108 Build
May 26 17:20:23 tiger-db named[10639]: initializing GeoIP Country (IPv6) (type 12) DB
May 26 17:20:23 tiger-db named[10639]: GEO-106FREE 20181108 Build
May 26 17:20:23 tiger-db named[10639]: GeoIP City (IPv4) (type 2) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP City (IPv4) (type 6) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP City (IPv6) (type 30) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP City (IPv6) (type 31) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP Region (type 3) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP Region (type 7) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP ISP (type 4) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP Org (type 5) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP AS (type 9) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP Domain (type 11) DB not available
May 26 17:20:23 tiger-db named[10639]: GeoIP NetSpeed (type 10) DB not available
May 26 17:20:23 tiger-db named[10639]: using default UDP/IPv4 port range: [32768, 60999]
May 26 17:20:23 tiger-db named[10639]: using default UDP/IPv6 port range: [32768, 60999]
May 26 17:20:23 tiger-db named[10639]: no IPv6 interfaces found
May 26 17:20:23 tiger-db named[10639]: listening on IPv4 interface lo, 127.0.0.1#53
May 26 17:20:23 tiger-db samba[10637]: [2021/05/26 17:20:23.792883, 0] ../../source4/samba/server.c:646(binary_smbd_main)
May 26 17:20:23 tiger-db samba[10637]: samba version 4.14.4-Debian started.
May 26 17:20:23 tiger-db samba[10637]: Copyright Andrew Tridgell and the Samba Team 1992-2021
May 26 17:20:23 tiger-db samba[10637]: [2021/05/26 17:20:23.793016, 0] ../../lib/util/become_daemon.c:147(daemon_status)
May 26 17:20:23 tiger-db samba[10637]: daemon_status: daemon 'samba' : Starting process...
May 26 17:20:23 tiger-db named[10639]: listening on IPv4 interface br0, 192.168.2.240#53
May 26 17:20:23 tiger-db named[10639]: generating session key for dynamic DNS
May 26 17:20:23 tiger-db named[10639]: sizing zone task pool based on 8 zones
May 26 17:20:23 tiger-db named[10639]: zone 'gp2688.myfoscam.org' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone 'ah2229.myfoscam.org' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone 'ag1523.myfoscam.org' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone 'localhost' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone '127.in-addr.arpa' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone '0.in-addr.arpa' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: zone '255.in-addr.arpa' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:23 tiger-db named[10639]: Loading 'AD DNS Zone' using driver dlopen
May 26 17:20:23 tiger-db samba[10637]: [2021/05/26 17:20:23.971733, 0] ../../source4/samba/server.c:920(binary_smbd_main)
May 26 17:20:23 tiger-db samba[10637]: binary_smbd_main: samba: using 'prefork' process model
May 26 17:20:23 tiger-db samba[10661]: [2021/05/26 17:20:23.985592, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
May 26 17:20:23 tiger-db samba[10661]: service_setup_stream_socket(address=::,port=0) for netlogon mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:23 tiger-db samba[10669]: [2021/05/26 17:20:23.993753, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
May 26 17:20:23 tiger-db samba[10669]: service_setup_stream_socket(address=::,port=0) for dnsserver backupkey eventlog6 browser unixinfo dssetup drsuapi lsarpc mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:23 tiger-db samba[10669]: [2021/05/26 17:20:23.996454, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
May 26 17:20:23 tiger-db samba[10669]: service_setup_stream_socket(address=::,port=0) for samr rpcecho wkssvc mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:23 tiger-db samba[10669]: [2021/05/26 17:20:23.998398, 0] ../../source4/rpc_server/dcerpc_server.c:509(add_socket_rpc_tcp_iface)
May 26 17:20:23 tiger-db samba[10669]: service_setup_stream_socket(address=::,port=135) for epmapper mgmt failed - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:24 tiger-db samba[10684]: [2021/05/26 17:20:24.007882, 0] ../../source4/kdc/kdc-server.c:585(kdc_add_socket)
May 26 17:20:24 tiger-db samba[10684]: Failed to bind to :::88 TCP - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:24 tiger-db samba[10679]: [2021/05/26 17:20:24.008072, 0] ../../source4/cldap_server/cldap_server.c:130(cldapd_add_socket)
May 26 17:20:24 tiger-db samba[10679]: Failed to bind to ipv6::::389 - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:24 tiger-db samba[10684]: [2021/05/26 17:20:24.010407, 0] ../../source4/kdc/kdc-server.c:585(kdc_add_socket)
May 26 17:20:24 tiger-db samba[10684]: Failed to bind to :::464 TCP - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:24 tiger-db samba[10637]: [2021/05/26 17:20:24.033384, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 26 17:20:24 tiger-db systemd[1]: Started Samba AD Daemon.
May 26 17:20:24 tiger-db samba[10637]: daemon_ready: daemon 'samba' finished starting up and ready to serve connections
May 26 17:20:24 tiger-db named[10639]: samba_dlz: started for DN DC=microlynx,DC=org
May 26 17:20:24 tiger-db named[10639]: samba_dlz: starting configure
May 26 17:20:24 tiger-db named[10639]: samba_dlz: configured writeable zone '2.168.192.in-addr.arpa'
May 26 17:20:24 tiger-db named[10639]: samba_dlz: configured writeable zone 'microlynx.org'
May 26 17:20:24 tiger-db named[10639]: samba_dlz: configured writeable zone '_msdcs.microlynx.org'
May 26 17:20:24 tiger-db named[10639]: none:106: 'max-cache-size 90%' - setting to 7089MB (out of 7876MB)
May 26 17:20:24 tiger-db named[10639]: set up managed keys zone for view _default, file 'managed-keys.bind'
May 26 17:20:24 tiger-db named[10639]: zone 'version.bind' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:24 tiger-db named[10639]: zone 'hostname.bind' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:24 tiger-db named[10639]: zone 'authors.bind' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:24 tiger-db named[10639]: zone 'id.server' allows unsigned updates from remote hosts, which is insecure
May 26 17:20:24 tiger-db named[10639]: none:106: 'max-cache-size 90%' - setting to 7089MB (out of 7876MB)
May 26 17:20:24 tiger-db named[10639]: configuring command channel from '/etc/bind/rndc.key'
May 26 17:20:24 tiger-db named[10639]: command channel listening on 127.0.0.1#953
May 26 17:20:24 tiger-db systemd[1]: Started BIND Domain Name Server.
May 26 17:20:24 tiger-db systemd[1]: samba-ad-dc.service: Got notification message from PID 10662, but reception only permitted for main PID 10637
May 26 17:20:24 tiger-db systemd[1]: samba-ad-dc.service: Got notification message from PID 10698, but reception only permitted for main PID 10637
May 26 17:20:24 tiger-db winbindd[10698]: [2021/05/26 17:20:24.288474, 0] ../../source3/winbindd/winbindd_cache.c:3206(initialize_winbindd_cache)
May 26 17:20:24 tiger-db winbindd[10698]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
May 26 17:20:24 tiger-db winbindd[10698]: [2021/05/26 17:20:24.290013, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 26 17:20:24 tiger-db winbindd[10698]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
May 26 17:20:24 tiger-db systemd[1]: samba-ad-dc.service: Got notification message from PID 10698, but reception only permitted for main PID 10637
May 26 17:20:24 tiger-db smbd[10662]: [2021/05/26 17:20:24.294860, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 26 17:20:24 tiger-db smbd[10662]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
May 26 17:20:24 tiger-db systemd[1]: samba-ad-dc.service: Got notification message from PID 10662, but reception only permitted for main PID 10637
May 26 17:20:24 tiger-db smbd[10662]: [2021/05/26 17:20:24.299833, 0] ../../source3/lib/util_sock.c:265(open_socket_in)
May 26 17:20:24 tiger-db smbd[10662]: open_socket_in(): socket() call failed: Address family not supported by protocol
May 26 17:20:24 tiger-db smbd[10662]: [2021/05/26 17:20:24.300116, 0] ../../source3/smbd/server.c:1083(smbd_open_one_socket)
May 26 17:20:24 tiger-db smbd[10662]: smbd_open_one_socket: open_socket_in: Address family not supported by protocol
May 26 17:20:24 tiger-db smbd[10662]: [2021/05/26 17:20:24.302570, 0] ../../source3/lib/util_sock.c:265(open_socket_in)
May 26 17:20:24 tiger-db smbd[10662]: open_socket_in(): socket() call failed: Address family not supported by protocol
May 26 17:20:24 tiger-db smbd[10662]: [2021/05/26 17:20:24.302599, 0] ../../source3/smbd/server.c:1083(smbd_open_one_socket)
May 26 17:20:24 tiger-db smbd[10662]: smbd_open_one_socket: open_socket_in: Address family not supported by protocol
May 26 17:20:25 tiger-db samba[10673]: [2021/05/26 17:20:25.713273, 0] ../../source4/ldap_server/ldap_server.c:1186(add_socket)
May 26 17:20:25 tiger-db samba[10673]: add_socket: ldapsrv failed to bind to :::389 - NT_STATUS_INVALID_PARAMETER_MIX
May 26 17:20:44 tiger-db samba[10669]: [2021/05/26 17:20:44.972595, 0] ../../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1104(dnsserver_query_zone)
===========================================================
bind general.log
26-May-2021 17:20:24.050 managed-keys-zone: loaded serial 6
26-May-2021 17:20:24.050 zone 0.in-addr.arpa/IN: loaded serial 1
26-May-2021 17:20:24.051 zone ag1523.myfoscam.org/IN: loaded serial 42001
26-May-2021 17:20:24.051 zone localhost/IN: loaded serial 2
26-May-2021 17:20:24.051 zone ah2229.myfoscam.org/IN: loaded serial 42001
26-May-2021 17:20:24.051 zone 255.in-addr.arpa/IN: loaded serial 1
26-May-2021 17:20:24.051 zone 127.in-addr.arpa/IN: loaded serial 1
26-May-2021 17:20:24.051 zone gp2688.myfoscam.org/IN: loaded serial 42001
26-May-2021 17:20:24.051 all zones loaded
26-May-2021 17:20:24.051 running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment