Questions tagged [rhel8]
219 questions
2
votes
1 answer
RHEL8 selinux not allowing service to start from systemctl while tomcat/bin/startup.sh denied permission
i am using aws rhel 8 linux instance with tomcat folder mounted from EFS in AWS and using
user ec2-user with full permissions on nfs mount data (tomcat folder) able to create delete files on /opt/mytomcat. (directory)
when i try to start directly…

rajesh
- 19
- 1
- 5
2
votes
3 answers
How to Install devtoolset 8 in RHEL 8 image
Please help me to install dev toolset-8 in rhel 8 image.
i have pulled the base image as below . I want to install devtoolset-8. is there any other way please let me know.
sudo docker pull registry.access.redhat.com/ubi8/ubi:8.2

Prashant Naik
- 105
- 1
- 8
2
votes
2 answers
Generated podman systemd file can not be enabled
I'm trying to write an ansible playbook, which deploys nginx as a podman container, generates the systemd unit related to said container and enables & starts that systemd unit. The container itself is created fine and is up and running, but the…

LeadingMoominExpert
- 192
- 2
- 12
2
votes
0 answers
New-PSSession: This parameter set requires WSMan, and no supported WSMan client library was found. CENTOS/RHEL 8
So im working on server and i have installed powershell on it and when i try to run this command
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred…

BHL
- 125
- 2
- 11
2
votes
0 answers
ansible-notebook is failing in [bootstrap-os : Enable RHEL 8 repos] task
I'm running kubespray - https://github.com/kubernetes-sigs/kubespray/ on GCP RHEL8 VMs.
When I'm executing my ansible-notebook, I'm getting the following issue for every VM in [bootstrap-os : Enable RHEL 8 repos] task.
fatal: [node3]: FAILED! => {
…

prime
- 769
- 1
- 13
- 27
2
votes
0 answers
Transient time service already exists when restarting Gitlab on podman instance
On RHEL 8, I have a problem when restarting Gitlab instance on Podman.
Everything works fine but running command: sudo podman restart gitlab-server makes an error:
ERRO[0011] Failed to start transient timer unit: Unit…

Paweł Argalski
- 21
- 1
2
votes
2 answers
Ansible sysctl tries to reload ipv6, even though ipv6 is disabled
Consider this:
I have a RHEL8 server where ipv6 is disabled.
I'm running some ansible scripts for security compliance.
Ansible check looks like this :
- name: "SCORED | 3.1.1 | PATCH | Ensure IP forwarding is disabled"
block:
- name: "SCORED |…

notaverygoodprogrammer
- 349
- 5
- 17
2
votes
0 answers
Unable to install Python in RHEL 8 using subscription-manager
I've been unsuccessful in installing Python (versions 2 or 3) in a RHEL 8.2 EC2 Host.
Error : Unable to find a match: python
No match for argument: python3
Error: Unable to find a match: python3
I've captured below available repo list in the Host.
#…

Raj R
- 63
- 1
- 1
- 8
2
votes
0 answers
ModuleNotFoundError: No module named 'encodings'; rhel8; python3; apache2.4; mod_wsgi; django 3.1
Am trying to setup my django application (virtual environment) using apache and mod_wsgi. the application is running on RHEL8 machine and the only python running is python 3.
RHEL version == Red Hat Enterprise Linux release 8.2 (Ootpa)
python…

Syed Mujtaba Ali
- 21
- 3
2
votes
1 answer
How to Run Docker Container Using IBM LSF
I am trying to trigger Docker Container using IBM LSF Spectrum bsub commands. OS I am using is RHEL 8.1
I have started IBM LSF , checked it is running using lsid command which shows "cluster name & master name".
under configdir/lsb.params I have …

Dheeraj
- 59
- 1
- 10
1
vote
0 answers
mount error(126): Required key not available autofs with CIFS & Kerberos using autofs on RedHat based systems
I have joined my RHEL8 system to Windows 2019 AD using realm.
Now I am trying to automount the home directories from a dfs share using autofs, my autofs files looks below:
# cat /etc/auto.master
+auto.master
/mnt/home /etc/auto.home
# cat…

yogi mummaneni
- 11
- 1
1
vote
1 answer
Ansible: How to throw a warning when a file contains uncommented lines?
I have ORIGINAL .conf file which includes multiple commented lines (header). I need to throw an error if the ORIGINAL "comments only" file has any uncommented lines added during the installation process. If there is any line other than starting with…

Marián Šlepecký
- 11
- 3
1
vote
2 answers
Why does this awk syntax error occur on rhel7 and not rhel8?
Running a build script for a 3rd party library and getting this awk error.
In rhel8 gawk 4.2.1 the follow executes without error:
version_num=stable/3.0
printf "3.0.4" | awk "/^${version_num/\//\\\/}/{print;}"
but in rhel7 gawk 4.0.2 you get:
awk:…

user109078
- 906
- 7
- 19
1
vote
0 answers
Upgrade Git-Lab on Air-gapped Environment (offline)
I'm unable to upgrade my gitlab to the latest version.
Hi All,
I've installed and configured GitLab in a air-gapped (offline) environment using rpm which is running on rhel 8.5. Due to some vulnerability issue, we need to upgrade Git-lab to a…

GULAM MOIDEEN
- 11
- 1
1
vote
1 answer
Installing one specific package using npm or yarn results on a socket timeout
npm install @mui/icons-material
I can install all other libraries with no issues, I have reached out to the networking team and they claim to have nothing in place regarding the npm repository.
202 silly audit '@mui/icons-material': [ '5.11.16'…

Jboncz
- 21
- 4