Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rhel]

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

1
vote
0answers
14 views

Where should I place named pipe files on RHEL7?

I done some quicky web searches to find out how to make a named pipe. It looks very straight forward I just need to execute as root: mkfifo filename, but what the best practice on where on the ...
0
votes
0answers
16 views

correlate PID from top and application debug

When running top -n 1 I can sometimes see a process consuming 100% or more CPU. The problem is that ps -lf 55033 does no return any results. How could I possibly debug the application itself to ...
0
votes
1answer
25 views

RedHat/Centos6.5 Environmental Variables Set on Startup - but from where? [duplicate]

I using Redhat/Centos 6.5. I am starting up the system and it already has environment variables set and is already running processes when it starts up. My questions: 1) Where do these environment ...
0
votes
1answer
86 views

is it possible to avoid open files? [on hold]

when we run lsof to capture deleted files , we see the following: ( example ) lsof +L1 java 193699 yarn 1760r REG 8,16 719 0 93696130 /grid/sdb/hadoop/hdfs/data/current/PLP-...
0
votes
1answer
35 views

how to understand the dmesg

we have redhat machine version 7.2 and each machine have disks as sdb sdc sdd sde sdf in the dmesg report we get the following [873080.996700] Buffer I/O error on device sdf, logical block ...
-1
votes
1answer
39 views

how to identify bad block or disk problem

we want to identify bad block or disk problem by the following umount /grid/sdd badblocks -n -vv /dev/sdd Checking for bad blocks in non-destructive read-write mode From block 0 to 20971519 Checking ...
1
vote
1answer
19 views

restore under RHEL 7

Say there's an application that install to /opt/ directory. I update it with yum. I do a full server backup, that is all the file systems (/opt/ maps to the root directory). Now, I discover a bug post ...
0
votes
0answers
12 views

iostat + what we can do if await is high

we use iostat -x and check for the await column - per device it shows the total time spent waiting plus the actual handling of the request by the disk iostat -yzx 5 Device: rrqm/s wrqm/s ...
0
votes
1answer
35 views

Pip invalid syntax error in RHEL

I'm trying to use pip to install python packages on an RHEL instance but get this error when I try to run any pip command. Pip did previously work but all of a sudden (not sure what I did) it started ...
2
votes
3answers
119 views

how to know the right swap size for hadoop Linux machines

we are using many hadoop clusters for now we are using swap size - 16G free -g total used free shared buff/cache available Mem: 125 ...
1
vote
1answer
30 views

Linux Mailx is creating a dead.letter and not sending email [closed]

I am having issues with sending emails from my Redhat6 linux server. Each type of mailing command sendmail/mailx creates a dead.letter in the users home directory. Examples of how I am sending ...
1
vote
2answers
44 views

how to know the right size of /boot

for now /boot on our linux machines is /dev/sda1 497M 157M 340M 32% /boot we want to create a new linux redhat template and I have the feeling that /boot size is too small for ...
1
vote
1answer
70 views

Why does swappiness not work?

We have a RHEL 7 machine, with only 2G of available RAM: free -g total used free shared buff/cache available Mem: 31 28 0 ...
0
votes
0answers
34 views

The availability of lsblk on RHEL 5

According to the following solution link https://access.redhat.com/solutions/2063833, there is no lsblk on RHEL 5. Could it be said that there is no solution for lsblk on RHEL 5?
1
vote
0answers
42 views

Network teaming configuration

How to configure the teaming network? On our redhat machines we configured as the following the teaming network On each machine we have two links - ens1f5 and ens1f6 And we add the team0 file to ...
1
vote
0answers
64 views

FIPS integrity test failed on RHEL 7.5 with 4.X kernel

I have a Dell PowerEdge R7425 with Intel NVME P4500/P4510 NVME drives. On the 3.10 kernel, the NVME drives throw I/O errors very frequently, and these errors have led to a system halt once already. ...
1
vote
0answers
21 views

Redhat route InfiniBand problem

I have a system (HPC) have 1 headnode (192.168.2.2) 10 node and (192.168.245-254) 1 NFS server (192.168.2.244). My headnode can't ping to NFS server but from NFS server I can ping to headnode. I ...
0
votes
0answers
26 views

Network teaming VS bonding configuration

as I am understanding we can set on Linux configuration BONDING or network teaming both approach support LAN fail over for example if on the server we have the following up link eth1 eth2 in ...
-1
votes
1answer
81 views

Differences between Container Linux, Red Hat CoreOS and Fedora CoreOS?

TL;DR Is "Container Linux", "Red Hat CoreOS" and "Fedora CoreOS" basically the same? What are the differences in between? TS; DR I understood that "CoreOS" was renamed to "Container Linux by CoreOS"...
0
votes
1answer
73 views

How to Install or Upgrade to Kernel 4.19 in CentOS 6

# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS ...
2
votes
1answer
38 views

How to set an environment variable during package installation

I am working on a legacy cross-platform project packaged to both DEB and RPM formats. Once the Linux package is installed, an environment variable holding the path to the installation folder is ...
0
votes
1answer
23 views

check installed packaged pre and post upgrade

is there any software that would enable me a view into which packages were installed before and after an update / upgrade? Something like a "snspshot" of installed packages to check whether they have ...
0
votes
1answer
12 views

Tighten existing firewalld rules

I have a current ruleset: net1 (active) target: default icmp-block-inversion: no interfaces: ens192 sources: services: http https smtp smtp-submission pop3 pop3s imap imaps ssh ports: ...
0
votes
0answers
29 views

Get Package and their respective dependencies separately from 'yum update'

If I type yum update, I can get all the missing packages and their dependencies for the system. My question here is, is there a way to segregate all packages and their dependencies separately while ...
0
votes
0answers
30 views

Can I restore my RHEL 7 server after messing up partitions in fdisk?

I was attempting to change my partitions in Linux (RHEL 7) and I deleted a partition using fdisk. Then, I attempted to reboot the system. Now, when I connect to my Linux box, I'm in a Dracut shell and ...
0
votes
0answers
30 views

how to take affect the seting on temporary files ( /tmp )

subject - new settings retarding temporary files ( redhat 7.2 ) we set new values on the following configuration files , in order to minimize /tmp capacity in file: /lib/systemd/system/systemd-...
1
vote
1answer
55 views

how to manage cleaning of /tmp better on hadoop machines

As all know the content of /tmp should be deleted after some time. In my case we have machines ( redhat version 7.2 ) that are configured as following. As we can see the service that is triggered ...
-1
votes
1answer
38 views

Moving files to a new directory gives error: argument list too long

I have /path/to/dir/2018/ and /path/to/dir/"otherfilesandfolders" I need to move the "otherfilesandfolders" into 2018 and overwrite all edit: there's more than 3000 files in each subdirectory, ...
0
votes
4answers
54 views

Calculate date/time difference form entries in two files in bash script

I have two files (STARTED and COMPLETED) that look like this: STARTED FILE: 2018-01-30 10:21:41 2018-01-17 12:22:50 2018-06-27 23:09:20 INVALID INVALID ... for 800 Rows COMPLETED FILE: 2018-01-30 ...
0
votes
0answers
20 views

How to make exfat appear as a disk on Computer (RedHat 6)

I have a redhat 6 on 1TB HDD and another 1TB HDD with exfat format, anyway on Computer I can find the drive where redhat installed but not the exfat drive. I do add a line to /etc/fstab for auto ...
2
votes
0answers
100 views

SSH connection getting closed automatically after a sudo command

I have two servers running the same version of RedHat 6.4, however one of them behaves differently when I run remote sudo commands through SSH on it. On server1, the connection is automatically closed ...
0
votes
0answers
29 views

building glibc 2.16 from source throws error

I am trying to build glibc-2.16.0 from source following these steps. The configure step worked fine but when I run make it results in an error /tmp/ccZNttGz.s: Error: `_obstack@GLIBC_2.2.5' can't be ...
0
votes
0answers
29 views

Can a RHEL 4 compiled executable run on Debian 9? [duplicate]

We have a pro*c that needs to be compiled into executable. As we were not able to find Oracle DB (needed for precompiling) and proc precompiler for Debian 9 (64bit) and we don't have a Debian 9 box ...
-1
votes
0answers
47 views

How can you remove the “any any” rule for ssh in iptables?

I try to reduce the allowed connections for ssh via iptables/firewall-cmd. When I list the rules with "iptables -L" it shows me the configured accepted IPs but at the end I have this "any any" rule ...
0
votes
0answers
11 views

Allow Guest Users to Edit Network, While Denying Access to Other Folders

I've deployed an in-house web service application onto an airgapped hypervisor hosting a RHEL server guest. The guest RHEL has undergone basic OS hardening. All interactions are web-based, so under ...
-2
votes
1answer
102 views

install openssh 7.6 on red hat 7.5 [duplicate]

I have a redhat server 7.5. I have a openssh installed on this server. The openssh is 7.4. I need to upgrade openssh 7.4 to 7.6 AS Nessus, vulnerability scanner scanned this vulnerability (Openssh <...
1
vote
1answer
57 views

Add Line Separator after results while using Grep Patterns

I'm trying to separate my grep results out with empty lines but I can't figure out where to put or if I can even use group separator when -e is in use: tail -100 testing.log | grep -e pattern1 -e ...
0
votes
0answers
51 views

pip install + get the errors about Retrying (Retry(total=4, connect=None, read=None, redirect=None))

we are trying to install the following Jinja ( on redhat machine version 7.2 ) pip install Jinja2-2.10-py2.py3-none-any.whl Processing ./Jinja2-2.10-py2.py3-none-any.whl Collecting MarkupSafe>=0....
0
votes
1answer
159 views

Upgrade OpenSSH 7.4 to later on RHEL

I have a Red Hat Enterprise Linux server (7.5 x86_64). I have OpenSSH version 7.4. I was asked to upgrade it to a later version for security reasons: Nessus states that OpenSSH should be ugraded from ...
1
vote
1answer
75 views

Update OpenSSH on RHEL 5.5

I must update OpenSSH on my RHEL 5.5 because of CVE-2018-15473. My OpenSSH version is OpenSSH_4.3p2 and must be update to OpenSSH_7.9, when i want to do this i get that message when using configure ...
0
votes
1answer
44 views

Run docker-compose after reboot on RHEL 7

After installing Docker CE and Docker Compose on RHEL 7, I get an error trying to use it: $ docker-compose --version docker-compose: error while loading shared libraries: libz.so.1: failed to map ...
0
votes
2answers
36 views

alternative to `tail -f <filename>` allowing printing continuous stream from multiple files in multiple folders under the same parent folder [duplicate]

As far as I know, tail -f <filename> allows to continuously print newly appended data from one single file. What if I need to get content from multiple files located in multiple folders under ...
0
votes
1answer
72 views

Update the glibc package Error

I was asked to fix the vulnerabilities for RHEL 7: GLIBC(RHSA-2018:3092). Based on the output given by Nessus. Remote package installed : glibc-2.17-222.el7 Should be : glibc-2.17-260....
4
votes
1answer
104 views

SELinux Interfering With sss_cache

System: HP Pavilion Power Laptop 15-cb0xx Intel i7-7700HQ w/ integrated graphics enabled (can't be turned off in bios) Fedora 28 NVIDIA GTX 1050 (mobile) I used the dnfdragora GUI to update about ...
0
votes
1answer
27 views

non-root user set group ownership

The official Red Hat System Administration I RH124 says: root can grant ownership to any group, while non-root users can grant ownership only to groups they belong to [student@web ~]$ id ...
0
votes
1answer
47 views

smartctl megaraid,N ( how to find the right value for N ? )

we run the smartctl on sdb disk smartctl -a /dev/sdb smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www....
0
votes
1answer
73 views

RHEL 8 Beta unable to install under KVM [closed]

I have KVM installed under Centos 7.5, but I am unable to install RHEL 8 as a guest. I have downloaded the ISO image and provided the path. Its asking me for a installation source, as shown in below ...
-1
votes
1answer
39 views

Is there any way to modify or manage the startup processes in RHEL 7.4?

I updated my kernel rpm from kernel version kernel-3.10.0-693.el7.x86_64 to kernel version kernel-3.10.0-957.1.3.el7.x86_64.After update, a process named watchdogd with pid 49 is continuously running ...
0
votes
1answer
31 views

htop - why does cpu% much higher than cpu core %?

So I have htop running on my RHEL 7.5 64-bit and noticed something I've not seen before. I have 4-core and it shows that the % used fluctuates but never over 95% for each one. However, when I look ...
-1
votes
1answer
41 views

How to add existing user to an existing group in centos 7?

I'm trying to add an existing user called Jim, to the current group called hoho, that I've created. I've looked up the command, and this is all I got. useradd -g hoho Jim Then when I checked to ...