Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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 ...
user avatar
-1 votes
1 answer
42 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 ...
user avatar
0 votes
0 answers
24 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 ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
0 votes
0 answers
14 views

RHEL Auditbeat - "existing_package" spam

I have an RHEL (7.6) server I'm testing Auditbeat on. (on-premise, vmware) I've noticed that, every day at 5:20AM, there is a spam of several hundred "existing_package" events. I don't see ...
user avatar
  • 1
0 votes
0 answers
21 views

SELinux on RHEL 7.5: sshd service process running in the kernel_t domain instead of sshd_t

I'd like the sshd service process to be running in the sshd_t domain so that ssh login will be allowd by SELinux. How can I find out why it's running in the kernel_t domain and change it to sshd_t? # ...
user avatar
0 votes
0 answers
18 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 ...
user avatar
1 vote
1 answer
98 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 ...
user avatar
0 votes
0 answers
16 views

Where does /etc/pam.d/login come from and where can I tell when it changed between distro versions

I think the first question will enable me to figure out the second question. How can I determine when /etc/pam.d/login and /etc/pam.d/sshd changed from RHEL/CentOS 6.9 and RHEL/CentOS 7.9? Maybe ...
user avatar
1 vote
1 answer
44 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 /...
user avatar
  • 13
0 votes
1 answer
44 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/...
user avatar
0 votes
1 answer
108 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 ...
user avatar
0 votes
1 answer
73 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?
user avatar
0 votes
1 answer
303 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
1 vote
1 answer
143 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) ...
user avatar
  • 929
0 votes
2 answers
35 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 ...
user avatar
  • 1,365
0 votes
0 answers
29 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 ...
user avatar
  • 657
1 vote
0 answers
138 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 ...
user avatar
  • 11
0 votes
0 answers
97 views

Can not install pgAdmin 4 on RHEL 7.7

I am trying to install pgAdmin 4 on RHEL 7.7. (PostgreSQL 13 is already successfully installed) Following the official guide at pgAdmin 4 (RPM) sudo rpm -e pgadmin4-redhat-repo sudo rpm -i https://...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 109
0 votes
0 answers
51 views

Can't add rhel-7-fast-datapath-rpms repo on RHEL 7.9

I'm trying to get an OpenShift installation going, but I'm running into issues pretty much right away when trying to add the 'rhel-7-fast-datapath-rpms' repo to RHEL. Of course, the systems are fully ...
user avatar
0 votes
1 answer
2k 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: ...
user avatar
0 votes
0 answers
155 views

Oracle's sqlcl ORA-01005: null password given; logon denied on new RHEL8 install, but not nearly identically configured old RHEL7

ON RHEL7... $ sql bagsbx1/password@jdbc:oracle:thin:@mydbdev.dacracot.org:1521/bagdev.dacracot.org SQLcl: Release 20.3 Production on Thu Sep 30 07:06:15 2021 Copyright (c) 1982, 2021, Oracle. All ...
user avatar
  • 469
0 votes
0 answers
365 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 ...
user avatar
0 votes
0 answers
67 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 ...
user avatar
1 vote
0 answers
20 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 ...
user avatar
0 votes
1 answer
53 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/...
user avatar
0 votes
0 answers
14 views

I am getting anacron error alert "0 processes running with arguments: "/usr/sbin/anacron -s"

I am getting an alert from a linux server and alert is "0 processes running with arguments: "/usr/sbin/anacron -s", with command: "anacron", as regex" . What could be the ...
user avatar
1 vote
1 answer
81 views

Linux - User name with a "$" cannot sudo

We are beginning to add our RHEL 7.9 Linux machines to AD. As a part of that we would like to restrict the use of sudo to the administrators. The admin group we will call ServerAdmins and we added it ...
user avatar
0 votes
1 answer
59 views

Switching from self-signed certificates to commerical TLS/SSL cert: will it work the way I expect?

New to the world of commercial certs, thanks in advance for any advice/guidance. Our only outbound service is email, hosted on MS Exchange 2016 (2019 in medium-term future). Internally we have several ...
user avatar
  • 1
1 vote
1 answer
215 views

CentOS 7 (dracut) is finding inconsistent network device names causing problems for kickstart

I use the boot options biosdevname=1 net.ifnames=1 in order to get consistent, predictable device names. I'm starting to notice a problem where in some cases, the network device names are not ...
user avatar
  • 1,340
1 vote
0 answers
177 views

RHEL 7.9: rpm --eval "%dist" is now .el7_9 instead of just .el7

Here, we've recently upgraded some of our systems from RHEL 7.8 to RHEL 7.9, and I'm facing an issue related to the "dist" returned by the rpm tool. In some scripts, we share between RHEL7 ...
user avatar
  • 11
0 votes
1 answer
239 views

Logging to /var/log/messages stopped. How to turn it back on?

while frantically trying to resolve a time sync issue, I somehow must have turned off some (but not all journalling). /var/log/messages ends last eventing, and journalctl -eu chronyd doesn't show any ...
user avatar
  • 183
1 vote
1 answer
124 views

Sudden system time jumps on VM

for the second day in a row the system time on a VM I'm in charge of jumped forward by exactly 90026 seconds. In the afternoon or evening, not connectable to any cron maintenance job which typically ...
user avatar
  • 183
0 votes
1 answer
189 views

Sendmail not relaying to 127.0.0.1:25 instead of smart host

I am trying to use a SMART_HOST on RHEL7 with sendmail. I have configured sendmail.mc as follows: define(`SMART_HOST', `my.relay.com')dnl After compiling I have this line in sendmail.cf: # "...
user avatar
2 votes
1 answer
90 views

Systemd and Disaster-Recovery Stand-By systems

We're using systemd to run various services in production. (Duh...) We're building out a matching "disaster-recovery" site, which will have the same application installed -- with the same ...
user avatar
  • 2,242
0 votes
0 answers
30 views

Copying files from remote, limited to 1k Lines and with compression

I want to fetch files from several remote machines. I want only files that match a specific regex and I want to keep the directory structure. Considerations: The files I want to fetch are plain text ...
user avatar
2 votes
0 answers
70 views

Puppet Module File Resource Copy From Network Mount

I'm using RHEL Satellite 6.6 with puppet 5.5.12. I have a module which, among other things, copies a file from a network mapped folder to the local drive, then executes it. When I run the module ...
user avatar
0 votes
0 answers
372 views

docker-proxy port 5000 not obeying firewall-cmd rules

I am running Red Hat Enterprise Linux 7.9, where I'm trying to block docker-proxy TCP port 5000 via firewall-cmd. I am using the default public zone as the only active zone and have tried the ...
user avatar
1 vote
2 answers
555 views

Apache : socache_shmcb:error AH00820: shared memory segment too small

For the context : Apache HTTPD 2.4.6-90.el7 on RHEL 7.4 I had a AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] warning in the logs, so I added to the configuration : <...
user avatar
  • 205
0 votes
0 answers
28 views

Is there anything else like NFS on OEL8?

I want to share a volume from an OEL8 server to two other OEL8 servers and let them read/write to the volume simultaneously. I've been asked to check if there are anymore secure methods/technology in ...
user avatar
  • 901
0 votes
1 answer
172 views

ip route keep changing after network restart

Every time I restart the server or "systemctl restart network" I have to add the static routes Rhel 7.8 ip route add 192.168.1.1 dev ens192 proto static scope link metric 100 ip route add ...
user avatar
1 vote
1 answer
90 views

Quickly install multiple puppet modules from directory

Is there a way to install multiple puppet modules from a directory in one command? I have a directory containing multiple puppet modules in tar.gz form downloaded from the forge, and I need to install ...
user avatar
  • 111
0 votes
1 answer
560 views

needs-restarting hangs on RHEL7

On RHEL7, running the command (as sudo) needs-restarting hangs, as does needs-restarting -s while needs-restarting -r comes back within 2 seconds. By "hangs" I mean that it takes a really ...
user avatar
  • 657
1 vote
0 answers
25 views

HTTPD with SSL startup fails with missing PAM library error

I am configuring SSL to run with Apache 2.4 on RHEL7. As expected, httpd starts successfully before SSL configuration is added. After adding certificates and configuration files, startup fails with ...
user avatar
  • 11
1 vote
0 answers
21 views

is it possible to append the filename to the job-id of all jobs submitted to a CUPS printer?

as the title suggests, I want to append the filenames of files I print to the actual job-ID in CUPS. so if for instance i ran: lp some-file.pdf the job-ID would be: d00001-001somefile.pdf The reason I ...
user avatar
0 votes
2 answers
202 views

OpenFire restart runs setup process again and again

I am new to OpenFire and I am using the version 3.9.3 The problem is that every time I restart OpenFire, I must go through the same setup process. In my case, I would like not to go through it every ...
user avatar
0 votes
1 answer
234 views

How do i create Symlink to /var/log/myapp to another mount?

I am not very familiar with unix terminologies but I have a requirement where I have installed Gitlab on one of my RHEL server. By default the installation and log goes to /var/opt/gitlaband /var/log/...
user avatar
0 votes
1 answer
102 views

Red Hat 7 reset password asks for for Root password

I am trying to reset the root password on a rhel 7 machine Following one of the many articles online I first hit 'e' to get into edit mode However after I do that is asks for a username and password? ...
user avatar

1
2 3 4 5
10