Service failed because a configured resource limit was exceeded

This error happens when the service was executed manually and failed to create a pid file. The process was already running and it was not possible to spawn a new one. Kill the running process and start the service again. # ps -elf | grep [service] | grep -v grep | awk ‘{print $4}’ |… Continue reading “Service failed because a configured resource limit was exceeded”

Enforcing password complexity on CentOS

The pam_pwquality (previously pam_cracklib) module is used to check password complexity against a set of rules. It checks if the password is found in a dictionary; if not, it will continue with additional checks. The config file is /etc/security/pwquality.conf but, if in use, it can be configured in /etc/pam.d/system-auth. To add the password policies, just… Continue reading “Enforcing password complexity on CentOS”

SMB/CIFS connection timeout kernel-3.10.0-957.21.3.el7

After upgrading to kernel-3.10.0-957.21.3.el7 on a CentOS server, I experienced connection timeout issues on Windows servers trying to access SMB shares. On the contrary, I was able to access the share using a Linux system without any problem. The bug was reported in CentOS Bug Tracker and it’s caused by one of the patches applied… Continue reading “SMB/CIFS connection timeout kernel-3.10.0-957.21.3.el7”