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
1 answer
229 views

kernel messages are complained about memory.inspite all DIMM cards was replaced

we have few DELL machines ( with RHEL 7.6) , and as we replaced the DIMM cards on machines because the Erros that we seen from kernel messages after some time we checked again the kernel messages and ...
King David's user avatar
0 votes
0 answers
45 views

Routing decision after IPSec processing

I have a Linux box running in AWS EC2 with just one interface - eht0. This interface connected to private subnet 172.16.0.0 and has an IP 10.95.114.69 on it. All hosts from subnet are reachable from ...
Kirill Nikitin's user avatar
0 votes
2 answers
451 views

Use original linux user bashrc also as root user

I extended the bashrc file of my linux user. This file contains extra aliases, functions, whatever is useful. It's synchronized with a playbook across our 100+ servers. When i'm working on linux I ...
ansible_usah's user avatar
2 votes
0 answers
446 views

Change UID in influxdb Docker container when running in Kubernetes

When mounting persistent storage for influxdb container the NFS storage ownership is changed to uid 1000 when container is run. Need to have a known RHEL host user (2000) have ownership of the file ...
Ken E's user avatar
  • 21
0 votes
0 answers
735 views

RHEL 9 server with cloned disk unable to find logical volume after boot

We have an RHEL 9 server. We cloned it's disk drive to a new disk. (dd if=/dev/olddrive of=/dev/newdrive bs=4096) It has a couple LVM partitions (as shown on /etc/fstab on the cloned disk): However ...
ServerMan's user avatar
7 votes
3 answers
5k views

Is there a good way to allow non-root users to mount arbitrary external USB drives on Linux?

We have a situation where a site office has a couple of Rocky Linux 8 servers and regularly receives large amounts of data from clients. Data arrives on a variety of external USB hard drives and the ...
bolind's user avatar
  • 201
1 vote
0 answers
51 views

NFSv4: machine gets unresponsive when share is accessed without ticket

We are implementing NFSv4_kerberos for mounting of home directories on a RHEL 9 machine. The think is that if a user has a cronjob that writes to the mounted homedir after the ticket expiration, the ...
francisaugusto's user avatar
1 vote
2 answers
116 views

iSCSI shared disks with custom device name on clients

I'm using RHEL 7.9 (Maipo) and need to setup for all iSCSI clients the same device name, like /dev/sdb or /dev/thiscustomname. I could do that by sharing the source disk using multipath, but for Db2 ...
adamitj's user avatar
  • 115
0 votes
0 answers
49 views

Script to scan log file

I have a log file with the content below. Let's call it as cpu_usage.out: 2023-04-12 12:04: CPU STATISTICS CRITICAL : USED:- 2.52% IDLE:- 97.49%|CpuUsed=2.52;0;1 CpuIdle=97.49;0;1 2023-04-12 12:05: ...
Diligent Bug's user avatar
1 vote
1 answer
55 views

RHEL + how to capture fresh kernel message without machine reboot

here is example from dmesg output from important production server ( RHEL 7.2 - DELL machine HW ) as we can see the sde disk in server is dying [Wed Jun 30 11:24:58 2021] sd 0:2:4:0: [sde] tag#0 ...
King David's user avatar
0 votes
1 answer
376 views

NGINX reverse proxy on different port

I would like to set up a conf file, which basically listen to all request on a specific port on the nginx server, and all these request should be forwarded to a another group of servers which handle ...
adamski's user avatar
0 votes
1 answer
106 views

Find to exclude the snapthost directory in SLES 15

I am searching for the executable file name pxe using the command find / -type f -executable -print | grep pxe$ and this works fine in RHEL, but in SLES the snapshot directory messses up the search. ...
redpy's user avatar
  • 3
0 votes
1 answer
331 views

Nagios core GUI/UI fails to open after nagios-4.4.6-4 to 4.4.9-1 update on Rhel8

Nagios core GUI/UI fails to open after nagios-4.4.6-4 to 4.4.9-1 update on Rhel8 vm. Whoops! Error: Could not read host and service status information! Nothing in /var/log/nagios/nagios.log. /sbin/...
LinServFaulter's user avatar
0 votes
0 answers
80 views

rhel + disk util is very high , what is the impact for long term

we have backup server with rhel version 7.2 server is VM machine , and OS disk is VMDK disk disk used space is around - 50% , and from smartctl we not see problem as we can see from follwing details ...
King David's user avatar
0 votes
1 answer
236 views

Yum command to find files that an RPM will deploy

On Ubuntu/Debian you can run apt-file list nginx-core and you will get a list of all the files that a package will deploy when installed. How can I achieve this in RHEL with the yum command ? The ...
Subzero123's user avatar
1 vote
0 answers
175 views

RHEL server + what is the meaning of the kernel messages about Hung TX queue XX

We have 524 RHEL machines. in our Hadoop cluster ( all machines are DELL HW ) all machines are RHEL 7.2 version (old kernel version) uname -r 3.10.0-327.el7.x86_64 last week we seen the following ...
King David's user avatar
0 votes
0 answers
195 views

RHEL + what could be the reason that FSTYPE not defined from lablk , in spite filesystem was created on disk in the past

I want to share the following very strange behavior , that for me it's not make sense but its a a fact on our production RHEL 7.2 server disks are VMDK from df -h we can see the following: sdb ...
King David's user avatar
0 votes
1 answer
3k views

How to upgrade to php 8.1 on RHEL 8.7?

How to upgrade to php8.1 in RHEL 8.7, I went through various guides and ended up installing php:remi-8.1 which is desirable however, php-gd is not willing to be installed cause of missing libraries. ...
Alimba's user avatar
  • 101
0 votes
1 answer
393 views

Clear RAM Memory Cache and buffer on production Hadoop cluster with HDFS filesystem

we have Hadoop cluster with 265 Linux RHEL machines. from total 265 machines, we have 230 data nodes machines with HDFS filesystem. total memory on each data-node is 128G and we run many spark ...
King David's user avatar
0 votes
1 answer
608 views

kernel message + how to know if we need to replace the DIMM based on kernel messages

we have RHEL 7.6 server , and we noticed about the following kernel messages. [1065085.048872] EDAC sbridge MC0: PROCESSOR 0:406f1 TIME 1676989040 SOCKET 0 APIC 0 [1065086.052107] EDAC MC1: 0 CE ...
King David's user avatar
1 vote
1 answer
130 views

Memcached error for apache httpd 2.4

I created an EC2 instance with Apache HTTPD 2.4 with mod_ssl version 2.4.34. I've created a Memcached cluster on AWS ElastiCache version 1.6.17 with encryption in transit. The goal is to have HTTPD ...
Byob 's user avatar
  • 111
0 votes
0 answers
902 views

xfs corruption metadata after reboot

I had a problem on a RAID1 with 4 disks. We replaced the faulty disk and restarted the server, the rebuild was done, two linux centos 7 machines did not come up accusing error of xfs corruption. Other ...
Christovam's user avatar
0 votes
2 answers
168 views

How do I configure httpd to host multiple websites on the same web server

Using RHEL7.9, httpd 2.4.6 I have three sites in my /var/www/html/: /main /site1 /site2 The httpd.conf DocumentRoot points to /main Listen 80 ServerName example.com DocumentRoot "/var/www/html/...
demiglace's user avatar
  • 101
2 votes
2 answers
980 views

Redhat phantom out of memory issues

We have a server that runs various headless applications, such as Java. It processes to stream data, daily python scripts, etc. From time to time some of our applications get out of memory errors. The ...
MikeKulls's user avatar
  • 387
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 ...
DARKSIDE's user avatar
0 votes
1 answer
191 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 ...
dberm22's user avatar
  • 61
0 votes
1 answer
106 views

Azure Red Hat OpenShift requires a minimum of 40 cores to create and run an OpenShift cluster

0 I am trying to deploy ARO azure redhat openshift cluster but it get failing stating The resource operation completed with terminal provisioning state ResourceQuotaExceeded Resource quota of cores ...
esngsrj's user avatar
-1 votes
1 answer
646 views

PermitRootLogin set to no but can still use root on Centos Stream 9

Im following an RHCSA training course and to disable root I need to set PermitRootLogin to no in the /etc/ssh/sshd_config file and restart sshd using systemctl. I've done all this and can still login ...
Hassam Dauhoo's user avatar
0 votes
1 answer
125 views

Alma 9.1 Samba config not allowing outside connections

I just installed Alma 9.1 on my homelab, and I've attempted to install samba everything seems to work okay locally. Im able to run smbclient -U user -W SAMBA -L //192.168.0.254 and list all the ...
KillerHawk's user avatar
0 votes
0 answers
2k views

dnf update: Cannot download, all mirrors were already tried without success. (all mirror 404)

I am trying to execute the dnf update command on almalinux 8.7 Before a few hours it worked properly, now all mirror gives 404. I examined the urls, and it seems, that in all repo the checksum in urls ...
g.pickardou's user avatar
6 votes
2 answers
11k 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/...
Steve Summit's user avatar
0 votes
1 answer
1k views

Set NIC Bonding Transmit Hash in EL9 with NetworkManager

I have just upgraded to Rocky Linux 9 and haven't been able to set the nic bond Transmit Hash Policy to 1. I'm using NetworlManager rather than the ifcfg files which is used by default in EL9. I have ...
Steven Lutz's user avatar
0 votes
1 answer
825 views

Jenkins Plugins Error After Update - "Errors Checking Update Site"

I'm running Jenkins on a RHEL 7.9 server, with OpenJDK 11.0.17. I recently updated Jenkins to version 2.361.4 from 2.346.3. After updating I went to the plugins manager page to see what plugins ...
jrd1989's user avatar
  • 688
0 votes
1 answer
267 views

firewalld stopping for no reason

I have a Red Hat 8 server. On it, I have used firewall-cmd --permanent --zone=public --add-service=https to enable public traffic to the server. When I systemctl start firewalld, this works as ...
Migwell's user avatar
  • 101
0 votes
1 answer
3k views

RHEL 9 : bash: subscription-manager: command not found

something is messed up in my system and now i cannot access rhel repos. subscription manager itself is not there. How do it install subscription manager.
munish's user avatar
  • 151
0 votes
0 answers
81 views

RHEL server unexpectedly became inaccessible via any means (ssh, https)

The machine runs a LAMP stack (httpd, mariadb and php), and both web server and ssh are running but not accessible from remote systems. The issue began randomly an hour ago and the system immediately ...
a coder's user avatar
  • 799
1 vote
0 answers
919 views

SFTP logs to different files

I'm configuring an SFTP server and having some issues with logs ending up in different places, depending on a group membership. This is on RHEL 8 but the same issue exists on an old RHEL 6 machine. ...
anlag's user avatar
  • 136
1 vote
0 answers
216 views

Need help grocking packet drop stats reported by ethtool (EL7/EL8)

I've been trying to read up on the details of drops as they are reported by various tools (and at various levels) of the OS. So far, most of the info I've been able to dig up by googling seems rather &...
guzzijason's user avatar
  • 1,420
2 votes
2 answers
3k views

install rhel9 system using kickstart over http fails

I am trying to install a rhel9 system (vm) with a kickstart file. The kickstart file was created using the anaconda-ks.cfg from a manual install of a previous rhel9 system (changed the ks file with ...
eliko's user avatar
  • 63
0 votes
1 answer
414 views

Routine SCP Command fails (VPN/Network Active)

My dev machine runs on Fedora (36). Recently I attempted to scp a file to a remote server (CentOS 7) and got a cryptic error message: scp: dest open(""): No such file or directory The ...
virtualeyes's user avatar
1 vote
0 answers
126 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 ...
Alfador's user avatar
  • 11
0 votes
3 answers
254 views

Crontab not working as expected [duplicate]

Dears, i configured script in crontab to run every 10 minutes and its not working at all. I dont see any entry in configured log path (/var/log/cron) "*/10 * * * * example_script.sh" ...
Sudoo's user avatar
  • 11
0 votes
1 answer
375 views

Trying to install RHEL 7 under QEMU s390x emulation

I'm evaluating the use of QEMU to create s390x Linux virtual machines for use in software builds. I've had some success creating machines using newer Linux distributions such as RHEL 8 and Ubuntu 20, ...
asboey's user avatar
  • 11
0 votes
1 answer
543 views

Can't restart podman container

I have installed a mtproto-proxy container: # podman container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
Clodoaldo's user avatar
  • 433
-1 votes
1 answer
408 views

RedHat Server duplicates eth0 on boot

I have setup a RedHat 9 VM on Azure cloud with one virtual NIC which the VM recognizes as eth0. However, I have noticed that after booting up or restarting, the VM creates a duplicate device eth1 with ...
Obirieni Simeo's user avatar
1 vote
0 answers
89 views

How to troubleshoot - BUG in libdispatch?

I've a service on my linux server that I need start, however when starting the service i get the follwing error code after running systemctl status [SERVICE] Error: $ systemctl status [SERVICE] BUG in ...
N. J's user avatar
  • 125
-1 votes
1 answer
49 views

Linux analyze and monitoring log tool?

I have a server using OS centos-7, but sometimes my server got slow with some processes. I want to check which service or process makes the system slow. how to check the percentage of CPU, ram, or ...
bopea's user avatar
  • 1
2 votes
0 answers
86 views

completely media-less kexec install of a rhel-based distro?

I'd like to be able to install a small redhat server from kexec without media being present on the system during the installation (no hdd, removable media, or network). This seems feasible because I ...
Brian Chrisman's user avatar
0 votes
1 answer
1k views

How to safely downgrade gcc from 8.5 to 8.4?

I have a CentOS Stream 8 server with a backup application that requires the kernel to be compiled with the same version of gcc. Latest kernel is: 4.18.0-408.el8.x86_64 I inadvertently updated gcc in ...
location's user avatar
0 votes
1 answer
764 views

Unable to find available subscriptions for all your installed products in redhat 6.10

I had install redhat 6.10 on vmware. after I subscribed the redhat repos, it show me output as below: "Unable to find available subscriptions for all your installed products in redhat 6.10"
bopea's user avatar
  • 1

1 2
3
4 5
67