Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a distribution of the Linux operating system targeted at enterprise customers with emphasis on long-term stability and support.

Other support resources

Questions related to installing and running Red Hat Enterprise Linux are usually more on-topic on these sister sites:

Customers can file support cases in the customer portal.

1780 questions
7
votes
1 answer

Use multiple specific network interfaces with docker swarm

I am using docker swarm to deploy an on-premise third party application. The machine I am deploying on is running RHEL 7.6 and has two network interfaces. The users will interact with the application from eth0, but internal communication with their…
user1943992
  • 222
  • 3
  • 11
7
votes
5 answers

No package certbot available

I'm trying to install certbot on RHEL server. Instructions to enable epel-release # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm then # subscription-manager repos --enable "rhel-*-optional-rpms" --enable…
vbnr
  • 307
  • 2
  • 5
  • 14
7
votes
1 answer

Change system locale inside a CentOS/RHEL without using localectl?

I'm trying to build a Docker image based on oracle/database:11.2.0.2-xe (which is based on Oracle Linux based on RHEL) and want to change the system locale in this image (using some RUN command inside a Dockerfile). According to this guide I should…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
7
votes
1 answer

Why bash4 expands curly braces differently?

One of legacy system got upgraded to bash4 and most of its scripts stopped working. I've narrowed it down to how a curly brackets are expanded within a <(cmdA ...|cmdB ... file{1,2}|cmdZ ...). To illustrate the difference better: BEFORE (bash…
Vlad
  • 1,157
  • 8
  • 15
7
votes
1 answer

Remeasuring files with Linux IMA

I am trying to set up Linux IMA in RHEL with the help of this guide http://linux-ima.sourceforge.net/linux-ima-content.html-20110907 . I would like to set up the system such that sensitive files of my choosing are remeasured if the file has changed…
DaTaBomB
  • 623
  • 3
  • 11
  • 23
7
votes
1 answer

Docker - Creating base image with RHEL iso

I am trying to use a RHEL image for my project. Is there a way to create a base image with my RHEL 6's iso file? I am not using Fedora as it is beneficial for my project to use the RHEL distribution instead.
Hans
  • 451
  • 1
  • 6
  • 20
7
votes
2 answers

What is the official way to install Haskell Platform 2014, from source, on Red Hat?

I am trying to install Haskell Platform 2014.2.0.0 from source on Red Hat Enterprise Linux 6.5. I have a functional install of Haskell Platform 2012.4.0.0 and GHC 7.4.2 from two years ago, plus a recently-installed Haskell Platform 2013.2.0.0 and…
M B
  • 81
  • 3
7
votes
1 answer

Special escaping for crontab

I have the following user crontab entry on a RHEL 6 machine (sensitive values have been replaced): MAILTO=cron-errors@organisation.com 0 5 * * * ~/bin/app_state.sh host-arg 9200 > ~/state/app-state-$(hostname)-$(date +%F).json Which produces this…
teagles
  • 71
  • 1
  • 5
7
votes
2 answers

how to promote ldap replica to master

I have a master LDAP server (openldap) running on a node that needs to be decomissioned. I have several consumer nodes doing a syncrepl to it. I have designated another node (one of the consumers) to become the new master so I can decomission the…
J.T.
  • 163
  • 1
  • 8
7
votes
2 answers

Linux how to start "sftp-server"?

I'm not very familiar with it but there is installed openssh/sftp-server (by a vendor before) on RHEL and it was well running before i reboot the server. Then when i check after rebooted: # ps aux | grep ftp No sftp is running but sshd is. So how…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
6
votes
4 answers

mysqldump | mysql yields 'too many open files' error. Why?

I have a RHEL 5 system with a fresh new hard drive I just dedicated to the MySQL server. To get things started, I used "mysqldump --host otherhost -A | mysql", even though I noticed the manpage never explicitly recommends trying this (mysqldump…
user15910
  • 279
  • 3
  • 6
6
votes
4 answers

docker: Error response from daemon: pull access denied for rhel7/rhel

My docker I found this cheatsheet from internet: https://design.jboss.org/redhatdeveloper/marketing/docker_cheatsheet/cheatsheet/images/docker_cheatsheet_r3v2.pdf I catch error C:\Users\Administrator>docker run -it rhel7/rhel bash Unable to find…
Vy Do
  • 46,709
  • 59
  • 215
  • 313
6
votes
2 answers

Linux thread scheduling differences on multi-core systems?

We have several latency-sensitive "pipeline"-style programs that have a measurable performance degredation when run on one Linux kernel versus another. In particular, we see better performance with the 2.6.9 CentOS 4.x (RHEL4) kernel, and worse…
Matt
  • 952
  • 2
  • 8
  • 17
6
votes
2 answers

How to list and edit GRUB2's "menuentry" in command-line under Centos-8?

How to list GRUB2's “menuentries” in command-line under Centos-8? The used workable method "fgrep menuentry /etc/grub2.conf" failed. Because at Centos-8/RHEL-8, they DO NOT store menuentry in /etc/grub2.conf. Instead, they search and build entries…
Kirby Zhou
  • 161
  • 1
  • 10
6
votes
1 answer

How to determine what is shutting down my Java app?

I've got a Java8 application running on RHEL 6.10. This application registers a shutdown handler via the usual method: Thread shutdownThread = new Thread(()=>{ Logger.info("Got shutdown signal"); // Do…
redsoxfantom
  • 918
  • 1
  • 14
  • 29