Questions tagged [rhel]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
39 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 ...
1
vote
1answer
75 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
19 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
25 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
12 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 ...
1
vote
1answer
65 views

sed + how to append complex line after match specific line

We want to append with sed , the following complex line after matching the line that start with – number_of_cars_are more /tmp/orig_file number_of_cars_are=$number_of_cars_are the line that we want ...
0
votes
0answers
14 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
3answers
120 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 ...
-1
votes
0answers
30 views

Reducing LVM logical volume

on RHEL 7.7 box, xfs file system using LVM , I ve been trying to reduce the logical volume in lvm by 20GB out of 300GB total , and add the 20GB Gained space to another Volume Group to be used by ...
-2
votes
2answers
15 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
12 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 ...
-1
votes
1answer
37 views

How to run a bash script which runs even when the terminal is killed? [duplicate]

I am trying to make an auto-run script, but it is getting killed when I close the terminal. We can not use screen or tmux. We can use standard tools only. Operating system is rhel7 Gnu/Linux.
0
votes
0answers
19 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
40 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
30 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
30 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
9 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 ...
-1
votes
0answers
36 views

Compare the .md5 hashes for two files using bash script [duplicate]

I downloaded the /bin and .md5sum files containing hashes of all the files in it and its sub directories. I have restored the /bin and ran an md5sum for all the files in all its sub directories and ...
0
votes
2answers
52 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
33 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
23 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
29 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
26 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
36 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 ...
-1
votes
0answers
44 views

yum failed on yum update because Transaction check error

we are facing a very strange problem we want to upgrade rhel machine from 7.2 to rhel 7.6 we build the repo as the following mount -t iso9660 -o loop /var/ISO/RHEL-7.6.iso /mnt mkdir /var/repo7.6 ...
0
votes
1answer
26 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
27 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
26 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
4 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
20 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
46 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
22 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
39 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
57 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 ...
0
votes
0answers
29 views

RHEL - Mounting CIFS Permission Denied (Error code - 13)

I understand that a lot of people have posted on this issue, I have read through a whole lot of them before I try to post this question. I have tried the many of the provided solution, none have works ...
-2
votes
1answer
50 views

yum + what is the safety approach to remove all rpm's from i686 type from rhel 7.x version machines

We want to remove the following rpm from all production machines servers , we have more the 152 servers machines ( rhel 7.6 ) , all Linux are x86_64 architecture, yum remove *.i686 -y this yum ...
1
vote
0answers
28 views

Redhat 7.7 dbus-org flooding messages log

After installing Redhat 7.7 and by checking the /var/log/messages, I found the following messages are coming every minute: Aug 24 19:33:00 dbus[1454]: [system] Activating via systemd: service name='...
-1
votes
1answer
45 views

linux + test dns resolving of hosts/ip's but without to wait a long time

we want to test , fast as possible the hosts/ip's resolving for example when we do the following host -a linux1 Trying "linux1.df.com" ;; connection timed out; no servers could be reached ...
0
votes
0answers
37 views

How to add a AD Group with a space in sssd.conf

we have several Redhat Linux servers configured with cross-domain authentication between two domains. However, in the second domain, all users of the Domain can login. we wanted to restrict it to only ...
0
votes
0answers
5 views

nodes connected internally in a computer cluster

I am no so geeky, but I want to know about it. I have access to a type of cluster where its nodes are not notified in the brochure. but when I see some configuration file of the application, I found ...
0
votes
2answers
42 views

Red Hat Enterprise Linux Server release 6.7 - Finding SAS & SSD Disks Info

I have a Red Hat Enterprise Linux Server release 6.7 system. I want to find SAS & SSD disks parts and which parts combine to form which mount points on system or database (Oracle 11gR2) level. For ...
0
votes
0answers
19 views

What dependencies pam_tty_audit.so requires to properly work?

I am trying to set up auditing on a server that multiple users are able to log in to and I saw examples of the USER_TTY message type of auditd. I have set up auditd rules and I would like to configure ...
1
vote
1answer
32 views

Add New Disks Using LVM to an Existing Linux System

We want to Add New Disk Using LVM to an Existing Linux System ( according to - How to Add New Disks Using LVM to an Existing Linux System ) We have the following rhel 7.2 server details pvs PV ...
0
votes
0answers
8 views

Enabling Huge Pages on RHEL6 for Oracle 18C xe

I have been trying to switch from oracle AMM to ASMM huge pages. I have done the following changes on RHEL 6 Added following entry in /etc/sysctl.conf ( as suggested by hugepages_setting.sh ) ...
0
votes
0answers
30 views

Need help deciphering `last reboot -F` output

I have a system where this is the output of last reboot -F reboot system boot 3.10.0-1127.13.1 Tue Aug 18 14:14:16 2020 - Wed Aug 19 07:14:44 2020 (17:00) reboot system boot 3.10.0-1127.10.1 ...
0
votes
1answer
28 views

Install tesseract offline in RHEL

I have an RHEL based server that does not connect to the internet. I need to install Tesseract >4.0 on this server. Therefore, my option was to download RPM packages from another and move them to ...
0
votes
0answers
8 views

Unable to install ibm domino server fixpack10 on RHEL8.2 server

After installation of IBM(HCL) domino9.0.1 mail server on RHEL8.2(64bit), I am trying to apply domino fixpack10 on it but unable to install it. getting the message:- "Installer is initializing. ...
0
votes
1answer
51 views

How to install Nvidia drivers for RHEL8

I am trying to install the Nvidia drivers for my graphics cards on Red Hat Enterprise Linux 8. I open the terminal and change my directory to Downloads and type su then ./NVIDIA-Linux-x86_64-440.59....

1
2 3 4 5
66