Category / Linux

Disable 2FA in Proxmox 6

21 November, 2019

I was checking the new version of Proxmox, when I noticed there is an option to enable 2FA; (see the docs) It works really fine, but then I realized my colleague’s probably don’t have the key. To disable however, I couldn’t find it online; So I digged in the guts of Proxmox /etc/pve/user.cfg there is […]

Read More

I got this weird error; Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50162 Library:50524 Filename: mysqli/mysqli_driver.php After checking PHP seems there was a different version of MariaDB installed; 5.5 vs 10.1; php -i |grep API Server API => Command Line Interface PHP API => 20160303 Zend Extension Build => API320160303,NTS PHP Extension Build => API20160303,NTS MHASH API Version => Emulated Support Client API library […]

Read More

This is a mount issue, that I haven’t faced lately anymore; It was however in my drafts for so long; I might as wel write it up; linux_raid_member is a filesystem that is part of a software RAID meaning you need at least two disks to read the data in a “normal” state. So it […]

Read More

Library missing during install of MongoDB : gssapi/gssapi.h: No such file or directory On Centos 7.6 it gets fixed by : yum install krb5-devel.x86_64 krb5 is a development package for kerberos, a network authentication system; Kerberos is a network authentication system. The krb5-devel package contains the header files and libraries needed for compiling Kerberos 5 […]

Read More

A quick fix for a weird issue that in Proxmox unprivileged container fails to install filesystem update on Centos 7 : [[email protected] ~]# yum install filesystem Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.belnet.be * extras: ftp.belnet.be * updates: ftp.belnet.be Resolving Dependencies –> Running transaction check —> Package filesystem.x86_64 0:3.2-21.el7 will […]

Read More

Today, I had a new issue, a server blankly refused to reboot/shutdown. [[email protected] ~] reboot -h now Failed to start reboot.target: Connection timed out See system logs and ‘systemctl status reboot.target’ for details. Failed to open /dev/initctl: No such device or address Failed to talk to init daemon. I first tried : [[email protected] ~]# systemctl […]

Read More

After adding a bunch of clients, we realized that a good naming convention was required and that some funny names, where not the best choice after all. So we changed them. However, Bareos will remember those Jobs ran against the old Client. The ‘new’ name will be seen as a new client; Some of the scripts […]

Read More

A simple issue, but can be tricky nevertheless ! bareos-sd JobId 265: Warning: stored/mount.cc:270 Open device “FileStorage3” (/storage/block1) Volume “Full-0015” failed: ERR=stored/dev.cc:731 Could not open: /storage/block1/Full-0015, ERR=No such file or directory While experimenting I had made the owner of /storage/block1 different from the Bareos user; This resulted in the storage deamon (bareos-sd) not able to […]

Read More

CellProfiler is not an easy to install tool; or perhaps I was clumsy on the first attempt (building from source) but I could not get it to work properly on a Linux machine; After another attempt using miniconda, I managed to get it running. This is just a documentation of how I got it working. […]

Read More

So I was happily using sanoid, when someone made me aware of pyznap (thanks !). Ever since that comment, it was on my to-do list to check out pyznap, but if a system works, why change it ? Definitely a important cog such as automated snapshots. The new version of sanoid, breaks comparability with older versions […]

Read More