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
1 vote
1 answer
115 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 ...
Andrew Madsen's user avatar
0 votes
1 answer
82 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 ...
SKaye's user avatar
  • 1
1 vote
1 answer
941 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 ...
guzzijason's user avatar
  • 1,420
1 vote
0 answers
684 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 ...
oxben's user avatar
  • 11
0 votes
1 answer
2k 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 ...
musbur's user avatar
  • 203
1 vote
1 answer
780 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 ...
musbur's user avatar
  • 203
0 votes
1 answer
787 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: # "...
Dominik Mimra's user avatar
2 votes
1 answer
248 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 ...
Mikhail T.'s user avatar
  • 2,387
2 votes
0 answers
108 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 ...
Derek_6424246's user avatar
0 votes
0 answers
1k 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 ...
Dibakar Aditya's user avatar
1 vote
2 answers
2k 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 : <...
Httqm's user avatar
  • 245
0 votes
0 answers
35 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 ...
AndyM's user avatar
  • 968
1 vote
1 answer
3k 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 ...
Anthony Fornito's user avatar
1 vote
1 answer
200 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 ...
bdrx's user avatar
  • 111
0 votes
1 answer
1k 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 ...
Josh M.'s user avatar
  • 688
1 vote
0 answers
57 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 ...
T Riley's user avatar
  • 11
1 vote
0 answers
133 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 ...
flippson's user avatar
0 votes
2 answers
553 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 ...
José Ángel Morena Simón's user avatar
1 vote
1 answer
1k 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/...
mikita agrawal's user avatar
0 votes
1 answer
684 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? ...
Mike Meidl's user avatar
0 votes
1 answer
293 views

Is it possible to control the system only from remote connection using VNC Server?

I have a Linux computer with VNC server running in it. When I connect to that computer remotely from another computer using a Remote Desktop Viewing application, the main computer display is still ...
Pramod's user avatar
  • 1
1 vote
0 answers
147 views

RHEL 7.8 (STIG'd (Locked-Down Image)) targetd faux-iSCSI front-end for Initiators -- Can't log in with CHAP from RHEL 7.8 Initiator

Here's my scenario: Target: RHEL 7.8 (security lockdowns) using targetd/targetcli to configure /dev/sdb (100GB) presented as a block device and created as LUN0 Target(new): RHEL 7.8 (NO SECURITY ...
thepip3r's user avatar
  • 189
1 vote
1 answer
6k views

NTP enabled is no but sync is yes on RHEL7

How can it be synchronized but not enabled? Redhat 7.4 Date and time are right. ntpq -p shows it's connected to a remote ntp server. Systemctl status ntp shows its enabled. Nothing in /var/log/...
Dave Brunkow's user avatar
2 votes
1 answer
7k views

Cannot get past "realm: Couldn't join realm: Not Authoerized to perfrom this action"

- name: Add targeted machine to domain become_user: <local user> expect: command: /bin/bash -c "/usr/sbin/realm join --user={{ prompted_user }}@domain.com domain.com responses: ...
Zachary Walker's user avatar
2 votes
2 answers
3k views

Red Hat - Berkeley DB library - Corrupted DB

I am getting the below errors while executing the yum or rpm command. error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-...
Arunkumar NKL's user avatar
0 votes
2 answers
97 views

Problems applying subscription to RHEL 7.8

I have an account on access.redhat.com and hence downloaded RHEL 7.8 under Developer Edition. But after installing it on laptop, when I try to register the product it throws the following error: HTTP ...
peakit's user avatar
  • 135
0 votes
1 answer
3k views

AWS RHEL subscription Vs normal AWS subscription

On the new RHEL server on AWS, there is no need to subscribe our own red-hat subscrition to install the package as it's already subscribed by AWS side. I need to know the difference between the AWS ...
Arunkumar NKL's user avatar
0 votes
0 answers
8k views

How to Disable TLS 1.0 and 1.1 to enable only TLS 1.2 in Apache 2.4.10 & openssl 1.0.2k fips & RHEL 7

Tried to enable TLS 1.2 in /conf/extra/httpd-ssl.conf in Apache 2.4.10 as below combinations. SSLProtocol -all +TLSv1.2 After restarting httpd service, getting error 'illegal Protocol TLSv1.2' as ...
Lakshmi M's user avatar
1 vote
1 answer
563 views

What is the recommended fs.file-max value on redhat7

How to calculate fs.file-max? what is the recommended value for rhel-7 and how to calculate the correct value?
KKE's user avatar
  • 135
0 votes
1 answer
306 views

yum-cron enabled by default on GCP

Any one has any idea why Google or Redhat has enable yum-cron on RHEL7 VMs on GCP. yum-cron-3.4.3-167.el7.noarch is preinstalled and is enabled on the VM. Client never wants their systems to be ...
d.s's user avatar
  • 110
1 vote
0 answers
63 views

Install Linux on a second disk from an already running Linux (RHEL 7.8) instance

I am trying to mount a second disk on a running Linux (RHEL 7.8) AWS instance, install a customized bootable Linux environment to it, and then change that disk to an AMI so we can boot new Linux ...
ALittleStitiousPuppet's user avatar
0 votes
2 answers
110 views

RHEL 7 security patch installation from tar

Novice Linux guy here I have a huge (5G) linux-security-patches tar. Upon extracting, I see its got loads of rpms. What is the most efficient way to install them all ? Also, is it same as installing ...
Abhishek Prusty's user avatar
0 votes
1 answer
3k views

HAProxy 503 Service Unavailable No servers avalible to handle this request

Hey I seem to have issues with HAProxy but can't seem to find the root of the problem. Setup: 1 Load Balancer 3 Servers (Splunk Search Heads) Both Load Balancer and the 3 servers are only accessible ...
HAProxy Help's user avatar
0 votes
2 answers
3k views

yum update doesn't update the package [duplicate]

I'm on RHEL 7. Security team suggested me to update curl and dbus packages. When I try yum update , it says Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This ...
Pradeep Sanjeewa's user avatar
0 votes
0 answers
558 views

How can I add a library search path to an executable running with a capability?

I have an application that needs to run with the CAP_NET_BIND_SERVICE capability so that it can open a low port (502 for a TCP/Modbus server). It comes bundled with a set of .so files that it needs to ...
user583054's user avatar
0 votes
1 answer
4k views

Are mod_wsgi, python3-mod_wsgi and libapache2-mod-wsgi-py3 the same thing? Do i need just one for Django on RHEL 7.6?

I see a couple of tutorials mentioning the Gate Interface specific to python3.6 for Ubuntu -- libapache2-mod-wsgi-py3 as opposed to just mod_wsgi in RHEL's case. Should i be worrying about looking for ...
rtviii's user avatar
  • 101
0 votes
1 answer
2k views

BAD PASSWORD: The password is too similar to the old one using Completely different Password

I am running RHEL 7 and not matter what password I enter I get BAD PASSWORD: The password is too similar to the old one using My current password is something similar to PasswordAABCCD1! It has ...
Rick James's user avatar
0 votes
5 answers
8k views

Not able to install docker on redhat

I searched for many links, they are showing only for centos even though the title is for RHEL also. My OS details: cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo) uname -...
Uday Kiran Reddy's user avatar
0 votes
1 answer
1k views

the same ssh rsa key does not work in Ubuntu(WSL) while from RHEL7 it works

I'm trying connect from Ubuntu(WLS) to RHEL7 server using ssh RSA key. And it does not work, while the same key when used from another RHEL7 host works. I checked all file permissions There is no &...
ibre5041's user avatar
  • 297
0 votes
1 answer
235 views

How can I read explicit https proxy CA certificate on RHEL7?

I have server behind explicit https proxy with SSL decryption but I don't know its certificate and I have no way to obtain it from human being. Is it possible to retrieve https proxy certificate from ...
Lapsio's user avatar
  • 363
0 votes
0 answers
64 views

Getting OOPS when trying to install Rhel 7.8 on dell laptop

I've upgraded a Dell Inspiron 15 to 32GB RAM, so I could use Red Hat on it. However, when I try to boot from a USB that contains rhel 7.8 DVD ISO, I get the following OOPS: Can rhel 7 be installed on ...
boardrider's user avatar
1 vote
2 answers
5k views

package already installed but rpm -q shows not installed

I have installed package python2-urllib3-1.10.2-7.el7.noarch on my RHEL 7.7 server using yum: yum install python2-urllib3 and it is successfully installed. now when I run rpm -q python2-urllib3 it ...
Ali Mohammad Al najjar's user avatar
2 votes
0 answers
1k views

Centos7 / NetworkManager - how to reload route files?

How can I reload the running NetworkManager routing configuration from the route-XXX files in a Centos/RHEL7 server? I have a few servers which get routes updated directly via the /etc/sysconfig/...
André Fernandes's user avatar
0 votes
1 answer
814 views

redhat repo is not accessible for RHEL 7.6 for sap and RHEL 7.7 for sap (pay-as-you-go) on GCP

Redhat repo is not accessible for RHEL 7.6 for sap and RHEL 7.7 for sap (pay-as-you-go) on GCP. I can understand 403 error. But this should not happen on pay-as-you-go Instance on GCP. Below is the ...
d.s's user avatar
  • 110
0 votes
1 answer
5k views

SELINUX sysadm_u and SSH - Unable to get valid context for username

Once I set user usernameto sysadm_u they are no longer able to login via SSH and receive the error: Unable to get valid context for username Commands semanage login -m -s sysadm_u username semanage ...
Michael Hobbs's user avatar
0 votes
1 answer
390 views

Is it safe to rm /dev/wmi/dell-smbios?

I'm going though the STIG process on a RHEL 7.7 machine and ran across this finding: https://www.stigviewer.com/stig/red_hat_enterprise_linux_7/2018-11-28/finding/V-72039 [root@localhost scripts]# ...
Michael Hobbs's user avatar
0 votes
1 answer
637 views

RHEL 7.8 - Different behaviors between `service X start` and `systemctl start X`

I'm currently setting up a RHEL 7.8 tomcat service and I'm having trouble with the service and systemctl commands. Context: the following file was set up on /etc/init.d/tomcat: #!/bin/bash # # # ...
Badashi's user avatar
  • 103
0 votes
0 answers
277 views

Issues with seamless ssh connect via public key

I am trying to set up a seamless ssh connection from one server to another for the first time. While I think I managed to create a user and fitting rsa keys just fine, I can't actually connect via ssh,...
daZza's user avatar
  • 101
2 votes
1 answer
694 views

Rsync using absolute paths

I have two RHEL 7 servers. On my Source I have the following directories /sourcestuff/testresync /sourcestuff/testresync/incl1 /sourcestuff/testresync/incl1/test1.txt /sourcestuff/testresync/incl2 /...
Mark Sookram's user avatar
1 vote
0 answers
1k views

Linux kernel process consuming CPU 100%

On my RHEL7 VM, the kernel process migration/[some_number] cpu usage is 100% and continuously getting cpu soft lockup messages on the terminal. PID USER PR NI VIRT RES SHR S %CPU %...
George John's user avatar

1
2
3 4 5
10