Questions tagged [rhel-7]

44 questions
14
votes
2 answers

Recreating an XFS file system with `ftype=1`

I have a CentOS 7 system where the root file system is XFS (created with ftype=0, the default CentOS setting at the time the system was installed). Unfortunately, the Docker overlay2 storage driver requires that file system to have been created with…
jjlin
  • 16,120
5
votes
2 answers

Issues with storage upgrading RHEL 7 to RHEL8

I am attempting to upgrade RHEL7 to RHEL8 using LEAPP. I have corrected all errors the preupgrade scan flagged. The last error I am receiving is that there is not enough space Disk Requirements: At least 223MB more space needed on the /…
kwayne
  • 51
4
votes
0 answers

cannot find openjdk-11 for RHEL7

I have been trying to install java-11-openjdk-devel required for NetApp AIUM 9.6 on a RHEL 7.5 server. As per Redhat developer portal "https://developers.redhat.com/openjdk-install/#" package could be found in rhel-7-server-optional-rpms However,…
2
votes
1 answer

wget gets stuck on logging in as anonymus from ftp server

I´m trying to download a file from ftp://ftp.perforce.com with wget. I´m using the following command: wget -t 3 --timeout=10 ftp://ftp.perforce//path/to/file I get the following output: [xxxx@xxxxxx~]$ wget -t 3 --timeout=10…
Kev1990
  • 21
2
votes
1 answer

Red Hat Linux Play Sound File From Service Account

I am trying to have my service account play a sound when a problem occurs, I have figured out how to get a script to run when I want to, but the problem is that the play command won't work. From the research that I did it seems that pulseaudio only…
Eric
  • 31
  • 5
2
votes
1 answer

Resetting Root password mount is already mounted or busy

The real issue I cannot understand. VMWare 6.7 Red Hat 7 uname -a Linux servername.net 3.10.0-1127.10.1.el7.x86_64 #1 SMP Tue May 26 15:05:43 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux Selinux Enforcing From the VMWARE web console I cannot log in as…
1
vote
0 answers

finer-grained role/type access (specifically auditd_log_t)

Suppose I want to use SELinux to lock down audit logs even more tightly than ordinary logs. Ordinary logs typically have type var_log_t, but audit logs have type auditd_log_t. So there's at least a basis for discriminating their access. What (I…
1
vote
0 answers

RHEL7 - High CPU load when write to NAS

I do not understand, what is the reason for very high "load average" reported by top. This is RHEL 7. The problem is repeatable. We have one remote NAS and when one user-space process start to write extra large files there (e.g. size of 15 GB) then…
meolic
  • 133
1
vote
0 answers

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 corrupted, or ignore it and allow the system to continue…
1
vote
0 answers

RHEL7 Strange Resource Starvation, repeatable 141 second stalling

We have one RHEL7 system of three supposedly identical systems which regularly (every 5 days to a week) gets into some weird resource starvation scenario. The main symptom seems to be a severe delay in launching new processes (and threads?). I've…
S'pht'Kr
  • 111
1
vote
1 answer

Replace tilde with pattern substitution

Normally I use the ${parameter/pattern/string} construct in bash to replace characters. For example, ${i//(/_} replaces all ( characters with _ in $i.  For illustration: find . -depth -type d -name '*(*' -execdir bash -c 'for i; do mv "$i"…
JandP
  • 31
1
vote
2 answers

Rename folder recursively with specific name

I have a bunch of folders I need to rename on a Linux disk. The folders are named as below VT_GH I would like to rename every single folder called VT_GH to VT GH I only want to remand folders with that exact name. Essentially replacing the…
JandP
  • 31
1
vote
1 answer

How do I stop a script from finishing if certain text is printed?

I am trying to automate domain join but want to make it so you cannot run some commands twice. I am trying to stop the script if the domain is already joined. Printed text if domain is already joined: realm: Already joined to this…
1
vote
0 answers

IP Forwarding in is not working in a Linux VM IPtables

I am trying to use IPtables and it's NAT functionality in a Linux VM to make a network connection work I have a RHEL Linux Box. It has two interfaces eth0 & eth1. I have a Windows Servers behind this linux box with their route pointing to eth0. My…
1
vote
0 answers

Unable to apply yum security updates

I've a few FreeIPA servers that were built using the official CentOS repositories and EPEL repo for FreeIPA. [root@freeipa yum.repos.d]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@freeipa yum.repos.d]# cat /etc/redhat-release…
Facu
  • 11
1
2 3