Questions tagged [rhel]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
26 views

What is the equivalent CentOS for Red Hat Enterprise Linux 7.6?

I'm looking for a VirtualBox image which is most similar to RHEL 7.6. Here [https://www.osboxes.org/centos/#centos-782003-vbox] I found CentOS 7.9 and 7.8 but the lower versions have different naming ...
0
votes
0answers
11 views

how to permanently change screen resolution specially scaling in RHEL 8.3

i tried the solution given on redhat but still resolution is not changing when login, however i changed my VM scaling setting from VMware settings and uncheck it, now it's getting resolution from the ...
0
votes
1answer
32 views

Unable to install/uninstall pip - Linux

When i try to uninstall pip, I am getting the error below $python2.7 -m pip uninstall pip Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in ...
0
votes
1answer
33 views

Why do 'rpm -qa' and 'yum list' display different result?

I need to check if bzip2 package is installed in my RHEL7.6. The result of the 1st commmand rpm -qa | grep bzip2 was bzip2-devel-1.0.6-13.el7.x86_64 bzip2-libs-1.0.6-13.el7.x86_64 but the result of ...
0
votes
1answer
25 views

Ignore file not found error in a environmentFile missing in a systemd

I have a service file that runs off Red Hat 7 and I'm reading values from a conf file with EnvironmentFile. I need to how "catch" (and ignore) the error that the file may not exist, and ...
2
votes
1answer
50 views

rhel + how to disable CPU's on my machine

We have physical Linux machine with 16 cpus lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 16 We want to disable ...
0
votes
0answers
28 views

Login success without prompting for password

I have RedHat 7.9 machines in my environment. Some of the machines are taking me directly to the shell soon after I enter my AD username. The systems do not prompt for password. These machines are ...
1
vote
3answers
57 views

How to assign process to work on partial CPU's? [duplicate]

We want to run our applications ( process ) only on the first 6 CPUs. We have a RHEL machine. We have physical DELL machine with total 12 cores (from lscpu) Is it possible to assign the process to ...
3
votes
1answer
35 views

RHEL/CentOS Bootable USB Drive with Extra Files

I have a 128GB USB Drive and I can bootstrap and install REHL 8.3. I would like to place additional files on the USB Drive that are readable after the system is installed. Internet research yields ...
1
vote
1answer
24 views

On Linux, how do you exempt one user from sticky bit restriction inside of directory

On RHEL 8 I have created a directory for a group. The group members are allowed to create files within the directory, but because of the sticky bit, are disallowed from deleting files created by other ...
0
votes
0answers
14 views

auditctl doesn't log anything

I am trying to find app/activity on a server for failed connection to external mysql host. For that I decided to use auditctl. I'm running the following command: [nir]$ sudo auditctl -A exit,always -F ...
0
votes
1answer
41 views

find + search huge files in short time

I am using the following find syntax in order to find huge std* files that are more then 1000M. find /data -type f \( -name "stdout" -o -name "stderr" \) -size +1000M -print ...
1
vote
1answer
42 views

Ethernet controller I219-LM not claimed by driver e1000e

Today I received a brand new Dell OptiPlex 7080 and I installed Oracle Linux 7 on it. The machine has an external wireless antenna and an ethernet port. The wireless antenna works, but the ethernet ...
0
votes
1answer
27 views

Does RHEL support a data storage solution that has file integrity check summing with parity?

I have a lot of data and I choose to manage it with ZFS. This is fine for secondary storage but cannot be used on the boot disk due to the filesystem not being part of the kernel. RHEL 6 and 7 brought ...
1
vote
1answer
171 views

How to change date format in Linux Redhat

Is it possible to change date format from example Fri 12 Feb 18:27:34 +08 2021 to just simply DD-MM-YYYY? Specifically, to change date format in last command
0
votes
1answer
24 views

Red Hat Enterprise Linux 7 - mount a windows share issue

Already both share and NTFS permissions Everyone - Full control for //10.180.102.11/Data. I have already setting up share //10.180.102.11/Data under file server domain joined. I want to access all ...
1
vote
0answers
21 views

How to access a variable in a file from a Linux Service file

I have a Red hat 7 Service file(.service) and i need to access some data in a file, i used to access data from a pom file but now i have to access a conf file, a file that's key and value. Example: ...
0
votes
0answers
39 views

Unable to login to portal.azure.com from Linux

I am trying to login to my company's Azure portal from a Linux installation and I keep getting an error. If I run self-diagnostics the only issue I get the following error (note grammatical error is ...
15
votes
5answers
5k views

Since CentOS 8 will reach EOL in 2021, what would be a good alternative to CentOS 8 for learning and practicing Red Hat? [closed]

I just came across the FAQs for no-cost Red Hat Enterprise Linux and looks like they are giving Red Hat Enterprise Linux (RHEL) for free for individual users, since CentOS has been my desktop for ...
0
votes
0answers
15 views

RHEL ways to simulate or virtualize time

I am trying to get my machine to simulate or visualize time without changing system time so that I can run code under simulated/virtual time so that my timestamps are in the past and such. I know ...
0
votes
0answers
30 views

ssh + what is the default count of parallel ssh session to rhel machine that machine can allow in the same time [duplicate]

We have 736 RHEL machines that sometimes access the central server via ssh. In the worst-case, all machines can be connected to the one server at the same time. Is there any restriction on how many ...
1
vote
1answer
25 views

Is it possible to play an audio file from a fedora 33 no gui server?

So I'm using a old low spec pc as my home server. I've tried to play music by sox command. As you can see the output, the audio file playing but there is not output from my speakers. I've plugged in a ...
0
votes
1answer
28 views

If I want to check my CentOS version which release file is most accurate?

I'm aware that there's a couple of methods to check your CentOS release version but if I want to check using the release files I see there's two options. cat /etc/centos-release or cat /etc/redhat-...
0
votes
0answers
29 views

How to run systemctl --user … after sudo?

We've enabled systemd --user on our servers, and now users can manipulate their services themselves. When a user foo logs-in directly, things like systemctl --user status work as expected -- foo's own ...
0
votes
0answers
20 views

remove duplicate entry in /etc/host file, preserve only specific line/entry

I want to remove other 1.1.1.1 entries and keep only the 1.1.1.1 ONE.COM. Here's my /etc/hosts 1.1.1.1 one 1.1.1.1 one.com 1.1.1.1 ONE 1.1.1.1 ONE.COM 2.2.2.2 TWO.COM 3.3.3.3 THREE.COM
0
votes
0answers
16 views

Systemd service depending on another from a different server

We're dealing with a (vendor-provided) distributed application, that runs on multiple servers. The servers aren't "equal" -- the main one has to be up and running before the secondary ones ...
0
votes
1answer
22 views

What's the difference between memory shown with the free command and the top command? [duplicate]

I am new to running a linux server and wanted to know the difference between the total memory shown with the top command (which appears to be 78GB) and the free command which shows that I have 743GB ...
0
votes
1answer
9 views

vmware 16 on rhel8: compiler version mismatch

When I try to compile the kernel modules for vmware Workstation 16 on my rhel8 host, I get the following: > sudo /usr/bin/vmware-config.pl *snip* Your kernel was built with "gcc" version &...
0
votes
0answers
9 views

How to manage SNMP Traps for Application Deployed in HA environment

I have an Application server configured as Active-Standby HA environment. HA achieved using Keepalived VRRP. Now in primary server having multiple services running same as in secondary. Right now both ...
0
votes
1answer
15 views

What is the best way to store gateway information on redhat system

I have herd 3 different ways to store gateway information on redhat system /etc/sysconfig/network /etc/sysconfig/static-routes /etc/sysconfig/network-scripts/route- files I am not aware of ...
0
votes
0answers
23 views

What's the best/easiest way to create a usb connection from Windows to Linux

I'm wondering what's the best way for me to setup a usb connection from Windows to a remote linux servers (Redhat)? I did some Googling and found socat but that was for Linux to Linux, any ideas? My ...
-1
votes
0answers
30 views

dmesg + how to know if we need to update the network driver

We have 326 linux servers in our Hadoop cluster. All servers are rhel 7.2, and linux kernel version is 514.26.2.e17.x86_64. We notice the following message from dmesg (kernel massages): 140e the ...
2
votes
2answers
48 views

yum + how to remove single rpm without dependencies

we have rhel server 7.6 version I am trying to remove the following rpm but without to remove rpm dependencies but I get rpm -e --nodeps sshpass error: "sshpass" specifies multiple packages:...
-1
votes
0answers
22 views

yum + Transaction check error

We are upgrading the rpm - sshpass.x86_64 0:1.05-5.el7 to sshpass.x86_64 0:1.06-2.el7 by yum on our RHEL 7.x server as yum localinstall sshpass-1.06-2.el7.x86_64.rpm but yum is failed as the ...
1
vote
0answers
27 views

sar + sar command failed to found folder under /var/log/sa

on our rhel Linux server we do the following in order to get info from sar command but we get sar Cannot open /var/log/sa/sa31: No such file or directory but we can see that only the following ...
0
votes
0answers
24 views

machine uptime is not consistent with last command

we have 3 rhel servers version 7.6 ( part of cluster with 8 machines ) on rhel server 1 machine uptime is uptime 10:25:51 up 23:48, 1 user, load average: 0.02, 0.09, 0.13 on rhel server 2 machine ...
0
votes
0answers
16 views

Unknow Zip file of ~60gb created in Weblogic folder and now HDD partition is full

We are currently deploying applications in Weblogic 12.2.1.3.0 and while deployment, the deployment failed with the error that no space is available for copying stage files. OS = Redhat Enterprise ...
0
votes
2answers
16 views

Authentication precedence

In nsswitch.conf file I have an entry "passwd files sss". Also I have the evidence that the server is having LDAP authentication. Since the "files" for passwd is enabled and it ...
0
votes
1answer
58 views

“An unknown error has occurred” is output when installing RHEL 8.3 on fresh system

I have a laptop that I am installing RHEL 8.3 for Developer. I get an error: An unknown error has occurred. Reference is made to anaconda and I find some aspect on RHEL portal. https://access.redhat....
0
votes
3answers
30 views

how to create disk label without creation filesystem on new disk

we have rhel 7.2 server , server is VM server and we add new disk - sde with the following example we create ext file system with label - disk2 mkfs.ext4 -L disk2 /dev/sde mke2fs 1.42.9 (28-Dec-2013) /...
1
vote
0answers
32 views

dd cloning process keeps the partition table but not the logical volumes and their names, why?

So I Am trying to clone a drive using dd via the following command #dd if=/dev/sda of=/dev/sdb bs=64k status=progress the command does what it is supposed to for the most part but the usb which was ...
0
votes
5answers
86 views

What is the best way to handle folders with millions of files in RHEL-7? [closed]

I am at an awkward situation. I am using the RHEL-7 machine having 62 GB RAM. In this machine, I have couple of folders where I have aound 8 million files. Unfortunately, I am finding it hard to deal ...
0
votes
1answer
23 views

How can I install the NVIDIA driver on CentOS kernel 4.18.0

When I try to install the NVIDIA driver on my CentOS 8 with kernel 4.18.0 I get the following error in the logfile: error: implicit declaration of function 'drm_pci_init';
0
votes
0answers
14 views

getting weird errors while installing RHEL on hardware: dracut-initqueue[1063]: warning: dracut-initqueue timeout - starting timeouts scripts

installation of RHEL8 on vmware was very smooth with the same ISO, so i thought to directly install it on hardware (as i faced some issues in the past with debian on hardware so i decided to try the ...
0
votes
0answers
38 views

ifort will not find gmp library (libgmp) while linking

Does anybody know the underlying sorcery behind libgmp?? I am working on compiling a program (hires_ifr.c) on Red Hat Enterprise Linux 7.9 that previously had no issues. It is now failing to find the ...
0
votes
0answers
14 views

Automating SELinux user mappings for SSSD AD users without an IdM solution

I have several RHEL7 and CentOS7 based systems that are tied into a Windows Server 2019 Active Directory using realms/SSSD. Currently, AD users adopt the unconfined_u SELinux user mapping by default. ...
0
votes
0answers
37 views

how to replace non LVM disk that is full, on the fly

we have rhel machine 7.2 version disk sdb size is 3.9G and the following disk ( non LVM disk ) is full /dev/sdb 3997376 3911504 3911504 99% /hadoop we add additional disk - /...
0
votes
0answers
69 views

mkfs complain about disk is apparently in use by the system

on our rhel server we want to re-create ext4 filesystem as [root@worker ~]# mkfs.ext4 -j -m 0 /dev/sdd -F mke2fs 1.42.9 (28-Dec-2013) /dev/sdd is apparently in use by the system; will not make a ...
1
vote
1answer
15 views

Configuring YUM for updates from Mirrored Repo [closed]

I've got a weird situation where I have to mirror my RHEL 7 repos to other RHEL7 systems. I followed the RHN documentation at https://access.redhat.com/solutions/23016#basic on creating the mirrors ...
0
votes
0answers
13 views

How to change permission to directory with Active directory groups on RHEL?

We have to setup server with RSTUDIO-SERVER Pro and wanted to maintain the security: We have two folders created one is in /FOLDER1 and another is under /usr/FOLDER2 We have two AD groups created as ...

1
2 3 4 5
68