Questions tagged [redhat]

For issues relating to Red Hat platforms, products, and/or services.

Red Hat, Inc. is a company in the free and open source software sector, and a major Linux distribution vendor. Red Hat has become associated to a large extent with its enterprise operating system Red Hat Enterprise Linux () and with the acquisition of open-source enterprise middleware vendor . Red Hat provides operating-system platforms along with middleware, applications, and management products, as well as support, training, and consulting services.

For questions on a specific Red Hat products, consider using the tag for that product.

Community

Red Hat was acquired by IBM in July 2019.

3924 questions
6
votes
2 answers

Using a keystore with curl

I would like to execute the below curl command and specify my own key store. I tried using --cacert option and specified the path of the cacert jks. curl --ssl-reqd --url 'smtp://mailhost.myorg.com:587' --user 'usrid:pwd' --mail-from…
lr-pal
  • 339
  • 2
  • 6
  • 20
6
votes
2 answers

AWS ECR Login with podman

Good morning/afternoon/night! Can you help me, please? I'm working with RHEL 8.2 and this version doesn't support Docker. I installled Podman and everything was ok until I use the following command: $(aws ecr get-login --no-include-email --region…
MauTOz
  • 67
  • 1
  • 6
6
votes
3 answers

Condition supplied in cron job returns "No such file or directory"

I am attempting to execute this code in a cron job: a=`/home/mailmark/node/bin/forever list`; if [ "$a" == "No forever processes running" ]; then forever start /api.js; fi The file in question, 'forever' contains this shebang: #!usr/bin/env node …
austincheney
  • 807
  • 10
  • 9
6
votes
7 answers

Cannot run command in Docker container

I'm trying to execute bash in my docker container called "bind" via docker exec -it bind bash I'm getting the following error message: rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process…
Fang
  • 2,199
  • 4
  • 23
  • 44
6
votes
2 answers

Compile C++17 code on RedHat Linux Enterprise Developer Workstation

I've googled around and couldn't find a clear way to compile c++17 source code on a Red Hat Enterprise Linux 7.5 Developer Workstation. I've been able to successfully compile C++17 source code on Fedora using the following command: g++ -std=c++1z…
fsolano94
  • 291
  • 4
  • 14
6
votes
3 answers

Get the error "Failed to execute operation: Bad message" when enable tomcat.service

When I execute the following command on RedHat 7.4 x64 terminal, (just enable tomcat.service) sudo systemctl enable tomcat.service Get the following error message: Failed to execute operation: Bad message Do you have any idea or suggestion what I…
David Yin
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

Install unixODBC >= 2.3.1 on Linux Redhat/CentOS for msodbcsql17

I try to install msodbcsql17 on AWS EC2 with CentOS/RedHat (Linux). These are the steps, I have followed, from Microsoft (LINK): sudo su #Download appropriate package for the OS version #Choose only ONE of the following, corresponding to your OS…
Sean Stayns
  • 4,082
  • 5
  • 25
  • 35
6
votes
2 answers

Update yum package using localinstall

If a package is installed using yum localinstall like this: yum -y localinstall --nogpgcheck some-package-1.0.0.rpm And now, if I try to run: yum -y localinstall --nogpgcheck some-package-2.0.0.rpm Will it replace the entire old version with the…
mbhargav294
  • 389
  • 1
  • 3
  • 15
6
votes
0 answers

How do I clear a thinpool device for docker

I am running docker on a Redhat system with devicemapper and thinpool device just as recommended for production systems. Now when I want to reinstall docker I need two steps: 1) remove docker directory (in my case /area51/docker) 2) clear thinpool…
Tom
  • 73
  • 5
6
votes
3 answers

OpenShift and hostnetwork=true

I have deployed two POD-s with hostnetwork set to true. When the POD-s are deployed on same OpenShfit node then everything works fine since they can discover each other using node IP. When the POD-s are deployed on different OpenShift nodes then…
dplesa
  • 1,355
  • 6
  • 23
  • 56
6
votes
0 answers

Keycloak logout endpoint not deleting session

Hello fellow programmes, I am stuck on the issue with keycloak. I am trying to send from node.js express framework request towards keycloak to logout the user. Config.keycloakClient = my_realm Config.keycloakURL = keycloak URL request.get({ …
Daniel Javorský
  • 93
  • 1
  • 2
  • 7
6
votes
1 answer

How can I install and run Docker CE on OpenSUSE Linux?

Since the "new" Docker release where CE and EE diverged from the single unified Docker, Docker doesn't officialy support or provide installation instructions for using CE on OpenSUSE, SLES or Redhat, those distros are EE-only. I find this to be a…
wyqydsyq
  • 1,992
  • 1
  • 20
  • 28
6
votes
6 answers

Changing the owner of an existing process in Linux

I would like to start tomcat (Web Server) as a privileged user, and then bring it back to an unprivileged user once it has started. Is there a way to do this programatically, or in general with Linux? Thanks.
rudle
  • 119
  • 1
  • 5
6
votes
4 answers

How can I count instructions executed on Red Hat Enterprise Linux (x86-64)?

I want to find out how many x86-64 instructions are executed during a given run of a program running on Red Hat Enterprise Linux. I know I can get this information from valgrind but the slowdown is considerable. I also know that we are using…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
6
votes
2 answers

glusterfs volume creation failed - brick is already part of volume

In a cloud , we have a cluster of glusterfs nodes (participating in gluster volume) and clients (that mount to gluster volumes). These nodes are created using terraform hashicorp tool. Once the cluster is up and running, if we want to change the…
Priya
  • 81
  • 1
  • 1
  • 4