Category / Linux

While updating our network on the Rocks Cluster, the nodes had to reinstall (this is default protocol). Now however the nodes got stuck during PXE (over the net automatic installation) on the setting of the language. This is annoying as it would mean connect a screen and a keyboard to every node to install. This however […]

Read More

Rocks distro is a cluster system. It comes with SNMP configured out of the box. It is polled using Ganglia. Which is working nicely, but I like to have all SNMP data in my favorite SNMP system, LibreNMS. Changing the SNMP configuration to be able to poll from LibreNMS should be a rather straight forward process, however those nodes have […]

Read More

Oh noes, while starting a container, it failed cause of a corrupt quota file… Starting container … vzquota : (error) quota file is corrupted vzquota on failed [4] TASK ERROR: command ‘vzctl start 114’ failed: exit code 60 The fix is to remove it and rebuild it (this takes a long time, depending on the […]

Read More

Got this error : mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use ‘-o nolock’ to keep locks local, or start statd. mount.nfs: an incorrect mount option was specified You forgot the rpcbind service ! yum install rpcbind service rpcbind start chkconfig rpcbind on Glad to help 😉

Read More

Mount NFS on LXC Proxmox

8 August, 2018

I’m a long time user of Proxmox (a few years), and recently I had the chance to upgrade an by-now ancient Proxmox 3.4 to current 5.2. In that time frame the developers have changed from OpenVZ to LXC and made a script to migrate the data. One key element however, mounting (remote) NFS shares are […]

Read More

In order to increase the size of files you can upload in WordPress, we need to adapt the software powering the software. Let’s begin with PHP, I use Nginx + php-fpm to run PHP, so I need to edit /etc/php.ini on line 799, upload_max_filesize determines the maximum allowed size a PHP file will accept for upload. […]

Read More

Some powerful and or useful find commands; As with anything on the web, test before running ! (I forget the syntax so this is mainly self-documenting)     Find all *.tsv larger 1Mb, compress them with the super fast lz4 on high compression and remove the source file after this. find . -name “*.tsv” -size +1M -exec […]

Read More

This is the tale of caution, when sleep deprived, sysadmin with caution! Let’s be honest who never said : lets finish this game, let’s have another drink, I will sleep when dead, … (enter sleepless night excuse here) ? Last night for me I was on a coding spree, when a thunderstorm broke, I was […]

Read More

A weird bug that crashed the samba server : # service smb status Redirecting to /bin/systemctl status smb.service ● smb.service – Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2018-05-11 05:27:35 CEST; 4 days ago Main PID: 1130 (code=exited, status=1/FAILURE) May 11 05:27:35 svennd.be systemd[1]: Starting Samba […]

Read More

While compiling minimap 2 on Centos 7, I got his annoying error : fatal error: zlib.h: No such file or directory Missing dependency ! I wish some tool would help out and tell you, what library I was missing, so I could stop making these posts. As to the solution : yum install zlib-devel for […]

Read More