Header Shadow Image


Archive for the 'NIX Posts' Category

Patroni and ETCD: Upgrade from PostgreSQL 10 to PostgreSQL 14

Patroni and ETCD: Upgrade from PostgreSQL 10 to PostgreSQL 14 Begin by installing PostgreSQL 14.  In this case we're installing all PostgreSQL 14 packages. yum install postgresql14* Check version after installation: [root@psql04 ~]# /usr/pgsql-14/bin/psql –version psql (PostgreSQL) 14.5 [root@psql04 ~]# [root@psql04 ~]# grep -Ei bin_dir /etc/patroni.yml     bin_dir: /usr/pgsql-14/bin [root@psql04 ~]#

Internal Database Error encountered: Could not connect to LDAP server host idmipa01.nix.mds.xyz port 636 Error netscape.ldap.LDAPException: Authentication failed (48)

Restore VM's from snapshot.  Yes, this is a new attempt at restoring some FreeIPA hosts that have been, ahem, neglected slightly to the point where things expired and don't work.  A few unexpected reboots and FS corruption didn't help the matter either.  Regardless, the recovery will in many ways show off the restoration capabilities of.FreeIPA which […]

vmware: no healthy upstream

After a hard reset, a greeting of: no healthy upstream pops up from the vSphere Client.  Login as root and issue: service-control –start vmware-vpxd to see if there's any  additional information in regards to this error.  You may  or may not receive more info.  Check the time and NTP settings. There's a good chance time […]

NTPD: Setting up an NTP server on DD-WRT or OpenWRT

Recent power outages and ISP outages left my network without a proper internal NTP server which was, coincidently, installed on an ESXi host.  Having to revert to an external NTP server for the time being, a recent outage with my ISP highlighted the fact that even that isn't enough.  The ISP outage () made it […]

DD-WRT: DHCP not working not assigning IP – Local DNS fix

Not getting a DHCP IP?  Instead getting: 169.254 169.254.149.164 The tcpdump of the traffic from the affected DD-WRT router shows the DHCP sending over a valid IP yet said IP address is not assigned to the 5Ghz WIFI band? 23:54:16.735841 bb:bb:bb:bb:bb:bb > aa:aa:aa:aa:aa:aa, ethertype 802.1Q (0x8100), length 366: vlan 1, p 0, ethertype IPv4 (0x0800), […]

DD-WRT: Missing 5Ghz settings and kern.warn kernel: wl driver 7.14.164.18 (r692288) failed with code 1

If the Wireless setup page is missing the 5GHz or any GHz settings, or other pages are missing this info:it could be a sign of exhausted nvram.  A clue to this is when resetting the nvram to defaults, all options become available again.  But what about this message? kern.warn kernel: wl driver 7.14.164.18 (r692288) failed […]

r8169 0000:09:00.0: no dedicated PHY driver found for PHY ID 0x001cc912, maybe realtek.ko needs to be added to initramfs?

After regenerating the initramfs using dracut -f, we end up seeing the following, rather disappointing message: r8169 0000:09:00.0: no dedicated PHY driver found for PHY ID 0x001cc912, maybe realtek.ko needs to be added to initramfs? More specifically, in order to fix a QLogic card firmware issue on the following Linux kernel level, which foced the […]

gnome-session[2995]: WARNING: Unable to find required component ‘gnome-shell’

Gnome session issues: Apr  9 17:02:55 rfc1178-01 systemd[1]: Cannot add dependency job for unit sys-kernel-security.mount, ignoring: Unit sys-kernel-security.mount failed to load: Invalid argument. See system logs and 'systemctl status sys-kernel-security.mount' for details. Apr  9 17:02:55 rfc1178-01 systemd[1]: Stopping Remote desktop service (VNC)… Apr  9 17:02:55 rfc1178-01 gnome-session[2885]: gnome-session[2885]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource […]

FATA[0000] listing images: rpc error: code = Unknown desc = layer not known

Getting this? [root@rhcpm03 ~]# crictl images FATA[0000] listing images: rpc error: code = Unknown desc = layer not known [root@rhcpm03 ~]# Solve it with this: mv /var/lib/containers/storage/overlay-images /root/ and reboot.  Result: [root@rhcpm03 ~]# crictl images IMAGE                                       […]

github: fatal: Authentication failed for

Seeing this? github: fatal: Authentication failed for Renew the github token: Github Login -> Settings -> Developer Settings -> Personal Access Tokens Expired today. Use the new token! Cheers,    


     
  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