Questions tagged [rhel]

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

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

CentOS7 CloudFlare DNS

I'm trying to make my server use CloudFlare public DNS (1.1.1.1, 1.0.0.1). When I edit /etc/resolv.conf I see: ; generated by /usr/sbin/dhclient-script nameserver 10.10.10.10 When I update it to this,...
user avatar
  • 101
0 votes
0 answers
15 views

RHEL - Install Xfce, but make using it optional

As a Masters student, I wish to avail of the the RHEL developer programme. However, my system of choice is Fedora - I really like the lightweight Xfce desktop - it does everything a desktop should, ...
user avatar
0 votes
1 answer
15 views

Cannot install bgzip on Red Hat

I'm trying to install bgzip on red hat. sudo yum install bgzip says Updating Subscription Management repositories. Last metadata expiration check: 0:18:47 ago on Thu 19 May 2022 12:03:12 PM CDT. No ...
user avatar
  • 107
0 votes
0 answers
23 views

Setting specific video configuration for all users (RHEL 7.9 and nVidia RTX4000 w/nvidia driver)

Bottom Line Up Front: where do I need to go in RHEL to define a video configuration that applies to all users of the workstation? My hardware setup is an nVidia RTX4000 driving a "standard" ...
user avatar
0 votes
1 answer
31 views

/var/log/httpd permissions reset from 705 to 700 after reboot

After a reboot /var/log/httpd permissions reset from 705 to 700. Could this be a SELinux issue? OS is RHEL 8.
user avatar
0 votes
0 answers
14 views

Problem while updating or downloading any package using yum on REH 8.5(Oopta)

I am installing a module "canberra-gtk-module" on REH 8.5 (Oopta) per receiving error [root@localhost Pictures]# sudo yum install libcanberra-gtk-module libcanberra-gtk3-module Updating ...
user avatar
1 vote
1 answer
33 views

How to suppress PAM audit logs for RHEL8?

I have a system that is getting a ton of audit traffic for a particular account we will call 'redacted'. The logs are showing this account executing the su command. My first instinct was to check the ...
user avatar
0 votes
1 answer
25 views

How to install software with outdated set of libraries into a new system without conflicts?

I have an issue with some proprietary software: it was created a long time ago, requires RHEL5 and a set of libs like motif22, pcre v1, fortran and stuff like that. It widely limits the choice of ...
user avatar
  • 3
0 votes
0 answers
9 views

Normal user can't see Azure NFS fileshare mount on linux client server and this exported with no_root_squash option

Azure NFS file share mounted on Linux server and this exported with no_root_squash option, as a root we are able to see by using df -hT and we can enter into mount and we can read and write data but ...
user avatar
  • 1
-1 votes
0 answers
17 views

Pull /var/log/messages from all 500 RHEL Servers via Red Hat Satellite

I would like to know few methods on how to pull /var/log/messages from 500 RHEL Servers via Red Hat Satellite. Kindly advised. Many thanks.
user avatar
0 votes
2 answers
397 views

Rocky 8.5 - Alternate repo for sshpass, removed from EPEL

BACKGROUND: I am developing a Kickstart file to install Rocky (8.5), and I have included EPEL as a repo in order to install Ansible. Yesterday, when trying to install from my Kickstart file, I ...
user avatar
-1 votes
2 answers
44 views

Error when installing Red Hat Enterprise Linux 8.2 via VirtualBox

Getting this error when installing linux from iso using VirtualBox 6.1. I have tried Linux 8.6 and 8.2 and both are giving same error. I also tried a workaround of disabling "Connect to redhat ...
user avatar
0 votes
0 answers
39 views

how to identify DIMM card problem from kernel messages

we have RHEL 7 server , and from dmesg log we can see the following details [13901018.980859] {9}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 4 [13901018.980868] {9}[...
user avatar
  • 10.9k
0 votes
0 answers
27 views

How to verify the enabled Ciphers through OpenSSL in RHEL 8.5

Our Java Application is functioning on RHEL 8.5 OS platform with TLSv1.2 protocol. Here, to improve the security, We want to enable only a few ciphers and need to block others. CIPHERS TO BE ENABLED: ...
user avatar
  • 21
0 votes
1 answer
31 views

How to upgrade sed on RHEL 8?

I'm on a RHEL 8 system and by default sed 4.5 was installed. [root@192 ~]# rpm -qf `which sed` sed-4.5-2.el8.x86_64 [root@192 ~]# Since I want to use the --debug option to debug some sed commands, I ...
user avatar
1 vote
0 answers
8 views

Why is rsyslog not working properly?

rsyslog is failing to send messages to /var/log/messages and to the external syslog collector as detailed below. I have an AWS EC2 RHEL 7 instance and an on-premise RHEL 7 instance. They are both ...
user avatar
1 vote
0 answers
56 views

Switching automatically from X11 to wayland in RHEL 8

I'm executing a shell script inside profile.d, which needs x11 as the default gnome-session. It works fine when login into system as USER1, but the XDG_SESSION_TYPE is shifting from x11 to wayland ...
user avatar
  • 13
0 votes
1 answer
26 views

Is there a way to interact with my Windows clipboard when SSH'd from an Exceed xterm?

I'm not sure which parts of my setup are relevant to my question, so I'll try to be as explanatory as possible... I'm using a Windows 10 laptop, and using Exceed on Demand to open an Xterm. I then ...
user avatar
0 votes
2 answers
41 views

sed or other equivalent for grep with vfF

RHEL6.10 , gnu grep 2.2 grep -vfF stem.txt source.txt > filteredoutput.txt stem.txt has unique 13 digit numbers. source.txt is fixed length (400) data file where the 13 digit field value starts at ...
user avatar
  • 103
0 votes
1 answer
36 views

Need to run a database shutdown script before RHEL 7 is rebooted

I am trying to execute the script with systemd and below is the service definition I am using but, the script is not running before the reboot occurs: [Unit] Description=Before Shutting Down Before=...
user avatar
0 votes
1 answer
35 views

How to enable TLSv1.3 in Apache 2.4.35 with OpenSSL 1.1.1?

My java application was installed on RHEL 8.5 OS Platform which has OpenSSL version 1.1.1. And the application was compiled on RHEL 5.6 OS platform where the OpenSSL version was 0.9.8. Also, the ...
user avatar
  • 21
0 votes
1 answer
19 views

RHEL 7.9 Help: Why do I get differences between lsblk and df

I have resized recently the rhel-root partition of my RHEL 7.9 system, basically I did the following commands: pvresize /dev/sda2 lvextend -l+100%FREE /dev/rhel/root I was able to resize the ...
user avatar
-2 votes
0 answers
41 views

Encrypt SVN user directory

Could anyone give me advice on the best way to encrypt the SVN version control system! I want to Encrypt the SVN User group(devs), but unable to figure out which one would be best fit OpenSSH or GNOME ...
user avatar
0 votes
0 answers
20 views

Completely disable NetworkManager from using DHCP client?

I am using RHEL 7.9. This version of RHEL I use nmcli and nmtui to configure network connections. Problem: NetworkManager service appears to be filling up journalctl logs with the following output Apr ...
user avatar
  • 285
1 vote
1 answer
43 views

What does system_u means when assigned to a file?

What my question is : if there is a file assigned with system_u as SELinux that means only the user mapped to system_u/unconfined_u gets to access the file? if this label is assigned to an executable ...
user avatar
1 vote
1 answer
45 views

Python not able to see environment variable in RHEL

The following line of code is throwing an environment variable was not found error in a RHEL8 virtual machine running in Azure: sourceKeys = os.environ.get("MY_ENV_VAR") However, when we ...
user avatar
  • 5,074
0 votes
1 answer
17 views

No networkmanager service on RHEL 7.9

Got a RHEL 7.9 server. Seems the networkmanger package is installed but no service added. Is there a way that I can manually add the service? # yum install NetworkManager Loaded plugins: langpacks, ...
user avatar
  • 107
0 votes
0 answers
22 views

cli extensions not visible to other rhel users

The following two commands install extensions to the azure cli in a RHEL8 VM: az extension add --name azure-devops az extension add --upgrade -n account The problem we have is that when these 2 ...
user avatar
  • 5,074
0 votes
0 answers
17 views

Connection Timeout on mounting nfs via azure blob storage

So I am following this document on Mount Blob Storage with NFS and I am having an issue mounting my storage and container. This is the document I am following https://docs.microsoft.com/en-us/azure/...
user avatar
0 votes
1 answer
43 views

cannot read repomd.xml [closed]

I am trying to install additional packages from a RHEL-8 installation DVD on a server that is not connected to the internet. I mounted the DVD ISO on /mnt/cdrom. I have the following in my /etc/yum....
user avatar
  • 299
1 vote
0 answers
83 views

Issue with Yum update Redhat Linux Amazon EC2

In my scenario , for some reason yum has stopped working in my Amazon EC2 instance, located in the us east -1 region. There seems to be something wrong with the path of the repo metadata, is this ...
user avatar
0 votes
0 answers
25 views

RHEL 7.9 how to use nmcli to remove an ip address?

I want to use nmcli to remove an ip address on an interface. I want the interface to have no ip address. I tried the following but nothing works nmcli con mod eth0 ipv4.address; nmcli con up id eth0 ...
user avatar
  • 285
0 votes
0 answers
19 views

String concatenation failing after personal access token [duplicate]

What specific syntax needs to be changed in the commands below in order for the end result of the commands to produce the expected value of https://ghp_fyrwTOKEN_REDACTEDgugg@github.com/...
user avatar
  • 5,074
1 vote
0 answers
30 views

How to use apachectl with systemd instances

I’m attempting to isolate sites and configurations using multiple instances of httpd via systemd as per this article. Everything seems to be working as expected, however when attempting to debug ...
user avatar
  • 123
-1 votes
1 answer
94 views

base64: invalid input error when trying to decode contents of yaml file

What specific syntax must be changed in the bash below to successfully decode the base64 encoded value which is throwing the error below? THE ERROR: The following 3 simple commands are typed into the ...
user avatar
  • 5,074
3 votes
1 answer
387 views

Why RHEL has two vim installed by default?

I'm on a RHEL 8.3 system. I found that the built-in vim and vi are all vim. They have the same version, but compiled differently. Below is my testing: [root@192 ~]# which vim /usr/bin/vim [root@192 ~]#...
user avatar
1 vote
0 answers
30 views

Only file owners should be allowed to see the files they uploaded

I've got an SFTP Server setup, and all users are jailed (chroot) to a specific directory (users are only allowed to upload to this single directory). The requirement is to ensure that only the file ...
user avatar
0 votes
0 answers
16 views

RHEL7 not Booting Suspected issue in /DEV

My machine is a blade server on which the base OS is RHEL 7 which runs on a locally attached SSD. On this host machine I have three VMs on which one SAN LUN is mounted (it's not mounted on the host ...
user avatar
  • 1
1 vote
1 answer
80 views

service in systemd user mode inactive dead

currently using RHEL 7.9, I had to activate the systemctl user mode creating a service called user@.service which is not the problem but I think is linked following this guide: https://serverfault.com/...
user avatar
0 votes
0 answers
14 views

unable to mount the ntfs filesystem in RHEL

mount: /mnt/test: unknown filesystem type 'ntfs'. [root@eoffficenode2 ~]# yum install ntfs* Updating Subscription Management repositories. Last metadata expiration check: 0:05:52 ago on Thu 07 Apr ...
user avatar
0 votes
0 answers
15 views

HP ZCentral Remote Boost Opening Session for Users with Expired Password

I am using HP ZCentral Remote Boost Version 20.1.2.8161 on RHEL 7.9. Current behavior: When an LDAP user (free IPA) with an expired password authenticates (using their expired password) via the HP ...
user avatar
  • 921
-1 votes
1 answer
45 views

bashrc + why source not refresh the .bashrc file

we add the following line to bashrc file alias reboot="echo you not allowed to do reboot on this machine - sorry" so we get more ~/.bashrc # .bashrc # User specific aliases and functions ...
user avatar
  • 10.9k
1 vote
2 answers
86 views

Using wkhtmltopdf on RHEL returns libpng15.so.15 shared library not found

To give a little background, I am using wkhtmltopdf to convert a local .html to a .pdf for use as evidence for our pipeline/release. However this html that is generated has some remote scripts and ...
user avatar
0 votes
1 answer
39 views

Convert iptable rules to firewalld

Need your help to convert this to a firewalld command. I'm not sure that i will do it in proper way, so yeah :) -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A ...
user avatar
  • 109
3 votes
1 answer
267 views

How do I remove reboot, halt and shutdown privileges using visudo?

I am trying to take reboot privileges away from the user Rick. I have tried both ! and NOEXEC. Is there another way to do this? Rick ALL = (ALL) !/sbin/reboot Rick ALL = NOEXEC: /sbin/reboot
user avatar
1 vote
1 answer
394 views

ldconfig --> sudo: you do not exist in the passwd database

Ok, I made a mistake and I'm struggling to fix it: I was looking for a libGL.so to link a project, and found it in a (conan-related) package that is mounted during build time. The default system /usr/...
user avatar
  • 121
0 votes
0 answers
10 views

Autofs Browsing not Working RHEL 8.5

I am upgrading from RHEL 8.4 to RHEL 8.5 on some of my systems and for some reason on 8.5 when you ls our home directory you get ls: cannot access '/home/': No such file or directory. We have the --...
user avatar
0 votes
1 answer
48 views

update/reinstall package fails on RedHat

I am attempting to reinstall bcftools on a RedHat server, updating from bcftools version 1.10 to at least 1.14: cat /etc/redhat-release gives Red Hat Enterprise Linux Server release 7.9 (Maipo) ...
user avatar
  • 107
0 votes
1 answer
29 views

What do results of Linux time wrapper tell me happened to this cp command?

My view on this issue is from the developer side. I write the code that gets placed on a RHEL virtual machine running as one of many in an enterprise system. The filesystem being used is a remote, ...
user avatar
0 votes
0 answers
55 views

pam_radius_auth all radius servers failed to respond

I am trying to integrate Radius server 3.0.13 with SSHD so I can enable 2FA. The SSH server is RHEL 8.5. All the time getting error pam_radius_auth all radius servers failed to respond. In my SSH ...
user avatar

1
2 3 4 5
74