Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Bridges on A Virtual Host

Years ago, I set up a virtual host on RHEL 7 with 2 NICs talking to 2 different LANs. I used some combination of brctl, ifconfig, etc. The host has guests on both LANs. The guests and external ...
Garnet's user avatar
  • 398
-1 votes
1 answer
43 views

How to find USB Storage device PATH based on serial number?

If I find a serial number in /var/log/dmesg e.g SerialNumber: xxxxxxxxxxxxxx. How can I find the device and the path to this device? Do I need to enable the kernel module usb-storage? What will that ...
user1098490's user avatar
0 votes
0 answers
11 views

local RHEL 8 apache webserver not available from different subnet

I have setup a small apache webserver on a RHEL 8 VM that is accessible to machines on that particular subnet (10.x.x.x), but not on another subnet (172.x.x.x). This webserver has no internet access. ...
808mrb's user avatar
  • 1
0 votes
0 answers
41 views

dhclient exit hook cannot write to directory

I am using RHEL 8.9 and have created a basic dhclient hook script in which I want to log to a file. The script is able to write to places like /tmp, but not /opt. It can read files from /opt, but not ...
trebor's user avatar
  • 101
0 votes
0 answers
10 views

Desired xorg.conf settings not effective on login

I've got a RHEL 8.6 station, with 2 NVIDIA graphic cards and 6 screens, configured with nvidia-settings. 5 screens are 19" screens with no rotation the other one is a 21" screen, rotated ...
JNM's user avatar
  • 1
0 votes
0 answers
18 views

User not changing SElinux context (SELinux User)

I've added multiple users to SELinux user contexts: # semanage login -l Login Name SELinux User MLS/MCS Range Service __default__ unconfined_u s0-s0:c0....
user1098490's user avatar
0 votes
2 answers
62 views

pvcreate No device found for /dev/vdb

I am having trouble using pvcreate command after a fresh install of Red Hat 9.3. The goal here is to increase the size of /dev/mapper/rhel-root so that I'm not running out of space. lsblk: [root@...
GoinOff's user avatar
  • 589
0 votes
1 answer
44 views

How do I create a kickstart image file from a running server

We have two identical production servers that are both running RHEL 7.6, with custom applications, on two isolated networks. We are wanting to add eight more of these servers to eight more isolated ...
PCnetMD's user avatar
  • 19
1 vote
0 answers
10 views

configuring SAMBA for reasonable auditing

Can someone post an /etc/samba/smb.conf file that has configuring that will provide reasonable logging and audit information into a log file? My efforts thus far, in RHEL 8.9, have amounted to 98% ...
ron's user avatar
  • 6,496
2 votes
3 answers
107 views

Why hard link doesn't corrupt if we remove the original file? [duplicate]

Why the hard link doesn't corrupt if we remove the original file? If I remove the original file then the softlink gets corrupt but hard link doesn't so why it does't corrupt
user avatar
0 votes
1 answer
16 views

xfs_quota bsoft limit explanation

Using RHEL 8.9, I have xfs_quota applied to each home account folder under /home. In doing xfs_quota -x -c 'limit bhard=1g ron' /home I can observe for example a cp fail when trying to copy a single ...
ron's user avatar
  • 6,496
1 vote
1 answer
52 views

Count the total processes spawned using /proc/loadavg

In a Red Hat Linux 8 operating system, I examined the output of cat /proc/loadavg and obtained "5.20 5.78 8.04 16/1596 1954863". After 4 minutes, I rechecked the /proc/loadavg output and ...
GSK's user avatar
  • 11
0 votes
0 answers
44 views

Hadoop Namenode heap size tuning

NameNode process is executed in Java virtual machine, and Java object which NameNode creates is managed in Java virtual memory. As the fles or directories are created, inode objects and block objects ...
yael's user avatar
  • 13k
0 votes
1 answer
27 views

xfs_quota apply for all users under /home

in RHEL 8.9, I have a 100gb XFS formatted /home partition; all local user accounts in /etc/passwd have their home directories under /home. And all user accounts primary gid is and will always be 100 {...
ron's user avatar
  • 6,496
0 votes
1 answer
45 views

CentOS 7.9 not reporting full version number after recompiling kernel

I needed to enable SCSI support in CentOS 7.9 so I followed the instructions here: https://wiki.centos.org/HowTos(2f)I_need_the_Kernel_Source.html to add SCSI support and recompile, which worked as ...
Jim C's user avatar
  • 3
0 votes
1 answer
42 views

Difference between sysctl options to set system parameters

I see on the web two different commands to load sysctl custom parameters: sysctl --system sysctl -p Is there any difference between the two commands? I know the second one I posted can take the path ...
matteo-g's user avatar
  • 103
0 votes
1 answer
17 views

configure samba homes to different location

the default /etc/samba/smb.conf has [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No my account as specified in /etc/passwd is /home/ron with ...
ron's user avatar
  • 6,496
0 votes
1 answer
12 views

xcatprobe xcatmn fails on IP doesn't belong to any network defined in 'networks' table

Im using XCAT management tool to manage my cluster. Its XCAT version 2.16.5 and the operating system is AlmaLinux 8.7 Its been running without issues for more than a year. For some reason running ...
Oren's user avatar
  • 1
0 votes
0 answers
28 views

How do i get the list of available package updates based on few specifics installed package without the version

Problem is i have a huge list of specific packages that need to be updated. I wanted to find out the available version package name update based on these installed packages. For e.g i wanted to find ...
Thomas Koh's user avatar
0 votes
1 answer
24 views

RHEL9: List dependencies of a "rpm" package with "dnf": I wish to see the Repo package name

List dependencies of a "rpm" package with "dnf". dnf repoquery --requires java-17-openjdk-devel Updating Subscription Management repositories. (..) /bin/sh /usr/sbin/alternatives ...
Sybil's user avatar
  • 1,751
3 votes
1 answer
65 views

How to install cryptsetup-luks

I'm actually trying to setup LUKS on a Red Hat 9.2 Server. Here is the problem : I can't do yum install cryptsetup-luks or dnf install cryptsetup-luks. When I try to use one of these command I have ...
joalbala's user avatar
0 votes
0 answers
33 views

How to configure system d service to run stop script before stopping other services in a reboot situation (RHEL 7 and RHEL 9)

I have a systemd service where I have an issue with stopping the service at the time of reboot. The script /home/user1/bin/myscript-shutdown relies on filesystem to be up. But it looks like the file ...
Murthy's user avatar
  • 1
0 votes
0 answers
48 views

TOTP app for SL7 (RHEL7), preferably RPM?

We are unfortunately stuck with Scientific Linux 7 (a RHEL 7 clone) for a while longer, until we prepare our move to Ubuntu later this year. Our organisation is now also starting to require MFA for ...
dave559's user avatar
  • 369
0 votes
0 answers
25 views

How does firefox choose which libavcodec to load?

I'm running RHEL9 with plasma 5 as the desktop environment. Plasma pulls in libavcodec-free as a dependency. libavcodec-free installs /usr/lib64/libavcodec.so.59 which as expected does not support mp4 ...
Natolio's user avatar
  • 1,222
0 votes
0 answers
28 views

port ubuntu kernel to rhel

I need to port ubuntu kernel with HWE to RHEL 9. I have experience in fedora like systems but not in debian like systems. I have Downloaded the kernel source using apt source but don't know what to do ...
Hemant Kumar Meena's user avatar
0 votes
0 answers
45 views

No desktop during VNC session

I have followed this guide: Configure VNC Server in RHEL to setup a vnc connection on my AlmaLinux 9.3 machine. I am running into an issue with the actual desktop that is displayed during the VNC ...
hymcode's user avatar
  • 83
0 votes
1 answer
44 views

/boot/config missing for new kernel

I compiled the latest Linux 6.6.9 kernel from source and after installation, when I run cat /boot/config-$(uname -r), I get an error: cat: /boot/config-6.6.9: No such file or directory. The config ...
kataba's user avatar
  • 11
0 votes
0 answers
57 views

Unable to launch applications from Terminal in XRDP session

I currently have an AlmaLinux 9.3 machine with remote accessing using xrdp. I have noticed that if I try to launch a program via in a Terminal Window like $ sudo gedit I get the following error ...
hymcode's user avatar
  • 83
0 votes
1 answer
86 views

LVM extend filesystem based on increasing existing disk size

before couple months we extend root XFS filesystem partition size ( it was only 20G ) by adding the VMDK sdi disk and increase the root filesystem by +100G [root@DB_OP_SERVER ~]# pvcreate /dev/sdi ...
yael's user avatar
  • 13k
0 votes
0 answers
58 views

How to determine LUKS version on RHEL 7

I have an encrypted volume using LUKS and am unsure whether it is LUKS1 or LUKS2. Here's the lsblk output: [acoder@rhel7 ~]# lsblk --fs NAME FSTYPE ...
a coder's user avatar
  • 3,243
0 votes
0 answers
36 views

chrony port 323 automatically open with firewalld?

Documentation states chrony uses port 323udp by default, versus port 123udp that old NTP used. But where is port 323 defined, because I do not see it in the default /etc/chrony.conf as it comes in a ...
ron's user avatar
  • 6,496
2 votes
3 answers
193 views

Add a tab to the beginning of lines stored in a variable

I am working on a script that will process a .zip file received from clients. It is common in my job to want the contents of the .zip file received listed within a log file as a means of validation. I ...
gritts's user avatar
  • 21
2 votes
0 answers
89 views

copy XFS filesystem to another XFS filesystem on another disk with reflinks

I have a VM with two XFS file systems on two separate virtual disks. The first XFS is 2.5 TB big and the second one is 1.5 TB big. The first XFS uses 844 GB storage reported by df -h, but in reality 7....
smaxx1337's user avatar
0 votes
1 answer
92 views

ClamD Service Unable to Start [RHEL9]

I am currently following this guide on setting up ClamAV on my AlmaLinux 9.3 machine however at Step 11 I cannot start the clamd@service and wanted to know if anyone else has also had this issue as I ...
hymcode's user avatar
  • 83
0 votes
0 answers
57 views

difference between folder/ and /folder [duplicate]

I have a small confusion regarding a basic thing in paths i.e whats the difference between folder/ and /folder I just want to understand whats the difference between both. I tried to search but didn't ...
HOPE's user avatar
  • 1
0 votes
0 answers
14 views

Shared library not found when installing samba-ad-dc with 800-171 security policy enabled

In the interest of ensuring compliance I’m trying to get the Samba DC running on Rocky Linux 8 with the FIPS 800-171 security policy enabled. Fresh minimal VM install from the DVD image, I download ...
moosemaimer's user avatar
0 votes
0 answers
25 views

lpr printing to Xerox Printer sometimes fails due to Unknown Job Owner

At my work, the system I support (hosted on a RHEL 8.4 server) allows to request to print what's on screen, which produces a text file and calls the lpr command with the printer associated to the user ...
Gael L's user avatar
  • 131
0 votes
1 answer
27 views

Trying to enable WIFI on RHEL 7

The OS is as follows: $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) In the past I used wired connection from the router through the ethernet port with no issue. This ...
Mich Talebzadeh's user avatar
0 votes
0 answers
61 views

Dracut - what is it and why does it suddenly run without reboot?

I see that dracut has been run on my system (RHEL 9) during the weekend, and it seems like it has changed my authselect configuration messing up SSH connections. After some searching I've found that: ...
N. J's user avatar
  • 157
0 votes
1 answer
26 views

sudo Acting Differently on Two Machines - same account

RHEL 8.8 on VMWare (eSXI) on two different VM's (server01 and server02) So we have an administrative account in our AD "pfsadmin" used for various purposes including stopping and starting ...
Pitchfork Guy's user avatar
0 votes
1 answer
113 views

How to make a Python module available to all users

We have a script that installs AWS CLI into Amazon Linux 2 (really many different distros, but AL2 is what I'm working with). It seems like mostly all of the components get installed, but not all of ...
user6571907's user avatar
0 votes
1 answer
47 views

No repos found in rhel 8 after installation

After installing rhel 8 it says I do not have any repos. What do I do as I am unable to install any applications? I tried using the subscription-manager as well to connect to the repository but still ...
kwinful's user avatar
0 votes
0 answers
132 views

fixing offline yum RHEL7 missing dependancy, libnsl, local repository and --skip-broken

On a RHEL 7.9 system that is off network, a reposync is used to transfer ~200gb worth of repo data to it, including EPEL. That local repository on the system is working fine as far as i can tell. ...
ron's user avatar
  • 6,496
0 votes
1 answer
246 views

The grub2-mkconfig does not propagate renamed root logical volume on RHEL 9

On the RHEL 9.3 I have renamed the logical volume (LV) /dev/lvm01/root to /dev/lvm01/root.vol. I did everything to make the new name correctly recognized: changed /etc/fstab entry reloaded systemd ...
Jaroslav Kucera's user avatar
0 votes
0 answers
44 views

Mount overlay and assign owner to myuser

I've an entry in /etc/fstab like this: overlay /etc/myfolder overlay defaults,x-systemd.requires-mounts-for=/var/data,lowerdir=/etc/myfolder,upperdir=/var/data/overlay/myfolder/upper,workdir=/var/...
Andrea Romano's user avatar
0 votes
1 answer
217 views

latest yum/dnf packages not showing on RHEL 8

We have several RHEL 8.8 instances in AWS which have the BaseOS and AppStream RHUI repositories available. However, we cannot see updated versions of several packages which were flagged in a recent ...
asmox's user avatar
  • 3
0 votes
0 answers
35 views

pgrep returns correct results only for partial script name [duplicate]

I have a script called synchronize_dirs.sh which just wraps a call to sleep: -bash-4.2$ cat synchronize_dirs.sh #!/bin/bash sleep 60 -bash-4.2$ What's confusing to me is the behavior of pgrep in the ...
Pacopenguin's user avatar
0 votes
2 answers
174 views

Unable to start service, auth could not identify password for

Im trying to start a linux service, however im getting the below issue when im trying to start the service. Please help with a solution of how to fix this issue The user Test_user is set with ALL=(...
Chinnu's user avatar
  • 1
0 votes
1 answer
176 views

Problems installing QT online installer in Rhel 7

Relatively new to linux. I'm trying to run the qt online installer on a rhel 7 machine. Version info: [root@localhost Downloads]# hostnamectl Static hostname: localhost.localdomain Icon ...
PersonalComputer's user avatar
0 votes
1 answer
342 views

Installing Python 3.9 on RHEL 7 Using Ansible 2.9.27

I need to install Python 3.9 on RHEL 7 system ( about 10 servers in each environment ) and then update / install Ansible 2.11 on the system. This is in preparation to upgrade Confluent version on ...
adbdkb's user avatar
  • 103

1
2 3 4 5
82