Questions tagged [rhel]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Test timeout a SSH connection on Bash Script

So I have a script that giving a server list connects to that server list and send multiple ssh connections, mainly scp and ssh, maybe I'm overcomplicating this but since I need a log about what I do ...
1
vote
1answer
27 views

how to show when last time RHEL system was “patched”?

At work we are tasked with (i.e during and inspection or audit) showing when the system was last patched. This is all that is asked. Of course I asked the inspector how do you want me to show you ...
1
vote
0answers
29 views

iostat + how to define util disk threshold on disks

as all know the last column is %util, if that is below 100, you can still put some IO load there. Of course, you always want to have some reserve, so 60-90% is a realistic target based on the ...
1
vote
0answers
9 views

Linux Environment on Chromebook Opens Other Programs When Starting Folder

I have been having an issue with the Linux environment on chromebook. I installed Warpinator using flatpak on my Linux environment and noticed it doesn't show other computer or my phone as available ...
2
votes
2answers
38 views

Is Oracle Linux with Red Hat compatible kernel identical to RHEL?

With CentOS dying and being reincarnated as an upstream beta of RHEL, I have been searching for alternatives that can be used in production. Oracle Linux emerges as the most likely candidate. I ...
1
vote
1answer
21 views

yum error and configuration for redhat

I followed the instructions but it did not work [root@Ready4Use ~]# yum clean metadata Loaded plugins: product-id, search-disabled-repos, subscription-manager Network error code: 400 Cleaning repos: ...
1
vote
1answer
32 views

Disabling core-dumps, when filesystem is almost full

We make good use of the core-dumps and don't want to disable them completely. At the same time, we don't want them to fill up the filesystem. Can Linux be told to disable them automatically, when the ...
0
votes
0answers
23 views

Why are there 'yum' search results for “libXrender” but not “libXrender.i686”?

Why are there yum search results for libXrender but none are returned for libXrender.i686, when libXrender.i686 is a package that exists? I am assuming the . has something to do with it?
-1
votes
0answers
15 views

Unable to join the cluster , node fencing each other

I am unable to join the cluster between 2 nodes. once the rgmanager starts the cluster is fencing the nodes. Please suggest
1
vote
0answers
18 views

How do I TFTP download from base directory mounted to a drive partition

I am working with an external SATA drive, and would like to be able to have remote hosts be able to TFTP download files from it. However, when I set my TFTP base directory to my mount location, I get ...
1
vote
0answers
11 views

cifs mount without owner or permissions on RHEL8 (but fine with RHEL7)

So on RHEL8, I'm connecting to an Isilon storage appliance via CIFS. The mount options in fstab are rw,vers=2.1,nobrl,credentials=*****,uid=sviibtst,gid=mqbrkrs,dir_mode=0770,file_mode=0770,_netdev. ...
2
votes
1answer
27 views

rhel + any best practice to minimize the CLOSE_WAIT sessions from linux side

when we perform the following cli on our rhel machine we get more then 600 CLOSE_WAIT lines lsof -i tcp:8088 | grep CLOSE_WAIT java 31100 yarn 385u IPv4 208022048 0t0 TCP master02.hgti.com:...
0
votes
1answer
30 views

RHEL7 - very long start times on JRE

I'm using RHEL7, and I've ran into problems with Pycharm where it takes a very long time to start, a few minutes. According to the logs, it's mostly waiting for the JRE/JVM to start. So I tried to ...
1
vote
0answers
21 views

Can I make yum override /etc/yum/vars/ contents, or use a different way to write in a default minor version?

I've got a system that has to stay on CentOS 7.3 in order for some SAN FibreChannel software to work. I know in theory if something works in any 7.x it should work in the latest 7.x, but the ...
0
votes
0answers
24 views

TMOUT readonly in /etc/profile or /etc/bashrc generates error on login [duplicate]

On Redhat8 when I add following line to the end of /etc/profile or /etc/bashrc readonly TMOUT=900; export TMOUT then I start getting warning (?) on ssh login: -bash: TMOUT: readonly variable This ...
0
votes
0answers
6 views

Drive icon on other locations disappear on mounting Windows drive using terminal but i am able to access it using terminal

I am using RHEL8 and I want to mount a particular drive (type=ntfs) from Windows. In the file explorer there is a section "Other Locations" where the list of all drives available is present. ...
0
votes
0answers
25 views

install dedicated git for one app only in RHEL 8

What specific syntax must be used in order to install a dedicated instance of git to be used by one app running in RHEL 8? The command to run git must look like: path/to/git clone somerepo.git ...
0
votes
1answer
21 views

Oracle VB /dev/mapper/rhel-root 100% full

I can't figure out the solution. I tried to do pvcreate /dev/sda3 but it's showing me an error: Device /dev/sda3 not found. I was following this: Oracle VM Vitualbox - Extend centos root file system
4
votes
0answers
43 views

Why usual commands can't see a file within a cifs mounted directory?

I have a case where an existing file within a CIFS mount hosted DELL/EMC Unity appliance can't be seen by ls, find or tree. Only giving the absolute path of the unseen file makes ls and other commands ...
2
votes
0answers
27 views

What events cause ExecStop script to run in systemd?

We have a systemd service that invokes several tomcat instances. [Unit] Description=Tomcat Services After=network.target multi-user.target [Service] Type=forking ExecStart=/users/mwe/scripts/appstart....
0
votes
1answer
91 views

How to recover accidently deleted files from RedHat file server

one of my friend accidently deleted all files (jpg and pdf) from file server by using rm -rf command .is there is a way to recover those files with actual file names? key points - there is no backups ...
0
votes
1answer
12 views

KDE Autostart Missing Library

I'm trying to debug an issue with a SH script in my KDE autostart directory (~/.kde/Autostart). I'm running Scientific Linux 6.4 (kernel 2.6.32-754). The script simply launches an application. This ...
0
votes
0answers
18 views

Error when installing oracle database rpm

I am getting an error when I try to install the oracle rpm. I tried to fix it using --nodigest but it says file not found.
0
votes
2answers
83 views

RHEL + backup huge partition over network to local folder

we want to perform backup of /DB_TABLES from remote server to our local /bck ssh root@main_server "tar cfz - /DB_TABLES" |tar xz -C /bck since /DB_TABLES partition on remote sever is 1.4T ,...
0
votes
1answer
54 views

rhel + how to increase sdb1 after increasing sdb disk

on our rhel 7.2 VM server we increased the sdb disk ( not LVM ) from 200 to 220G , as the following ( sdb is with xfs fs ) sdb 8:16 0 200G 0 disk └─sdb1 8:17 0 200G ...
0
votes
2answers
128 views

How to ignore the error from mv: cannot move ‘XXXXXX to a sub directory of itself

On our RHEL 7.6 server we create the following folder # mkdir -p /var/data/data-logs_temp the second part is to move all content under /var/data/ to /var/data/data-logs_temp by: # mv /var/data/* /...
-2
votes
0answers
42 views

linux + how to change the mount point folder while sdb disk size (not OS ) is huge size [closed]

We are working on RHEL 7.2 server /var is only 100G size And sdb disk is 3T size We have the following mount point folder df /var/data/data-logs1 /var/data/data-logs1 And /etc/fstab looks like /dev/...
0
votes
0answers
11 views

SElinux “denied” IDs missing in /var/log/audit/audit.log

I have "avc: denied" entries in /var/log/audit/audit.log and want to see details for it with command "sealert -l [message_ID]" however I can't find it in audit.log nor in /var/log/...
0
votes
0answers
26 views

NO java, available on Redhat 7.9 linux server

I'm trying to install java on redhat 7.9 and I tried everything on the net to install it but to no avail ....it keeps giving this message: Loaded plugins: product-id, search-disabled-repos No package ...
0
votes
0answers
25 views

How do I set-up a PKI certificate-based SSH login in a REHL8 Virtual Machines

Do I need 3 virtual machines to do so? One for CA, Client and server? Is there a full and complete guide for doing so? It seems like every article insist on having some sort of requite knowledge. ...
0
votes
0answers
11 views

mach-default not found

On the Red Hat Enterprise Linux release 8.3 (Ootpa) machine where I am trying to compile a proprietary driver originally built for RHEL6 (we had been provided with the source code by the vendor), and ...
0
votes
1answer
51 views

more swapping on RHEL8 than RHEL7?

we've been having a Linux application for quite some time (our journey started a decade ago with RHEL 4). We were recently running our app on RHEL 7.9 and are now moving to RHEL 8.4. We've always ...
0
votes
1answer
43 views

RHEL + how to verify the dmesg log in order to find the root cause of unexpected reboot

we have RHEL 7.6 server ( VM server ) that performed unexpected reboot twice ( we can see the reboot from last command ) after review on dmesg output , we can see the following messages , Jul 3 09:...
1
vote
0answers
28 views

Missing dhclient.leases file in RHEL8/VMware environment

I am using RHEL8 in VMware Workstation. How does the DHCP work? There is no /var/lib/dhcp/dhclient.leases file.
0
votes
0answers
33 views

Unable to start (SysV init) script with systemd service in RHEL 8.2

I'm facing an issue where ExecStart of a SysV init script is failing in RHEL 8.2. I don't have this issue in RHEL 7.9 with the exact same init script and service unit setup. Went through quite a bit ...
0
votes
1answer
23 views

Is stratis service suppose to create /stratis for device files?

According to redhat documentation on - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/managing-layered-local-storage-with-stratis_managing-file-...
0
votes
0answers
31 views

lsof not working in emergency mode?

I have Linux Centos 7. My server keeps booting in emergency mode: xfs (dm-0): failed to recover intents journalctl gives me: Failed to mount /sysroot Mounting /dev/dm-0 fails to mount. I'm trying to ...
0
votes
1answer
23 views

Can you use lvresize -r to both ext and xfs?

I was wondering instead of using lvextend and then using xfs_growfs or resize2fs, can I just use lvresize -r option to extend the volume and the filesystem together? For xfs, the volume has to be ...
0
votes
0answers
11 views

Need help about PHP 7.4.19 with Apache 2.4.46 on RHEL 7.2 - PHP missing intl extention

It's me again. After I finished installing Apache 2.4.46 with PHP 7.4.19. I then access my own web with local IP. The PHP modules loaded fine and I could access phpinfo.php. However, when I accessed ...
0
votes
0answers
11 views

Need help about PHP modules on RHEL 7.2- Apache shows code instead of executing it

On my rhel 7.2 system, I finished installing Apache 2.4.46 and PHP 7.4.19. However, when I start apache and access to my own php file, it shows source code instead of executing it. I find some ...
0
votes
1answer
20 views

Seeking advice on source of compilation errors in kernel header files

As part of my current project, I am trying to compile some proprietary device drivers (originally compiled successfully for Redhat6 kernel version 2.6.32-504.el6.x86_64 using the vendor supplied ...
0
votes
0answers
14 views

Convert RHEL Install into Bootable ISO

I have a Clonezilla-saved image of RHEL with some custom software installed and I need to make it into a bootable ISO for DVD. One of the major problems I have is this version of RHEL was part of an ...
1
vote
0answers
28 views

Need help about apache 2.4.46 configuration on rhel 7.2!!! (HTTPD_ROOT)

The first time I installed Apache 2.4.46 from source downloaded on the Internet , I just run ./configure && make && make install, so the default directories for this are : ServerRoot = ...
0
votes
2answers
65 views

How to concatenate 12000 files into 4 files based on first line?

I have 12,000 files in a folder that have a similar naming convention because I used csplit on a larger file. I need to sort these files by the first line in the file, and concatenate the similar ones....
0
votes
1answer
54 views

Inplace upgrade from RHEL 7 to RHEL 8

I am trying to do inplace upgrade from RHEL7 to RHEL8 using yum and ISO without amy subscription manager. This is for my development purpose and so there is no subscription attached to it. I mounted ...
1
vote
0answers
42 views

turn off display via CLI in RHEL 8

Have a laptop running RHEL 8.4 without the gui. I would like to power off the display. I use to run vbetool dpms off on ubuntu but that doesn't work, user@server# ls /sys/class/drm card0 card0-DP-1 ...
1
vote
1answer
105 views

RHEL : what does “\S Kernel \r on an \m” mean in /etc/issue.net?

If I cat /etc/issue.net, it has this inside: \S Kernel \r on an \m When I use this as the ssh banner, it does not expand and just prints it as it's written. What is this?
1
vote
1answer
18 views

Port redirect program with non configurable port

I am trying to run vscode-server which currently has no functionality to change which port the server is run on. The port its set to use by default is currently in use by another program. Is it ...
1
vote
1answer
81 views

What repository provides ksh for RedHat universal base image version 8 (ubi8)

Please tell me if RedHat provides a repo with the ksh RPM for their Universal Base Image version 8 (ubi8). The UBI images are great because they are pre-configured to fetch RPMs from many repos but ...
0
votes
1answer
20 views

Disable specific USB ports on RHEL 6

I need to disable only 4 of 8 USB ports on my workstation. Unfortunately BIOS doesn't allow me to disable single USB port so I need to do this in RHEL 6. Then, I need to configure which of the allowed ...

1
2 3 4 5
70