Questions tagged [rhel7]
Red Hat Enterprise Linux version 7 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as CentOS and Scientific Linux.
477
questions
0
votes
1
answer
111
views
Rhel 7–> 8 upgrade default Python version is changing automatically
I am trying to upgrade rhel7 to Rhel8 using leap upgrade tool using ansible.
But my rhel7 server is treating me wired.
Currently RHEL7.9 machine is pointing to python2 but when I reboot the machine ...
0
votes
0
answers
42
views
What is correct modprobe.d logic?
I have two different systems, rhel7 and rhel9. I've been curiously looking at CIS benchmarks for both of these. However, when it comes to disable kernel modules I get confused.
When I look at CIS for ...
0
votes
1
answer
134
views
linux mta do not forward mails to root@localhost to smart_host
We are having an issue with some servers which are forwarding mails to the smart host (exchange) for root@localhost. obviously exchange does not know localhost and therefore forwards mails to the ...
0
votes
0
answers
39
views
Installing PHP 7.3 on RHEL 7 - Angular/PHP files don't process
I've been tasked with setting up an old application on a RHEL 7 server. It has an Angular front-end (I'm unsure of the version, but it's old) with a PHP backend. However, in the browser console I can ...
1
vote
1
answer
816
views
Attempting to update iDRAC firmware with racadm, getting error "RAC923 : The file path is too long"
Per title, I'm attempting to update iDRAC on an R720 server running RHEL7.
I obtained the correct firwmare file by going to Dell's support site, entering my service tag, then filtering down to the ...
0
votes
1
answer
37
views
DNS hard to reach after reboot RHEL7
Two weeks ago, two of our four RHEL7 VMs running on same Openstack infrastructure rebooted unprompted and unnoticed. May be externally triggered.
Ever since, all services relying on DNS are unreliable ...
1
vote
2
answers
148
views
How does the variable "pxe_default_server" get set in Red Hat 7.9?
We have a RHEL 7.9 server that is acting as a DHCP/TFTP (PXE) server servicing multiple subnets. Below is a copy of our dhcpd.conf file (the DHCP/PXE server is X.Y.145.98):
allow bootp;
allow booting;
...
0
votes
1
answer
583
views
Check if software is installed based rpm package name - Rhel 7 and Rhel 9
I have one Rhel7 and one Rhel9 server running in my local lab.
When I'm listing all the installed packages uring rpm -qa | grep -i package I get following result:
Package-12.2.5.-1.x86_64
The name of ...
2
votes
1
answer
801
views
Privilege escalation prevent root directly
I think this is going to be my first post on StackExchange side of the house. However, I know that this has to be able to be configured cause I have seen it implemented previously but I don't actually ...
0
votes
0
answers
294
views
LVM disk is corrupt - is any data recoverable?
Under RHEL7 we have a logical volume consisting of 27 volume groups PVs. Each of these VGsPVs was added sequentially as we ran out of space on the LV.
We do not have a backup of the data. There are ...
0
votes
0
answers
196
views
HPC node, Infiniband is DOWN
I have an HPC with 17 nodes running CentOS 7 and a dedicated Mellanox SX6036 Infiniband switch, each node has an Infiniband FDR interface.
Recently one node started giving errors and a quick look ...
0
votes
1
answer
151
views
Remote call of NRPE comman fails in one case, while succeeding locally in all
I have amazingly strange issue with monitoring a CIFS (SMB) shared folder mounted to Linux machines by Nagios + NRPE.
NRPE process runs on the Linux machines under dedicated user nrpe:
# systemctl ...
0
votes
2
answers
2k
views
Red Hat Enterprise 7.4 End-of-Life status
I would like to get a definitive and authorized answer on the end-of-life of RHEL 7.4.
I tried to find information via
https://access.redhat.com/support/policy/updates/errata#...
2
votes
2
answers
793
views
Avoid SSH AgentForwarding of incompatible keys
Good morning,
I have one ed25519-sk key (using a hardware token), which I need only on my personal machine for some high security servers (all Debian). This key type is supported by OpenSSH 8.3+. We ...
0
votes
1
answer
73
views
How to redirect http to https in NGINX in existing nginx.conf
I'm on RHEL7.9 Linux. I have a server (IP a.b.c.d) serving a webApplicationA and using https in nginx and it's working accessible at https://a.b.c.d.
On that same machine (same IP, a.b.c.d) I have an ...
0
votes
0
answers
29
views
CIS RHEL shows "This is system is not registered with an entitlement server you can use subscription manager to register" [duplicate]
Hey guys I purchased and deployed a CIS hardened image of RHELv 7.9 on my azure platform but now it shows the above message when I run the yum command to install or update something.
If I am not ...
0
votes
1
answer
177
views
Audit Log Partition keeps getting corrupted. How to prevent or boot anyway?
I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...
0
votes
0
answers
22
views
How application choose which address will use for outcoming communication
I have a proprietary Linux distribution based on RHEL 7 and am trying to deal with the following issue. The machine has one primary network interface with two IP addresses assigned. The first one is ...
6
votes
2
answers
10k
views
Safe way to clear all packages from yum cache?
I know that yum clean all doesn't necessarily clear all the package files. I know from "Maybe you want: rm -rf /var/cache/yum" that I might have to, good grief, bluntly clear all of /var/...
1
vote
0
answers
125
views
RHEL won't update correctly a package for security
What does that error even mean?
I have tzdata package. I run yum update --security and I get this:
[dada@dada-dada-dispatcher aem]# yum update --security
Failed to set locale, defaulting to C
Loaded ...
1
vote
0
answers
18
views
Marking services for killing in a resource-starvation situation
We use systemd --user to run certain services of our own. In some cases, these "get out of hand" -- spawn way too many processes, which exhausts RAM and causes the machine to "thrash&...
0
votes
1
answer
41
views
Sudo: Using arguments in /etc/sudoers.d/ file, particularly with mount (visudo rejects syntax)
I have a syntax wrangling problem with sudo that may not be solvable.
I know I know, OpenBSD's new doas is better than sudo, but it is not available on CentOS 7 or Rocky 8. So we're stuck with sudo ...
-1
votes
2
answers
73
views
Dell PE RHEL 7 terrible performance
We have an 'old' Dell PE r740xd server with quite high specs, installed with rhel 7 (latest).
Running ls -l on / can take minutes.
Some specs:
# lscpu
Architecture: x86_64
CPU op-mode(s): ...
2
votes
2
answers
521
views
Force deleted files on NFS server to be recycled instead
I have a RHEL 7.9 server I'm using as a file server. It exposes an XFS partition over NFS for clients to mount and use. I am willing to use a different filesystem than XFS if need be, but I cannot ...
0
votes
0
answers
410
views
MariaDB 10.3 won't restart after upgrade from 10.2 on RHEL 7
Could anyone please let me know what I am doing wrong after an upgrade from MariaDB10.2 to 10.3
[db@hawk ~]systemctl status mariadb.service
? mariadb.service - MariaDB 10.3.36 database server
...
0
votes
2
answers
9k
views
RHEL leapp upgrade fails on reboot
I am trying to upgrade several physical servers from RHEL 7.9 to RHEL 8.6 offline. So far the process was successful on 1 server. On the server that I have the issue everything works fine and when I ...
1
vote
1
answer
864
views
CIFS Mount Share: Permissions on one File Seemingly Corrupted
I have a multi VM Windows (Server 2019) solution, hosted in a datacentre, with services which require a Redis cache. Due to security concerns, the Windows fork of Redis is not allowable. Therefore, I ...
0
votes
1
answer
734
views
Kubernetes Pods Getting in Pending State Forever
We have a CronJob which will run every 'x' minutes.
For each and every Schedule, A Pod will be Scheduled and it runs and it is doing its job.
Now, After 2-3 days, The Pod is getting into Pending State ...
2
votes
0
answers
591
views
Yum install/update hangs at the very end, unable to kill via ctrl-c
So I've got a group of servers (all RHEL 7.9) whose RPMDBs appear to have become corrupted. Not sure how or when, but no matter.
I fixed the DBs using these instructions. After that, any attempt to ...
0
votes
1
answer
898
views
Using internet on remote server via SSH tunnel
I have a RHEL server accessible via jump host only. This is how i am connecting to it
MyMachine(Win10)--SSH-->JumpHost(winserver2012r2)--SSH-->RHEL7
via ssh
ssh -J user@jumphost user@RHEL7
I ...
0
votes
0
answers
203
views
RHEL 7 systemctl: Combine multiple services into one. start the service independently
I have followed the steps from RedHat to start the multiple services into one service.
https://access.redhat.com/solutions/3097871
/etc/systemd/system/myapps.target
[Unit]
Description=App Service Unit
...
0
votes
1
answer
215
views
Is it possible to use https with a Tang Network Bound Disk Encryption server?
Is it possible to use https with a Tang Network Bound Disk Encryption (NBDE) server?
Redhat's documentation casually says this is possible, but I can't find any examples of this anywhere and the ...
0
votes
0
answers
89
views
How to install TLS Cert (SAN?) on RHEL server behind a proxy?
I have a couple of RHEL server "clusters" - I'd call these loosely-coupled; they run artifactory and artifactory itself binds them together, rather than being coupled at an OS level - which ...
1
vote
3
answers
9k
views
How to setup permanent MTU size in RHEL 7 for eth0 interface?
I am using RHEL 7 and trying to setup permanent MTU size to 8500. Not able to find a way to set it up permanently. The server does not have dhcp.conf file in it.
I am using below command for temporary ...
1
vote
1
answer
636
views
Where does the configuration for routing rules come from on boot?
I am on RHEL7 with NetworkManager disabled and no additional legacy scripts installed.
Meaning, that I still use:
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/route-eth0
/...
0
votes
1
answer
73
views
Failing SSH after disabling Root Login
After generating the private and public key for a RHEL Client and storing the public key in the authorized_keys folder of the RHEL 7 Server, I disabled the Root Login in the Server by going to /etc/...
0
votes
1
answer
720
views
./node_exporter: cannot execute binary file
I am using RHEL7.9 in my Virtual Box. I installed the binary file of node_exporter as explained in the official documentation. I tried to run node_exporter using the following command:
./node_exporter
...
0
votes
1
answer
751
views
yum installation failed on RHEL 7
I tried to install telnet using yum with the following command:
yum install telnet
But I get the following error:
Error
How can I solve this and add third party repositories?
0
votes
1
answer
4k
views
No package epel-release available
I was trying to install epel-release in a freshly set RHEL 7. By the following command
yum -y install epel-release
And the output was following:
no package epel-release available
What was the reason ...
0
votes
0
answers
55
views
Dependencies to install Prometheus 2.32.1 in RHEL 7.9
I am trying to install prometheus-2.32.1 in RHEL 7.9 in my virtualbox. But I am failing since it says that yum repository does not have the necessary repos. Can anybody tell me what are the ...
2
votes
1
answer
2k
views
firewalld: blocking outgoing connections blocks also incomming connections
log4shell has caused us to improve the security of some servers. We want now also block outgoing traffic (as possible). The current firewall rules are:
/> firewall-cmd --list-all
public (active)
...
0
votes
2
answers
91
views
Permissions of /dev/null wrong in KVM guest
My host node is RHEL7 running KVM from the 'updates' repo. On the host node, the permissions for /dev/null are:
crw-rw-rw-. 1 root root 1, 3 Dec 18 04:45 /dev/null
In an Alpine KVM guest (5.14, but ...
1
vote
1
answer
639
views
yum not updating dependency during install
I have a situation where my-software requires my-common via:
Requires: my-common >= 1.2.0
During yum update my-software, my-common is not upgraded, and is left at version 0.0.1.
Why is yum not ...
1
vote
0
answers
563
views
NFS mounted XFS file systems not visible using xfs_quota
With CentOS7, I made the leap to XFS (from ext4) and since then I have been unable to query quotas on NFS Clients via the quota or xfs_quota commands. The xfs_quota command also does not report any ...
0
votes
0
answers
89
views
Trying to partition aws linux server using shell script
When I created Amazon linux server(similar to Centos 7). I had these partitions
I am trying to create partitions using shell script
lsblk gives me following information
NAME MAJ:MIN RM SIZE ...
0
votes
1
answer
8k
views
$ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0
I getting below error when running xclock command to one RHEL 7 server
$ xclock
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: ...
1
vote
0
answers
2k
views
How to use -proxy option explicitly with OpenSSL in RHEL 7
unable to use -proxy option in openssl command on RHEL7 server, same is working fine on RHEL8 is there any other way to use proxy with Openssl.
Below is the command used.
[root@testvm01 ~]# openssl ...
0
votes
0
answers
529
views
Tenable su+sudo and selinux
My Not-A-Sysadmin-Boss wants me to explain this but I can't really find an answer? When using TENABLE SC to scan a RHEL7 system the account used to do the scan connects via ssh then uses sudo to ...
1
vote
0
answers
88
views
What defines the "interval" when playing back Performance Co-Pilot data in pcp-atop?
I have PCP (Performance Co-Pilot) recording performance metrics on a RHEL 7 host. The recording cadence is set to Y seconds here:
/etc/pcp/pmlogger/control.d/local
When I copy the performance metrics ...
0
votes
1
answer
86
views
How to fix these vulnerability "" (CVE-2020-2781) ** Upgrade IBM Java to version 7.0.10.65 "" in rhel 7 server
I got this type of vulnerabilities on a rhel server after scan "(CVE-2020-2781) ** Upgrade IBM Java to version 7.0.10.65 Download and apply the upgrade from: https://www.ibm.com/developerworks/...