Questions tagged [rhel]
Red Hat Enterprise Linux (RHEL) is a distribution of the Linux operating system targeted at enterprise customers with emphasis on long-term stability and support.
1,658
questions
-1
votes
0
answers
16
views
I want to do passwordless SFTP for RHEL 8, while passwordless SSH is working fine. Can anyone please share steps for passwordless SFTP on RHEL 8 [closed]
Tried generating ssh-key and added the following part in the code:
Match User admin
AuthorizedKeysFile /home/admin/.ssh/authorized_keys
ChrootDirectory /home/admin/
AllowTCPForwarding no
...
0
votes
0
answers
26
views
Facing issue while installing Apache 2.4.53 on RHEL 7.9
I am trying to install 2.4.53 on RHEL Linux 7.9.I am facing the below error when I do sudo make && make install. sudo ./configure works fine which I ran before sudo make && make ...
0
votes
0
answers
23
views
Bash script that automatically renames all files from a certain DIR
I'm working on a bash script that automatically compress to zip and renames all backup files from a certain DIR to a specified naming convention
Convention name : "SYSTEM1_%CURRENT_DATE%_"
...
0
votes
0
answers
9
views
cloud-init group sudo rules
Using RHEL 8 and cloud-init and have a need to specify sudo rules for a group NOT a user. For example the wheel group in sudoers. I have users that are authenticated using radius and not added to the ...
0
votes
1
answer
30
views
Docker build fails with Error: Unable to find a match: e2fsprogs xfsprogs mdadm parted
Base image is
redhat ubi8/ubi
Step 5/10 : RUN yum install ca-certificates e2fsprogs xfsprogs util-linux mdadm parted lvm2 libudev-devel -y
---> Running in 792zfd35b185
Updating Subscription ...
0
votes
0
answers
27
views
Nginx not working http or https but works on port 9000 [closed]
Hi I have been searching everywhere for a solution to my problem however i cannot seem to find the solution.
I have a base server running on Ubuntu 20.04 and a AlmaLinux 8.6 VM running on a NAT config....
0
votes
0
answers
17
views
RAEL ubi8 tag names meaning
Trying to figure out what's the tag names stands for.
for example:
redhat/ubi8: 8.6-754.1655117782
8 stands for major, 6 stands for minor and 1655117782 stands for the timestamp of the published time ...
1
vote
1
answer
37
views
RHEL8 and Centos7 httpd - php processing differently
I'm having an issue with httpd (Apache) on RHEL8.
I've previously had this working and configured on Centos7 without any issues. Due to Centos7 depreciation, I've started migrating to RHEL8 but having ...
0
votes
0
answers
38
views
run RHEL9 docker container on centos 8 host
My main developer box is running Centos8. I'm working on a project where I need to do some builds on RHEL7/8/9. I have docker installed on the host and pulling RHEL7 image from registry.redhat.io/...
0
votes
0
answers
32
views
Does RHEL 8.3 support MATLAB Compiler Runtime Version 9.0?
I've been using MATLAB R2016a (9.0) in Windows 10 and MATLAB Compiler Runtime Version 9.0 in RHEL 7.2. I used to compile the code in Windows & run the binaries on the target machine (50GB RAM, ...
-1
votes
0
answers
10
views
Linux Partition and lvm volumes don't add up
Working on RHEL8. The original sda size was 80GB. I added 40GB using cfdisk. You can see below that it shows sda is 120GB.
But, the problem is under sda2, the volumes are still reflecting the old ...
0
votes
1
answer
31
views
Script to extract switchport status via snmp
Good day, looking for some assistance, still quite new to scripting and don't have a clue where to start with this.
Scenario: I have multiple Cisco switches on which I want to check the port status ...
0
votes
1
answer
34
views
Rhel osbuild-composer system repository override is not working
As per document (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/composing_a_customized_rhel_system_image/managing-repositories_composing-a-customized-rhel-system-image) ...
0
votes
1
answer
20
views
Error installing gem mysql2 -v 0.3.21 on RHEL 8
I am copying my application to a new server, as old one got corrupted, but while trying to run bundle install, gem mysql2 failed to install.
[me@localhost redmine]$ gem install mysql2 -v 0.3.21
...
0
votes
0
answers
22
views
After changing podman graphroot, permissions denied
I have changed the location that rootless podman saves containers to, but I am having issues when trying to pull an image.
Error: could not get runtime: error opening "/mnt/podman/storage/storage....
0
votes
0
answers
11
views
how to install luarocks in rhel?
I am trying to install luarocks in a docker image in the build stage
RUN yum makecache
RUN yum install -y luarocks
I see this error
=> [ 6/10] RUN yum makecache ...
0
votes
0
answers
33
views
Connect Error (1045) Access denied for user 'root'@'localhost' (using password: YES)
I am migrating a website apache/php/mysql to a newer server. I created a database dump and imported it, migrated php, html files over, imported database and set password, although it is a different ...
0
votes
0
answers
19
views
Magento and mySQL on different server
I need to configure Magento 2.4.5 on RHEL. I need recommendation/best practices for below:
Should I go with RHEL 8.6 or 9.0? Don't want to go with Ubuntu or CentOS.
Should I host the database on a ...
1
vote
1
answer
75
views
Multiple & different Variables for loops BASH
I would like to run a for loop on a list of two columns, first column holds a name of a server, and the second column holds the UUID of the same server.
I would like to run the another loop on the ...
0
votes
3
answers
62
views
Auto Start Script
So I am making a script that can run these commands whenever a server boot/reboot:
sudo bash
su - erp
cd frappe-bench/
bench start >/tmp/bench_log &
I found guides here and there about how can ...
0
votes
1
answer
31
views
rsyslogd using 100% CPU Utilization on all RHEL EC2 Instances
Since past two days, rsyslogd is using 100% CPU Utilization on all RHEL EC2 Instances in my environment. I Stopped and started rsyslog service but still issue persists.
This is first time we are ...
0
votes
0
answers
17
views
Can you take a thread dump of a non-java process?
I have done quite a bit of research, and cant find any documentation on this. I may be using the wrong terminology with the term "thread dump", so I apologize for any lack of knowledge on ...
0
votes
0
answers
64
views
Packer vpshere-iso stuck on wainting for Ip
I am attempting to build a packer template using the following configuration for my packer JSON config file. However, I get packer stuck on waiting for an IP... and it doesn't make any progress.
...
0
votes
1
answer
39
views
How to wait for full cloud-initialization before VM is marked as running
I am currently configuring a virtual machine to work as an agent within Azure (with Ubuntu as image). In which the additional configuration is running through a cloud init file.
In which, among others,...
0
votes
1
answer
48
views
Puppet agent disabled in Puppet master
In my environment, there is a RHEL puppet master which successfully managing over 500 nodes.
When I run puppet in master server (puppet agent -t), I am getting below error. It seems puppet agent is ...
0
votes
0
answers
31
views
Percona on podman with bind mount on /var/lib/mysql not working
I spent an entire day on this with no progress. Percona/MySQL documentation was read and followed, here is the result.
On RHEL/Alma
/srv/percona/my.cnf.d and /srv/percona/mysql are both empty, selinux ...
0
votes
0
answers
140
views
Error while loading a tar docker image permission denied
I am trying to load a tar docker image to my vm (rhel 8.4) using podman with this command.
podman image load -i /tmp/pgsql
I cannot load the image because of the error :
DEBU[0004] No compression ...
0
votes
0
answers
135
views
Weird permissions podman docker-compose volume
I have specified docker-compose.yml file with some volumes to mount. Here is example:
backend-move:
container_name: backend-move
environment:
APP_ENV: prod
image: backend-move:latest
logging:
...
0
votes
1
answer
88
views
microdnf shows librhsm-WARNING Found 0 entitlement certificates
Problem
I am trying to install nmap-ncat package into a container created with this image by microdnf pkg-manager. I run
microdnf update
microdnf -y install nmap-ncat
Both cmds output
(microdnf:xxx): ...
0
votes
1
answer
169
views
Postfix will not send emails. SMTP socket error "malformed response"
Mail is not sending from server, getting stuck in mail queue.
OS: RHEL 8.5 wGUI and DISA STIG profile, IPv6 disabled.
Postfix version: 3.5.8
Mail log shows:
postfix/pickup[2461]: B6FE02054C1: uid=0 ...
0
votes
0
answers
127
views
XDG_SESSION switching from x11 to wayland automatically in RHEL 8
I'm executing a shell script inside profile.d, which needs x11 as the default gnome-session. It works fine when login into system as USER1, but the XDG_SESSION_TYPE is shifting from x11 to wayland ...
1
vote
2
answers
42
views
Linux Bash, Test command, why [ 0 -ne 0 ] is false instead of true?
When using test command in Linux Bash and numeric comparison between "Zero" equal to "zero" fetches an exit code 0 through echo $?
$[ 0 -eq 0 ]
$echo $?
0
However, when testing ...
0
votes
0
answers
14
views
how to run django project with gunicorn [duplicate]
I have uploaded my Django app on the RHEL7 server it's running with help of gunicorn but not with full width so how do I customize it to use with full width.
gunicorn_config.py
command='/home/tarun/...
0
votes
0
answers
31
views
How to install ERPNext on RHEL 8
I am trying to install ERPNext on RHEL 8. I have no experience with ERPNext installation and RHEL 8 so this is a learning process for me.
Below is where I'm having trouble with the installation. Since ...
0
votes
0
answers
37
views
Config Postfix master.cf on port 587
I want to configure Postfix on port 587 (I have RHEL 7.9 ; mail version = 2.10.1). Could you help me please?
I have configured the certificates correctly. To make listen postfix on 587 I modify the ...
-1
votes
0
answers
94
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
25
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
1
answer
58
views
RabbitMQ cluster on a single machine
I want to create a three node RabbitMQ cluster on a single RHEL8 machine for testing purposes. I tried instructions given in RabbitMQ official guide and also tried to follow this guide.
The first node ...
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:...
1
vote
2
answers
480
views
Can't install powertools on RHEL 8.5
I'm new to Linux and I'm trying to setup my RHEL 8.5 VM machine.
NAME="Red Hat Enterprise Linux
VERSION="8.5 (Ootpa)
I'm trying to install some scripts for course, and it is giving an error ...
0
votes
1
answer
108
views
Unable to update jenkins using yum in rhel8
I have installed the jenkins as per their documentation. And then when i try to update jenkins its giving these wierd errors. The ports 443 and 80 are open. Can any assist on this issues.
Logs:
[root@...
0
votes
1
answer
27
views
Accessing PHP File inside PHAR Archive through Command Line
I'm not sure if this is possible, but i am trying to access a PHP File inside the PHAR Archive over the command Line on a RHEL 7.0 machine.
I was able to create the PHAR archive and can use it also ...
0
votes
1
answer
113
views
Oracle Silent Install Failing in Chef
I'm trying to install Oracle on a RHEL VM in Chef. When I directly log into the VM as the install user ("oracle1") and run the silent install command:
./runInstaller -ignorePrereq -...
0
votes
1
answer
98
views
postfix warning : group or other writable
I am trying to configure the mail server with PHP postfix but I am getting this error like
Apr 12 07:53:52 frlyonl0274 postfix/postfix-script[1593455]: warning: group or other writable: /etc/...
-1
votes
1
answer
43
views
I am having become True in playbook of ansible still received not a root user
I am trying to remove package but received not a root error.
I have rhel 7.4 running on EC2 instance.
---
- hosts: ec2_rhel
#become_user: funnel
become: yes
tasks:
- name: Email server ...
1
vote
4
answers
98
views
How to securely host file on RHEL server and enable download for user
I have programmed an application that users can use to process genome data. This application relies on a 10GB database file, that users have to download in order to run the application. At the moment, ...
0
votes
0
answers
18
views
PHP mail function is not working on RHEL 8 [duplicate]
I wrote a simple test code for mail in PHP on my remote server RHEL 8. But when I trigger it doesn't sent mails to me. What is the issue can anyone tell me? Is there any configuration I need to do in ...
1
vote
3
answers
82
views
ALBD SERVER ISSUES
Working in Red Hat Linux trying to build RPMs that are accessed via Clearcase vobs but keep on getting a recurring error which states, 'unable to find albd-server on host ', 'Unable to contact view - ...
0
votes
1
answer
42
views
Unable to install libmcrypt-2.5.8.tar.gz and mycrypt-1.0.4.gz on RHEL 8
I am trying to install mycrypt-1.0.4 on RHEL 8 and it says mycrypt.h error Reinstall libmcrypt.
So, I am trying to install libmcrypt and I copied libmcrypt-2.5.8.tar.gz into tmp folder. Now when I ran ...
0
votes
0
answers
57
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 ...