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
28
votes
2 answers

How to install ps in redhat ubi8/ubi-minimal

For registry.access.redhat.com/ubi8/ubi-minimal this image, i need ps utility to be installed. There is no yum package manager available in the image. Instead , we have microdnf. microdnf install procps says there is no such package named procps
ambikanair
  • 4,004
  • 11
  • 43
  • 83
26
votes
5 answers

Building OpenLDAP from sources and missing BerkelyDB

I'm building OpenLDAP on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607. All went well, until running './configure' for OpenLDAP - the following error was recorded: ** checking for…
user353829
  • 1,244
  • 5
  • 25
  • 38
26
votes
5 answers

PHP is_writable() function always returns false for a writable directory

I'm trying to install a PHP-based software package in a Red Hat 7 Amazon EC2 instance (ami-8cff51fb) that has had Apache 2.4.6 and PHP 5.4.16 installed on it using yum. The installation fails because it says a particular directory needs to be…
John Topley
  • 113,588
  • 46
  • 195
  • 237
25
votes
2 answers

What's the difference between rpm and yum?

Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.
user705414
  • 20,472
  • 39
  • 112
  • 155
25
votes
4 answers

How to fix ModuleNotFoundError: No module named 'pip._internal' with python source code installation

I have installed python3.7 on redhat machine by compiling source code but I have a problem when dealing with pip3. I have made this steps after installation: sudo ln /usr/local/bin/python3.7 /usr/bin/python3 sudo ln /usr/local/bin/pip3.7…
Wajih Katrou
  • 366
  • 1
  • 3
  • 8
25
votes
6 answers

Symfony is linked to the wrong PHP version

I'm trying to move my Project to a linux redhat server that uses Apache but the problem I'm facing there is that this Server has 2 different PHP versions installed. Symfony (2.5.12) seems to look for the php executable at /usr/bin/php by default but…
Mayak
  • 533
  • 1
  • 5
  • 17
25
votes
1 answer

No implicit conversion of String into Integer (TypeError)?

I'm trying to write a script that will get a system ID from Red Hat Satellite/Spacewalk, which uses XMLRPC. I'm trying to get the ID which is the first value when using the XMLRPC client using the system name. I'm referencing the documentation from…
user3137647
  • 253
  • 1
  • 3
  • 4
24
votes
1 answer

What is the Difference between ConditionPathExists= and ConditionPathExists=| in systemd?

I need check a file not exist before i start my service in Systemd. I see two case in [Unit]: ConditionPathExists=!/tmp/abc and ConditionPathExists=|!/tmp/abc are they the same? Can anybody help me explain if they are different?
Thao Nguyen
  • 452
  • 2
  • 10
  • 26
24
votes
5 answers

How to set the rpmbuild destination folder

I noticed rpmbuild (-bb and --buildroot options) creates the .rpm in different locations depending of what OS are you using: GNU/Linux Ubuntu <= 9.04: /usr/src/rpm/... GNU/Linux Ubuntu >= 9.10: /home/rpmbuild/... GNU/Linux Fedora:…
Htechno
  • 5,901
  • 4
  • 27
  • 37
24
votes
1 answer

How to configure Django on OpenShift?

I recently tried to export a Django project on OpenShift, but fruitlessly. The only solutions I found were "prebuilt" ones (such as https://github.com/openshift/django-example). I spent some hours trying to adapt it to my project but I always got an…
Antoine Pinsard
  • 33,148
  • 8
  • 67
  • 87
23
votes
6 answers

How to find whether MySQL is installed in Red Hat?

I am currently using Red Hat linux. I just want to find out whether MySQL is installed in that system. If yes where is it located? can anyone help please...
satheesh.droid
  • 29,947
  • 10
  • 34
  • 34
23
votes
2 answers

Have you ever got this message when moving a file? mv: will not overwrite just-created

I have a bourne shell script which performs several tasks. One of these tasks is to move some files to certain directory. Today, when I ran the script I got the following message: mv: will not overwrite just-created with…
Nacho Mezzadra
  • 886
  • 2
  • 12
  • 14
22
votes
3 answers

LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav

When I tried to Scan the /home directory I got this error. [root@ip-172-31-34-67 ~]# clamscan /home LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav ERROR: Can't open file or directory ----------- SCAN SUMMARY…
22
votes
3 answers

Permanently enable RHEL scl

Is there a way to permanently enable custom Software Collections for RedHat? I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time.
paweloque
  • 18,466
  • 26
  • 80
  • 136
22
votes
5 answers

JTextField Issues with Numpad

I've recently run into a strange issue with the Java JTextField. When I run the following code (see below), typing a "0" into the text field first sends a paste action, then types "0". For example, if "text" is copied to the clipboard, "text0" is…
lrAndroid
  • 2,834
  • 18
  • 27