Header Shadow Image


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

OSPF: [EC 134217740] Packet[DD]: Neighbor 192.168.0.1 Negotiation fails.

Getting this?

2020/02/15 20:58:07 OSPF: [EC 134217740] Packet[DD]: Neighbor 192.168.0.1 Negotiation fails.

Clear up some space:

root@INTERNET-ROUTER:/jffs/ospf# ls -altri
total 668396
      1 drwxr-xr-x    9 root     root             0 Dec 31  1969 ..
     20 drwxr-xr-x    2 root     root             0 Dec 31  1969 .
     21 -rw——-    1 root     root     684436856 Feb 15 20:56 ospf.log
root@INTERNET-ROUTER:/jffs/ospf# du -sh ospf.log
652.7M  ospf.log
root@INTERNET-ROUTER:/jffs/ospf# df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock/4          96.0M     94.8M      1.2M  99% /jffs
root@INTERNET-ROUTER:/jffs/ospf# >ospf.log
root@INTERNET-ROUTER:/jffs/ospf# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                26.1M     26.1M         0 100% /
/dev/mtdblock/4          96.0M      5.6M     90.4M   6% /jffs
/dev/sda                  3.8G     33.4M      3.5G   1% /opt
root@INTERNET-ROUTER:/jffs/ospf# df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock/4          96.0M      5.3M     90.7M   6% /jffs
root@INTERNET-ROUTER:/jffs/ospf# uptime
 20:57:47 up 16:00,  load average: 3.74, 2.76, 2.65
root@INTERNET-ROUTER:/jffs/ospf#

And consider disabling debug logging:

# cat /tmp/ospfd.conf
!
! Zebra configuration saved from vty
!   2019/12/13 08:12:53
!
frr version 7.1
frr defaults traditional
!
hostname INTERNET-ROUTER
domainname
log file /jffs/ospf/ospf.log
!
!debug ospf ism
!debug ospf nsm
!debug ospf lsa
!debug ospf zebra
!debug ospf nssa
!debug ospf packet all

!
!
!
!
router ospf
 ospf router-id 192.168.0.6
 log-adjacency-changes
 network 192.168.0.0/24 area 0
!
line vty
!

 

If that doesn't work, the solution on this page might be of help?

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