2022 Developer Survey is open! Take survey.

Questions tagged [redhat]

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

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

Ansible Parted, only run if no partitions exist

I want to only run the parted operation if no partitions currently exist on that device. Said parts could have been made previously or manually outside of ansible in the past and in that case should ...
user avatar
  • 1
0 votes
0 answers
13 views

using logical operator && to validate condition in Ansible

i would create a playbook that Check configured filesystems for TSM configuration I need to echo "${FS_TSM[@]}" from register: FS_TO_ADD and to conclude it, a conditional must be set to ...
user avatar
2 votes
0 answers
22 views

How to deal with missing packages from ubi-8-appstream?

I'm looking for best practices with Red Hat's sponsored container images: Universal Base Image, when we need to deploy application using this containers. A lot of third party apps requires packages ...
user avatar
0 votes
0 answers
11 views

Public Cloud Virtual Machine - Restrict Uninstalling Packages

During the evaluation on public cloud(VMs) security product, Below question came into my mind. I would like to request your kind consultancy to fix this challenge Requirement: Install a security agent ...
user avatar
  • 101
0 votes
1 answer
13 views

Docker-ce oppening Firewalld ports on rocky 8

Docker-cd, when run with -p 3010:3010 bypass the firewall and open the container port to the world... If i disable docker and run a python -m http.server, the port is blocked to the outside (as it ...
user avatar
  • 103
1 vote
1 answer
36 views

vm.swappiness in RedHat Enterprise Linux

I don't often post, so apologies in advance if my etiquette is poor. I'm being directed to add vm.swappiness=0 in /etc/sysctl.conf. When I view the contents of that file, I see the comments below. I'm ...
user avatar
0 votes
1 answer
20 views

DRBD does not promote resource on slave node after "pcs cluster stop --all"

I am trying to understand the recovering process of a promotable resource after "pcs cluster stop --all" and shutdown of both nodes. I have a two nodes + qdevice quorum with a DRBD resource. ...
user avatar
  • 11
0 votes
2 answers
401 views

Bad configuration option: pubkeyacceptedalgorithms

I want to connect to Red Hat Linux server, but I the the error Bad configuration option: pubkeyacceptedalgorithms when I use putty to connect to the server I get the error Network error: connection ...
user avatar
-2 votes
0 answers
41 views

Migration from php5 to php7 on Red Hat Linux offline

I'm going to migrate a web application created since 2005 that use PHP 5.3 to PHP 7.2.11 , the server does not have internet access, so I should install all packages and dependencies manually. I have ...
user avatar
0 votes
1 answer
28 views

CIS compliant auditd configuration on Red Hat 7/8

We have a large fleet of Red Hat 7/8 systems. We have a requirement to make sure that all systems are CIS compliant. One of the requirement is to not automatically rotate the audit logs. That is, ...
user avatar
  • 61
0 votes
0 answers
16 views

kernel parameter - net.core.netdev_max_backlog , what happened when its too low

we want to understand what are the aspects when net.core.netdev_max_backlog kernel value is very low and not as recommended on our Linux RHEL machines , the value for this parameter is 1000 since our ...
user avatar
1 vote
1 answer
23 views

RHEL 8: Administrator vs. Auditor role

On RHEL 8, are there prepared functions, methods, processes or tools to implement administrator/operator and auditor roles in the following way: An administrator/operator should be able to do almost ...
user avatar
0 votes
1 answer
70 views

GSSAPI Error: KDC has no support for encryption type on RHEL 8 joined to multi-domain AD forest

I have a simple MS ADDS multi-domain forest setup with a parent domain and one sub-domain. I joined a RHEL 8 server successfully to the sub-domain by using this official documentation. All OSs have ...
user avatar
0 votes
1 answer
35 views

saving ip config persistent with nmcli or something equal?

I am using RocksLinux where I set up my IP addresses by hand with the standard command "IP" and "IP -6" for my IP version 4 and 6 addresses. Now I want to save with NetworkManager, ...
user avatar
  • 121
1 vote
1 answer
24 views

What is the proper way to back up ISC DHCPd lease files?

According to this answer, DHCPd lease files are cleared every hour. The goal is to back up the leases file continuously, so there is never a lease lost. This is made difficult since it is unclear ...
user avatar
  • 11
0 votes
2 answers
44 views

Httpd Directory read permissions only issue

In my scenario ,I need the 'httpd' directory in '/var/log/' to be readable by the users in 'devs' group (Amazon Linux 2) Could anyone guide me how to accomplish this? We have a few developers who ...
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
0 answers
85 views

How to disable DEBUG logs on catalina.out (Tomcat 9)?

I'm getting a lot of DEBUG related logs on catalina.out of tomcat 9. Is there any way to eliminate those DEBUG logs? Changing the log level to WARNING doesn't work for me. Thanks in advance.
user avatar
0 votes
0 answers
15 views

no NetworkManager - no network services (dns, dhcp etc.)?

Does disabling NetworkManager on RedHat systems break network services? In other words, is it NetworkManager that is in charge to start/stop the network services, or systemd? I don't want to have the ...
user avatar
  • 195
0 votes
0 answers
82 views

Reset kubeadmin password in OKD 4.7

I tried to find password in .openshift_install.log file and I found something but it didn't work. I tried to oc get secrets kubeadmin -n kube-system -ojsonpath='{.data.kubeadmin}' | base64 --decode &...
user avatar
0 votes
2 answers
37 views

Fedora | how to restore iptables from specific file on boot

I need to make ip-tables persistent on my machines. I was able to do it on Debian based systems by creating the following file which runs when my network is up: /etc/network/if-up.d/run-iptables #!/...
user avatar
0 votes
0 answers
7 views

ifcfg-br0 exists, but bridge is not created upon reboot

OS - RedHat Enterprise Linux 8.5 (Ootpa) I have created the following file: $ cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge DELAY=0 STP=off ONBOOT=yes IPADDR=192.168.1.10 NETMASK=...
user avatar
  • 195
0 votes
1 answer
190 views

How to get Redhat/Centos to run nogpgcheck automatically on any call to yum install?

I'm taking over a big project. 5 engineers worked on it for some years, but they are gone now. There are multiple install scripts, and they are very complicated. Somewhere inside of those scripts, ...
user avatar
0 votes
1 answer
71 views

systemd service definition for SAP (or any other application) start

I have issues to configure a systemd service for starting and stopping SAP (or any other appliaction). I am new to configuring systemd services and please have mercy asking "stupid" ...
user avatar
  • 1
0 votes
0 answers
78 views

Keepalived: Transitioning to backup node not happening when check script on master server finds service is down for an applicaiton

I am trying to configure keepalived in such a way that if any application or service running on master node fails, keepalived should consider it as fault and backup node should act as master and take ...
user avatar
0 votes
0 answers
58 views

Kickstart Fedora server iso using usb

Hi I need to create a Fedora Server image with my application in it using kickstart installation. I have executed following steps : Downloaded the fedora35 Image from https://getfedora.org/en/server/...
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
95 views

Compatible way to bind to 169.254.169.254?

I have an application which I can't change, running in a docker container on a bare metal server (no cloud environment) It tries to connect to 169.254.169.254 (fetching IMDSv2 metadata). This ip / the ...
user avatar
0 votes
1 answer
39 views

add notty to authorized users

I miss to understand the topic: a request from my corp's sec team. while setting up an sftp with chroot they insist I've to (quoting) "add notty to authorized users". to my knowledge the ...
user avatar
0 votes
1 answer
278 views

How do I update a very old CentOS release (6.2) where yum won't work at all because of outdated openssl certificates?

I have an old CentOS 6.2 machine and need to update a few packages on it (or many packages, I suppose). However I can't do anything with yum because even after changing the repos to vault.centos.org, ...
user avatar
  • 187
1 vote
1 answer
30 views

OpenLiteSpeed on RHEL8.5

I'm using EC2 with RHEL8.5 (Red Hat Enterprise Linux release 8.5 (Ootpa)). I wanted to install OpenLiteSpeed on that instance. my Question, Does OpenLiteSpeed support with RHEL8? If I don't wrong, ...
user avatar
  • 157
0 votes
1 answer
102 views

Linux LVM - PVID last seen on

Devices file sys_wwid nvme. PVID last seen on /dev/nvme0n1p2 not found. OR Please remove the lvm.conf filter, it is ignored with the devices file. Seems this is happening on RHEL 9 / CentOS 9.
user avatar
  • 1
1 vote
0 answers
35 views

Apache and VirtualHosts in RedHat, Can't figure it out

already did my research and Im burned after reading and watching videos for hours; I can't make virtual hosts works at all, it doest matter which configuration I set but Apache will ignore it and ...
user avatar
0 votes
1 answer
60 views

Enforce TLS1.2 in sssd client

In one of our environments Linux servers are set up with sssd / OpenLDAP for OS login. To support older servers our OpenLDAP server has to support TLSv1.0 and TLSv1.1 still. RedHat 8 does no longer ...
user avatar
  • 352
1 vote
1 answer
74 views

LDAP finds user, but "permission denied" when logging in

I am setting up an LDAP client in Red Hat 8. After setting up the config files I did an LDAP user test and it came back successfully: # id myusername uid=666(myusername) gid=510(active_users) groups=...
user avatar
  • 111
0 votes
0 answers
17 views

mod_authnz_ldap on multiple attributes?

mod_authnz_ldap can accept only one attribute according to the docs. Is there a strategy to check first UPN, then samaccountname using mod_authnz_ldap? Or is there an alternate module that can do this?...
user avatar
  • 11
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
4 answers
405 views

How to install a specific version of PostgreSQL in Red Hat 8?

I'd like to install a specific version of PostgreSQL in RHEL 8 with dnf. To achieve this I followed the PostgreSQL guide : https://www.postgresql.org/download/linux/redhat/ But actually I can only ...
user avatar
  • 142
0 votes
1 answer
295 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
1 answer
215 views

CentOS Linux and CentOS Stream! Is upgrade from CentOS 6.0 to CentOS stream 9.0 a good option? [closed]

We have CentOS 6.8 production machines and we had a plan to migrate to CentOS 8.0. Having come to know that CentOS Linux 8 EOL: 2021-12-31, also that, CentOS Project produces two variants: CentOS ...
user avatar
0 votes
0 answers
50 views

How to setup xfrm tunnel on boot for Fedora/RedHat/CentOS?

After researching for a couple of days, I was utterly stuck in understanding how to configure XFRM tunnel on boot for Fedora/RedHat/CentOS systems. I didn't have any issues with the same task on ...
user avatar
1 vote
0 answers
33 views

Tomcat 9 on RHEL 7: Approximate 15 minute hang on startup

Tomcat Version: 9.0.54 RHEL 7 We have several near identical application servers running Tomcat 9, and all but one are quick to startup. The last server, however, takes significantly longer for Tomcat ...
user avatar
0 votes
0 answers
36 views

libgcrypt.so.11 installed but needed by strongswan

I'm trying to get StrongSwan package in Red Hat Enterprise Linux release 8.5 (Ootpa). But it shows an issue, even with libgcrypt-1.8.5-6.el8.x86_64 installed. I tried to get StrongSwan and Libcrypt ...
user avatar
0 votes
0 answers
49 views

Linux, want to rotate oldest one files when it reaches limit

We have one Linux RHEL Machine where different log files are generating everyday with current date time under "/var/log/audit/" location. File name are in below format: audit_2021-11-24....
user avatar
0 votes
0 answers
72 views

How writing a syslog in file without writing them in /var/log/messages

I would like to write logs from network switches in a special file. Here is my code: cat /etc/rsyslog.d/test.conf $template syslog,"/var/log/clients/%fromhost%.log" *.* ?syslog It work ! ...
user avatar
1 vote
1 answer
83 views

Can you use a proxy server to retrieve a kickstart file?

I would like to access a kickstart file through a proxy. The kickstart file is hosted on the public internet but the server doing the install can only access the internet through a proxy. The ...
user avatar
  • 151
0 votes
0 answers
86 views

treatments of /var/log/messages with rsyslog

I having problems with my /var/log/messages file. Indeed, I collect logs from different network switches on my server and their logs go in a special file + the messages file. I would like the switch ...
user avatar
1 vote
0 answers
53 views

HDFS + how to disable the "du -sk" verifcation on data node disks

We are using HDP cluster with 182 data node machines: HDP version - 2.6.4 Ambari version 2.6.1 We note the following behavior on the data nodes machines (its happens on all data-node machines and on ...
user avatar
1 vote
2 answers
963 views

RHEL 8 Registration Failed: SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED

I am trying to stand up a minimal RHEL 8 server on VMware Fusion with RHEL Developer creds. When I attempt to run the command: subscription-manager register --username my_username --password ...
user avatar
  • 151
0 votes
1 answer
232 views

Curl error (56) while trying to install Zabbix packages on RHEL 8

I followed the instructions here https://www.zabbix.com/download?zabbix=5.4&os_distribution=red_hat_enterprise_linux&os_version=8&db=mysql&ws=apache to install Zabbix 5.4 Mysql/Apache ...
user avatar

1
2 3 4 5
63