Header Shadow Image


Archive for the 'NIX Posts' Category

Postgres SQL HA Cluster ( Quick Start Guide )

We will be keeping the Postgres SQL HA Cluster configuration / setup very very brief using only the bare essentials to get it up and running. Before we begin, we need to plan things out on our CentOS 7.X servers.  First, fill in this table of what your cluster is supposed to look like when […]

Forbidden You don’t have permission to access /repos/ on this server.

So you get the following message when installing and configuring your HTTPD server?  Despite the right configuration you still receive the following: Forbidden You don't have permission to access /repos/ on this server.

1765328228 Cannot contact any KDC for realm

When seeing this: krb5_child.log:(Tue May 22 02:06:15 2018) [[sssd[krb5_child[1605]]]] [map_krb5_error] (0x0020): 1657: [-1765328228][Cannot contact any KDC for realm ‘MDS.XYZ’] Access denied Using keyboard-interactive authentication. Password: reverse the order of your DNS hosts in /etc/resolv.conf to this: [root@cm-r01dn07 sssd]# cat /etc/resolv.conf search mds.xyz nix.mds.xyz nameserver 192.168.0.224 nameserver 192.168.0.44 nameserver 192.168.0.45 [root@cm-r01dn07 sssd]# from this: [root@cm-r01dn07 sssd]# […]

sssd krb5_child Key table entry not found

When you get this message: May 21 00:13:31 nfs03.nix.mds.xyz [sssd[krb5_child[1822]]][1822]: Key table entry not found followed by: [[sssd[krb5_child[1752]]]] [k5c_setup_fast] (0x0020): 2628: [-1765328203][Key table entry not found] or similar, dig into the logs further to see this: (Mon May 21 00:13:33 2018) [[sssd[krb5_child[1824]]]] [find_principal_in_keytab] (0x0400): No principal matching host/nfs02.nix.mds.xyz@NIX.MDS.XYZ found in keytab. (Mon May 21 00:13:33 […]

Saving random seed failed. / No kdump initial ramdisk found. / Failed to run mkdumprd

Kdump doesn't start? [root@mbpc-pc grub]# service kdump restart Memory for crashkernel is not reserved Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel Stopping kdump:                                            [FAILED] No kdump initial ramdisk found.      […]

NFS reply xid 3844308326 reply ERR 20: Auth Rejected Credentials (client should begin new session)

Getting this? Mounts freezing?  Final verified solution is at the bottom but this can be for any number of reasons.  Keep reading: tcpdump -i eth0 -s 0 -w dump.dat tcpdump -r dump.dat |grep -Ei "psql02|nfs-c01" 02:55:48.731360 IP psql02.nix.mds.xyz.33991 > nfs-c01.nix.mds.xyz.nfs: Flags [P.], seq 1:693, ack 1, win 229, options [nop,nop,TS val 166990 ecr 5681495], length […]

rpc mount export: RPC: Unable to receive; errno = Connection refused

For the below errors: [root@psql02 log]# showmount -e nfs02 rpc mount export: RPC: Unable to receive; errno = Connection refused [root@psql02 log]# Apr 16 01:12:37 nfs02 kernel: FINAL_REJECT: IN=eth0 OUT= MAC=00:50:56:86:2d:21:00:50:56:86:3c:c7:08:00 SRC=192.168.0.124 DST=192.168.0.119 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=44729 DF PROTO=TCP SPT=978 DPT=20048 WINDOW=29200 RES=0x00 SYN URGP=0 [root@nfs02 log]# [root@nfs02 log]# [root@nfs02 log]# [root@nfs02 log]# firewall-cmd […]

psql: error while loading shared libraries: libpq.so.rh-postgresql95-5: cannot open shared object file: No such file or directory

Well heck: -bash-4.2$ psql psql: error while loading shared libraries: libpq.so.rh-postgresql95-5: cannot open shared object file: No such file or directory -bash-4.2$ So let's see what's going on: [root@ovirt01 ~]# find / -iname libpq.so* /usr/lib64/libpq.so.5 /usr/lib64/libpq.so.5.5 /opt/rh/rh-postgresql95/root/usr/lib64/libpq.so.rh-postgresql95-5 /opt/rh/rh-postgresql95/root/usr/lib64/libpq.so.rh-postgresql95-5.8 [root@ovirt01 ~]# So we can see it's in the lib64 path.  And within the root postgres folder, […]

NFS reply xid reply ERR 20: Auth Invalid failure code 13 and AD logins become hung when using NFS home directories.

You get the following error message: 15:27:35.430633 IP 192.168.0.80.nfs > 192.168.0.145.843: Flags [P.], seq 29:53, ack 417, win 235, options [nop,nop,TS val 6635947 ecr 5159126], length 24: NFS reply xid 2938911306 reply ERR 20: Auth Invalid failure code 13 Checking the nfs01 / nfs02 server we see alot of the following: [2018-04-08 17:19:39.014330] E [MSGID: […]

/usr/bin/ganesha.nfsd: /lib64/libntirpc.so.1.6: version `NTIRPC_1.6.1′ not found (required by /usr/bin/ganesha.nfsd)

What to do when you get this message below: [root@nfs01 ganesha]# systemctl status nfs-ganesha -l â nfs-ganesha.service – NFS-Ganesha file server    Loaded: loaded (/usr/lib/systemd/system/nfs-ganesha.service; enabled; vendor preset: disabled)    Active: failed (Result: exit-code) since Sun 2018-04-08 13:22:32 EDT; 1min 8s ago      Docs: http://github.com/nfs-ganesha/nfs-ganesha/wiki   Process: 2033 ExecStart=/bin/bash -c ${NUMACTL} ${NUMAOPTS} /usr/bin/ganesha.nfsd ${OPTIONS} […]


     
  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