Questions tagged [rhel7]

For development issues encountered while using Red Hat Enterprise Linux 7

This tag is for questions specific to version 7 of Red Hat Enterprise Linux. For general questions regarding Red Hat Enterprise Linux (RHEL), use the tag.

Click here for free development subscription which allows you to download Red Hat Enterprise Linux75 with Software Collections for development use https://developers.redhat.com/downloads/

714 questions
4
votes
1 answer

No module 'yum' on Python 3 on CentOS 7

I'm trying to use the yum Python package in CentOS 7. In Python 2: I can successfully import yum. In Python 3: When I try to import yum, I encounter ModuleNotFoundError: No module named 'yum'. The exact same issue occurs with the dnf Python package…
Or B
  • 1,675
  • 5
  • 20
  • 41
4
votes
1 answer

Linux system() returns -1, ERRNO = 10 No child processes

When I run the following C code in RHEL 7.4: errno = 0; status = system("ls >> /tmp/test.txt"); sprintf(msg, "Value of errno: %d\n", errno); sprintf(msg, "Status: %d ", status); os_log_msg(msg); I get return code of -1 and errno = 10 (No child…
JEtheDBA
  • 93
  • 1
  • 6
4
votes
0 answers

Why use "bundle --deployment" instead of "bundle --without"?

Background: Not the Question I have a project that is running in both development and production in a chruby environment, where ruby-install was installed as root and rubies are stored in /opt/rubies. I have a really hard time (as many people do)…
Todd A. Jacobs
  • 81,402
  • 15
  • 141
  • 199
4
votes
1 answer

Unable to install plugins

When I try to install any plugin on my Jenkins server, I get below error in the browser. I can see the list of Available plugins. Error occurs when I select any plugin and click on Install without restart or Download now and install after…
Asdfg
  • 11,362
  • 24
  • 98
  • 175
4
votes
2 answers

_GLIBCXX_USE_CXX11_ABI disabled on RHEL6 and RHEL7?

I have gcc 5.2.1 on RHEL6 and RHEL7, and it looks like _GLIBCXX_USE_CXX11_ABI gets disabled. It's not working even if I manually run -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14. This means I won't get small string optimization feature. For example, the…
Derek
  • 557
  • 1
  • 4
  • 16
4
votes
0 answers

PHPMyAdmin login error on RHEL 7 with MySQL 8 - mysqli_real_connect(): Server sent charset (255) unknown to the client

I recently installed phpMyAdmin on RHEL with PHP 5.6.4 and MySQL 8 but but when I try to access it from the browser the following errors occur: mysqli_real_connect(): Server sent charset (255) unknown to the client. Please, report to the…
Gaurav Piya
  • 41
  • 1
  • 3
4
votes
2 answers

MariaDB over SSL not working, "certificate verify failed"

Using this guide I'm attempting to set up MariaDB (mysql) for using SSL between dbserver and appclient. I created the server and client certificates on the server, per the guide. I then copied the three necessary client files to appclient and set…
a coder
  • 7,530
  • 20
  • 84
  • 131
4
votes
1 answer

AWS EC2 RHEL 7.1 console output doesn't show cloud-init's output

It seems that the instances started from RHEL 7.1 AMIs does not write the SSH fingerprint into the system log (exactly nothing from cloud-init's output), therefore I can't use the 'Get System Log' menu on AWS UI or the command line tool to figure…
4
votes
1 answer

mod_perl can't see files in /tmp

I have some mod_perl code trying to access a file under /tmp ... but it throws a 'no such file or directory' error. I added an 'ls -al /tmp' to my code to see what Perl was seeing inside the directory, and it only gave me . and .. : drwxrwxrwt. 2…
AndyT
  • 99
  • 7
4
votes
1 answer

How to run last and print my script output during boot with systemd?

I’m trying to configure my host during deployment process and to give an output to the screen of what my configuration script is doing. In RHEL6 it was easy i was echoing what I want to screen or used dialog to display the output, and only when my…
Asaf Magen
  • 862
  • 10
  • 22
3
votes
1 answer

kong error using deck: cannot create or update 'services' entities when not using a database

I have set up kong in dbless mode on RHEL by following the below documentation https://docs.konghq.com/gateway/latest/install-and-run/rhel/ Kong gateway is successfully started. Below are the configurations I added in kong.conf file where database…
Jahanzaib
  • 121
  • 2
  • 9
3
votes
4 answers

getifaddrs returning 'bad file descriptor'/crashing the application

In my program, I have a thread which has to continuously monitor the network interfaces therefore it continuosly uses getifaddrs() in a while loop. while(true) { struct ifaddrs *ifaddr, *ifa; if (getifaddrs(&ifaddr) == -1)…
Vishal Sharma
  • 1,670
  • 20
  • 55
3
votes
0 answers

module 'http.client' has no attribute 'HTTPSConnection'

I am trying to run a python file on a Red Hat Enterprise Linux Server 7.6 (Maipo) distro with python3.9.1. I am getting the below error. $ python3 /opt/IBM/WSC.py Traceback (most…
3
votes
2 answers

Python3 and pip3 + dose the wheels that installed for python2 can used also for python3

Until yesterday we works with python 2.7.5 and wheels packages was installed for python 2.7.5 by pip ( pip that is related to python 2.7.5 ) Now we install the latest python version from redhat – 3.8 We also installed the pip3 , when we installed…
Judy
  • 1,595
  • 6
  • 19
  • 41
3
votes
2 answers

llvm-toolset-7-clang rpm installation for RHEL 7

I am trying to install postgresql12-devel-12.4-1PGDG.rhel7.x86_64.rpm in my application as my driver to support SCRAM authentication but rpm requires following dependency: llvm-toolset-7-clang >= 4.0.1 is needed by…
iccy
  • 51
  • 2
  • 6