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
21
votes
5 answers

How to compile python3 on RHEL with SSL? SSL cannot be imported

I'm trying to compile python on RHEL because my current python is using an old 1.0.2k ssl version. (test_env) [brad@reason tlscheck]$ python3 --version Python 3.9.3 (test_env) [brad@reason tlscheck]$ python3 -c "import ssl;…
neogeek23
  • 813
  • 1
  • 12
  • 23
20
votes
4 answers

How to install Maven into Red Hat Enterprise Linux 6?

I'm working on a Scientific Linux box and am trying to install Maven using the yum command. Scientific Linux for those of you who do not know is based off of Red Hat Linux Enterprise Edition 6. I'd prefer to install Maven in a way that lent itself…
Jacob
  • 203
  • 1
  • 2
  • 5
20
votes
4 answers

Export all users from KeyCloak

I have a specific use case in which we want to ask Keycloak for all the users and the groups and roles for each user, on a daily basis. For reconciliation purposes with other internal systems. Currently we are using the provided Keycloak endpoints…
Michel
  • 9,220
  • 13
  • 44
  • 59
20
votes
8 answers

No ruby-devel in RHEL7?

I have a recently installed RHEL7 system, and need to do gem install jekyll, however this fails as: Fetching: yajl-ruby-1.2.1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing jekyll: ERROR: Failed…
user3852791
  • 317
  • 1
  • 3
  • 6
20
votes
3 answers

rpmbuild Installed (but unpackaged) files source

I'm trying to build an RPM from binaries on a REDHAT 6 system. I have all the files included in the %files section (find /path/to/fake/install -type f >> specfile) When I run rpmbuild -bb specfile --target x86_64 I get Checking for unpackaged…
Trevor
  • 1,369
  • 2
  • 13
  • 28
20
votes
2 answers

On Linux - set maximum open files to unlimited. Possible?

Is it possible to set the maximum number of open files to some "infinite" value or must it be a number? I had a requirement to set the descriptor limit for a daemon user to be "unlimited" and I'm trying to determine if that's possible or how to do…
Dave
  • 1,567
  • 4
  • 13
  • 23
19
votes
6 answers

Azure RedHat vm yum update fails with "SSL peer rejected your certificate as expired."

I just started a Standard RedHat 7 VM on Azure. I login and type: sudo yum update and get: Loaded plugins: langpacks, product-id,…
Robin Owens
  • 191
  • 1
  • 1
  • 4
19
votes
4 answers

ModuleNotFoundError: No module named '_sqlite3'

On Redhat 4.4.7-18 I am trying to run python3 code using sqlite, but I get the following import error: Traceback (most recent call last): File "database.py", line 7, in import sqlite3 File…
Alex
  • 41,580
  • 88
  • 260
  • 469
19
votes
2 answers

Systemd: Using both After and Requires

I have a service foo.service which depends on service bar.service. I need to make sure that bar.service is started before foo.service and that bar.service launched successfully. From this source it says that Requires: This directive lists any units…
flakes
  • 21,558
  • 8
  • 41
  • 88
19
votes
9 answers

Determine Redhat Linux Version

How do I determine which RedHat Linux version I am running? Here's what I've read: /etc/redhat-release file contains the version, but anybody can tamper with that file. people say uname command, but you can install any kernel on Redhat. If I am…
Satish
  • 16,544
  • 29
  • 93
  • 149
19
votes
7 answers

Where to find packages names and versions for RedHat?

How can I find out whether a specific RedHat release (RHEL4, RHEL5...) contains a certain package (or a certain version of a package)? For Debian and Ubuntu, there's packages.debian.org and packages.ubuntu.com; is there a similar web site for…
oliver
  • 6,204
  • 9
  • 46
  • 50
18
votes
3 answers

Can't resolve DNS name of EFS while mounting it on red hat ec2 instances using putty

I am having an issue where I am unable to mount my EFS on red hat ec2 instance using the DNS names. It throws the error mount.nfs4: Failed to resolve server us-east-1a.fs-c2aXXXX.efs.us-east-1.amazon aws.com: Name or service not known I am…
Naxi
  • 1,504
  • 5
  • 33
  • 72
18
votes
3 answers

how to decide the memory requirement for my elasticsearch server

I have a scenario here, The Elasticsearch DB with about 1.4 TB of data having, _shards": { "total": 202, "successful": 101, "failed": 0 } Each index size is approximately between, 3 GB to 30 GB and in near future, it is expected to…
siva
  • 516
  • 3
  • 7
  • 22
18
votes
4 answers

IPython notebook always shows "kernel starting, please wait..."

platform: redhat x64, installed ipython notebook 3.0 through pyvenv-3.4 When I open a notebook, it always shows "kernel starting, please wait...". But I can open IPython console. Please help, thanks!
XWen
  • 361
  • 1
  • 2
  • 10
17
votes
1 answer

dd command error writing No space left on device

I am new to storage, trying to erase the data in the device '/dev/sdcd' why should I get 'No space left error' [root@ dev]# dd if=/dev/zero of=/dev/sdcd bs=4k dd: error writing ‘/dev/sdcd’: No space left on device 1310721+0 records in 1310720+0…
Malatesh
  • 1,944
  • 6
  • 26
  • 39