Questions tagged [rhel-7]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
88 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 ...
user avatar
  • 1
0 votes
1 answer
312 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 ...
user avatar
1 vote
0 answers
21 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 ...
user avatar
  • 111
2 votes
1 answer
304 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~]$...
user avatar
  • 21
0 votes
1 answer
68 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 ...
user avatar
1 vote
1 answer
36 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 ...
user avatar
  • 11
0 votes
1 answer
147 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 ...
user avatar
1 vote
1 answer
55 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 '*(...
user avatar
  • 31
1 vote
2 answers
43 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 ...
user avatar
  • 31
0 votes
1 answer
29 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 ...
user avatar
  • 31
0 votes
1 answer
457 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 ...
user avatar
  • 1
0 votes
0 answers
39 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?
user avatar
  • 1
2 votes
1 answer
169 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 ...
user avatar
1 vote
1 answer
70 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: ...
user avatar
1 vote
0 answers
257 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 ...
user avatar
1 vote
0 answers
257 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) [...
user avatar
  • 11
0 votes
1 answer
3k 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/...
user avatar
0 votes
1 answer
409 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 ...
user avatar
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.
user avatar
0 votes
1 answer
3k 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/...
user avatar
0 votes
2 answers
2k 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 -...
user avatar
1 vote
1 answer
103 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
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 481
0 votes
1 answer
57 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) ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
0 votes
2 answers
493 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 ...
user avatar
0 votes
1 answer
3k 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....
user avatar
0 votes
1 answer
203 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....
user avatar
  • 123
0 votes
1 answer
31 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 ~...
user avatar
0 votes
0 answers
33 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 ...
user avatar
4 votes
0 answers
941 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 ...
user avatar
0 votes
1 answer
19 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
252 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 ...
user avatar
0 votes
1 answer
575 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 ...
user avatar
  • 121
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
754 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 ...
user avatar
  • 101
0 votes
1 answer
152 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 ...
user avatar
  • 612
10 votes
1 answer
21k 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 ...
user avatar
  • 14.9k