Questions tagged [alma-linux]

For questions specific to AlmaLinux OS, the RHEL ABI-compatible Linux distribution. If you happen to be using AlmaLinux, but you’re not sure that your question is specific to AlmaLinux, don’t use this tag; mention your environment in your question.

Filter by
Sorted by
Tagged with
0 votes
2 answers
41 views

Did my Linux host restart?

I am running AlmaLinux 9, and it has been running stable for some time. This morning I received email messages that a systemd service had restarted on its own overnight. Strange, since this service ...
TSG's user avatar
  • 1,676
1 vote
1 answer
88 views

Always source bashrc in AlmaLinux / RedHat based system

I have an infrastructure that mostly consists of Ubuntu machines and many users. We like to use X2GO for remote access, which works well. We now have an AlmaLinux 8.8 machine. When login onto that one ...
Simon T.'s user avatar
0 votes
1 answer
18 views

Expect stuck after issuing exit command from application

Normally when in interactive mode, when I type in exit, it displays Disconnected from Virtual Machine 'pick0:LINUX' and then returns to the bash shell prompt. With my expect script, it is stuck on ...
supmethods's user avatar
0 votes
0 answers
18 views

Service load is high - service_process listed in top

I can't find any information on service_process which appears intermittently when server load is high. Is there any information about this process? Is there a way to see which other process is using ...
supmethods's user avatar
0 votes
0 answers
29 views

How to install Postfix 3.7.4 or newer (ex: 3.8.3) on AlmaLinux, Rocky, CentOS and other RedHat 9.2 derivatives

I'm on AlmaLinux 9.2 (Turquoise Kodkod) with the most recent Postfix version available being 3.5.9, and I’m facing an issue with Postfix and OpenSSL 3 (link) which was fixed on Postfix 3.7.4. I saw ...
Paulo Coghi's user avatar
0 votes
1 answer
26 views

Reset systemd from deactivating state

I have stopped the D3 dababase via command line instead due to systemd have issues stopping the service. When this happens, I have to restart the server each time which takes 30 minutes at least due ...
supmethods's user avatar
1 vote
1 answer
129 views

How to install libmysqlclient-dev at AlmaLinux 9.2

I need to install libmysqlclient-dev but get No match for argument: libmysqlclient-dev Error: Unable to find a match: libmysqlclient-dev.
palmasd1's user avatar
0 votes
1 answer
29 views

systemd state to remain active on failed ExecStop

When an error occurs with the ExecStop=/usr/lib/pick/d3shutdown_custom pick0 script, I want systemd to abort the shutdown process and return to the active state. At the moment when the script exits ...
supmethods's user avatar
0 votes
0 answers
24 views

Container cycles between healthy and died

I have added a container to my AlmaLinux 8 host and it starts fine (started as a service). But I notice strange output in the log below. Systemctl reports my service is running fine. Is the below ...
TSG's user avatar
  • 1,676
0 votes
0 answers
66 views

UFW Active but Not Enabled After System Reboot in AlmaLinux 8.8 (Sapphire Caracal)

I'm encountering an issue with UFW (Uncomplicated Firewall) on my Linux system. After a system reboot, when I check the status of UFW using the ufw status command, it returns that the firewall is ...
Abdulhamid's user avatar
0 votes
0 answers
39 views

How do I create a windows server vm on existing linux server running cPanel?

I have a web server running Almalinux and cPanel (LAMP Stack). We need to run a new web app created with ASP.net and SQL Server on the same server and according to our research, there is no way to do ...
Ameer Elsherif's user avatar
0 votes
0 answers
35 views

USB Audio device no longer usable after reboot

My AlmaLinux9 server has been running great for months, playing audio through a USB device which was detected during installation. After a recent reboot I can no longer play audio because my app ...
TSG's user avatar
  • 1,676
0 votes
0 answers
307 views

Peer certificate cannot be authenticated with given CA certificates

Running on Alma Linux 8.8 but can't install the package. I get Peer certificate cannot be authenticated with given CA certificates. I have updated all packages with dnf update but the error is still ...
supmethods's user avatar
0 votes
1 answer
81 views

SSH rules are not being honoured

For some reason, restrictions are no longer being applied for SSH. I can login as any users and choose any authentication method. I have created a test user and test user is not in the allow list but ...
supmethods's user avatar
0 votes
2 answers
99 views

Disable the 'Other' User Option From LightDM

I am currently running LightDM on my AlmaLinux 8.8 machine and I wanted to know if it's possible to remove the Other user option as shown below. I have already tried to edit the /etc/lightdm/lightdm....
hymcode's user avatar
  • 31
0 votes
1 answer
514 views

TigerVNC Unable to Start Systemd Service

I recently followed a guide I found here: How to Install VNC Server on RHEL 8 to create a VNC session for a given user. I have since created a new user account: engineer and updated the systemd ...
hymcode's user avatar
  • 31
0 votes
0 answers
109 views

Fixing DBus after changing /home /lib and /root permissions

Firstly, I know, it was dumb, but now it's done and don't need to say "why did you do that" etc... So, I'm using Almalinux 9 and I changed permissions of /home /lib and /root. Now, firewalld ...
Moréo's user avatar
  • 1
0 votes
1 answer
41 views

What is dbus_enable?

I am hoping someone can explain what dbus_enable is and what benefits it would bring should I include it. Additionally I am not sure where this would be placed however I feel it may be added to the ~/....
hymcode's user avatar
  • 31
0 votes
2 answers
32 views

Long list cut off and requires piping to more. Occurs only with screen sessions

When performing a long list where there is a lot of files, the output is cut off and requires piping to more. It happens when I am logged into a screen session. What settings needs to changed for ...
supmethods's user avatar
0 votes
1 answer
183 views

Non-root users can't play audio with pipewire

I have an AlmaLinux 9 host which uses pipewire. Logging in as root I can play audio files no problem. But issuing the same command as any other user results in "host is down" error and no ...
TSG's user avatar
  • 1,676
0 votes
1 answer
38 views

yum.repos.d and dnf repolist don't seem to agree on how many repos are installed

The list of (installed?) repos in /etc/yum.repos.d [ count: 16 ] is way way different from the list of installed repos I get from dnf repolist --all [ count: 42 ]
iletras's user avatar
  • 412
1 vote
1 answer
103 views

How do I set the size of /run (tmpfs) [duplicate]

I’m running AlmaLinux 9.2 (systemd v.252) on a small embedded(-ish) system, where I like to keep a lot of stuff in /run. When I was using CentOS7.x this was on the order of 1.5G, and I never really ...
Popup's user avatar
  • 466
0 votes
0 answers
141 views

aplay with pipewire

I am running AlmaLinux 9 and have a problem playing back audio using 'aplay'. I have a service running as root, and when it tries to play the audio file I get error: aplay: main:831: audio open ...
TSG's user avatar
  • 1,676
0 votes
0 answers
88 views

How to use tmpfs in MariaDB when SELinux is enforced?

Running AlmaLinux 9.2 and MariaDB 10.11. Trying to use in my.cnf: tmpdir = /dev/shm This works fine when PHP-FPM is connecting using TCP port. Now trying to use faster Socket (/var/lib/mysql/mysql....
Ivan's user avatar
  • 1
1 vote
0 answers
260 views

Remove default route on AlmaLinux 9 / RH9

I'm running AlmaLinux 9 (a red hat 9 clone), and I would like to permanently remove a default route. My routing table is shown below, and I would like to remove the 172.31.252.1 route. I know how to ...
TSG's user avatar
  • 1,676
0 votes
1 answer
130 views

Missing /dev/dsp

I have installed Cepstral Swift (test to speech), and when I run the command which should output audio I get the error oss_audio: failed to open audio device /dev/dsp I ensure the also OSS was ...
TSG's user avatar
  • 1,676
1 vote
0 answers
29 views

Compiling mono-basic causes 'System.Xml.dll' could not be found

I am running on AlmaLinux9 (RedHat 9 clone) and have added mono-* from the EPEL repos. All worked well, but I also needed mono-vbnc so I downloaded the mono-basic project source from github. I ran ./...
TSG's user avatar
  • 1,676
1 vote
1 answer
800 views

Where did podman put my container?

I just installed AlmaLinux 9 (a Red Hat 9 clone), and setup containers with podman which is the new standard for RH9. Following some instructions online, I succesfully downloaded and ran a container ...
TSG's user avatar
  • 1,676
2 votes
1 answer
3k views

Insmod causes key rejected by service

I am running AlmaLinux 9 (RedHat 9 clone) and have compiled a new kernel module. I am running in a VM with UEFI and secure boot enabled. When I insert the module I get the following error: insmod: ...
TSG's user avatar
  • 1,676
1 vote
1 answer
540 views

Launch bottles application from command line

I have installed bottles for Windows application emulation. I am trying to start an application via command line but have not been able to start the application automatically. It opens up the bottle ...
supmethods's user avatar
0 votes
1 answer
86 views

apache, php-fpm and mod_fcgid - unable to write to file

I have install apache, php-fpm and mod_fcgid, and trying to write to file. I have created PHP pools, here's the config files: [test.internal.innovisage.com] ... user = test group = test ... listen....
supmethods's user avatar
0 votes
1 answer
86 views

How to change the default (system-wide) content of the "dock"-like favorites in Xfce?

Have a minimal installation of AlmaLinux 9.1 and also installed the group Xfce. Here is no menus, nothing just the top-bar. When pressing the WIN key, got this screen. I'm happy with it, just need ...
clt60's user avatar
  • 297
2 votes
2 answers
196 views

ec2 Alma 9.2 stuck on old kernel version

# the issue: dnf check-update Last metadata expiration check: 1:35:58 ago on Sun Jun 4 10:26:18 2023. Security: kernel-core-5.14.0-284.11.1.el9_2.aarch64 is an installed security update Security: ...
user1133275's user avatar
  • 5,514
0 votes
0 answers
413 views

Snap: error: too early for operation, device not yet seeded or device model not acknowledged

I am trying to automate the installation of mysql-workbench-community and postman via snap. However, when I run snap install mysql-workbench-community --classic, I get the error error: too early for ...
supmethods's user avatar
0 votes
0 answers
56 views

Blank Window when upgrading to AlmaLinux 8.8

I have updated to kernel 4.18.0-477.10.1.el8_8.x86_64 and now all windows are black as shown in the picture. If I make the account a system account, it works without problems. cat <<-'EOF' > ...
supmethods's user avatar
-1 votes
1 answer
99 views

BASH - if statement not working correctly

I ran the script below once and it has appended enforce_for_root at the end of line when the match pam_pwquality.so has been found. However, for some reason it keeps entering the if if ! grep -q "...
supmethods's user avatar
-2 votes
1 answer
568 views

Can't start mysql server at AlmaLinux

I try to start mysql server at AlmaLinux: [asigor@89 etc]$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) it seems to me I can't start ...
Igor Savinkin's user avatar
0 votes
1 answer
209 views

What are these bash functions on Alma Linux 8 viewable in the environment with `env`?

When I run in env in Alma Linux 8, I get the following BASH_FUNC_which%%=() { ( alias; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } ...
Evan Carroll's user avatar
  • 29.6k
2 votes
1 answer
382 views

Does AlmaLinux use both `ifcfg-` and `nmconnection` locations for storing network configuration?

I'm working on a system where we rename some of the network interfaces for consistency in the application. We're struggling to configure the IP addresses during the installation. I did a bit of ...
Prdufresne's user avatar
0 votes
0 answers
140 views

Failure to install MySQL server at AlmaLinux

I try to install MySQL server at Almalinux v. 8.7 $ sudo dnf install mysql PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64                 757  B/s | 146  B     00:00 Errors during downloading metadata for ...
Igor Savinkin's user avatar
1 vote
0 answers
32 views

Resource limits getting enforced only for processes in user's terminal not for su [user] from root's terminal

Cgroups v2 is enabled in almalinux 9.1 with kernel 5.14.0-70.22.1.el9_0.x86_64 and systemd 250 (250-12.el9_1.3). Content of /etc/systemd/system/user-1002.slice.d/override.conf: [Unit] Description=User ...
jay's user avatar
  • 31
0 votes
0 answers
361 views

AlmaLinux Postgersql installation error

I've followed the instruction at here to install Postgresql at AlmaLinux. But the error persists. $ sudo yum install -y postgresql15-server The error: PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64 ...
Igor Savinkin's user avatar
0 votes
0 answers
359 views

Mail relay allowing "internal" senders to mail only to our own domains unless they come from certain IPs or authenticate

Scroll to bottom for configuration snippets I have NewInternalMailserver being set up to relay for internal applications that have been hard coded for InternalMailServerURL. When mailing "our&...
Jan Gronemann's user avatar
1 vote
0 answers
37 views

When connecting to SSH externally, it shows as connected from the external source IP sometimes and other times it's from the internal gateway's IP

I have setup port forwarding rules on the firewall which maps external ports to internal SSH ports. The SSH port forwarding rules are for systems running on different OSes including CentOS 6, CentOS 7 ...
supmethods's user avatar
0 votes
0 answers
63 views

AlmaLinux 8 - Can't enter maintenance mode due to disable root shell

I get this prompt: Give root password for maintenance (or press Control-D to continue). However, I can't enter maintenance mode due to the root shell being disable. Is there a way to set a default ...
supmethods's user avatar
0 votes
0 answers
310 views

Issues with yum/dnf update and GPG check

When attempting to update my system/install new packages, I receive this error: Problem opening package gstreamer1-plugins-bad-1.16.1-5.el8.x86_64.rpm Problem opening package gstreamer1-plugins-ugly-1....
Waylen 's user avatar
0 votes
1 answer
161 views

Visudo - NOPASSWD does not work

I have added the users to the wheel group and have tried disabling password for some commands. Since that did not work, I tried disabling it for all commands: %wheel ALL=(ALL) NOPASSWD: ALL ...
supmethods's user avatar
0 votes
0 answers
575 views

A YUM/DNF repository defined multiple times (In-place upgrade from CentOS 7 to AlmaLinux 8)

Does anyone knows how to solve this issue? Keep getting this error when executing a leapp upgrade.
cybercat's user avatar
1 vote
1 answer
251 views

iotop fields on missing SWAPIN and IO columns on AlmaLinux 8

I am using iotop to monitor disk activity and on AlmaLinux 8 systems, iotop does not have all fields. Here are the columns on AlmaLinux 8 PID PRIO USER DISK READ DISK WRITE> COMMAND Here ...
supmethods's user avatar
0 votes
1 answer
71 views

kernel name in grub menu vs kernel.conf

I'm trying to know the difference between changing something in the name of the kernel in the grub menu vs changing the content of the name of the kernel in the .conf file in the /boot/loader/entries. ...
John's user avatar
  • 3