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
votes
0answers
22 views

sssd: AD user cannot login in RHEL 7

I can switch to the mentioned domain user with su command from the server, but ssh login is failing. The user domain group is already added in sssd.conf file under "simple_allow_groups" The errors in ...
0
votes
2answers
31 views

How often (and when) does NTPD update the time?

I have an Oracle Linux 6 box (RHEL) and I have set up ntpd. I have run service ntpd start and chkconfig on. Now, if my date is incorrect and I reboot the box, it sets the time and date properly. ...
0
votes
0answers
25 views

Installing flexcube on linux [on hold]

I joined as an intern in a small firm, where I started learning Linux on my own from the past 5 months. Now I'm assigned to install flexcube. For now, I need some links and documents to install ...
-1
votes
0answers
15 views

Launching Teamviewer in Centos 7

I have installed teamviewer_14.1.3399.x86_64.rpm and while installing it did not install completely. I got this error [root@shiva Downloads]# rpm -ivh teamviewer_14.1.3399.x86_64.rpm warning: ...
-1
votes
0answers
14 views

Issues for using Metasploit and Nexpose on same server

Environment: Red hat linux 7 Recently I received a message from Rapid7 support that by installing metasploit and nexpose on the same server creates compatibility issues as both of them use NMAP (pcap ...
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 [on hold]

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
27 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
87 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
38 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
44 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
20 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
15 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
43 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
120 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
35 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
78 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
35 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
67 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
22 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
88 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
82 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
30 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
31 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
57 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
23 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
31 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 ...
-1
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
48 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
116 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
60 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
54 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
180 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
76 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
49 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
78 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
106 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
28 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 ...