Category / SysAdmin

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

Finally got time to give Centos 8 a spin in a Proxmox Linux container (lxc); I downloaded the template, and started a container only to find its not possible : extracting archive ‘/var/lib/vz/template/cache/centos-8-default_20191016_amd64.tar.xz’ Total bytes read: 673566720 (643MiB, 37MiB/s) Detected container architecture: amd64 TASK ERROR: unable to create CT 100 – unsupported centos release ‘CentOS […]

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

When a Client job fails and reports : Error: VSS API failure calling “BackupComplete”. ERR=Object is not initialized; called during restore or not called in correct sequence. Try to start the Service : VSS manually; This solved the issue for a few Clients;

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

Doesn’t happen often that I need Windows tools, but this worked nicely, so I though I share it with the future me that will have forgotten about this method; On the domain server open a “Windows Powershell”; Import the module : Import-Module ActiveDirectory Then create the list of “enabled” users : Get-ADComputer -Filter {enabled -eq […]

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