Questions tagged [rhel7]

For development issues encountered while using Red Hat Enterprise Linux 7

rhel7
Filter by
Sorted by
Tagged with
0 votes
0 answers
4k views

Python 3.11 - creating a virtual Env - Frozen runpy

After following a thread on how to fix the pip SLL issue, now this: So far I have spent more time fixing environments than actual training. I am using an Oracle appliance with Linux server 7 on it. ...
Steve's user avatar
  • 1,038
1 vote
2 answers
496 views

cx_Oracle for Oracle Linux 7 not working after install

For the last week I have been trying to get cx_oracle installed and working. I started with an Oracle 19 appliance which is on Oracle Linux 7. I used the official oracle site to install cx_oracle as ...
Steve's user avatar
  • 1,038
0 votes
0 answers
52 views

Rhel: Get machine ID and then replace it in file

I have machineid in /etc/machine-id I want to replace string id=machineid in file /var/somefile.conf with the "new id". How can I do this easy with one command line?
fixern256's user avatar
1 vote
2 answers
3k views

Leapp upgrade fails during ELevate-Upgrade-Initramfs

I am trying to upgrade several physical servers from RHEL 7.9 to linux rocky 8.6. So far the process was successful on 3-4 servers. On the server that I have the issue everything works fine and when I ...
Raphyyy's user avatar
  • 29
1 vote
1 answer
224 views

large RPM --dump file modes

when using the command rpm -ql package --dump | cut -d " " -f 1,5,6,7 the man page says --dump returns (for fields 1,5,6,7) path mode owner group My output is /blah/file 040750 ...
older coder's user avatar
0 votes
0 answers
1k views

requested datatype filelists not available in yum update

In order to patch RedHat 7 machines to version 7.9, I've created an RPM repository with RPMs extracted from a DVD.iso file of the patch (example source guide), and updated said machines using yum. The ...
Ben Siman's user avatar
0 votes
1 answer
31 views

Apache flume 1.6.0 compatibility

Can someone help me by saying is apache flume 1.6.0 compatible with RHEL7?? Have tried in apache flume page but not able to find .
Chunduri Joshi's user avatar
0 votes
1 answer
494 views

Apache server will not start, but works while it's "Activating" and does not give any meaningful errors

Apache 2.4.6 RHEL 7.9 PHP 7.4.30 Running this in a Google VM! Ran "apachectl configtest" and got a "Syntax OK" message. Turned debug logging on in httpd.conf and started the ...
captain_booboo's user avatar
1 vote
1 answer
3k views

RHEL7 docker-compose will not work "transport: Error while dialing unable to upgrade to h2c, received 404"

Looking to fix this issue. I'm running RHEL7 with docker-compose 2.9.0. I've boiled things down to these files: [<user>]$ ls -la -rw-rw-r--. 1 glaisne glaisne 166 Aug 4 14:22 docker-compose....
GLaisne's user avatar
  • 155
0 votes
0 answers
678 views

gitlab error during commit: invalid cross-device link

I'm trying to commit changes in Gitlab repo (gui). Following error ocurred for such action: 2:update reference: migrating quarantined objects: migrating directory "/var/opt/gitlab/git-data/...
MiK's user avatar
  • 45
0 votes
1 answer
600 views

Chromiumn : Selenium : Check failed: InitDefaultFont(). Could not find the default font

Getting following error while creating Chromedriver in selenium using java. It is not working for one specific user, if same program is executed with other user then it works. Both the user have ...
Kamlesh's user avatar
0 votes
1 answer
590 views

error: %preun(sdcss-kmod-10.0.2-1246.el7.x86_64) scriptlet failed, exit status 1

I am trying to remove this package but gating error. Aborting uninstall as Agent does not seem to be installed correctly. File "/usr/lib/symantec/sdcssagent/lib/instfunlib-kmod" or "/...
Swapnil Kamde's user avatar
0 votes
1 answer
56 views

Set daemon to use specific python version

I've installed carbon for Graphite on two RHEL7 nodes. On the first one I installed all the packages, from source, using /usr/bin/python3.6 setup.py install This made my carbon-cache and other carbon ...
itinneed2022_1's user avatar
0 votes
1 answer
123 views

ADLS connectivity from Linux server using Azure CLI

Does anyone established ADLS connection from linux machine using Azure CLI. Ofcourse we can do this from portal but the idea is to establish from IICS secure agent, which in turn a RHEL server.
Expertos's user avatar
0 votes
1 answer
3k views

How to install OpenJDK Java 11 on a RHEL 7.2 server

I am not able to install openjdk11 on RHEL 7.2. I have tried as **yum install java-11-openjdk-devel** Loaded plugins: product-id, search-disabled-repos, subscription-manager ...
CrazyCoder's user avatar
1 vote
1 answer
2k views

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 ...
Jahanzaib's user avatar
  • 101
0 votes
0 answers
28 views

Cannot import name from Enum [duplicate]

I am simple running below python script and got the error - Traceback (most recent call last): File "repl.py", line 3, in <module> from enum import Enum ImportError: cannot ...
Ravi Chauhan's user avatar
0 votes
0 answers
459 views

How do we upgrade the boost library version in the rhel 7.2 Current boost library version 1.53 , want to upgrade to version 1.54 and above

I want to generate libnghttp2_asio: High level HTTP/2 C++ library on rhel 7.2. libnghttp2_asio C++ library requires the following packages: libboost-dev >= 1.54.0 libboost-thread-dev >= 1.54.0 ...
yugandhar saadili's user avatar
1 vote
1 answer
809 views

UDP fragmentation packet order

I send mixtures of large UDP packets back-to-back with small UDP packets. The large packets get fragmented to my MTU. On RHEL6 (CentOS6), the small UDP packets always arrive at the receivers in the ...
xl600's user avatar
  • 81
0 votes
0 answers
339 views

Using the C++11 ABI on Red Hat Enterprise Linux 7

I use devtoolset-11 to get gcc 11 on Red Hat EL7. I just learned that this configuration does not support the C++11 ABI (https://bugzilla.redhat.com/show_bug.cgi?id=1546704). I'm trying to figure out ...
user109078's user avatar
0 votes
1 answer
970 views

Is there a way to switch from a rootless user to a root user in a Docker container

I created a RHEL 7 Docker container using the Dockerfile USER instruction to create a rootless user. I can exec into the container, issue the whoami command and I can identify myself as that non-root ...
JRDigital's user avatar
1 vote
0 answers
829 views

Postgres 12 Extensions Not Installed on RHEL 7

Looking to install the pgstattuple extension on my Postgres 12 DB on RHEL 7 to see index fragmentation. Currently I only have one extension installed and that's the plpgsql extension. Executing '...
Jack Allen's user avatar
0 votes
0 answers
110 views

how do i store django media on remote unix server

I have two app servers 10.22.33.54 and 10.22.33.56 and I am trying to integrate media on another server IP 10.22.30.40 I created a media directory so what are the method I can use in Django to manage ...
Abhi's user avatar
  • 77
0 votes
1 answer
4k views

OpenShift curl POST request

I'm trying to do a simple http-post-request from a CronJob to another Deployment in OpenShift. Get-Requests work just fine, but I cannot figure out, how to adapt the curl-command to execute a http-...
user3603819's user avatar
-1 votes
2 answers
206 views

RHEL 7.9 RPM Broken after FRESH install

I have installed RHEL 7.9 and I don't recall having this issue before but for some reason after installing the OS, and adding my account, and doing all the basisc such as enabling optional and epel ...
zeethree50's user avatar
0 votes
0 answers
342 views

Informix DB is down and not able to start in Linux env

I am kind of new to using Informix DB, and I hope my basic query does not offend someone in the wrong way. I have installed Informix DB in one of our Linux environments, and the DB worked fine until ...
nikhil int's user avatar
0 votes
1 answer
139 views

Export DISPLAY with azerty keyboard

How to export a keyboard config with the display in linux (with Exceed client app) please ? export DISPLAY=IP setxkbmap fr pycharm The pycharm export in exceed is working but the setxkbmap fr doesnt ...
testo's user avatar
  • 1
1 vote
1 answer
553 views

Python38 altinstall ensurepip fails

Redhat 7.4 Base python2.7 Existing python3.6 already installed Attempting altinstall Python3.8.12 fails with error info below. Can anyone help with what the root cause is ? Any help greatly ...
fabadoom's user avatar
0 votes
0 answers
225 views

How to install QGIS 2.14.9 along with python-2.7.5 in rhel 8?

My Application requires QGIS-2.14.9 and python 2.7.5. I was able to set environment in rhel7 by creating a local repository and copying some the required RPM's in it and it is taking the remaining ...
Rahul Pramod's user avatar
1 vote
1 answer
558 views

HAPROXY: Display log messages from external check script to rsyslog

I would like to print some log messages from the external check script of HAPROXY to rsyslog. For now, I use “echo” in my external-check.sh script but it does not show up the echo messages. It only ...
staticx's user avatar
  • 1,261
-1 votes
2 answers
913 views

I have accidentally cleared contents from /var/log/messages and now log messages are not getting logged on my RHEL7.6 OS [closed]

On my RHEL 7.6 OS system, I have accidentally cleared contents from /var/log/messages and now logs are getting logged. I have tried restarting the rsyslog using service rsyslog restart, After ...
Amith Kotian's user avatar
0 votes
1 answer
928 views

File download from Artifactory breaks randomly with Jfrog CLI

I have a few scripts which uses the Jfrog CLI to download files from artifactory. These scripts are on RHEL7. There are few download commands (jfrog rt dl) which download software packages from ...
Naga's user avatar
  • 123
0 votes
1 answer
252 views

Build kernel module in CentOS 7 with changed API

I write NIC module driver and implement it base functions like ndo_open, ndo_stop, ndo_start_xmit... Sometimes Linux Kernel API is changed in the recent versions. So macro like LINUX_VERSION_CODE ...
Yurij Goncharuk's user avatar
0 votes
1 answer
1k views

Syslog-ng to Syslog-ng over TLS - destination not writing to disk

Trying to configure a syslog-ng server to send all of the logs that it receives, to another syslog-ng server over TLS. Both running RHEL 7. Everything seems to be working from an encryption and cert ...
ropo101's user avatar
1 vote
1 answer
2k views

How to create multiple ZIP files in a folder based on 4GB size restriction?

I have a directory which contains files and I need to create individual ZIP files of these files based on a 4GB size restriction without creating a multipart ZIP archive. Could someone help here how ...
NVNK's user avatar
  • 31
0 votes
1 answer
2k views

How to truncate an existing and opened file using Ansible?

I like to truncate or resize an already existing file which is opened and used by an other application. In example, the disk may be cluttered with log files taking up large amounts of space over time ...
U880D's user avatar
  • 10.3k
10 votes
4 answers
74k views

docker: Error response from daemon: pull access denied for rhel7/rhel

My docker I found this cheatsheet from internet: https://design.jboss.org/redhatdeveloper/marketing/docker_cheatsheet/cheatsheet/images/docker_cheatsheet_r3v2.pdf I catch error C:\Users\Administrator&...
Vy Do's user avatar
  • 49.7k
0 votes
1 answer
330 views

Unable to build WebRTC code on RHEL 7.4 because of `GLIBC_2.18' not found error

I am trying to build the WebRTC code on RHEL 7.4 server as per the instructions mentioned on below link: https://webrtc.github.io/webrtc-org/native-code/development/ But observing the below error. $ ...
rkb's user avatar
  • 1
3 votes
4 answers
1k views

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 *...
Vishal Sharma's user avatar
1 vote
0 answers
675 views

SEC_ERROR_UNKNOWN_PKCS11_ERROR when trying to run curl command in rhel7

I am trying to run curl command from Red Hat Enterprise Linux 7 server with curl below:- *curl -0 -v --cert-type p12 --cert /mycert.p12:<password> --cacert /my_sec_cert.cer -X GET "https://&...
DeadPool's user avatar
0 votes
1 answer
463 views

How to install Python3 and GCC 7 in the same SCL shell?

I am trying to install graph-tool on a RHEL7 within a virtual environment; it uses both, Python 3 and gcc 7 or above. I am unable to use both of them within the same scl bash shell. [root@ ~]# scl ...
sfusato's user avatar
  • 41
0 votes
1 answer
558 views

How to install R package "copula" on RHEL7?

We have been trying to install "copula" package on R but it fails with the following error message: ERROR: dependency ‘gsl’ is not available for package ‘copula’ After installing GSL (GNU ...
sfusato's user avatar
  • 41
0 votes
1 answer
3k views

How to specify CPU limit in docker compose version 2.4

I am using docker compose version 2.4 and I want to add addition setting in my .yml file As I know we can limit the container to consume CPU , so I want to know what is the right syntax that is needed ...
jessica's user avatar
  • 2,518
1 vote
1 answer
638 views

SSH Public Key Failure

I ran into a fairly niche issue that may solve issues that others may have, but haven't been able to solve; when following all the normal tips troubleshooting SSH public key issues. System: OpenSSH ...
jberengu's user avatar
0 votes
0 answers
25 views

Why running LPADMIN inside a shell script gives different results? [duplicate]

What's the reason lpadmin gives completely different results when running it as root and when running it inside a script and executing it as root? Looks like it is not having the same scopes for files ...
Tarcisio Júnior's user avatar
0 votes
1 answer
486 views

Boto3 is installed but cannot find module RHEL 7

I'm trying to get the AWS-CLI working to start and configure ec2 instances. I've installed boto3 through pip, pip3 and python install but still can't see boto3. ImportError: No module named boto3 I'm ...
Phoenix's user avatar
  • 17
0 votes
1 answer
236 views

How to investigate data on Apache Camel Route?

My project is working on getting data from one system to another. We are using Apache Camel Routes to send the data between JBoss EAP v7 servers. My question is, is there a way to investigate what the ...
angelsfan582's user avatar
0 votes
1 answer
384 views

Dotnet 3.1.0 not found when running .net program, but it's installed, on Rhel 7

When running a dotnet app, I get: It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '3.1.0' was not found. - The following frameworks were ...
Mary Ellen Bench's user avatar
0 votes
1 answer
114 views

Get CHMOD Value and Owner name - Unix

Their is any command to get CHMOD value and Owner name of a directory on Unix expected output: PATH/OF/DIR 777 ADMIN
cipherda's user avatar
0 votes
0 answers
2k views

curl: SSL received a record that exceeded the maximum permissible length

For installation of k9s i wanted to update curl. I used these comands (on RHEL 7.6): wget https://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/curl-7.79.1-1.0.cf.fc20.x86_64.rpm rpm -i curl-7.79....
FoxUlya's user avatar

1
2
3 4 5
15