Header Shadow Image


Archive for the 'NIX Posts' Category

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,    

Customizing vi and vim rc files: ~/.virc and ~/.vimrc

If you're looking: cat ~/.vimrc " Enable plugins filetype plugin on " Enable indentation filetype indent on " Turn syntax highlighting off.  (In case there's inefficient contract between available colors.) syntax off " Set line numbering set number What about VI?  For vi, the above will also work however this is manged by the cat […]

Patroni: FATAL:  could not connect to the primary server: server closed the connection unexpectedly

Getting this? [root@psql04 ~]# tail -f /data/patroni/log/postgresql-Wed.log 2022-03-09 20:07:40.890 EST [27627] FATAL:  could not connect to the primary server: server closed the connection unexpectedly                 This probably means the server terminated abnormally                 before or while processing the request. ^C [root@psql04 […]

Patroni cluster not initializing

Not getting a cluster initialized when using patroni? [root@psql06 patroni]# systemctl status patroni ? patroni.service – Runners to orchestrate a high-availability PostgreSQL    Loaded: loaded (/etc/systemd/system/patroni.service; enabled; vendor preset: disabled)    Active: active (running) since Sun 2022-03-06 14:08:28 EST; 2min 13s ago  Main PID: 5857 (patroni)    CGroup: /system.slice/patroni.service            ??5857 […]

LOG:  specifying both host name and CIDR mask is invalid

Getting this? [root@psql06 log]# ls -altri total 12  69297428 drwx——.  2 postgres postgres   31 Mar  6 12:29 .  69297429 -rw——-.  1 postgres postgres 7245 Mar  6 12:37 postgresql-Sun.log 135582283 drwx——. 20 postgres postgres 4096 Mar  6 12:37 .. [root@psql06 log]# cat postgresql-Sun.log 2022-03-06 12:29:47.467 EST [15085] LOG:  specifying both host name and CIDR mask […]


     
  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