Questions tagged [rhel-7]
The rhel-7 tag has no usage guidance.
43
questions
0
votes
1
answer
23
views
Can't ping in RHEL 7 in VMware pro
Image of the network card configuration:
This is RHEL - 7 in VMware-workstation 17 pro, I'm trying to ping the gateway of the same IP and google.com. I have no idea what's the issue as my friend uses ...
0
votes
0
answers
29
views
RHEL 7 moving files from 1 VM to 10 at one time
I have 11 VM’s on RHEL 7. I only have access to the files on 1 VM and have to SCP them over to the other 10. Is there an easier was to do it then hitting the up arrow every time and changing it to the ...
1
vote
0
answers
68
views
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 ...
1
vote
0
answers
69
views
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 ...
3
votes
2
answers
2k
views
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 ...
0
votes
1
answer
634
views
how to setup oci8 on rhel 7.9 with REMI/RPM repository
I am very much new to linux and my project uses oracle instaclient. I want to install oci8 on rhel 7.9 but I don't know if I need to install basic/devel/rpm/remi version. I am following this document
...
1
vote
0
answers
35
views
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 ...
2
votes
1
answer
826
views
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~]$...
0
votes
1
answer
207
views
Can rsync be used with x509 certs for authentication? If so, how?
I need to use x509 certs to be able to authenticate with a work server. This is not a problem with ssh and scp sessions but I need to set up cron'd rsync and I don't see how to get rsync to use those ...
2
votes
1
answer
83
views
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 ...
0
votes
1
answer
388
views
TCP Packet drops on application server
I have a monitoring application (Zabbix proxy) installed on RHEL 7.8 and since we have a very large environment, we have 2500+ agents connecting to this one server. We're seeing frequent errors while ...
1
vote
1
answer
202
views
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 '*(...
1
vote
2
answers
623
views
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 ...
0
votes
1
answer
39
views
Recursively highlight any PDF with duplicate filenames
I have a 6TB set of files that need old versions of the PDF highlighted with over 2 million assets. This would need to be recursive. I'd have to do this via the Linux command line.
A, typical ...
0
votes
1
answer
1k
views
RHEL7 not assigning link-local IPv6 address to a new network interface
I have written Linux network drivers for a new device. I expect the new interface to get IPv6 link-local address when I insmod the drivers. This works fine on Debian10, CentOS8 and various Ubuntu ...
0
votes
0
answers
61
views
Remove server name while sending mail
While sending mails using sendmail, the domain name is getting appended to the from and the to email addresses. My requirement is not to have that domain name. Could anyone help me on this?
2
votes
1
answer
302
views
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
...
1
vote
1
answer
71
views
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: ...
1
vote
0
answers
448
views
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 ...
1
vote
0
answers
388
views
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)
[...
0
votes
1
answer
4k
views
How to renew or refresh SSL certificates of yum "rhui" repositories in GCP?
Running RHEL 7 in GCP and trying to install packages with yum, all rhui repositories give an error like:
https://cds.rhel.updates.googlecloud.com/pulp/repos/content/dist/rhel/rhui/server/7/7Server/...
0
votes
1
answer
459
views
Offline Update Rhel 7.4 without changing the version of OS
I have to Update my Rhel Server and keep the version of OS.
The current running version of OS is Rhel 7.4.
My server is not connected to internet. So i have to do an offline Update.
Is it possible to ...
0
votes
1
answer
2k
views
yum giving error "[Errno 111]" Connection refused on RHEL
I am on RHEL server 7*. When I use yum (any command even help) I get this line every time.
[Errno 111] Connection refused
Things work, but lines like this keep coming.
0
votes
1
answer
4k
views
Rhel 7 : systemd fails to start a process if background option is given
I have a systemd unit file (serv_unit.service):
[Unit]
Description=My service
[Service]
Type=simple
Restart=always
RestartSec=60
StartLimitInterval=400
StartLimitBurst=3
ExecStart=/etc/init.d/...
0
votes
2
answers
5k
views
Falling to install Remi repo: RHEL 7.4
How to force subscription manager to accept REMI repo?
I'm not sure how to proceed. I've already spent 3 hours looking for a solution.
What I want in the end is to be able to install R (yum install -...
1
vote
1
answer
117
views
Installing R on RHEL 7.4
I've checked this one Installing R on RHEL 7 but it's not solving my problem.
When I run
yum install R
I ended up with some dependencies error as below
0
votes
1
answer
3k
views
unzip file without using `unzip` on Linux on a file zipped on Windows
When using unzip in Red Hat Enterprise Linux (RHEL) to deflate an 8.8Gb zip file created on a Windows 10 64-bit system, I am getting an error bad CRC eb71d36a (should be b0968d02). The single text ...
0
votes
1
answer
81
views
Can't install “qt-examples” and “qt-docs” packages because dependency is too new?
What is wrong with my repository? Why can't I install qt-examples? How do I fix the repository?
$ sudo yum install qt-examples
[...]
Error: Package: 1:qt-examples-4.8.7-2.el7.x86_64 (base)
...
0
votes
1
answer
22
views
Need help creating subdirectories to store files with dates in them
New to this forum, however not new to RHEL or scripting. However this one is a bit annoying me. I have the following files:
2019-05-01-00.34.00.msg
2019-05-02-00.36.00.msg
2019-06-14-01.38.00.msg
I ...
0
votes
2
answers
1k
views
Getting udev to recognize unique usb drives from a set - with the same uuid and labels? RHEL7
I'm trying to configure udev on RHEL7 so usb flash drives are assigned specific /dev names (ie. /dev/backup1 , /dev/backup2....) for specific flash drives - I realize I can't control the /dev/sdx ...
0
votes
1
answer
4k
views
MySQL service won't start
After needing to reset the root password of a MySQL instance I went to restart my service and retrieved the following error from mysqld.log
[System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0....
0
votes
1
answer
291
views
RPM failing to install on RHEL
I am trying to install an RPM package on RHEL7.
I am getting the following error;
Fri Aug 30 05:36:55 UTC 2019--> Start Installing downloaded package...
file /etc/rc.d from install of abc....
0
votes
1
answer
32
views
Variable issue in if clause
I am trying to create a bash script to check and generate report on CIS Benchmark for RHEL7 v2.1.0. I am getting some issue while handling variable in 'if' condition.
Here is my script:-
[root@test ~...
0
votes
0
answers
57
views
Unable to download some packages on Redhat
I am unable to download the pam-devel, zlib-devel and openssl-devel packages on a Red Hat Enterprise Linux Server release 7.4 (Maipo).
When executing # yum install pam-devel I am getting the ...
4
votes
0
answers
1k
views
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 ...
0
votes
1
answer
29
views
Unable to increase Linux VM storage using VBox and Gparted
I have a running VM of storage around 20GB which was assigned initially during creation.. I followed the VBox documentation on how to add more storage using the VBoxManage command ( which was ...
1
vote
1
answer
3k
views
Too many open file descriptors RHEL 7.4
I have migrated to RHEL 7.4 from 6.9 and same application which used to run fine on 6.9 is running into "Too many open files" issue.
ulimits are set to same values across both environments. upon ...
0
votes
1
answer
424
views
firewalld - change destination of outgoing http and https requests from local process
I have a process that listens for incoming port 80 and 443 traffic and then sends it out to an extranet recipient. It's a proxy but I don't want to use that term because I need to send ITS outgoing ...
0
votes
1
answer
724
views
How to install cloud foundry in home server
I know this question has been asked here but found that was years before. Most of the instructions seems outdated. I want to install Cloud Foundry in my home/local server but would like to use it ...
0
votes
0
answers
38
views
Text Typed Into PowerShell on RHEL 7 Corrupt
I've just installed PowerShell 6.1 on a RHEL 7 system. The text generaetd by pwsh is ok but the text typed by the user is just weird. Here is what I get when I type $PSVersionTable at the pwsh ...
0
votes
1
answer
807
views
Installing Cinnamon DE on RHEL 7.5
I have a ThinkPad T580 running RHEL 7.5. I have installed epel repo and am trying to install cinnamon DE.
I used the command sudo yum groupinstall "Cinnamon Desktop" -y to install the DE. The process ...
0
votes
1
answer
164
views
How to use docker in scripted jenkins pipeline on RHEL7
The goal is to start a docker image from a scripted jenkins pipeline.
The node running docker is RHEL7 machine.
On RHEL7 regular users aren't allowed to execute docker commands without sudo, see ...
12
votes
2
answers
25k
views
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 ...