Questions tagged [rhel]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
121 views

Is ~/.local/share/Trash/files used by GNOME only for deleted files and not by rm command?

I am using RHEL8, and I see the directory - ~/.local/share/Trash/files And there were so many files in it. Looking at the name and files present there it gave me an intuition that it is similar to ...
0
votes
1answer
37 views

RHEL 8 install.log - where I can find this file?

Where I can find this file titled install.log? It is usually located in the root home directory /root, but since release 8 it has been moved to other location. It contains information about the ...
1
vote
0answers
79 views

Cannot achieve maximum CPU frequency with Intel_Pstate Driver - RHEL 7.7

I'm struggling with intel_pstate performance governor not running at max CPU speed. I have a 2.2ghz system, and it needs to be running at full speed for valid reasons. # grep -E '^model name|^cpu MHz'...
0
votes
1answer
2k views

system clock synchronized: no

# timedatectl reports System clock synchronized: no even when NTP service: active and # systemctl status chronyd shows active (running), and the logs therein don't show anything like an error; I see ...
-1
votes
1answer
58 views

how to verify the current network driver name on rhel machine

we have rhel 7.2 server with intel network adapters we want to verify the Driver name by linux cli command we not sure what is the network driver that installed ( could be i40e or e1000e or ixgbe/...
0
votes
0answers
20 views

Investigating runaway traffic

On RHEL I have a server that every few days for few minutes sends 50x connection requests to the db. I couldn't find a lead in: crontab history of the users /var/log/messages nor secure How can I ...
0
votes
1answer
85 views

How to get just the first match from grep?

I am writing a script, and I am using this as a variable. RESULT1=`ps -ef | grep -w "PHANTOM PHA-WRM-EXPIRE"`. What happens is that ps is listing two PIDs. [xhobando@noitu TNOITU]$ ps -ef | ...
0
votes
1answer
711 views

Getting file with today date from SFTP

How would you go about getting a file from a SFTP server if the file has today date in the name of file? I know the mget and get command is used to pull the file over, but I can't seem to find ...
0
votes
1answer
31 views

How to block IP Address using Firewalld after $N Times

I want to know how I could block IP Address using firewalld based on number of times ? For example: I've a running ssh and i want to set a rule if an ip address tried to connect to my ssh server and ...
0
votes
1answer
49 views

General Protection Fault on Reboot

I see a General Protection Fault during a reboot after running H/W failure test followed by a reboot. There are no issues with the H/W and test case, coz the same works well the previous RHEL version. ...
0
votes
0answers
40 views

RAID call traces on RHEL8

I am seeing "Call Traces" on booting from Rhel * (4.18.0-235.el8.x86_64). The call traces appears after cold boot. I don't see any other issues. It is known issue I see a thread stuck at the ...
0
votes
1answer
379 views

LVM export and import: How to move a VG to another Machine with a equally named volume group

I have been using VM linux (RHEL OS) on VMWare Server. As result , I want to attach virtual hard disk from one vm to another. How can I mount this to the new VM ? btw , I am using LVM for both VM ...
1
vote
1answer
719 views

Permanently add item to $PATH using Ansible on RHEL7

What specific syntax must be changed below in order for Ansible to successfully add /home/another-user/bin to the $PATH variable on a RHEL 7 VM? Current Version of Playbook: The playbook we are using ...
1
vote
3answers
40 views

How do I determine which version of the RHEL I'm building on?

Under Fedora, I can use this command to get the version: rpm -E %{fedora} Under CentOS, I can use this command: rpm -E %{centos} What is the equivalent for Red Hat Enterprise Linux?
0
votes
1answer
62 views

linux crontab + add shell syntax to crontab

we add the following line to crontab ( the script - test.bash should run every min ) * * * * * root [[ -f test.bash ]] && /tmp/test.bash the script is like that more test.bash #!/bin/bash ...
-1
votes
1answer
1k views

yum + is it possible to change the timeout regarding to yum install?

we have 34 Linux machines in cluster ( server1-server34 ) , while all machines are using the repo on server1 for download rpm's we found that network issue can occur es yum installation problem , as ...
1
vote
0answers
73 views

Dracut skips over new custom dracut module during initramfs build

Ok so I have a system running a RHEL 6 server and due to hardware restraints RHEL 6 is the newest I can use. Second I am trying to create a live network bootable initramfs for a pxe operation. In ...
0
votes
2answers
4k views

Jobs for nfs-server.service cancelled [closed]

I am trying to setup an NFS server but after starting the service it is showing this error Job for nfs-server.service canceled. This is my configurations file (/etc/exports) /fold1 192.168.43.226 ...
0
votes
0answers
19 views

Trying to validate functions executed successfully

I am following along with this guide to install MISP on RHEL 7. The instructions show several files with a single function that either installs software or updates settings. I created the file and ...
0
votes
1answer
97 views

MySQL dependency error on linux

I have the 'mysql-community-release-el7.rpm' on RHEL 7.8. When trying to install I believe its trying to install the RHEL 8 version hence throwing the dependency error. Resolving Dependencies --> ...
0
votes
3answers
100 views

How to find directory structure in Linux

I am looking for a Linux command in RHEL v6.x to search a particular directory structure in the current directory. Though I know the below command which will search a particular single directory in ...
3
votes
1answer
2k views

Failing to install Docker CE on RHEL 7 since tonight

I am using this commands to install Docker CE on RHEL7 and I am failing with the following: This started tonight after working flawlessly for some time: sudo yum install -y yum-utils sudo yum-config-...
0
votes
0answers
20 views

how to add more groups to mounts and files?

I was going to mount a windows share via mount.cifs and using dir_mode. mount -t cifs //server/share /mnt/ -o user=username,dom=domain,dir_mode=0755,uid=510,gid=610 This means only members of group ...
3
votes
1answer
71 views

mount.cifs not supporting 'multiuser'?

I was going to use the "multiuser" option for mount.cifs, but /var/log/messages reports: kernel:CIFS: unknown mount option multiuser Kernel is 2.6.18-433 mount.cifs is 1.12RH I can't find ...
0
votes
1answer
15 views

How to log when a directory is no longer being written to

Without going into too many details, we have a situation where files are being written constantly to a drive on a RHEL 6 server. What we need to do is to log when a certain directory hasn't been ...
0
votes
0answers
18 views

systemctl is restarting my process continuously, there are 2 process needs to be run in single script

I have added service file at /etc/systemd/system/ foo.service [Unit] Description=foo [Service] TimeoutStartSec=0 User=root Group=root ExecStart=/home/rohit/scripts/foo.sh > /dev/null 2>&1 #...
6
votes
4answers
518 views

bash: /usr/bin/sed: No such file or directory

On a test server I purposefully deleted ????? in / - I was expecting the symlink /lib64 and the /media directory to be deleted. All went well (everything broke), but then I was curious about the ...
-2
votes
2answers
25 views

SFTP jail for the root user?

So While I've been looking into ways of locking down users and locking them down into jails. I've came across an interesting question that I haven't seen answered anywhere. How can one posses the ...
0
votes
0answers
34 views

Linux Font “Lato” is not available to the JVM

When i downloading a report, i getting error Font "Lato" is not available to the JVM. See the Javadoc for more details. My OS is Red Hat and report being used is Jasper. Please guide me on ...
0
votes
0answers
26 views

capturing yum update transaction to replicate on another machine

Looking for a way to capture a "yum update" on machine "A" and replicate the exact same actions on machine "B" (maybe at a later date after testing on machine "A&...
0
votes
0answers
47 views

how to identify the Virtual Network Interface Cards (vNIC) by linux command

we have diff versions of rhel machines - rhel 7.2 and rhel 7.6 on rhel 7.6 we have the tool - lshw , that can used in order to print the NIC betwork type for example on rhel 7.6 the NIC type is ...
0
votes
0answers
34 views

cron job + script not run from cron job , while script run on shell

we have a strange behavior , and I will explain the following script run successfully on linux machine su - hdfs -c "sudo /home/tasks.bash" ps PID TTY TIME CMD 32187 pts/3 00:...
0
votes
0answers
38 views

how to run script from user hdfs without password

we create the following script on rhel 7.6 /home/run_tasks and in visudo we configured %sudo ALL=(ALL:ALL) ALL root ALL=(ALL) ALL hdfs ALL = (ALL) ALL hdfs ALL= (root) NOPASSWD: /home/...
0
votes
0answers
16 views

What boot or script parameters are different in a live iso verses a normal image(specificall redhat based distro's)

Ok so I know the difference between the functionality of live verses a normal iso but I want to know what boot parameters / startup scripts are different that are fed to the initramfs/dracut that make ...
0
votes
2answers
76 views

yum + how to captured all rpm that was installed by yum update

we performed upgrade from rhel 7.2 to rhel 7.6 the upgrade was by yum update ( from redhat repertoires ) subscription-manager release --set=7.6 subscription-manager repos --enable "rhel-*-...
0
votes
1answer
40 views

How to read session history currently in memory (the history that eventually gets written to “.bash_history” upon logout

I've encountered this issue several times where I need to access the history of a currently active session. Unless there is an easier way, I'm about to write a C program to read this from a target ...
0
votes
0answers
36 views

How to upgrade rhel 7.2 to rhel 7.6 Server

we are trying to update the rhel server from 7.2 to rhel 7.6 we mount the rhel iso 7.6 to folder and create repo and by doing yum update -y we want to do the upgrade but we are facing many issues as ...
0
votes
0answers
30 views

sort command ignore leading blanks and enable dictionary order by default [duplicate]

1. How come sort command ignore leading blanks even though I didn't specify -b? Text File file1 Morpheus Trinity Neo Cypher Command > sort file1 Shell Output Cypher Morpheus Neo ...
0
votes
1answer
52 views

How to set up a cronjob that runs on the last sunday of each month? [duplicate]

I am trying to set up a cronjob to run on the last sunday of each month. This is what I have accomplished. Right now, it is running every sunday at 10 PM. 0 22 * * 0 /usr/basys_bin/clean_cups_cache.sh
0
votes
0answers
42 views

Get the last modified file's epoch time in current directory

I need to get the epoch time which belongs last modified file in current directory. I have some limitations: must be compatible with RHEL and AIX systems AIX does not allow -printf option with find ...
0
votes
1answer
43 views

RHEL 6 conf.modules.d not existing

I want to change the SSO of my application and need a httpd server for authentication via Keycloack. Now the problem is that when I install the httpd I don't have the conf.modules.d directory, which ...
0
votes
0answers
28 views

Improve or replacement for rsync

I have a network with 80 RHEL 6.5 server. i have a file server in this network and run rsync deamon on it. clients checks file server every 15 minute for updates and if file server files updated or ...
0
votes
0answers
293 views

fixing DKMS, missing modules

running RHEL 7.8 with DKMS 2.8.3-2 installed, along with nvidia driver. I have this dkms status nvidia, 440.82, 3.10.0-1062.9.1.el7.x86_64, x86_64: installed (WARNING! Missing some built modules!) (...
0
votes
0answers
5 views

Linux PXIe Chassis PPS Ingestion

I am trying to get my Linux Controller to ingest a pulse per second to have chrony use as a reference clock. This is all in a NI PXIe chassis. I know that I can use a timing card to send the PPS ...
0
votes
1answer
55 views

is there a consistent patch timeline with RHEL, like first of month?

With the mindset of a work environment and linux servers need to be patched regularly for security reasons does RHEL (for version 7) have any kind of patch frequency or timeline? Such that people more ...
0
votes
0answers
21 views

SSH session gave a false negative when adding user to wheel [duplicate]

Specifications RHEL version: Red Hat Enterprise Linux release 8.2 (Ootpa) Kernel version: 4.18.0-193.14.3.el8_2.x86_64 The issue I was facing Yesterday I started a SSH session to a RHEL8 machine, ...
0
votes
1answer
487 views

yum + pre-existing rpmdb problem + yum complain about packages that already installed

we are trying to install the following rpm without success on rhel 7.2 server uname -r 3.10.0-327.el7.x86_64 yum install python2-cryptography-1.7.2-2.el7.x86_64.rpm Loaded plugins: langpacks, ...
0
votes
0answers
138 views

Loopback interface name on rhel 7 (and onwards)

If I run ifconfig command on my rhel7 machine I see below output: enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x1.x2.x3.x4 netmask 255.255.255.192 broadcast xx.xx....
0
votes
0answers
122 views

Can I sniff packets on a host interface macvtap through a guest OS on QEMU/KVM?

I have a RHEL server (host) with 4 VMs. One of those VMs is Windows 10 with Wireshark. I want to use Wireshark to sniff packets going over one of the server's ethernet ports, lets call it enp2s0f2. In ...
-2
votes
2answers
100 views

yum + how to identify dependencies between rpm from i686 to X86

The approach to remove all rpm type of i686 and exclude the removal of X86_64 is like the following yum remove '*.i686' -x '*.x86_64' what we want to do instead it like the following verify no ...

1
3 4
5
6 7
69