Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

CPU LOAD AVRG + how to deal process with D state

we can see from our RHEL 7.6 server ( kernel version - 3.10.0-957.el7.x86_64 ) that following process are with D state ( they runs from HDFS user ) Note - D state code means that process is in ...
3
votes
1answer
210 views

"ssh" works but "sshpass" doesn't - how is this possible?

I configured key pairs for SSH connection. It works but of course asks for the passphrase. ssh user1@10.7.175.143 So now I try to login with sshpass which I have installed. I tried with -p property ...
0
votes
0answers
9 views

RHEL8 - cannot set the default session for root; config file resets after reboot

On my RHEL8.5 server I am trying to set the default session for root from gnome-classic to gnome. Following Redhat's documentation (this guide is for RHEL7 but I haven't found an equivalent for RHEL8),...
7
votes
3answers
609 views

LD_PRELOAD for setuid binary

I'm trying to override malloc/free functions for the program, that requires setuid/setgid permissions. I use the LD_PRELOAD variable for this purpose. According to the ld documentation, I need to put ...
0
votes
1answer
23 views

Is there a way to clearly define hardware controller?

Background There's a task to automate info grabbing from servers. However, I am unable to locate any hardware or software RAID controllers. Issue Due to the various ways each vendor describes its ...
1
vote
1answer
50 views

Stop Application from listening to a particular port

Background We would like to configure a Linux machine so that it doesn't automatically listen to a port; whether a default port or not. We are using Oracle Linux and RHEL. Issue How can we prevent our ...
0
votes
0answers
11 views

Squid transparent proxy error

Im trying to configure squid transparent proxy on centos 8 and it give me error as below can someone have a look and tell me where im wrong . squid.conf # # Recommended minimum configuration: # # ...
0
votes
0answers
18 views

Error parsing config: Error parsing "baseurl" - Oracle Linux

I have a problem, I hope you can help me! Hi guys! The OS of my machine is Oracle Linux Server 7.5. I need to install a command via a repository, precisely yum --enablerepo=packages-microsoft-com-prod ...
0
votes
0answers
13 views

nmcli add a route to dev not a next hop

Need to add a static route with nmcli to a device interface. I would like to mimic a command like this with ip route (traffic sent to the interface NOT a next-hop ip) ip route add 4.4.0.0/30 dev ens4 ...
1
vote
3answers
69 views

How to sort in dates in linux based on day, date, month, and year

I am trying to sort dates (like in the format below) and cannot get them in order based on the day, date, month, and year. I have tried a few different ways and have come up short. Any input would ...
0
votes
1answer
29 views

PXE Boot Kickstart - how to include installation tree

I am trying to PXE boot a Rocky Linux (same as RHEL 8) installation. Unlike Fedora, there are no mirrors so url and repo options like this don't work: url --mirrorlist=http://mirrors.fedoraproject.org/...
1
vote
1answer
36 views

How can I install multi-architecture packages on RHEL 8

On an x86_64 Ubuntu 20.04 system, after some minor modifications under /etc/apt and running dpkg --add-architecture s390x, I can install the foo-dev:s390x package and the gcc-8-s390x-linux-gnu package ...
1
vote
1answer
35 views

how to total clean the folders from /var/spool/abrt/

we want to delete all abrt folders from /var/spool/abrt/ before we just run the following , to see how many folders we have find /var/spool/abrt/ -type d /var/spool/abrt/ /var/spool/abrt/ccpp-2019-...
1
vote
1answer
20 views

how can i dd ONLY last portion of drive that hasnt already been dev/zero'd

I regularly dd a drive to erase them for ZFS resilver, when something goes awry with read/write or checksum error, to put the drive back into service. Frequently, removing the partition table at ...
0
votes
2answers
61 views

How to fix CVE-2021-43267 in centos 7

The latest official release of Linux kernel released by Centos is kernel-3.10.0-1160.45.1.el7.x86_64.rpm which is updated on 15th October 2021. Furthermore, the kernel version recommended by CVE-2021-...
0
votes
0answers
14 views

shebang changed to /usr/libexec/platform-python when building python rpm packages

I am trying to build a RPM from a python application on RHEL8.2 machine. the shebang on the scripts are set correctly to #!/usr/bin/python3 however for some reason the shebang gets changed to #!/usr/...
0
votes
1answer
21 views

Ansible playbooks failing on RHEL8 with FIPS

I have two sets of Linux VMs in a GCP (Google cloud) environment: Debian9 and RHEL8. The RHEL8 environment is FIPS-140 enabled, due to security/compliance requirements. None of our Ansible playbooks ...
0
votes
1answer
21 views

Installation Destination (Kickstart insufficient)

I am installing RHEL using a KS file. The installation stalls because of the Installation destination not being properly set, the message I'm getting is the following: You have not defined a root ...
0
votes
0answers
8 views

RHEL 8 Bond Interface SOF_TIMESTAMPING_TX_SOFTWARE

I'm trying to setup ptp4l over a bond interface configured with mode=802.ad (Dynamic link aggregation). When I run ethtool -T bond0 it reports SOF_TIMESTAMPING_RX_SOFTWARE SOF_TIMESTAMPING_SOFTWARE ...
0
votes
2answers
65 views

Password visible while using SCP?

RHEL8 (default bash shell through ssh) > scp source_path remote_host:destination_path & > fg Password: @#$#@#myPassword'sVisibleOhNo!!! First of all, is this just my system, or is it ...
0
votes
2answers
58 views

How to Send a Signal or Data to C++ Program from Bash Script

As the title states I would like a to be able to send a signal, alert, message, or something to a C++ program while it is executing from a bash script. I have seen some solutions where a script will ...
0
votes
0answers
18 views

limits.conf priorities

Does a wildcard have priority over an individual limit? In the example below, will the limit for * be applied to all users including bar or all users except bar? bar - nofile ...
0
votes
0answers
16 views

NFS4_Setfacl VS. Setfacl?

It's my understanding that when you use setfacl it's only directly on your NFS server and NFS_SETFACL you run on the clients only? Is that a correct statement? If that is a correct statement, what ...
0
votes
0answers
23 views

User not getting forced to change password

Any one has idea why user don't get prompted to change password after running below command on user account chage -d 0 user
0
votes
0answers
24 views

Fix disk and volume manager configurations for a cloned server

I have cloned a physical server that has Enterprise Linux version 5.1.19.6 as the operating system with Clonezilla to a VMware virtual machine and the cloning completed successfully. However, I ...
1
vote
0answers
38 views

Yum as root only works if I use the sudo command

This is for RHEL 7.8... I support a VM for a customer where another third-party uses the root account to update packages. When they use yum as root, they receive a timeout, like this (note: this is ...
1
vote
0answers
42 views

why docker container consume huge CPU load average

I want to discuss about strange behavior on our rhel 7.6 server We installed Kafka exporter with container on the server – kafka-01 machine ( total CPU on machine are 12 ) The following yml file ...
0
votes
0answers
13 views

Audio issues on RHEL 8

I recently installed RHEL 8, and am having issues getting my audio to work system-wide. My speakers are Audioengine HD3. For some reason the audio does not work except for in Firefox and in the sound ...
0
votes
0answers
4 views

Issue with httpd and mod_ssl updates rhel

I have a RHEL 7 server running with httpd. While applying recent security patches downloaded through repotrack, seeing an error attached here. The actual package needs to be updated is mod_ssl, but ...
0
votes
2answers
30 views

Setting up DHCP on RHEL8

I am setting up a firewall/gateway router using rhel 8. I have a server with two NICS, one public facing which is a dhcp client, the second NIC will be internal facing. The first NIC is a Public zone,...
0
votes
0answers
22 views

systemd service status is in activating state all the time

I am running into a problem with systemd service, status of the script is always in "Activating state" not in "active". I am not sure what is the problem. Please help me on this. I ...
2
votes
0answers
57 views

"<?php" at Beginning of File Makes it Unreadable by Owner

I have a situation I've never seen before and haven't been able to find in my searching. I have a PHP file that is not viewable or editable by the owner or any group owner. Oddly, Apache can read and ...
0
votes
0answers
13 views

Running yum-complete-transaction without root access

Is there any way to run yum-complete-transaction without either having root access to a machine or it being in sudoers? I do have sudo access to yum itself, so I can install and uninstall packages, ...
2
votes
2answers
64 views

mkisofs error - boot image...efibot.img not an allowable size

I am trying to create a custom ISO from a rhel-8 installation disk that can boot on either a BIOS or an EFI server. Everything goes fine until I try to create the iso. If I run the following command:...
0
votes
0answers
26 views

Mount CIFs on Linux and have users to create dir/files

We have Linux admin mounted CIFs on Linux rhel7 like options, //abc-01/my_data /usersdata cifs user,username=xyz,password=xyz,domain=usax.ad.root,setuids,uid=abc,gid=abc,dir_mode=0777,file_mode=0777,...
0
votes
1answer
16 views

GRUB on RHEL6.8 skips directly to rescue mode with "invalid arch independent elf magic"

In my RHEL 6.8 installation GRUB seems to be corrupt. When I restart the server it is directly going to recue stage. Below message I am getting in virtual machine console: error invalid arch ...
0
votes
1answer
17 views

Centos8 does not respond to IGMP v2 membership queries

In troubleshooting a general issue why a Centos 8 box doesn't receive multicast data after sending a JOIN, analyzing with wireshark also shows the Centos box not responding to IGMP v2 membership ...
1
vote
0answers
16 views

Software RAID Issues with Missing Drive from Boot

I have a 3-drive software raid1 (on RHEL 7) that I am trying to test the limits on. This system boots in legacy/mbr mode and does not support uefi. One of the problems I have encountered is; from a ...
0
votes
0answers
19 views

Where to put kickstarter config for RHEL flash install

I can't figure out where to put a Redhat Enterprise linux (currently using 7.9 but will do 8 next) Kickstarter file on a flash drive install. Flash drive is the full RHEL DVD installed directly to the ...
0
votes
0answers
12 views

RHEL/CentOS 7 getting graphical console yum groupinstall server with gui

I have a server that has systemctl get-default responding with multi-user.target. At the console if I do init 5 then my monitor goes blank, and I can only connect over the network via ssh. I wish to ...
0
votes
0answers
52 views

process not killed even we used kill -9 and process actually was belong to container that already removed

here is a strange behavior that show how to kill a process , but actually process not killed example ( from rhel 7.6 server ) ps -ef | grep kafka-exporter root 15340 19528 0 17:25 pts/0 00:00:...
1
vote
0answers
71 views

xfs_quota and quota commands not working for NFS clients

I've been bumping up against this issue for years, but have never been able to find a resolution. Prior to RHEL7 (i.e. RHEL 5, RHEL 6, and CentOS 6), I was able to... Implement user quotas on my NFS ...
0
votes
1answer
19 views

Default ssl_dhparam file used by nginx in RHEL/CentOS

Where is the default dhparam file used by the nginx web server after a fresh install of CentOS 8? Let's say I do a fresh install of nginx on CentOS 8: yum install nginx And I do not have any ...
0
votes
1answer
98 views

Install MDATP on Rhel8 but it failed

I have a machine with RHEL8 operating system. I have to install Defender Endpoint for Linux, by following the guide: Deploy Microsoft Defender for Endpoint on Linux manually I came to the passage: yum ...
0
votes
0answers
23 views

SD Card Insertion Not Detected

I have a situation wherein my linux system (with a 2.6.32 kernel) is not detecting the insertion of an SD card after the system is booted. It correctly detects the card when the card is inserted ...
1
vote
1answer
22 views

java.net.connectException: Connection Refused by apache

Recently we have updated our OS from RHEL 6.10 to RHEL 8.4. After the installation of RHEL 8.4, we installed our application which uses Apache internally. Please note that our application is ...
0
votes
0answers
17 views

how to add repository to redhat 7.9 [duplicate]

I have host with pasd repo from DVD. Now I have internet connection and want to add few repo: from redhat and from CentOS(needed for app). I am no OS guy but want just upgrade application but do not ...
0
votes
0answers
37 views

yum update-> Error: Package on red hat Enterprise linux 7.9

On test host, red hat enterprise 7.9 after yum update i have Error Package. Can you help to forward Output yum update; --> Finished Dependency Resolution Error: Package: 1:net-snmp-devel-5.7.2-49....
1
vote
0answers
17 views

RemainAfterExit in Upstart

Is there an Upstart equivalent to systemd's RemainAfterExit? I have an upstart task that exec's a script that completes quickly when the task is started. However, I would still like that task to ...
0
votes
0answers
77 views

How to run a systemctl command without sudo?

Background: My developers are installing an informatica product in a RHEL8.3 server. The services are running using a user called infa_admin, and this user is already in the wheel group. This user is ...

1
2 3 4 5
72