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
4
votes
3 answers

How Can I install ruby on Redhat? ruby package not found

I dont' know why I cannot install ruby through yum in my RHEL6.2 How can I fix it. I don't wanna install through source. Any idea? [root@kithost ~]# yum install ruby Loaded plugins: product-id, refresh-packagekit, security,…
TheOneTeam
  • 25,806
  • 45
  • 116
  • 158
3
votes
1 answer

Building FFmpeg on RHEL4

StackOverflow has yet to fail me, so don't let me down this time! I need to build FFmpeg on RHEL4 ... yes, 4! The version of make on RHEL4 is 3.80, and the Makefile that ./configure generates when configuring FFmpeg does not seem to be compatible.…
daniel0mullins
  • 1,937
  • 5
  • 21
  • 45
3
votes
2 answers

Slow initial timing results using gettimeofday - worse under RHEL6 Server

I am using gettimeofday() to time a simple matrix multiply example, but I'm getting results that are close to twice too long initially. On a RHEL6 Server machine, I'm getting "bad" timing results for up to nearly 1 second (~65 individual timings in…
chrisG
  • 65
  • 4
3
votes
1 answer

Installing/building git-svn for RHEL 6

I do not have access to the RHEL6 repo, so what wouold be the best approach to building and/or installing the git-svn tool on RedHat Enterprise Linux 6? Managed to install git & git-svn 1.7.9 by uninstall the existing one (yum erase git) and make…
Nick
  • 5,765
  • 5
  • 27
  • 36
3
votes
1 answer

How can I resolve 'Unable to find a match: buildah podman' error when installing on RHEL 8.7?

I am trying to install buildah and podman on my rhel 8.7 After running dnf install buildah podman -y I received this error. I tried to look for a solution on google but I am unable to find any. Please advise. [root@localhost tmp]# dnf install…
Lanaya O
  • 75
  • 1
  • 5
3
votes
4 answers

Print Date and Username from a secure log file

I'm trying to get the Username and Date 'y/m/d' from a /var/log/secure, however when I'm trying to use awk, it only provides the date. Sample of a secure log file. 2022-11-23T02:03:24.594880+01:00 servername su: pam_unix(su:session): session opened…
MMonteza
  • 33
  • 2
3
votes
1 answer

Podman Non-Root "Error setting up pivot dir"

First time posting on StackOverflow so please be gentle! I'm setting up a new RHEL8 server to run Podman. Previously, I've done this on a pretty vanilla server but this one is setup in line with our corporate image. This means a homedir that is…
pnlrogue1
  • 31
  • 2
3
votes
2 answers

.jar works in Windows but not Linux (stacktrace)

This is what I get: [user@localhost KioskMenu]$ java -jar ./kioskmenu.jar Exception in thread "main" java.lang.ClassFormatError: KioskMenu (unrecognized class file version) at java.lang.VMClassLoader.defineClass(libgcj.so.7rh) at…
user623990
3
votes
0 answers

Segmentation fault using devtoolset-10 with boost 1.73 static libraries complied with gcc 7.5.0

I have boost 1.73 static libraries (.a) and RHEL devtoolset-10 installed,I do the following steps scl enable devtoolset-10 bash Check the LD_LIBRARY_PATH points…
3
votes
2 answers

RedHat UBI 8 install expect package

I have expect script that I need to run under RedHat UBI 8 container. I'm trying to install expect via snap package manager, but I have problem starting snapd. After issuing systemctl enable --now snapd.socket I get: System has not been booted with…
mflame
  • 137
  • 1
  • 2
  • 9
3
votes
1 answer

Java printing thread gets stuck : WHY?

In my Java 8 application (RHEL 6.x, Wildfly 10.1.0.Final) the first time a user prints a document, application gets stuck while getting the list of printers from the system. Here is the stacktrace of the blocking thread : "Thread-211" #799 daemon…
mishka
  • 155
  • 3
  • 11
3
votes
0 answers

ambari on HDP cluster + ambari-metrics-collector service not start

we have some issue with ambari-metrics-collector service , ( we have HDP cluster version - 2.6.4 with 8 nodes ) ambari metrics collector service can’t start or start of few second then failed the details about metrics collector version rpm -qa |…
jessica
  • 2,426
  • 24
  • 66
3
votes
1 answer

Retrieve executable from core dump

I want to retrieve the executable from a core dump and the output of any linux package used to get this information should contain execfn in it's output. Here are the following things which I have tried so far : $ file kms kms: ELF 64-bit LSB core…
kms
  • 153
  • 2
  • 9
3
votes
2 answers

Write txt file in linux for .net Core (Docker)

I am new in Linux and my API was created in .net core and running in Docker. The system i create will write/create a txt file that will input all errors logged in the API. My code to write is this `public class WriteLogs { public void…
Enjo A
  • 57
  • 2
  • 6
3
votes
1 answer

Redhat's RHEL8 equivalent of "apk add --no-cache gcc musl-dev linux-headers"

I am trying this sample code from "https://docs.docker.com/compose/gettingstarted on Python installed on RedHat enterprise linux 7 / 8 image. Getting error 127 on this line RUN apk add --no-cache git gcc musl-dev linux-headers Thanks
Shiva RN
  • 31
  • 1
  • 2