Skip to main content

Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Serial Console is not accessible from VMs created from a custom AlmaLinux 9.3 image

I'm currently following the "RHEL 8+ using Hyper-V Manager" section in Microsoft Azure's documentation link to create RedHat Azure images. I've successfully created a modified AlmaLinux 9.2 ...
supmethods's user avatar
0 votes
2 answers
28 views

How do I get linux flavors, like Fedora, RHEL, Amazon Linux, and others that don't update motd on login to do so?

I am trying to get my Amazon Linux 2023 server to update the MOTD on login, not on a timer or by fiddling with the profile. I want a clean experience for users whether they re-exec their shell, or ...
four43's user avatar
  • 109
0 votes
0 answers
24 views

OS kills process before it executes stop script

I have Red Hat Enterprise Linux 8.10 (Ootpa). I create a init script to stop MQSeries. before it runs the script from /etc/init.d, the MQ processes are killed. LOG extract: Jul 10 11:45:44 ...
Emile Kearns's user avatar
2 votes
2 answers
44 views

Why is the group permissions rwx for folder but read for newly created files within it?

On Rocky 8 (Redhat), I have a site running under Apache (httpd). I have the permissions set as follows including setguid so files created within the uploads folder inherit the group: [root@myserver ~]#...
Confounder's user avatar
-2 votes
1 answer
38 views

What important side effects causes on a RHEL system to disable user namespaces?

In order to mitigate a CVE issue I have on a list of servers, I came across this link from RHEL. Under the mitigation steps, there are two options, one is to blacklist a nfs_tables kernel module which ...
VaTo's user avatar
  • 3,181
0 votes
0 answers
7 views

Rebooting directly into MOK

I'd like to enroll a new key in a GCP VM. I'm using the mok --import command, and rebooting form the serial console. The problem is that, when the splash screen appears, the serial console does not ...
Razvan Sodoleanu's user avatar
0 votes
0 answers
69 views

In some linux system , echo $DISPLAY shows :1 instead of :0 why is that?

DISPLAY as :1 typically means that your X server instance is running on display :1, but why it doesn't runs in :0, there is no other display nothing else is connected with my laptop, why it chose :1 , ...
UNREAL's user avatar
  • 101
-1 votes
3 answers
49 views

ext4 filesystem on RHEL 7

I have a RHEL 7 ext4 type filesystem and because of the lack of funding and no backups available I am trying to see if I can import ext4 filesystem from RHEL 7 into RHEL 8. I have a RHEL 7 with 2 ...
user2037551's user avatar
0 votes
1 answer
63 views

diagnosing chronyc sources unusable - time won't sync

Trying to get chrony working on a LAN, in RHEL-8.10. The service on either my chrony server or a client appears to be functional as reported by a service chronyd status -l. However I cannot get time ...
ron's user avatar
  • 7,162
-1 votes
1 answer
32 views

Debian update-alternatives vs Red Hat alternatives

Since CentOS 7 is at its EOL, I am trying to migrate to Ubuntu. Many of our setups involve alternatives to be configured. In Ubuntu, there is no alternatives command but there is an update-...
leoOrion's user avatar
  • 117
6 votes
1 answer
469 views

How can I confirm for sure that a CVE has been mitigated on a RHEL system?

I have this problem, I'm trying to see if a group of servers are vulnerable to the CVE CVE-2024-1086 so what I do in the server is rpm -qa --changelog kernel | grep 2024-1086, and I get this as output:...
VaTo's user avatar
  • 3,181
1 vote
0 answers
13 views

Generating an ISO image with genisoimage but it's not perserving the ownership?

Generating an ISO image with genisoimage but it's not perserving the ownership, I am using the following command genisoimage -r -v -o <image-name.iso> -R -J <path_to_the_directory>, but it ...
Hasnain Zafar's user avatar
0 votes
0 answers
19 views

Using Linux server as a gateway for specific addresses in internal network

I have a RHEL 9 server which has IP addresses as 172.10.0.10 and 172.30.1.10, which is connected to two separate switches with two separate network interfaces. This server runs a virtual machine, ...
discouragedone's user avatar
0 votes
1 answer
40 views

What is the difference between Red Hat SysV and Unix System V?

Prior to RHEL 7, their distributions were built on SysV, a manager that looks much like the legacy System V (init.d, rc, runlevels...). They changed it to systemd from RHEL 7. But what is the real ...
Sandburg's user avatar
  • 359
0 votes
0 answers
11 views

Change location of user defined odbc

BY default "USER DATA SOURCES" must be $HOME/.odbc.ini, But in a newly built RHEL8 server is showing the below result. Is its possible to update the "USER DATA SOURCES" location as ...
Siva's user avatar
  • 9,077
-2 votes
0 answers
26 views

Having A Kickstart File prompt for Network Information in RHEL 9

How do I go about having RHEL ask you for the network and hostname information now that bootproto=query and asknetwork have been sunset?
Kaibien's user avatar
0 votes
0 answers
52 views

How do I create an SElinux policy to allow php-fpm to execute optipng?

I am running Wordpress in Rocky Linux 9 and need optipng for some image transformation tasks, but it is being blocked: SELinux is preventing /usr/sbin/php-fpm from execute access on the file optipng. ...
location's user avatar
3 votes
2 answers
257 views

giving variables a default value in a spec file

I have a spec (myspecfile.spec) file that looks similar to Name: package-%{myname} Version: %{myversion} Release: %{myrelease} License: gpl2 Summary: this is my package BuildArch: noarch %...
basil's user avatar
  • 143
0 votes
2 answers
70 views

RHEL 9 nmcli how to change permanently ethtool settings?

[root@101 system-connections]# nmcli c modify enp2s0f0 ethtool.tx-checksumming off Error: invalid property 'tx-checksumming': 'tx-checksumming' not among [feature-esp-hw-offload, feature-esp-tx-csum-...
None's user avatar
  • 647
0 votes
0 answers
44 views

How to use a Red Hat Enterprise Linux (RHEL) Yum repository server on CentOS

I have created a yum repository server on RHEL. That server work on RHEL client machine. I want use this server on CentOS client machine. I have create a repo file under the /etc/yum.repos.d/x when i ...
Chirag Darji's user avatar
2 votes
1 answer
38 views

Increase root space in RHEL

I have a VM (RHEL, in vSphere), that is running out of space in /dev/mapper/rhel-root. Wich one should be the easiest approach against this problem? I added 10GB to the virtual HardDisk of the VM and ...
Santiago Pelaez's user avatar
0 votes
1 answer
33 views

RedHat Quay does not start on RHEL 9.4

I'm not super deep on troubleshooting yet, but I have fired up a brand new install of RHEL 9.4 minimal just to run RedHat Quay. I followed the instructions exactly as listed here, but when I run the ...
Grant Curell's user avatar
2 votes
1 answer
115 views

Configuring sshd directly instead of using "security policy" on RHEL 8

RHEL 8 overrides some sshd settings, so no matter what it has been set in /etc/ssh/sshd_config, the options listed in /etc/crypto-policies/back-ends/opensshserver.config takes precedence. From my ...
pepoluan's user avatar
  • 1,363
0 votes
0 answers
18 views

act_connmark kernel module in RHEL

act_connmark kernel module is used by tc ... action connmark. For some reason, I cannot find this module in RHEL, but it's available in Centos and Ubuntu. yum -y install kernel-modules-extra installs ...
Alex Panchenko's user avatar
0 votes
1 answer
63 views

How can I get the list of available desktop environments?

Suppose I'm on a Linux machine, in a shell session, and I want to obtain the list of options I would have if I logged in graphically and had to choose a desktop environment / session type. I expect a ...
einpoklum's user avatar
  • 9,653
0 votes
0 answers
116 views

CentOS 9 / AlmaLinux 9 / Rocky Linux 9 and xtables-addons: xt_geoip missing kernel module

I'm trying to get working xt_geoip extension on RHEL 9 compatible OSes. I've installed xtables-addons from rpmfusion repo and the xt_geoip extension was working for a while, but after OS ...
MarcinC's user avatar
  • 21
0 votes
1 answer
58 views

sudo passwordless in ssh session not working

In RHEL7, I have the same local users on all machines within my cloud tenancy. That local user is configured in sudoers to be able to: run all commands, run sudo commands without password EDIT: ssh ...
Lou Lee's user avatar
0 votes
0 answers
38 views

RHEL 9: black screen after login (ASMB11-iKVM)

Fresh install of RHEL9, once logged in, I get a black screen for Gnome Classic using X11 and Wayland. Using ASMB11-iKVM BMC. No issue with anything else. What can I do to debug that?
None's user avatar
  • 647
0 votes
0 answers
162 views

Autofs - setautomntent: lookup(sss): setautomountent: entry for map auto_master not found

I am trying to set up my NFS system between my server node and my client node running on rhel9. They are both on different physical servers on the same network. The nfs-server daemon is properly ...
paul runner's user avatar
-1 votes
1 answer
48 views

Kickstart File Not Used During RHEL 6.9 Installation on UEFI System

Question: I followed the Red Hat documentation to create a Kickstart (ks) file located in the root directory of the installation image. The documentation I referred to is: Red Hat Installation Guide. ...
Tony's user avatar
  • 3
0 votes
0 answers
43 views

Linux Redhat9: kernel warnings: user: probe of wq1.0 failed with error -95

I have linux Redhat 9 on intel x64 machine and I see following warnings during boot in dmesg: user: probe of wq1.0 failed with error -95 user: probe of wq1.1 failed with error -95 user: probe of wq1....
Cedric's user avatar
  • 1
0 votes
1 answer
22 views

Unable to install autofs on rhel9

When I try sudo dnf install autofs, I get this error: [MIRROR] autofs-5.1.7-58.el9.x86_64.rpm: Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/Packages/a/autofs-5.1.7-...
paul runner's user avatar
0 votes
0 answers
20 views

Can't run php page in RedHat satellite

i'm using RedHat satellite 6.15 in RHEL 8. We want to add some php web page like dokuwiki/racktable there. But i have problem that if i install php and put php files in /var/www/html/pub/ directory, I ...
Neci's user avatar
  • 1
1 vote
1 answer
27 views

Boot error / data corruption Redhat 7.9

After rebooting a Redhat 7.9 system, I am faced with data corruption on first partition (dev/sda1) The System is a VM and last shutdown was graceful from within the OS, no power off, hard stop etc. ...
MMAX's user avatar
  • 235
0 votes
1 answer
76 views

Not booting after converting Virtualbox disk to Hyper-V

I have a RHEL 8 VM image that I have converted from Virtual Box to Hyper-V but it fails to start (works in VB but not in Hyper-V). Timed out waiting for device dev-di...97\x2d9636\x2dc104a96af2a5....
johna's user avatar
  • 1
0 votes
0 answers
61 views

Running find on NFS mount much slower on RHEL8 vs RHEl7

I'm in the process of replacing some RHEL7 NFS server/client systems with RHEL8 systems, performing the same functions. On the RHEL8 NFS client, I noticed running a find command on the NFS mount, is ...
keyboard_banger's user avatar
0 votes
0 answers
25 views

How to fix a grainy font on RedHat Linux 8?

The fonts on my machine look grainy and pixelated. I have the default settings for RHEL 8, with the Window Title/Document/Interface Fonts all set to Cantarell Bold with size 13. I've tried changing ...
Tanmay Bhore 's user avatar
-1 votes
1 answer
406 views

RHEL upgrade from RHEL 7 to RHEL 8 by using ISO + upgrade an offline

We are working on Linux RHEL 7.9 ( VM machines ) in order to upgrade RHEL version to 8.6 We are using the ISO file - rhel-8.6-x86_64-dvd.iso since RHEL7.9 machines has no direct connection to the ...
yael's user avatar
  • 13.4k
0 votes
1 answer
63 views

geoclue redhat selinux annoyance

on a clean install of RHEL-8.9 from iso, with selinux in its default state of enforcing, geoclue shows up via sealert -a /var/log/audit/audit.log SELinux is preventing /usr/libexec/geoclue from search ...
ron's user avatar
  • 7,162
0 votes
1 answer
225 views

"no such user" - LDAP authentication with sssd

I am struggling with making sssd use LDAP users to login on my Linux-Server (Oracle Linux 8.9, basically identical to RHEL, but free). Goal Using the users (e.g. "John") existing on the LDAP-...
mikro_do's user avatar
1 vote
1 answer
49 views

Is there a reason why sar would show different monitoring statistics on memory than other monitoring tools like dynatrace?

I'm currently investigating why I didn't get notified about a high memory utilization on one RHEL server from dynatrace. When checking the graphs of memory usage, both sar and dynatrace show different ...
VaTo's user avatar
  • 3,181
0 votes
0 answers
104 views

Rocky Linux Emergency Mode in KVMachine does not start

I have "inherited" a virtual server at German hoster STRATO with Rocky Linux 8, but no root password. I wanted to change this as usual, so in grub I entered rd.break enforcing=0 Enter rd....
AlbiWe's user avatar
  • 1
0 votes
1 answer
42 views

Passwordless Authentication for Ansible

I have installed ansible and created new users for controller and remote hosts. Have set up the below steps, but getting error, can anyone suggest ?? Entered user using visudo, for both controller ...
Piyush Nikhade's user avatar
1 vote
1 answer
47 views

What tools are available to obtain SSL certs from a CA for an isolated/airgapped system?

In the past, I have been able to leave the peculiarities of SSL certs to others, an mostly depend on self-signed certificates. That day has come to a close. I need to step up and configure a secured ...
pojo-guy's user avatar
  • 113
0 votes
2 answers
39 views

Delete certain files from specific date in linux [duplicate]

I need a command how I can delete files from a folder with specific date. Like I want to delete files before 20 April from a folder on /home/FTP and file types are mp4.
White hat Mahmud's user avatar
0 votes
0 answers
42 views

RHEL 7.2 + is it possible to resize partition sda2 when parted not support resizepart

we have old RHEL machines with version 7.2 ( RHEL 7.2 ) this machines has old parted version that not support resizepart so for example we can't use this syntax in order to resize sda partiton parted /...
yael's user avatar
  • 13.4k
2 votes
1 answer
537 views

Configure SSHD via Red Hat crypto-policy

I am using Rocky Linux 8 and 9 and they use the crypto-policy framework from Red Hat. Now I want to adjust some settings in the policy to forbid sshd to use some specific algorithms. But I can not ...
Lucas's user avatar
  • 2,895
0 votes
0 answers
16 views

Custom package security metadata (RPM)

I'm extremely new to packaging RPM's. I have an internal yum repository that I have RPM's for internal SSL certificates, but a few other programs/utilities that are simple enough to package that I can'...
Mose's user avatar
  • 123
0 votes
0 answers
30 views

Server not responding to ICMP requests

I have 4 servers running on rocky linux at a datacenter in Chicago but one is not answering to ping requests. I have been checking for solutions for day but so far things look good, what I am missing? ...
swissrockie's user avatar
0 votes
1 answer
30 views

Permission denied when running a mv command as user after entering into sudoers file

I have a user which needs to move a file to a dated folder. I have an entry into the sudoers file as follows: backupuser ALL=(ALL) NOPASSWD: /usr/bin/mv /var/lib/pgsql/base_backup/*.tar.gz /var/lib/...
Dale's user avatar
  • 3

1
2 3 4 5
83