Header Shadow Image

Archive for the 'NIX Posts' Category

patroni.exceptions.PatroniFatalException: ‘Can not find suitable configuration of distributed configuration store\nAvailable implementations: etcd, etcd3, kubernetes’

Getting this? [root@psql06 ~]# systemctl status patroni ? patroni.service – Runners to orchestrate a high-availability PostgreSQL    Loaded: loaded (/etc/systemd/system/patroni.service; enabled; vendor preset: disabled)    Active: failed (Result: exit-code) since Thu 2022-03-03 01:28:53 EST; 9s ago   Process: 10292 ExecStart=/usr/local/bin/patroni /etc/patroni.yml (code=exited, status=1/FAILURE)  Main PID: 10292 (code=exited, status=1/FAILURE) Mar 03 01:28:53 psql06.nix.mds.xyz patroni[10292]: File "/usr/local/lib/python3.6/site-packages/patroni/daemon.py", […]

DL380 G8: Unable to create RAID array with error Command: 51h, SCSI Status: 0000h Command Status: 0004h

Getting this error when trying to create a RAID array on your DL380 G8? A fatal error has occurred. Command: 51h SCSI Status: 0000h Command Status: 0004h Perhaps the lack of a license on the cache module is the culprit?  Or perhaps the addition of another device, such as the SSD.  Reseating the Cache Module […]

Installing Entware on Asus RT-AC88U, Asus RT-AC68U or Asus RT-AC87U

Installing Entware on Asus RT-AC88U, Asus RT-AC68U or Asus RT-AC87U .  Note, for this install, a USB drive is not required, however a USB drive is highly recommended.  However, these steps will dip into your /jffs space, so care should be taken to install just what you need, since space in /jffs is not unlimited.  IMPORTANT: if using […]

DD-WRT: Configuring for Home with OSPF and Multiple VLAN’s.

Fast forward a few years, and after a few IoT device purchases, multiple VLAN setup with DD-WRT started to become more attractive.  More importantly, a friend asked about the same so I've set out to do just that: setup additional VLAN's for my own network via DD-WRT.  Why would I want to do this?  For […]

DD-WRT WiFi: Slow connection or no connectivity at all.

When running DD-WRT firmware, slow speeds are seen or there is no connectivity?  Try to disable the Frame Burst rate in Wireless -> wl1-Advanced .  According to the definition, this can help with multiple devices. CTS Protection Mode The default value is Disabled. When set to Auto, a protection mechanism will ensure that your Wireless-B devices will connect […]

journalctl: wrap lines and tail effect

Trying to use journalctl to view logs but the output get's truncated or doesn't wrap around.  Using the following for me had best results in my case: journalctl -xe -u kubelet.service -f Other variations with slightly different results: journalctl -xe -u kubelet.service -fn100 Another variant that can be usefull includes: journalctl -xe -u kubelet.service | […]

GlusterFS: Renaming a Brick

So you want to replace a GlustetFS brick? In other words, how do I rename a brick path in glusterfs? NOTICE: Anytime there is any data manipulation on any environment, backups should always be taken.  So please make a copy or a backup of your files prior to executing any of the commands.  The steps […]

Got permission denied while trying to connect to the Docker daemon socket

Getting this? Got permission denied while trying to connect to the Docker daemon socket Solve it with this: sudo chmod 666 /var/run/docker.sock Cheers, Tom

FreeIPA: Adding and removing CNAME records.

To add a cname record:  ipa dnsrecord-add nix.mds.xyz portal –cname-rec='long-host01.nix.mds.xyz.' to remove a cname record:  ipa dnsrecord-del nix.mds.xyz portal –cname-rec='long-host01.nix.mds.xyz.' Cheers, TK

Atlassian Confluence:Component ‘Operating System’ alerted ‘Low free memory’ and Component ‘Java’ alerted ‘Garbage collection exceeded time limit’

Seeing the following alerts? [2020-04-17 21:53:30,207] 2020-04-18T01:53:30.200Z Component 'Operating System' alerted 'Low free memory' (details: {"freeInMegabytes":62,"totalInMegabytes":5805,"minimumInMegabytes":256}, trigger: {"pluginKey": "not-detected"}) [2021-12-13 06:44:52,432] 2021-12-13T11:44:48.953Z Component ‘Java’ alerted ‘Garbage collection exceeded time limit’ (details: {“durationInMillis”:2181,”windowInMillis”:20000,”limitPercent”:10,”threadMemoryAllocations”:””,”threadDump”:[]}, trigger: {"pluginKey": "not-detected"}) Time to up the memory on the host and adjust the environment properties: /atlas/atlassian/confluence/ cat bin/setenv.sh # See the CATALINA_OPTS below […]

  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