Knowledgebase

CentOS

Cent Operating System

Articles

SSSD Is Already Running: Fix sssd Failing to Start on RHEL, AlmaLinux and Rocky Linux Updated 4 November 2026 AlmaLinux 10.2 (SSSD 2.12.0) and AlmaLinux 9.8 (SSSD 2.9.8), the same SSSD code as RHEL and Rocky Linux 9 and 10; notes On current systems, "SSSD is already running" means SSSD found its PID file and the process number in it is still alive. Either a second copy of SSSD really is running... Sample /etc/multipath.conf file Updated 28 September 2026 AlmaLinux 9 / Rocky Linux 9 Device Mapper Multipath combines several paths to the same storage (for example two SAN or iSCSI connections) into one device, for redundancy and load balancing. This... Slow SSH Logins and an Unreachable rsyslog Server: Causes and Fix Updated 4 November 2026 rsyslog 8.2x and OpenSSH 9 and 10 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 1 On older systems such as CentOS 6 (end of life), where rsyslog itself received the local log messages, an unreachable remote log server could fill rsyslog's buffer:... Steps to clean /temp on CentOS/ cPanel Server There are instances when you are unable to connect to ssh due to disk space being full in tmp, reboot the server in cloud server manager and then try again. Upon... Swapon Fails With read swap header failed or Invalid argument: Causes and Fix Updated 4 November 2026 util-linux 2.41.5 (Debian 13), 2.41.3 (Ubuntu 26.04), 2.39.3 (Ubuntu 24.04), 2.40.2 (AlmaLinux 10.2) and 2.37.4 (Rocky L swapon: /dev/sdb2: read swap header failed means swapon found no swap signature on that partition or file. Either it was never prepared with mkswap, the signature was... TCP Wrapper (hosts.allow and hosts.deny) Command Options in Linux Updated 11 October 2026 AlmaLinux 9 / Rocky Linux 9, Ubuntu 24.04 and Debian 12 TCP Wrappers let services check /etc/hosts.allow and /etc/hosts.deny before accepting a connection. They are obsolete: RHEL 8 and later (and so AlmaLinux 9 / Rocky... Too Many Sleeping MySQL Connections: Fix With wait_timeout, Not a Kill Script Updated 29 September 2026 MariaDB 10.6 to 11.8 and MySQL 8.0 and 8.4 on Linux servers, including cPanel In SHOW PROCESSLIST, idle client connections appear with the command Sleep. An older version of this article suggested a script that kills them every half second. We... Troubleshooting Connection refused from Remote Servers on Linux Updated 28 September 2026 AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10 (firewalld with nftables), Ubuntu 24.04 and 26.04 and Debian 13 (UFW o When another server or your own computer gets Connection refused, the target server answered, but nothing accepted the connection on that port. Most of the time the... Turn off color in Linux terminal/bash session You can disable all color in your shell. By default, colors are turned on by many commands. The xterm program is a terminal emulator for the X Window System. It... UFW and firewalld: Allow a Port Only From One IP Updated 18 October 2026 UFW 0.36.2 on Ubuntu 24.04 and firewalld 2.4.3 on AlmaLinux 10.2, tested; the same commands work on Debian, Rocky Linux To open a port for one IP address only, allow that address and that port together, and make sure the port is not also open to everyone. With UFW (Ubuntu, Debian): sudo... Unable to Extend an LVM Volume That Has a Snapshot: How to Fix Updated 28 September 2026 LVM 2.03 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 If a logical volume has a classic LVM snapshot, lvextend on it fails with: Snapshot origin volumes can be resized only while inactive: try lvchange -an. This message... Understanding /etc/security/limits.conf file UNIX/Linux operating systems have the ability to limit the number of various system resources available to a user process. These limitations include how many files a... Understanding /etc/xinetd.conf file in Linux The xinetd daemon is a TCP wrapped super service which controls access to a subset of popular network services including FTP, IMAP, and telnet. It also provides... Understanding /etc/xinetd.d directory under Linux xinetd daemon The xinetd daemon is a TCP wrapped super service which controls access to a subset of popular network services including FTP, IMAP, and telnet. It also... Understanding Automatic NUMA balancing NUMA is a technology that allows the system memory to be divided into zones, also named nodes. The NUMA nodes are then allocated to particular CPUs or sockets. In... Understanding Bash Startup Files: Profile and Bashrc on Linux Updated 28 September 2026 bash 5.1 to 5.3 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 When bash starts, it reads a few startup files that set environment variables, aliases and the prompt. Which files it reads depends on how the shell was started, and... Understanding DM-multipath deamon (multipathd) The multipathd daemon checks for failed paths and reconfigures the multipath map. The daemon runs the multipath utility when events occur that require a device map... Understanding DNS zone files Information about domains in the DNS database is stored in zone files. A zone file consists of directives and resource records. Directives tell the nameserver to... Understanding Linux SCSI Reservations (sg_persist and mpathpersist) Updated 28 September 2026 sg3_utils 1.46 to 1.48 and device-mapper-multipath on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 an When several servers are connected to the same shared disk (a SAN LUN), they must not write to it at the same time unless the file system is built for that. SCSI... Understanding RPM Versions and Naming Schemes RPM is a powerful software manager which can be used to build, install, query, verify, update, and uninstall individual software packages. An RPM package consists of... Understanding SELinux Booleans A given SELinux policy can be customized by enabling or disabling a set of policy Booleans. Booleans allow parts of SELinux policy to be changed at run time, without... Understanding SELinux File Labelling and SELinux Context SELinux File Labeling All files, directories, devices, and processes have a security context (or label) associated with them. For files, this context is stored in the... Understanding SELinux Policies in Linux The SELinux policy describes the access permissions for all users, programs, processes, files, and devices they act upon. SELinux implements one of two different... Understanding Samba utilities: nmblookup, smbstatus, smbtar, testparm, wbinfo, smbget The following list summarizes the command-line utilities included with the Samba packages. Use the ‘which utility‘ command to display the absolute pathname of the... Understanding TCP Wrappers (hosts.allow and hosts.deny) in Linux TCP wrappers provide basic traffic filtering of incoming network traffic. Access to “wrapped” network services running on a Linux server from other systems can be...