Questions tagged [rocky-linux]

Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®.

Filter by
Sorted by
Tagged with
7 votes
3 answers
3k views

Is there a good way to allow non-root users to mount arbitrary external USB drives on Linux?

We have a situation where a site office has a couple of Rocky Linux 8 servers and regularly receives large amounts of data from clients. Data arrives on a variety of external USB hard drives and the ...
bolind's user avatar
  • 201
5 votes
2 answers
892 views

CentOS: Admin user on xrdp session can't do admin

I'm running a Rocky Linux 8.4 workstation with GNOME and MATE desktops, but I've seen the same problem on CentOS 7.9... When I log into the machine on the local display, I can do things like ...
kbro's user avatar
  • 270
3 votes
1 answer
214 views

Why does xinetd try to close file descriptors on startup?

I have xinetd running inside a docker container (base image centos:7) on a rockylinux 9 host machine. On starting xinetd service in the docker image, it appears to hang. So I used strace, and found ...
MirroredFate's user avatar
3 votes
1 answer
1k views

How to use cgroup v2 to limit memory and cpu per user group?

With cgroup v1, I can have group configuration in cgconfig.conf and assign groups to different users in cgrules.conf However, it seems to me that cgconfig and cgrules can't be used along with cgroup ...
Lei Yu's user avatar
  • 131
3 votes
0 answers
851 views

How to prevent changes of GRUB_ENABLE_BLSCFG in /etc/default/grub

With Rocky Linux 8.4 (clone of RHEL 8.4) in /etc/default/grub I have GRUB_ENABLE_BLSCFG=false A “dnf update” that included grub2-tools changed it back to GRUB_ENABLE_BLSCFG=true Is there some way to ...
cen2rocky's user avatar
2 votes
2 answers
2k views

Why is pvscan skipping my devices?

I had a CentOS 7 server configured with a volume group that spanned 5 external hard drives. I upgraded the OS to Rocky 9, and now Rocky 9 isn't seeing the physical volumes, volume group or logical ...
John's user avatar
  • 151
2 votes
2 answers
2k views

RockyLinux: unable to load cifs module

I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message: # mount -t cifs -o user=<remarked>,domain=<remarked>,password=<remarked&...
Volker Raschek's user avatar
2 votes
1 answer
15k views

SSL error "unexpected eof while reading" on same server as the originating request

First, I'm aware of the SSL Library Error: error:0A000126:SSL routines::unexpected eof while reading error stemming from OpenSSL 3 reintroducing a feature to prevent truncation attacks. The question I ...
oucil's user avatar
  • 587
2 votes
0 answers
188 views

Module RPMs makes kickstart installation of RHEL based distributions unusable

The title of the post has it all. The first steps to migrate from CentOS 7 to Rocky Linux 8 fail (in my eyes) because of module RPMs. If something is installed the traditional way via dnf, dnf notices ...
Volker Raschek's user avatar
2 votes
0 answers
223 views

Proper repolist after migrate2rocky.sh to Rocky

My migration from centos8 to Rocky linux went pretty well myhost /etc/yum.repos.d # uname -r 4.18.0 myhost /etc/yum.repos.d # Goal for this question; is this repolist sane? Or are some not migrated ...
Jeff Albrecht's user avatar
1 vote
1 answer
252 views

Enable BTRFS in kernel (running Rocky Linux 9.2)

I am trying to read an encrypted filesystem pulled from a Fedora 38 installation on Rocky Linux 9.2. When I plug the SSD in, it shows the following error: I suppose that this means (1) the default ...
Lucky's user avatar
  • 113
1 vote
4 answers
2k views

nftables firewall configuration on Rocky 9.1

I have installed K3s with Rancher on Rocky 9.1 machine. According to the manual, firewalld must be turned off. To turn off the firewalld, I performed: systemctl disable firewalld systemctl mask --now ...
user2780979's user avatar
1 vote
1 answer
576 views

Disabling GSSAuthentication in sshd_conf has no effect

I'm using a fresh install of the most recent build of RockyLinux 9. I'm trying to disable GSSAPI for SSH based login, along with passwords and permit only public key based login. Setting ...
David's user avatar
  • 588
1 vote
2 answers
1k views

mariabackup fails with Error: cannot mkdir 2: /data/backups/mariadb/

Trying to use mariabackup to take backup of all our databases. First created backup directory as mkdir -p /mnt/data/backup/mariadb chown -R mysql:mysql /mnt/data/backup/mariadb And proceed to do ...
Joel Divekar's user avatar
1 vote
1 answer
292 views

Why is my Linux console polluted with messages?

I have Windows 10 Professional installed on a laptop with a 10th gen Intel i7 and 16 GB of RAM. I installed Hyper-V Manager and spun up a Rocky Linux 8 VM with no GUI. All went fine. But after the ...
Michael Buckman's user avatar
1 vote
2 answers
307 views

SELinux blocking nginx -t

I'm setting up Rocky Linux and I've run into this error: sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission ...
Blue Nomad's user avatar
1 vote
1 answer
148 views

Could not bind to address no listening sockets available

RockyLinux 9. On reboot Apache fails to start with the message Jul 21 10:53:13 cl httpd[877]: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 1.2.3.4:80 Jul 21 10:53:...
Clodoaldo's user avatar
  • 433
1 vote
1 answer
769 views

Install QEMU for Docker Buildx on Rocky Linux 8

I am preparing a Rocky Linux 8.6 system to run Docker Buildx for multi-architecture images. Ideally I'd like to have a host installation of QEMU and binfmt_misc (rather than one based on a Docker ...
Marcel Stör's user avatar
1 vote
1 answer
8k views

Postfix causes issues when its service is enabled using systemctl and doesn't launch on boot

On a Rocky Linux version 8.5 machine (a bug-for-bug compatible Red Hat Enterprise Linux downstream), I have configured Postfix + Dovecot setup. After troubleshooting all configuration errors, I got to ...
Marty Cagas's user avatar
1 vote
0 answers
146 views

How to move Spam emails to Spam folder With RoundCube and Dovecot-Pigeonhole

OS: Rocky Linux 9.2 Services: Dovecot, Dovecot-Pigeonhole, Postfix, Spamassassin, RoundCube I'm trying to move emails flagged as spam by postfix and spamassassin to spam folder using Dovecot-...
Hady Shaltout's user avatar
1 vote
1 answer
186 views

Rocky Linux 9 touch screen disable on-screen keyboard

I need to run an application on X11 in Rocky Linux 9.2, on a machine that uses a touchscreen monitor in addition to a mouse and physical keyboard. When I launch the application by touching its icon, ...
EK0's user avatar
  • 235
1 vote
1 answer
534 views

High process memory usage (VmRSS) on rocky 8 vs. centos 7.7 for essentially everything

We're migrating some servers from centos 7.7ish to Rocky linux 8, and we're finding just about every process is using 20-50% more memory, causing machines to lock up. For example, sh on centos: # sh -...
Matt DiMeo's user avatar
1 vote
1 answer
407 views

Yum dependencies and metadata for java-headless

I'm trying to install Java 8 and Tomcat 9 on a RockyLinux 9 server. Installing tomcat (from EPEL) requires java-headless >= 1:1.8.0 which is resolved to java-11-openjdk-headless. So Java 11 gets ...
nathou's user avatar
  • 163
1 vote
0 answers
125 views

Error deploying Ceph Quincy using ceph-ansible 7 on Rocky 9

I am trying to deploy Ceph Quincy using ceph-ansible on Rocky9. I am getting some problems and I don't know where to search for the reason. PS : I did the same deployment on Rocky8 using ceph-ansible ...
Wodel's user avatar
  • 51
1 vote
1 answer
246 views

Occasional packet loss between bridge interfaces

I have two virtualization servers based on libvirt and KVM. And sometimes I see packages get lost on one particular virtual machine. After restarting the virtualization host this problem is solved, ...
akashavkin's user avatar
1 vote
0 answers
51 views

KVM : What is the Maximum Number of Physical CPU and Physical Core KVM Can Support on a Single HOST

I am new here so this is my first day with a very confusing Quistion so please help me to understand it Properly. Expert Advise Required My Quastion is : I have a dell PowerEDGE Server With Intel ...
Tech Donkeey's user avatar
1 vote
0 answers
143 views

Need help grocking packet drop stats reported by ethtool (EL7/EL8)

I've been trying to read up on the details of drops as they are reported by various tools (and at various levels) of the OS. So far, most of the info I've been able to dig up by googling seems rather &...
guzzijason's user avatar
  • 1,420
1 vote
1 answer
823 views

Java unable to start as service on Centos/Rocky/Fedora "Failed to mark memory page as executable"

A bit of a strange issue here that google doesn't turn up any results for except the JVM source code of this error message. I have a simple Spring Boot fat jar, myapp.jar and I am trying to run this ...
william00179's user avatar
1 vote
0 answers
550 views

PCS Cluster - Binding nfsserver resource to specific IP

I'm trying to deploy a HA NFS Cluster Architecture with PCS on Rocky Linux 8.5 . Current kernel and nfs related package versions, pcs configurations are shown with detail below. I'm not able to ...
Aesnak's user avatar
  • 571
1 vote
0 answers
3k views

Samba/Winbind domain member authentication issue

In setting up a new Linux Samba fileserver as a AD member I keep running into an issue with authentication. It appears to be triggered by running with selinux in Enforcing mode after joining AD, but ...
codeskipper's user avatar
1 vote
1 answer
2k views

podman container fails to start: mkdir journal dir permission denied

I had some containers running smoothly in Centos 8.2 with podman. After upgrading to Centos 8.5, I found several of the containers failing to run. In the command line, I see this: $ podman run --name=...
molsqueak's user avatar
0 votes
3 answers
1k views

Virsh command hangs when script runs in the background

I have a bash script which runs as a cronjob. This script runs several commands and one of them is the following virsh command: /usr/bin/virsh list --all When I run this script in the terminal (as ...
Esteban's user avatar
  • 35
0 votes
1 answer
113 views

I want to make Linux Kernel Source an RPM file

I am currently using Rocky Linux 8.7. The current kernel version is "4.18.0-425.13.1.el8_7.x86_64". I want to upgrade kernel through RPM, not source compile. In the kernel compile step, use ...
gotothesky's user avatar
0 votes
2 answers
40 views

Almalinux - Extending logical drive partition after resize

I am trying to extend the disk space on an AlmaLinux server (running on a VM), this is a live email server, so I really can't mess this up. There are other posts on this operation, but I am not quite ...
jon_the_eye's user avatar
0 votes
1 answer
120 views

Networkmanager nmtui static IP/ external IP / public IP address

For long time try to setup my external IP address on centos7,rocky on with "Networkmanager" but its working only with systemd-networkd. Found some solution and use systemd-networkd but now ...
user956584's user avatar
0 votes
2 answers
216 views

SELinux support for OpenStack deployment on Rocky Linux 9

On the official article for installing openstack on RHEL/CentOS, it has mentioned at the end that one should also install openstack-selinux “to automatically manage security policies for OpenStack ...
jimmymcheung's user avatar
0 votes
1 answer
219 views

NFSv4 and CentOS

I have a storage server, running Rocky 8, and multiple clients, using Rocky 8, CentOS 7, and Debian 10/11, that connect via NFS with different exports for different file systems. One of the file ...
Chris Woelkers's user avatar
0 votes
2 answers
6k views

Kubelet Error - the container runtime endpoint address was not specified or empty

I try to install Kubernetes Cluster v1.26 (3 nodes - Rocky 9) using kubeadm and I have a problem regarding kubelet. I have followed this tutorial in parallel with official kubernetes cluster ...
Lucian's user avatar
  • 11
0 votes
1 answer
170 views

ceph-deploy install command fails with [ceph_deploy][ERROR ] RuntimeError: configparser.NoSectionError: No section: 'main'

Command ceph-deploy install admin datanode_dn2 fails with output: [ceph_deploy.install][INFO ] Distro info: rocky 9.1 blue onyx [admin][INFO ] installing Ceph on admin [admin][INFO ] Running ...
Kabira  K's user avatar
  • 133
0 votes
1 answer
3k views

Make IP route and routing rules permanent using nmcli on RHEL 8 / Rocky 8

I have a network interface for which I would like to configure routes. # ip address show br_10G_V888 6: br_10G_V888: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group ...
Nicolas De Jay's user avatar
0 votes
1 answer
790 views

SystemD memcached service - (code=exited, status=1/FAILURE)

So I had to deploy in Rocky Linux 8 memcached with SOCKET in /var/run/memcached In order to avoid the service to fail, I have run the following: systemctl edit memcached.service Pasted in: [Unit] ...
Uhl Hosting's user avatar
0 votes
1 answer
651 views

Docker-ce oppening Firewalld ports on rocky 8

Docker-cd, when run with -p 3010:3010 bypass the firewall and open the container port to the world... If i disable docker and run a python -m http.server, the port is blocked to the outside (as it ...
Techmago's user avatar
  • 103
0 votes
0 answers
27 views

Configure a server to act as an internet gateway [duplicate]

I have two virtual servers hosted in Hetzner Cloud. The first server (let's call it Access Server) has a Public IP assigned and has internet access. The second server does not has a public IP assigned ...
Arnold Zahrneinder's user avatar
0 votes
1 answer
45 views

Partial Results Error during File Upload – Seeking Assistance (CentOS 8.8, PHP 8.2, WordPress)

I hope you're doing well. I'm reaching out because I've hit a roadblock with my WordPress website and file uploads. Here's the error message that has been causing me headaches: [Thu Nov 02 16:55:53....
LKX's user avatar
  • 1
0 votes
0 answers
150 views

How to fix NetworkManager-dispatcher script permission denied error?

I've got a fully updated RockyLinux 9.2 server, where I have a couple of network services running via Systemd. Following the instructions such as from here and here, I created a shell script that's ...
hpy's user avatar
  • 855
0 votes
0 answers
236 views

How to install geoiplookup on CentOS 9 / Rocky 9 / Almalinux 9

geoiplookup is no longer in yum. Supposed replacement mmdblookup is also not available. How to install geoiplookup on CentOS 9 / Rocky 9 / Almalinux 9?
Nick's user avatar
  • 826
0 votes
0 answers
35 views

openLDAP olcAccess settings

i have installed openLdap server on a Rokye Linux: [root@localhost etc]# cat rocky-release Rocky Linux release 8.8 (Green Obsidian) I created the manager account following this guide on how to forge. ...
CiaoCiao's user avatar
0 votes
1 answer
104 views

Unable to configure fail2ban to protect samba shares

With this configuration service (fail2ban) starts, logfile register wrong attempts, but still not count attempts in fail2ban-client. I suspect that there is a problem with regex, but this is the only ...
Ivan's user avatar
  • 1
0 votes
1 answer
90 views

How do I install an updated HPLIP on Rocky 8?

I have an HP Laserjet Pro M148 multifunction printer/scanner that requires an updated hplip. The HP RPMs for Centos and RHEL are broken and HP's instructions for the manual build and install don't ...
Joseph Freivald's user avatar
0 votes
1 answer
2k views

SSH login timeout before authentication

I have an OCI instance running Rocky Linux 9.2. It is running a production website but for some reason I have suddenly stopped being able to log in with SSH. I have tested the connection to port 22 by ...
fvlasie's user avatar