Header Shadow Image


Archive for March, 2022

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 […]

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", […]


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.