Questions tagged [rhel8]
219 questions
0
votes
1 answer
io.jsonwebtoken.security.InvalidKeyException: The specified key is of type sun.security.pkcs11.P11Key$P11PrivateKey on RHEL 8
I am attempting to sign a JWT token and am receiving the following error
io.jsonwebtoken.security.InvalidKeyException: JWT standard signing algorithms require either 1) a SecretKey for HMAC-SHA algorithms or 2) a private RSAKey for RSA algorithms or…

jnasworld223
- 77
- 6
0
votes
0 answers
Got SyntaxError: expected expression, got '.' in vendor.js in angular.js running inside container
After building a docker image and extracted and loaded in an offline machine, application is rendering a blank page in RHEL 8.2. works fine in windows and in linux (I've tried with deepinOS)
Hi, I'm trying to dockerize one angular application. I…

Vasanth Ram
- 3
- 2
0
votes
1 answer
Apache / PHP-FPM Degraded Performance after switch to EFS from EBS
Any tips for troubleshooting would be appreciated.
Background
m6a.24Xlarge - Red Hat Enterprise Linux release 8.7 (Ootpa)
PHP 7.4.30 (opcache)
Apache/2.4.37 (Red Hat Enterprise Linux)
200+ WordPress sites
All sites have a symlink to a central…

Gnosis
- 13
- 4
0
votes
1 answer
aws ec2 ssh error: `ssh: connect to host xx.xx.xx.xx port 22: Connection refused`
When I try to connect my RHEL 8.7 EC2 instance, i am getting
ssh: connect to host xx.xx.xx.xx port 22: Connection refused
Steps followed
Triggered an EC2 instance which has RHEL 8.4
Upgraded it to RHEL 8.7
Took an AMI from the above…
0
votes
0 answers
Image build failed
i am trying to create a image in RHEL 8.7 Vm but i am encountering this error. i checked both services that were running fine cockpit and osbuild-composer but image was not created even i tried to create am image via cli mode but it also showed…
0
votes
0 answers
PHP-FPM & cgroups ( via systemctl/systemd)
I've been trying to limit the CPU usage of PHP-FPM processes for a specific user on my RHEL 8 server using cgroups, but I'm facing an issue where the cgroups are not working as expected. Previously, I used cgred to achieve this, but it has been…

include
- 1
- 3
0
votes
1 answer
Httpd reverse proxy setup gives connection timed out
`Hi, I have a network setup with one machine having public ip this is my httpd machine(rhel8). and other machines with private ips(rhel8). I am trying to setup httpd as reverse proxy to the machines with private ip. But i am getting a connection…

neelam
- 1
0
votes
1 answer
Add an entire directory (recusively) of php/js/css scripts to fapolicyd
RHEL's fapolicyd docs show how to whitelist a specific application, but is there a way to whitelist an entire directory structure of files consisting of php, js, css and pdf types?
Using fapolicyd in debug mode:
# fapolicyd --debug-deny 2>…

a coder
- 7,530
- 20
- 84
- 131
0
votes
0 answers
Adding Repo to Kickstart Script for Rhel8
I got a kick start script developed for Rhel7 many years ago, and want to use this now for Rhel8, but only Base Repo is added and not Appstream, and for Rhel8 both should be added, so I can use the mounted USB
if [ "$os" != "APM" ]; then
if […

fixern256
- 23
- 5
0
votes
0 answers
Errno 13 Permission denied: '/bin/rpmkeys' (RHEL 8, FIPS enabled)
I'm trying to get remi set up to install a needed package not available by RH.
[root@box ~]# sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Updating Subscription Management repositories.
Last metadata expiration check:…

a coder
- 7,530
- 20
- 84
- 131
0
votes
0 answers
Problems trying to use TIPC on RHEL 8.4
I'm trying to use TIPC on RHEL8.4 to manually communicate OpenSAF nodes, using this protocol instead of TCP.
OpenSAF is designed to work with TIPC but only as L2 and, in this case, we need IP routing. That's why I'm configuring it manually.
I am…

Pablo MM
- 1
- 1
0
votes
0 answers
Problem updating Jira Docker containers - Version remains the same
I have an installation of Jira 8.22 running in a docker container on a rhel8 ami. We are trying to update to the latest version of Jira, but every time we stop the running container and relaunch the docker-compose, its still Jira 8.22, even though…

kingsofstate
- 1
- 1
0
votes
0 answers
selinux is preventing from execute access on the "binary file .so"
With Rhel 8.1, I'm working on a project for middleware between the client and the server. I must launch the Apache server in this project in order for the middleware features to operate as intended.
Systemctl start httpd (hence referred to as…

Mohak
- 3
- 3
0
votes
0 answers
RHEL 8 reboot hangs on rd.break
I’m trying to follow https://linuxconfig.org/redhat-8-recover-root-password to reset a root password on a RHEL8 box.
I successfully select ‘e’ on image ‘4.18.0-240.1.1.el8_3.x86_64’ and arrive at the ‘edit’ screen.
I see a ‘linux’ line, but…

WayneTabor
- 11
- 4
0
votes
0 answers
Oracle Linux 8 hardening with CIS security policy
I am trying to harden an existing Oracle Linux 8 OS with OpenSCAP CISv2 but there is no available bash scripts that can automate this compared to RHEL8.
In Oracle Linux 8 I was told to install OpenSCAP packages.
sudo dnf install openscap…