Questions tagged [rhel7]
For development issues encountered while using Red Hat Enterprise Linux 7
698
questions
0
votes
0
answers
19
views
“Authorization not available. Check if polkit service is running or see debug message for more information [closed]
This message is displayed and when any service e.g sshd or polkit itself is restarted, the device reboots automatically.
My error logs:
Solutions applied:
https://installati.one/centos/7/polkit/
...
0
votes
0
answers
10
views
apply read-only access to docker container root file system in rhel7
I've applied read-only access to root file system in my container by setting flag:
"read-only: true" in docker-compose.yml.template.
In tmpfs, I've given /tmp path for read-write access.
My ...
0
votes
0
answers
17
views
How do I increase disk space for oracle database?
I am fairly new to oracle and am trying to create a database using the database configuration assistant (dbca) but during the prerequisite checks, i get the following error:
Disk space check / ...
0
votes
0
answers
27
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 ...
-1
votes
0
answers
13
views
selinux is disabled and I'm still getting error 13
I'm running a django project on rhel7. Current selinux status:
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
...
0
votes
0
answers
20
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
...
0
votes
0
answers
83
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 ...
0
votes
0
answers
40
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 ...
0
votes
0
answers
17
views
Linux- Resource temporarily unavailable - Google Omaha Server deployment using supervisord
Use Case:
We are trying to deploy google omaha server using supervisord along with celery in RHEL8 AWS instance.For this is have installed suprvisord, celery and all the required dependent components ...
0
votes
0
answers
13
views
How can I parse top Irix mode output into a matrix/csv format
I am trying to take a periodic snapshot of usage per cpu using the top "1" irix mode enabled as default. So far my command can take a periodic snapshot, filter to only see the CPU portion, ...
0
votes
0
answers
42
views
unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: 255
Using the following for trying to create a mysql database I get the error
unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. ...
0
votes
0
answers
39
views
Gstreamer x264 plugin not found
Gstreamer x264 plugin not found on rhel 7.6. I have installed all plugins i.e gstreamer1.0 ugly free bad . Even installed x264 from source from vlc website. But still not able to get x264 plugin . Can ...
0
votes
0
answers
19
views
selinux write a lot to /var/log/messages
I have a little issue with Splunk server I have
It seems that selinux write a lot of events to /var/log/messages (~100MB a day)
and the log rotate process fails (the log is not deleted, we have to do ...
0
votes
1
answer
46
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 ...
0
votes
0
answers
18
views
Is there a way to install create-react-app in rhel 7(linux server) using the package
I am trying to set-up a system environment for a web application. I have installed node and npm in my RHEL 7 server(no internet). When I try to install create-react-app, I am getting a timeout error ...
0
votes
0
answers
86
views
CIFS Multiuser mount on RHEL
When we mount a CIFS share on RHEL in multiuser mode, the users have to run the following command to gain access.
Mount command (/etc/fstab entry):
//server_name/share_name /mnt cifs multiuser,sec=...
0
votes
0
answers
22
views
Fail run sudo R (version 4) on RHEL 7
Recently we've installed R 4.1.3 (as sudo) in our remote server which RHEL 7 is installed.
We follow this guidance https://docs.rstudio.com/resources/install-r/
After that, we try to verify the R ...
0
votes
0
answers
34
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 '...
0
votes
0
answers
4
views
Changing the interactive login of root in RHEL 7 breaks applications
I've recently had a requirement to change the /etc/passwd file on my systems ( RHEL 7)
I've changed my root from interactive login, root:x:0:0:root:/root:/bin/bash , to non interactive login root:x:0:...
0
votes
0
answers
6
views
Passing AD attributes to Realm Joined RHEL 7 box
I have realm joined a rhel7 machine to my Windows AD environment. I was pleased to see that groups were mapped successfully within the rhel7 instance. I was able to see them via the id command.
I have ...
0
votes
0
answers
22
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 ...
0
votes
0
answers
19
views
Yum lists a package as available but claims it is not available when downgrading
I run the following in a RHEL7 system:
yum --showduplicates list code
I get this output:
Installed Packages
code.x86_64 ...
0
votes
1
answer
142
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-...
0
votes
0
answers
13
views
forbiden in django project on RHEL7 server
I have uploaded successfully my project on the RHEL7 server and it's running using the Nginx web server but when I am trying to login to my user then is throwing a Forbidden CSRF token. MY get request ...
0
votes
2
answers
23
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 ...
0
votes
0
answers
53
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 ...
0
votes
0
answers
42
views
Redirect http url to https for django application served by Apache without virtualHost
I have a django application running on http://localhost:8081
I want to redirect it to https://localhost:8081
I have following in my settings.py:
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
...
0
votes
0
answers
37
views
Local yum repo hosted on SMB Share
I currently have a few RHEL repositories saved on an SMB Share.
i am authenticated to this share via a DOMAIN\user account.
a /etc/yum.repos.d/local.repo file is appropiatley pointing to the dir. in ...
0
votes
0
answers
48
views
linotp fails installation on rhel 7
i'm trying to install linotp:
yum install -y LinOTP LinOTP_mariadb
fails with error:
Error: Package: LinOTP-2.11.2-1.el7.x86_64 (linotp)
Requires: python-webob < 1.4
Error: Package: python-...
0
votes
1
answer
38
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 ...
1
vote
0
answers
98
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 ...
0
votes
0
answers
25
views
FSTrim on glusterfs bricks in CentOS7 . Is this recommended?
I recently gets frequent disk corruption during the period where I enable FSTrim on glusterfs bricks in CentOS7 .
I have 2 replica and 1 abiter .
Please advise .
0
votes
0
answers
19
views
RHEL 7.9 Cronjob and logger output
I need to be able to run:
clamscan -V 2>&1 | logger
as a cronjob. The output from that is:
ClamAV 0.103.3/26132/Tue Apr 6 04:06:05 2021
I have the cronjob set currently as:
02 * * * * root ...
0
votes
0
answers
70
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 ...
0
votes
0
answers
193
views
How to use "rhel-7-server-rpms" repo in rhel8?
I want to enable "rhel-7-server-rpms" repo in rhel 8.2 to install QGIS-2.14 and python 2.7.5.
I tried to copy the metadata of "rhel-7-server-rpms" from "/etc/yum.repos.d/...
1
vote
1
answer
104
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 ...
1
vote
1
answer
27
views
I have accidentally cleared contents from /var/log/messages and now log messages are not getting logged on my RHEL7.6 OS
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 ...
0
votes
1
answer
146
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 ...
0
votes
0
answers
113
views
How to setup permanent MTU size in RHEL 7 for eth0 interface?
I am using RHEL 7 and trying to setup permanent MTU size to 8500. Not able to find a way to set it up permanently. The server does not have dhcp.conf file in it.
I am using below command for temporary ...
0
votes
1
answer
76
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 ...
0
votes
1
answer
171
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 ...
1
vote
1
answer
154
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 ...
0
votes
0
answers
10
views
RHEL 7 Gnone 3 not locking when citrix is active
I manage a set of RHEL 7 desktops
They are set up to lock after 10 minutes of idle time using instructions from https://help.gnome.org/admin/system-admin-guide/stable/desktop-lockscreen.html.en
...
0
votes
1
answer
286
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 ...
0
votes
0
answers
105
views
Nested KVM on ESXI VM
I have a Rhel 6 VM running on an ESXi 6.7 host.
I am trying to build a nested Rhel 7 VM with KVM using the command:
/usr/libexec/qemu-kvm -hda /dev/sdb -cdrom /PATH/TO/rhel-server-7.5-x86_64-dvd.iso -...
0
votes
0
answers
38
views
How to empty (truncate) a file using ansible [duplicate]
What would be the ansible equivalent of
echo > /some/file/here
I don't want to resort to using
shell:
Nor do I want to delete and recreate the file, just empty it in place.
The file already ...
0
votes
0
answers
23
views
How to install npm package from local files globally?
I have to install npm packages globally via ftp. I am going to transfer npm package from my computer to company server via ftp. The server has no internet access because of strict firewall rules. ...
1
vote
2
answers
8k
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&...
0
votes
0
answers
46
views
RHEL7 No package krb5-server available
Redhat documentation lists krb5-server as a package dependency for the KDC server.
When attempting to install krb5-server it always fails with no package found.
Checking for the package yields no ...
0
votes
1
answer
117
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.
$ ...