Header Shadow Image


[Errno 256] No more mirrors to try.

Getting this?

Error populating transaction after 10 anaconda retries: failure: perl-HTTP-Tiny-0.033-3.el7.noarch.rpm from anaconda: [Errno 256] No more mirrors to try.

from the anaconda installer after rolling a custom ISO?

/tmp/yum.repos.d/anaconda.repo
[anaconda]
name=anaconda
enabled=1
baseurl=file:///run/install/repo/

Checking the primary.gz generated file list, the Packages/ path is included in the file path, but not our newly created primary.gz : 

[root@zeus01 repodata-backup]# zcat 16890efb08ba2667b3cfd83c4d234d5fabea890e6ed2ade4d4d7adec9670a9a5-primary.xml.gz|grep -Ei "Packages/"|head
  <location href="Packages/GeoIP-1.5.0-14.el7.x86_64.rpm"/>
  <location href="Packages/ModemManager-glib-1.6.10-3.el7_6.x86_64.rpm"/>
  <location href="Packages/NetworkManager-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-adsl-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-bluetooth-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-glib-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-libnm-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-team-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-tui-1.18.0-5.el7.x86_64.rpm"/>
  <location href="Packages/NetworkManager-wifi-1.18.0-5.el7.x86_64.rpm"/>
[root@zeus01 repodata-backup]# ls -altri 16890efb08ba2667b3cfd83c4d234d5fabea890e6ed2ade4d4d7adec9670a9a5-primary.xml.gz
806777 -rw-rw-r–. 1 root root 406843 Sep 11  2019 16890efb08ba2667b3cfd83c4d234d5fabea890e6ed2ade4d4d7adec9670a9a5-primary.xml.gz
[root@zeus01 repodata-backup]# zcat ac3a24e2e118c3a3f04d3a3b008c7d8859ee4d39327a542dcf6f46a17604e957-primary.xml.gz|grep -Ei "Packages/"|head
[root@zeus01 repodata-backup]# ls -altrid ac3a24e2e118c3a3f04d3a3b008c7d8859ee4d39327a542dcf6f46a17604e957-primary.xml.gz
884923 -rw-r–r–. 1 root root 410764 Mar 26 00:35 ac3a24e2e118c3a3f04d3a3b008c7d8859ee4d39327a542dcf6f46a17604e957-primary.xml.gz
[root@zeus01 repodata-backup]#

What was being ran is:

[root@zeus01 working]# createrepo -dpo . Packages/ -g /zeus-images/working/repodata/521f322f05f9802f2438d8bb7d97558c64ff3ff74c03322d77787ade9152d8bb-c7-x86_64-comps.xml
[root@zeus01 working]# pwd
/zeus-images/working
[root@zeus01 working]#

To include the package path Packages/, generate the repo using this command and specify the root path ( / ) of the DVD / ISO files instead of Packages/ :

[root@zeus01 working]# createrepo -dpo . ./ -g /zeus-images/working/repodata/521f322f05f9802f2438d8bb7d97558c64ff3ff74c03322d77787ade9152d8bb-c7-x86_64-comps.xml             Spawning worker 0 with 236 pkgs
Spawning worker 1 with 236 pkgs
Spawning worker 2 with 236 pkgs
Spawning worker 3 with 235 pkgs
Spawning worker 4 with 235 pkgs
Spawning worker 5 with 235 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@zeus01 working]# ls -altri
total 176
136726261 -rw-rw-r–. 1 root     root      1690 Dec  9  2015 RPM-GPG-KEY-CentOS-Testing-7
136726260 -rw-rw-r–. 1 root     root      1690 Dec  9  2015 RPM-GPG-KEY-CentOS-7
136726257 -rw-rw-r–. 1 root     root     18009 Dec  9  2015 GPL
136726256 -rw-rw-r–. 1 root     root       227 Aug 30  2017 EULA
136726253 -rw-r–r–. 1 root     root        29 Sep  6  2019 .discinfo
   806768 drwxr-xr-x. 2 root     root        41 Sep  6  2019 LiveOS
202843815 drwxr-xr-x. 3 root     root        33 Sep  6  2019 EFI
136726254 -rw-r–r–. 1 root     root       354 Sep  6  2019 .treeinfo
136726252 drwxr-xr-x. 3 root     root        54 Sep  9  2019 images
136726255 -rw-rw-r–. 1 root     root        14 Sep  9  2019 CentOS_BuildTag
136726262 -r–r–r–. 1 root     root      3101 Dec  1 17:11 TRANS.TBL
213637698 drwxr-xr-x. 2 root     root      4096 Mar 30 01:26 repodata-jic
 68834653 drwxrwxr-x. 2 root     root     77824 Mar 30 01:38 Packages
202843816 drwxr-xr-x. 2 root     root      4096 Mar 30 09:26 isolinux
136726269 drwxr-xr-x. 6 zeusadmin zeusadmin  4096 Apr  4 10:54 ..
135668264 -rw——-. 1 root     root      1050 Apr  4 11:09 ks.cfg
135668262 drwxr-xr-x. 2 root     root      4096 Apr  4 16:47 repodata
136726251 drwxr-xr-x. 9 root     root      4096 Apr  4 16:47 .
[root@zeus01 working]#
[root@zeus01 repodata]# pwd
/zeus-images/working/repodata
[root@zeus01 repodata]#

Now create the ISO:

[root@zeus01 working]# mkisofs -o ../CentOS-7-x86_64-Minimal-1908-Kickstart-Context-V24.iso -untranslated-filenames -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -V "CentOS 7 x86_64" -R -J -v -T .
Warning: creating filesystem that does not conform to ISO-9660.
I: -input-charset not specified, using utf-8 (detected in locale settings)

Or using genisoimage command:

[root@one01 working]# genisoimage -untranslated-filenames -volid 'CentOS 7 x86_64' -J -joliet-long -rational-rock -translation-table -input-charset utf-8 -x  ./lost+found -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img  -no-emul-boot -o ../CentOS-7-x86_64-Minimal-1908-Kickstart-Context-GV23.iso -R -v -T .
Warning: creating filesystem that does not conform to ISO-9660.
genisoimage 1.1.11 (Linux)

Try booting using the image.  Your RPM packages should now be found. 

Thx,
DN

Address returned by IPAM are not within AR or in use

Getting this?

Thu Mar 26 01:27:44 2020 [Z0][IPM][D]: Message received: GET_ADDRESS SUCCESS 296 QUREUkVTUyA9IFsgSVAgPSAiMTAuMC4wLjEwMiIsIFNJWkUgPSAiMSIgXQo=

Thu Mar 26 01:27:44 2020 [Z0][IPM][E]: Address returned by IPAM are not within AR or in use
Thu Mar 26 01:27:44 2020 [Z0][ONE][E]: Cannot get IP/MAC lease from virtual network 26.
Thu Mar 26 01:27:44 2020 [Z0][ReM][E]: Req:560 UID:0 one.template.instantiate result FAILURE [one.template.instantiate] Error allocating a new virtual machine template. Cannot get IP/MAC lease from virtual network 26.

Read the rest of this entry »

Destination Host Unreachable but Gateway Pingable

Getting this?

[root@mdskvm-p05 ~]# ping 10.0.0.73
PING 10.0.0.73 (10.0.0.73) 56(84) bytes of data.
From 10.0.0.72 icmp_seq=1 Destination Host Unreachable
From 10.0.0.72 icmp_seq=2 Destination Host Unreachable
From 10.0.0.72 icmp_seq=3 Destination Host Unreachable

Read the rest of this entry »

[ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last oneave the cluster and may not contain all the updates.

Getting this?

Mar 15 18:28:12 mysql03.nix.mds.xyz mysqld[17578]: 2020-03-15T22:28:12.453960Z 0 [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last oneave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .

Read the rest of this entry »

Getting this?

Mon Mar 9 00:08:04 2020 [Z0][VMM][I]: error: operation failed: domain 'one-35' already exists with uuid b1c73d1b-db71-4d5f-a0f2-f12031332bbc
Mon Mar 9 00:08:04 2020 [Z0][VMM][E]: Could not restore from /var/lib/one//datastores/129/35/checkpoint
Mon Mar 9 00:08:04 2020 [Z0][VMM][E]: restore: Command "virsh –connect qemu:///system restore /var/lib/one//datastores/129/35/checkpoint –xml /var/lib/one//datastores/129/35/checkpoint.xml" failed: error: Failed to restore domain from /var/lib/one//datastores/129/35/checkpoint
Mon Mar 9 00:08:04 2020 [Z0][VMM][I]: error: operation failed: domain 'one-35' already exists with uuid b1c73d1b-db71-4d5f-a0f2-f12031332bbc
Mon Mar 9 00:08:04 2020 [Z0][VMM][E]: Could not restore from /var/lib/one//datastores/129/35/checkpoint
Mon Mar 9 00:08:04 2020 [Z0][VMM][I]: ExitCode: 1

Read the rest of this entry »

Samba: Element not found

Getting this on Windows 10?

Element not found

When trying to mount a Samba share?  It's likely due to using username map that looks similar to:

# cat /n/samba/user.map
john@mds.xyz = john
bob@mds.xyz = bob

Removing the file or the troublesome user entry, bob, solves the issue.  The above works on a MacBook / OSX 10 but in Win 10 it throws the subject error.  What to do?  Just remove the non-MAC user from the user map file above:

# cat /n/samba/user.map
john@mds.xyz = john

Just leave the MAC user, john.  

Cheers,

GetAutoNet: Automatic IP Range / VLAN segment Discovery Tool.

GetAutoNet
GetAutoNet is a IP and IP range discovery tool for OpenNebula using nmap. The returned free IP list is checked against a defined list of DNS servers to ensure IP's or ranges of IP's returned are not allocated to offline machines.

Read the rest of this entry »

Samba on Mac OS and Win 10: Can’t mount SMB share, permission denied.

So you're getting this:

permission denied

When trying to mount an SMB file share on a Mac OS or Win 10?  You're likely running into the UPN limitation with users such as sam@domain.com.   Though this is a single user, the Mac OS CLI interprets this as a <user>@<host>  , which is not the case.  No escaping is possible using the @ sign, not even in passwords.  

So you'll need to use user maps to solve this one.  Keep reading.

Read the rest of this entry »

create_local_token failed: NT_STATUS_NO_MEMORY

Getting this?

   pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
  Failed to fetch domain sid for XYZ
  Failed to check for local Administrators membership (NT_STATUS_INVALID_PARAMETER_MIX)
  Failed to check for local Guests membership (NT_STATUS_INVALID_PARAMETER_MIX)
  create_local_token failed: NT_STATUS_NO_MEMORY
  ERROR: failed to setup guest info.

 

while having samba leverage SSSD?

[global]
        realm = MDS.XYZ
        workgroup = XYZ
        security = ads
        kerberos method = secrets and keytab
        template homedir = /n/%d/%u
        idmap config * : backend = tdb
        idmap config * : range = 10000-199999
        idmap config MDS : backend = sss
        idmap config MDS : range = 200000-2147483647
        passdb backend = tdbsam

        load printers = yes
        printing = cups
        printcap name = cups
        cups options = raw
        log level = 4
        max protocol = SMB3
        min protocol = NT1
        local master = no
        disable spoolss = yes

Then you need to run:

# yum install sssd-libwbclient

Cheers,
TK

INTERNAL ERROR: Signal 11 in pid 27594 (4.7.1)

Samba core dump-ed?

[2020/02/23 12:57:52.147460,  1] ../source3/smbd/smbd_cleanupd.c:99(smbd_cleanupd_unlock)
  smbd_cleanupd_unlock: Cleaning up brl and lock database after unclean shutdown
[2020/02/23 12:57:53.151160,  3] ../lib/util/access.c:361(allow_access)
  Allowed connection from 192.168.0.125 (192.168.0.125)
[2020/02/23 12:57:53.151612,  3] ../source3/smbd/oplock.c:1329(init_oplocks)
  init_oplocks: initializing messages.
[2020/02/23 12:57:53.152027,  3] ../source3/smbd/process.c:1959(process_smb)
  Transaction 0 of length 216 (0 toread)
[2020/02/23 12:57:53.152139,  3] ../source3/smbd/process.c:1539(switch_message)
  switch message SMBnegprot (pid 27594) conn 0x0
[2020/02/23 12:57:53.152242,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 12:57:53.154120,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2020/02/23 12:57:53.154203,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2020/02/23 12:57:53.154253,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2020/02/23 12:57:53.154304,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [LANMAN1.0]
[2020/02/23 12:57:53.154412,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [LM1.2X002]
[2020/02/23 12:57:53.154859,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [DOS LANMAN2.1]
[2020/02/23 12:57:53.155002,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [LANMAN2.1]
[2020/02/23 12:57:53.155086,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [Samba]
[2020/02/23 12:57:53.155181,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LANMAN 1.0]
[2020/02/23 12:57:53.155245,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LM 0.12]
[2020/02/23 12:57:53.155314,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.002]
[2020/02/23 12:57:53.155371,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.???]
[2020/02/23 12:57:53.155695,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 12:57:53.155933,  3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_FF
[2020/02/23 12:57:53.158526,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2020/02/23 12:57:53.158686,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2020/02/23 12:57:53.158748,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2020/02/23 12:57:53.158846,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'spnego' registered
[2020/02/23 12:57:53.158997,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'schannel' registered
[2020/02/23 12:57:53.159104,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2020/02/23 12:57:53.159166,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2020/02/23 12:57:53.159237,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2020/02/23 12:57:53.159312,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2020/02/23 12:57:53.159411,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_basic' registered
[2020/02/23 12:57:53.159528,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2020/02/23 12:57:53.162354,  0] ../lib/util/fault.c:78(fault_report)
  ===============================================================
[2020/02/23 12:57:53.162627,  0] ../lib/util/fault.c:79(fault_report)
  INTERNAL ERROR: Signal 11 in pid 27594 (4.7.1)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2020/02/23 12:57:53.162786,  0] ../lib/util/fault.c:81(fault_report)
  ===============================================================
[2020/02/23 12:57:53.162946,  0] ../source3/lib/util.c:804(smb_panic_s3)
  PANIC (pid 27594): internal error
[2020/02/23 12:57:53.165113,  0] ../source3/lib/util.c:915(log_stack_trace)
  BACKTRACE: 37 stack frames:
   #0 /lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f11c54c3a3a]
   #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f11c54c3b10]
   #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7f11c75beeaf]
   #3 /lib64/libsamba-util.so.0(+0x250c6) [0x7f11c75bf0c6]
   #4 /lib64/libpthread.so.0(+0xf6d0) [0x7f11c7a266d0]
   #5 /usr/lib64/samba/libgse-samba4.so(+0x9530) [0x7f11bfb25530]
   #6 /usr/lib64/samba/libgse-samba4.so(gse_krb5_get_server_keytab+0xa5) [0x7f11bfb25f25]
   #7 /usr/lib64/samba/libgse-samba4.so(+0xc1d8) [0x7f11bfb281d8]
   #8 /usr/lib64/samba/libgensec-samba4.so(+0x19eba) [0x7f11bf90aeba]
   #9 /usr/lib64/samba/libgensec-samba4.so(gensec_start_mech_by_ops+0xc) [0x7f11bf90bcbc]
   #10 /usr/lib64/samba/libgensec-samba4.so(+0xac5c) [0x7f11bf8fbc5c]
   #11 /usr/lib64/samba/libgensec-samba4.so(+0xc214) [0x7f11bf8fd214]
   #12 /usr/lib64/samba/libgensec-samba4.so(gensec_update_ev+0x7f) [0x7f11bf90a6cf]
   #13 /usr/lib64/samba/libgensec-samba4.so(gensec_update+0x17) [0x7f11bf90a7c7]
   #14 /usr/lib64/samba/libsmbd-base-samba4.so(negprot_spnego+0xa9) [0x7f11c715ef09]
   #15 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_process_negprot+0x2ca) [0x7f11c71d930a]
   #16 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0x1bcc) [0x7f11c71d609c]
   #17 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_process_negprot+0x370) [0x7f11c71d8ac0]
   #18 /usr/lib64/samba/libsmbd-base-samba4.so(reply_negprot+0x72e) [0x7f11c715fe7e]
   #19 /usr/lib64/samba/libsmbd-base-samba4.so(+0x19ec90) [0x7f11c71c0c90]
   #20 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1a0a30) [0x7f11c71c2a30]
   #21 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1a2111) [0x7f11c71c4111]
   #22 /lib64/libtevent.so.0(+0xaedb) [0x7f11c3ecfedb]
   #23 /lib64/libtevent.so.0(+0x92a7) [0x7f11c3ece2a7]
   #24 /lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f11c3eca0cd]
   #25 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f11c3eca2fb]
   #26 /lib64/libtevent.so.0(+0x9247) [0x7f11c3ece247]
   #27 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x6e4) [0x7f11c71c5444]
   #28 /usr/sbin/smbd(+0xd1d4) [0x55dc9e23f1d4]
   #29 /lib64/libtevent.so.0(+0xaedb) [0x7f11c3ecfedb]
   #30 /lib64/libtevent.so.0(+0x92a7) [0x7f11c3ece2a7]
   #31 /lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f11c3eca0cd]
   #32 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f11c3eca2fb]
   #33 /lib64/libtevent.so.0(+0x9247) [0x7f11c3ece247]
   #34 /usr/sbin/smbd(main+0x1afe) [0x55dc9e23a25e]
   #35 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f11c3b1a445]
   #36 /usr/sbin/smbd(+0x8571) [0x55dc9e23a571]
[2020/02/23 12:57:53.166810,  0] ../source3/lib/dumpcore.c:315(dump_core)
  dumping core in /var/log/samba/cores/smbd
[2020/02/23 12:57:53.178604,  3] ../source3/smbd/server.c:872(remove_child_pid)
  ../source3/smbd/server.c:872 Unclean shutdown of pid 27594
[2020/02/23 12:57:53.178726,  1] ../source3/smbd/server.c:881(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2020/02/23 12:58:13.198712,  1] ../source3/smbd/smbd_cleanupd.c:99(smbd_cleanupd_unlock)
  smbd_cleanupd_unlock: Cleaning up brl and lock database after unclean shutdown
[2020/02/23 13:00:29.876630,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:29.877861,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:29.877945,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:29.877995,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:29.879725,  3] ../source3/smbd/server_exit.c:248(exit_server_common)
  Server exit (termination signal)
[2020/02/23 13:00:30.020799,  3] ../source3/param/loadparm.c:3872(lp_load_ex)
  lp_load_ex: refreshing parameters
[2020/02/23 13:00:30.020947,  3] ../source3/param/loadparm.c:548(init_globals)
  Initialising global parameters
[2020/02/23 13:00:30.021188,  3] ../source3/param/loadparm.c:2786(lp_do_section)
  Processing section "[global]"
  doing parameter realm = MDS.XYZ
  doing parameter workgroup = MDS.XYZ
  doing parameter security = ads
  doing parameter kerberos method = secrets and keytab
  doing parameter template homedir = /n/%d/%u
  doing parameter idmap config * : backend = tdb
  doing parameter idmap config * : range = 10000 – 199999999999
  doing parameter idmap config MDS : backend = sss
  doing parameter idmap config MDS : range = 200000-2147483647
  doing parameter passdb backend = tdbsam
  doing parameter load printers = yes
  doing parameter printing = cups
  doing parameter printcap name = cups
  doing parameter cups options = raw
  doing parameter log level = 4
  doing parameter max protocol = SMB3
  doing parameter min protocol = NT1
  doing parameter local master = no
  doing parameter disable spoolss = yes
[2020/02/23 13:00:30.021871,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[homes]"
  doing parameter comment = Home Directories
  doing parameter valid users = %S, %D%w%S
  doing parameter browseable = No
  doing parameter read only = No
  doing parameter inherit acls = Yes
[2020/02/23 13:00:30.022227,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /var/tmp
  doing parameter printable = Yes
  doing parameter create mask = 0600
  doing parameter browseable = No
[2020/02/23 13:00:30.022460,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[NFS-tom]"
  doing parameter comment = NFS Shared Storage – Tom
  doing parameter path = /n/mds.xyz/tom
  doing parameter valid users = tom@mds.xyz
  doing parameter public = no
  doing parameter writable = yes
  doing parameter read only = no
  doing parameter browseable = yes
  doing parameter guest ok = no
  doing parameter printable = no
  doing parameter write list = tom@mds.xyz
  doing parameter directory mask = 0775
  doing parameter create mask = 664
[2020/02/23 13:00:30.023044,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[bob@mds.xyz]"
  doing parameter comment = NFS Shared Storage – Bob
  doing parameter path = /n/mds.xyz/bob
  doing parameter valid users = bob@mds.xyz
  doing parameter public = no
  doing parameter writable = yes
  doing parameter read only = no
  doing parameter browseable = yes
  doing parameter guest ok = yes
  doing parameter printable = no
  doing parameter write list = bob@mds.xyz
  doing parameter directory mask = 0775
  doing parameter create mask = 664
[2020/02/23 13:00:30.023553,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[NFS-root]"
  doing parameter comment = NFS Shared Storage – root
  doing parameter path = /n
  doing parameter valid users = root
  doing parameter public = no
  doing parameter writable = yes
  doing parameter read only = no
  doing parameter browseable = yes
  doing parameter guest ok = no
  doing parameter printable = no
  doing parameter write list = root
  doing parameter directory mask = 0775
  doing parameter create mask = 664
[2020/02/23 13:00:30.024085,  2] ../source3/param/loadparm.c:2803(lp_do_section)
  Processing section "[print$]"
  doing parameter comment = Printer Drivers
  doing parameter path = /var/lib/samba/drivers
  doing parameter write list = @printadmin root
  doing parameter force group = @printadmin
  doing parameter create mask = 0664
  doing parameter directory mask = 0775
[2020/02/23 13:00:30.024440,  4] ../source3/param/loadparm.c:3914(lp_load_ex)
  pm_process() returned Yes
[2020/02/23 13:00:30.024567,  3] ../source3/param/loadparm.c:1621(lp_add_ipc)
  adding IPC service
[2020/02/23 13:00:30.026316,  2] ../source3/lib/interface.c:345(add_interface)
  added interface eth0 ip=192.168.0.80 bcast=192.168.0.80 netmask=255.255.255.255
[2020/02/23 13:00:30.026434,  2] ../source3/lib/interface.c:345(add_interface)
  added interface eth0 ip=192.168.0.125 bcast=192.168.0.255 netmask=255.255.255.0
[2020/02/23 13:00:30.026525,  3] ../source3/smbd/server.c:1810(main)
  loaded services
[2020/02/23 13:00:30.030177,  1] ../source3/profile/profile.c:51(set_profile_level)
  INFO: Profiling turned OFF from pid 27888
[2020/02/23 13:00:30.030296,  3] ../source3/smbd/server.c:1830(main)
  Standard input is not a socket, assuming -D option
[2020/02/23 13:00:30.030338,  3] ../source3/smbd/server.c:1842(main)
  Becoming a daemon.
[2020/02/23 13:00:30.031339,  2] ../source3/passdb/pdb_interface.c:161(make_pdb_method_name)
  No builtin backend found, trying to load plugin
[2020/02/23 13:00:30.034313,  3] ../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib64/samba/pdb/tdbsam.so' loaded
[2020/02/23 13:00:30.042561,  3] ../source3/lib/util_procid.c:54(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
[2020/02/23 13:00:30.077473,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.077583,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.077631,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.077924,  4] ../source3/passdb/pdb_tdb.c:558(tdbsam_open)
  tdbsam_open: successfully opened /var/lib/samba/private/passdb.tdb
[2020/02/23 13:00:30.078018,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.078072,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.078108,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.078140,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.078352,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.085483,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.085569,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.085632,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.085920,  3] ../source3/auth/token_util.c:681(finalize_local_nt_token)
  Failed to fetch domain sid for MDS.XYZ
[2020/02/23 13:00:30.086009,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086101,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086152,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086189,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086316,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086377,  3] ../source3/auth/token_util.c:708(finalize_local_nt_token)
  Failed to check for local Administrators membership (NT_STATUS_INVALID_PARAMETER_MIX)
[2020/02/23 13:00:30.086461,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086512,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086551,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086673,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086749,  4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086798,  4] ../source3/smbd/uid.c:558(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/02/23 13:00:30.086835,  4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) – sec_ctx_stack_ndx = 1
[2020/02/23 13:00:30.086970,  4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) – sec_ctx_stack_ndx = 0
[2020/02/23 13:00:30.087036,  3] ../source3/auth/token_util.c:780(finalize_local_nt_token)
  Failed to check for local Guests membership (NT_STATUS_INVALID_PARAMETER_MIX)
[2020/02/23 13:00:30.087099,  0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest)
  create_local_token failed: NT_STATUS_NO_MEMORY
[2020/02/23 13:00:30.087802,  0] ../source3/smbd/server.c:2000(main)
  ERROR: failed to setup guest info.
^C
[root@nfs03 samba]#

 

Solve it by:

yum upgrade samba from 4.7.1. to 4.9.1 . 

Cheers,
TK


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License