Questions tagged [redhat-enterprise-linux]

Use for questions about Red Hat Enterprise Linux (RHEL), a Linux distribution from Red Hat intended for enterprise use. Note there are version-specific RHEL tags for questions unique to a specific version. Use a product-specific tag for questions about other distros in the Red Hat family, like Fedora or CentOS.

Filter by
Sorted by
Tagged with
3 votes
2 answers
24k views

Can we clean yum cache files manually?

I am using Redhat 7 while running yum update I am getting Bus error (core dumped) error. After troubleshooting I found that / was full because of /var/cache/yum/x86_64/7server/rhel-x86_64-server-7/gen ...
max's user avatar
  • 3,963
0 votes
0 answers
137 views

How to switch to a root user from a custom user without password or keyless switch to root user on RHEL?

I wanted to assign a certain functionality to one of the custom users created on a linux based machine. It is to allow to switch to root without the providing the password.The motivation is simple i ...
Goldriver's user avatar
0 votes
1 answer
876 views

Jenkins stops responding after trying to run a job

I'm currently trying to repair a Jenkins installation, something I've never done before, and am having trouble. I've gotten to the point where I can view all of the jobs and run a build. However, most ...
Greg Martin's user avatar
0 votes
0 answers
278 views

What happened to psutils?

Earlier this year I was able to install psutils package on RHEL with yum. Now I am getting "No package psutils available." Is there a way to find out what happened to it and if there is a ...
wytten's user avatar
  • 273
0 votes
0 answers
51 views

Can I write to a Windows network share from Linux (RHEL 8.2) without sudo rights?

There is a network share with an address that looks like \\my_network_share\folder1$\folder2\folder3. I have an application under RHEL 8.2 that needs to write files to this share. From the ...
Glory to Russia's user avatar
1 vote
0 answers
169 views

Cgroup instance not creating “net_cls.classid” file

After creating cgroup i can see it is listed under 'lscgroup' cgcreate -g net_cls:123456 #lscgroup | grep 123456 net_cls,net_prio:/123456 But no child files got created under /sys/fs/cgroup/net_cls/ ...
chetan honnavile's user avatar
2 votes
1 answer
4k views

yum + skip broker or exclude rpms

during yum update on one of our rhel 7.6 server we get the following error --> Finished Dependency Resolution Error: Package: libtirpc-devel-0.2.4-0.6.el7.x86_64 (installed) Requires: ...
King David's user avatar
0 votes
2 answers
806 views

Can I install redhat rpm on centos?

Can I install the Red Hat 6 version of the Openssl.rpm on the Centos6? I am trying to backup and install an old version that can no longer be found in current repository. I found the centos package ...
hid's user avatar
  • 1
2 votes
0 answers
1k views

rhel + dmesg + Buffer I/O error on dev dm-0, logical block

we installed some new VM machines with rhel 7.6 but from dmesg we found the following errors [14706.075255] sd 1:0:0:0: timing out command, waited 1080s [14706.075370] sd 1:0:0:0: timing out command, ...
King David's user avatar
0 votes
1 answer
447 views

which iso file to download in order to upgrade rhel from 7.2 to 7.6

we have 762 linux rhel servers with version 7.2 we want to upgrade all servers to rhel 7.6 but off-line ( without network ) from redhat site - https://access.redhat.com/downloads/content/69/ver=/rhel--...
King David's user avatar
1 vote
1 answer
60 views

RedHat Virtualization Manager | Spice access from different subnets

I have the following I think unusual setup: The RedHat Virtualization manager and host are hosted on the same hardware, and are using on hardware. The Manager is dualhomed: one virtual nic for the ...
Avo's user avatar
  • 11
0 votes
1 answer
173 views

How to kill running Ports using Linux Console?

In my scenario I am try to run Django code using ~$ python manage.py runserver command. While running it, I get: port 8000 already running How can I kill the running process of port number?
rajeevpunna's user avatar
0 votes
1 answer
3k views

Why can I not ssh into RHEL 8.2 when sshd is running and port 22 shows it's open?

I installed RHEL 8.2 with a free developer license (bare hardware), it looks like sshd is installed, running by default with port 22 already open, I did not have to do anything to install sshd or open ...
devLinuxNC's user avatar
0 votes
1 answer
760 views

Dose docker container cause slow Disk/OS performance

We have 3 servers , that installed with RHEL 7.6 version The machines are DELL physical machines with spec as RAM = 64G and CPU = 16 We prepare to install the services - kafka/zookeeper/schema ...
King David's user avatar
2 votes
0 answers
479 views

CENTOS 7.2 + installing docker on OS with XFS file system

We have 12 machines with CentOS 7 servers ( VM servers ) where the root file system is XFS (created with ftype=0, default CentOS setting at the time the system was installed). And we want to install ...
King David's user avatar
0 votes
1 answer
255 views

CentOS 7.8 installation on HP Envy x360 laptop aborts on partition definition

I'm trying to install CentOS 7 on HP Envy x360 laptop. However, as soon as the 'Done' is clicked in the 'Partition Definition' stage, the installation is aborted with the following messages. How to ...
boardrider's user avatar
  • 1,143
1 vote
1 answer
4k views

why this is bad to use XFS file-system without d_type support , regarding to docker

from docker documentation we can see the following https://docs.docker.com/storage/storagedriver/overlayfs-driver/#prerequisites Warning: Running on XFS without d_type support now causes Docker to ...
King David's user avatar
0 votes
0 answers
134 views

problems with usernames in docker

Good afternoon, I am currently configuring the user name for my containers in the daemon.json file and following the tutorials that I post below: I am using the following documentation: https://docs....
Cesar Justo's user avatar
1 vote
2 answers
208 views

Website to check if laptop/GPU is certified for CentOS/RedHat Linux? [closed]

Is there a website where I can check if a laptop, or a graphic card, is certified for a certain version of CentOS/RedHat Linux? E.g., Is an HP Envy x360 2-in-1 Laptop certified for CentOS 7.8? Is an ...
boardrider's user avatar
  • 1,143
0 votes
0 answers
120 views

Can the power button be reassigned in red hat 8 gnome?

I don't mean the physical power button, but the dekstop power button one would use to power off or reboot the system. I guess, that if you click on reboot, or shutdown, internally it probably just ...
Arpton's user avatar
  • 1
0 votes
0 answers
917 views

Installing Yum via SSH on a server hosted by GoDaddy

The problem is that GoDaddy's RedHat Linux hosting fails to come with either apt-get or yum pre-installed for package management. I need either of those to get started on installing java and other ...
James's user avatar
  • 1
2 votes
0 answers
727 views

rsyslog stopped forwarding httpd logs after logrotate

I have an issue where rsyslog stops forwarding httpd logs to our central log repo after logrotate. Server is RHEL7. My investigations thus far have led me here: (in /var/lib/rsyslog) #: grep httpd *...
amhulli's user avatar
  • 21
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: ...
Vlad Gogonea's user avatar
0 votes
1 answer
3k views

How to mount dynamic disks in Fedora

I'm dual booting Windows 10 and Fedora. One of my drives I made into a dynamic disk without knowing the consequences. It is a drive I use exclusively for storage so I would like to know how I would go ...
Monsterjamp's user avatar
1 vote
1 answer
839 views

Obtaining Day Count Until Local User Password Expiration in Linux Bash Script

I am using RHEL 6.9. How may I obtain, in a Bash script, the count of days until the expiration of a local user's password? I have tried: chage -l <username> passwd -S <username> Neither ...
Dave's user avatar
  • 1,019
5 votes
1 answer
2k views

How does WSL[2] pose limitations on a guest linux system?

As soon as I got WSL2 on my Windows PC, I installed an adapted CentOS 8.2 version. As I explored it, I found that I could read and write in the host's NTFS file system out of the box. It was also ...
Katerl3s's user avatar
  • 151
0 votes
1 answer
1k views

Shutdown of RHEL 6.9 / 7.7 NFS Client Hangs when NFS Server has Become Unavailable

I am running a mix of RHEL 6.9 and 7.7 hosts. These hosts are all NFS clients. I am having a shutdown problem related to unmounting of NFS shares that were set up in /etc/fstab (i.e. not automounted). ...
Dave's user avatar
  • 1,019
0 votes
1 answer
549 views

Can't SSH to server using Private Key [duplicate]

I am trying to login to my server using SSH using private key file. I am using below command to SSH ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/id_rsa&...
heartofrevel's user avatar
1 vote
1 answer
645 views

VMWare Player doesn't start with NAT

I'm trying to do Kioptrix Level 1. With a bridged network connection the eth0 interface fails to start with the following error: Determining IP information for eth0.... Failed. I tried changing it to ...
dun's user avatar
  • 329
1 vote
0 answers
340 views

Intermittent issue of receiving emails when emails are sent using "mutt" email client in Linux

To send an email to a specific set of users, I am currently using mutt (command line based email client). Below is the command that I have used in my shell script to send an email: echo "Initiating ...
Deepak Jain's user avatar
2 votes
1 answer
10k views

Identify private or public ssh key

I have few keys in ~/.ssh directory. I need to identify whether the files in this directory is private key or public key without depending on the .pub extension (because keys could be renamed and used)...
Fazlin's user avatar
  • 183
0 votes
3 answers
1k views

sed + how to replace numbers with parenthesis with sed/awk/other

we want to relapse the [1023,1024,1022] as described in the following file , with [1022] more file.exm {"topic":"nj_hgf_dfgef","partition":0,"replicas":[1023,1024,1022]}, {"topic":"nj_hgf_dfgef","...
King David's user avatar
1 vote
0 answers
498 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 ...
ravindra692's user avatar
0 votes
1 answer
506 views

OpenSSL Timestamp log location

I am trying to debug an openssl ts based perl http server. The server logs display an openssl ts -reply command failing with exit code 1. Where can I see the logs related to this openssl command, or ...
Norbert's user avatar
0 votes
1 answer
3k views

pip on Python 2.7 in RHEL using yum

I have tried to install pip for Python 2.7 on RHEL using sudo yum install python3-pip, and, while the installation gets completed, when I try to run pip it says that command is not found. yum list ...
Mukund's user avatar
  • 1
5 votes
1 answer
21k views

Samba Configuration on RHEL 8.2: SMB1 disabled -- no workgroup available

I've been taking a crack at configuring Samba to allow my Guest OS (RHEL 8.2), running on Oracle VM VirtualBox 6.1.8, to talk to my Host OS (Win10) following this guide here. Unfortunately, using a ...
NumeralRocket's user avatar
1 vote
1 answer
692 views

yum: Identifying Packages where Installed version-release is Newer than Repo version-release

I manage my RHEL 6 / 7 systems with yum pointed at a local repository that is a replica of the official repository from Red Hat. Other people have installed newer versions of some packages as follows:...
Dave's user avatar
  • 1,019
0 votes
2 answers
149 views

Overwhelmed by Linux [closed]

I really love Linux, and have gone through RHCSA and have a solid foundations over the concepts. But my problem is that i tend to forget some commands after some time, despite i'm really sure i ...
Mahmoud Mahany's user avatar
1 vote
0 answers
403 views

yum + Multilib version problems found

we are installing now docker on rhel 7.2 version during yum install we see the following --> Finished Dependency Resolution Error: found. This often means that the root cause is ...
King David's user avatar
0 votes
0 answers
25 views

SFTP issue PAM drops session REDHAT

I'm currently troubleshooting a issue with a sftp server, users aren't able to log into the server and I don't see anything wrong with the sshd_config file. When users try to log into the service they ...
CFerreiras's user avatar
0 votes
1 answer
11k views

Download ISO file from redhat site

we want to download from redhat site rhel 7.6 ISO file in order to install docker ( https://nathancatania.com/posts/installing-docker-on-red-hat-with-no-internet-access ) redhat site - https://access....
King David's user avatar
0 votes
1 answer
42 views

assistance in grep-ing a file for "!!!"

I am attempting to search a large file for the lines which contain the string !!! and output those lines to a different file. However, the shell is interpreting the !!! as a shebang and inserting my ...
CaptianObvious's user avatar
0 votes
0 answers
126 views

/etc/udev/rules.d/70-persistent-txqueulen.rules - file not generated

I have executed the below salt command, it is working fine but the file is not generated (/etc/udev/rules.d/70-persistent-txqueulen.rules ) salt '*Sriov*' cmd.run "printf 'KERNEL==\"tap[0-9,-,A-Z,a-z]...
nallapayan 420's user avatar
0 votes
0 answers
536 views

what is the right approach to count the open files

what is the real way to verify open files what we do is that lsof | sort | uniq >/tmp/file so /tmp/file include all open files and the number of open files can be identified by wc -l /tmp/...
King David's user avatar
1 vote
0 answers
3k views

TLS 1.2 connection with lftp

I'm trying to connect to a server from my RHEL 7 server that only accepts FTPS, TLS 1.2 connections. The only client available seems to be lftp. When I try to connect, it hangs on "TLS negotiation......
Scott's user avatar
  • 11
0 votes
0 answers
435 views

user with restricted bash: sudo su works but su doesn't

I'm creating an user with restricted bash. I've blocked all commands except few commands as per a requirement. Now if I want to change to root using su - root, even with correct password, it says ...
RatDon's user avatar
  • 127
1 vote
0 answers
68 views

Not able to install any package in Redhat linux

I'm trying to install php or any other package getting below issue [root@xxxxxx xxxxx]# yum install php Loaded plugins: rhnplugin This system is receiving updates from Spacewalk server. Repository ...
user9318576's user avatar
0 votes
0 answers
371 views

Cannot post request to localdomain 127.0.0.1:80 in RHEL7

When I try to post request to 127.0.0.1, it shows error as: Post http://localhost/users: dial tcp 127.0.0.1:80: connect: connection refused I have tried following: Wget: wget 127.0.0.1 --2020-04-...
Nishchay Maurya's user avatar
0 votes
0 answers
834 views

How to boot Centos 8 with volatile root overlay filesystem?

Generally, I am looking to boot a Linux box so that the persistent storage is immutable. Any changes made to the filesystem should be lost when the box is powered off. This is for system where the ...
Preston L. Bannister's user avatar
0 votes
1 answer
553 views

Can't ping from windows to linux laptop in different network

I have a windows 10 laptop connected to mobile hotspot and my rhel 8 laptop connected to my wifi, when i ping from my windows laptop to linux laptop getting request timed out.It might be a silly ...
akash's user avatar
  • 1

1
3 4
5
6 7
23