Questions tagged [redhat]

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

Filter by
Sorted by
Tagged with
0 votes
3 answers
43 views

How to copy file from /opt directory in local system to remote system in /opt directory with sudo user

I have redhat machine in this machine having some file under the /opt directory. I want to copy those file in remote machine /opt directory using rsync command. The condition is i'm using admin user ...
0 votes
0 answers
12 views

mteTrigger snmpTrap not getting fired when NTP is down

I'm trying to generate DISMAN EVENT whenever NTP is down by extending snmp. Have written shell script to extend mib. Using NTPv4-MIB https://datatracker.ietf.org/doc/html/rfc5907. In the custom pass-...
0 votes
0 answers
10 views

Cluster Openshift on AWS with IPI, installation error no such host

I'm trying to deploy an OpenShift cluster on AWS using the IPI installation. I've used a t3.xlarge instance and followed the steps in the following guide https://docs.openshift.com/container-platform/...
0 votes
2 answers
766 views

systemd service definition for SAP (or any other application) start

I have issues to configure a systemd service for starting and stopping SAP (or any other appliaction). I am new to configuring systemd services and please have mercy asking "stupid" ...
2 votes
0 answers
42 views

STIG'd RedHat 8 kills tmux session upon SSH timeout

I am working on a Red Hat Enterprise Linux (RHEL) 8 machine with the DISA STIG applied via OpenSCAP. The STIG requires that users be automatically dropped into a tmux session, that tmux session locks ...
1 vote
0 answers
40 views

Hadoop + warnings as slow block-receive from data-node machines

We have Hadoop cluster with 487 data-nodes machines ( each data-node machine include also the Service node-manager ) , all machines are physical machines ( DELL ) , and OS is RHEL 7.9 version. Each ...
0 votes
0 answers
37 views

FreeIPA fails to deploy in kubernetes due to dbus error

I'm facing issues with deploying FreeIPA in kubernetes. I'm using provided image based on rocky 9, but this issue also happens on other images (based on fedora, CentOS etc.). Deploying it my local ...
0 votes
1 answer
46 views

what is the link between SAR memory output and free command?

I now understand a bit more RAM usage in linux OS and I knwo that I can use free -h to have correct knowledge about RAM utilization in my server. but I also have SAR that is working on my server and I ...
0 votes
2 answers
187 views

What is the minimum memory requirement for RHEL 4?

I know RHEL 4 is ancient history now, but trying to find minimum memory requirements on the Redhat website is proving to be almost impossible (or I'm searching for the wrong thing). Minimum CPU ...
1 vote
1 answer
2k views

`mpstat` sometimes shows above 100% CPU usage

Running mpstat -P ALL on one of our servers returns the following: 06:48:02 AM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s 06:48:02 AM all 15.61 0.08 84.09 ...
0 votes
1 answer
59 views

Creating mount namespace and isolating mount points redhat

Trying to get a grasp of all the namespaces and im following this doc https://www.redhat.com/sysadmin/mount-namespaces, in here everything was fine until i got to the Creating our mount namespace ...
0 votes
0 answers
22 views

Update-alternatives does not update all Java symlinks

I'm getting some strange behavior from update-alternatives on RHEL 7.9 when I have Amazon Correto Java 11 and the normal Java 1.8.0 both installed. When Correto is selected as the default, this is the ...
0 votes
1 answer
86 views

RHEL + how to know the limit of concurrent connections number per port?

how to know the number of concurrent connections per port on RHEL 7.x machines for instance, let say we connect to port 9080 with XXXX concurrent connections. wget http://server_mngmnt.jupiter.com:...
0 votes
0 answers
57 views

YARN resource manager "HTTP request sent, awaiting response..."

we have Hadoop cluster with active/stand by resource manager services the active resource manager is on master1 machine and the stand by resource manager is on master2 machine in our cluster YARN ...
5 votes
3 answers
2k views

Accidentally ran chmod 775 -R / (not ./) on linux server (RedHat)

I accidentally ran sudo chmod 775 -R / instead of sudo chmod 775 -R ./ on my server and screwed up the permissions for everything. Now the server is broken. Anyone know how I can quickly fix this???
0 votes
0 answers
31 views

PostgreSQL + Removing old Host from DB not succeeded

We have HDP cluster with 152 workers machines - worker1.duplex.com .. worker152.duplex.com , While all machines are installed on RHEL 7.9 version We are trying to delete the last host - worker152....
1 vote
1 answer
442 views

kafka cluster RAID vs JBOD with new hardware and kafka versions

we want to design production kafka cluster with 7 kafka machines , on RHEL OS kafka version should be - 2.7 usually we are installing the kafka machine/s disks as RAID 10 ( as confluent recommended ) ...
0 votes
2 answers
8k views

How to add a DUD driver to CentOS/RHEL 7 media (without network)?

I'm working on making an offline installer for something I currently build using PXE and RHEL 7. The servers concerned (Dell 14G) need an addition driver loaded for the RAID controller. In the PXE ...
1 vote
0 answers
29 views

Support Multiple Service Dependencies in Requires Directive in RedHat 8.9

Thank You for looking into the question. I have a Systemd service lets call it main-application.service which needs service testA.service and testB.service started before start of itself. Following is ...
0 votes
0 answers
40 views

Create custom SELinux policy with full access

I have a process my_process which should have access to all processes, files, ports, network traffic, etc. This process needs to work with SELinux. How can I configure the appropriate policy? I tried ...
0 votes
1 answer
54 views

do I need to monitor zombies process in my redhat 7.9 server?

I have a 7.9 redhat server with around 30 users, 64 cores and 512 Go RAM. I have several zombies process, I don't know exactly what did user to create these but I have the feeling after reading stuff ...
0 votes
1 answer
6k views

ldapsearch - Get all members of a CN (nisNetgroupTriple)

I'm a bit new to using LDAP, especially non AD LDAP. We use RedHat Directory Server and was trying to do an LDAP query (filter specifically) that would retrieve all the users (and their attributes) ...
0 votes
2 answers
84 views

Grant sudo based on SELinux

I've recently come across SELinux and sudo. Is it possible to allow users sudo when SELinux is permissive, and block these while allowing others when SELinux is enforced? I've looked at section 3.9. ...
1 vote
4 answers
227 views

How to monitor RAM consumption on Red Hat 7.9

Red Hat 7.9 server with 512 GB RAM. We often have alerts about swap being full. Swap is often used 99%. Our server admin told us it is normal for linux to have swap used 100%. There is no way to check ...
0 votes
1 answer
32 views

how to manage NFS network consumption on redhat 7.9 server ? for instance to know which process/which user use the most the NFS link?

I have a server master that contain tools and home directories for all users. then 3 servers are NFS slave connected to the master. user are connected to the slave and they get their home folder ...
1 vote
0 answers
64 views

why apache Kafka documentation not gives the ability to use Kafka over NFS as Netapp

We read the latest apache documentation as https://kafka.apache.org/35/documentation.html And what is interesting is that , documentation not mentioned the option to use storage over NFS As Netapp or ...
0 votes
2 answers
7k views

Postgres Remote Connection Timeout

I've been reading tutorials extensively to help figure out my problem, but to no avail. I have a Redhat VM that I've installed Postgres on that I'm trying to make available for remote connections. ...
1 vote
0 answers
42 views

Filesystem resource failed, Error=timeout during failover resource on pacemaker cluster

I try to setup NFS Active/passive + DRBD on Pacemaker cluster. When i start cluster for the first time every things is ok but when i shutdown master node, resource move to another node but failed on ...
1 vote
2 answers
109 views

iSCSI shared disks with custom device name on clients

I'm using RHEL 7.9 (Maipo) and need to setup for all iSCSI clients the same device name, like /dev/sdb or /dev/thiscustomname. I could do that by sharing the source disk using multipath, but for Db2 ...
0 votes
0 answers
47 views

Unable to login with domain users through xrdp in RHEL 9

I have setup Xrdp in RHEL workstation for remote login from windows machine through mstsc. And I have joined the RHEL workstation to Active directory server. I am to login to local users create in ...
0 votes
1 answer
22 views

How to send rotated logs to rsyslog server?

I want to send all the rotated logs from client to my rsyslog server. I already tried using the modfile, but it sends the running logs not the rotated logs (gunzip).
0 votes
1 answer
53 views

vmstat + on RHEL machine high values of swpd

The swpd field indicates how much swap space has been used; this value increases when the systems physical memory is full and the Linux kernel starts to use the swap partition/file. When the systems ...
3 votes
2 answers
18k views

How to physically shut off network interface in Linux (Redhat/Centos)

Is there any way to shut off a network interface on a Linux box from the command line? By shut off, I mean to make the link power down as per a Cisco switch's "shutdown" command. ip, and ...
0 votes
1 answer
8k views

Error using mod_jk in httpd: undefined symbol: ap_get_server_version

We just recently installed a new RHEL7 server. Inside of this server, we have a bunch of vhosts, and inside the vhosts there is a couple of lines that looks like this - JkMount /rules_engine/...
1 vote
1 answer
418 views

RHEL + how to prevent OS disk - sda to change after reboot

We installed RHEL 7.9 version on physical machine., when sda device was the OS. The machine has the following disks. sda - OS disk sdb - data disk sdc - data disk After reboot OS disk device changed ...
0 votes
1 answer
79 views

Login prompt reports 4 failed login but the log shows only 1 entry

I just logged into my small homeserver and I saw this message: Last failed login: Sun Jan 14 17:08:42 CET 2024 from 192.168.1.111 on ssh:notty There were 4 failed login attempts since the last ...
0 votes
1 answer
11k views

Selinux is preventing to start Tomcat

I have a problem when I launch tomcat on RHEL 8: [root@TEST ~]# systemctl restart tomcat.service Job for tomcat.service failed because the control process exited with error code. See "systemctl ...
2 votes
1 answer
5k views

CentOS 7 rpc_pipefs mount options not persistent after reboot

I'm trying to mount rpc_pipefs with a nodev option. Initially, I tried doing this by editing the /etc/fstab file and adding an entry for it. Tried: sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs ...
0 votes
1 answer
12k views

pg_ctl: could not start server

I am trying to start the PostgreSQL server installed on a remote Redhat server(RHEL 6.7 x86_64) through putty. The command that I used to start the server is /etc/init.d/postgresql-9.5 start But it ...
16 votes
1 answer
28k views

linux + lvextend vs lvresize - what are the differences

what are the diffrences between lvextend to lvresize as the below example? lvextend -L+1m /dev/mapper/rootvg-home lvresize -L+1m /dev/mapper/rootvg-home dose the both examples do exactly the same ?...
0 votes
0 answers
92 views

System boots with error in systemd-modules-load.service

During the boot of my homeserver (RHEL9), I noticed an error message regarding systemd and some kernel module. I checked the following: [root@homeserver ~]# systemctl status systemd-modules-load....
0 votes
0 answers
100 views

Is it possible to limit the size of a CIFS/SMB share when mounted?

I have one big 5 TB (and growing) CIFS/SMB share stored on HDD (RAID) on one centralized server for main storage (and backup) and plan to use several additional Linux servers (as proxies) where I ...
4 votes
1 answer
6k views

clvmd problems during the RHEV cluster deployment

We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully: ...
0 votes
1 answer
183 views

What is the correct KVM VM vCPU config in cockpit for proper load balance on physical CPUs

I have dual CPU server. I want to run some VMs on top of it. While configuring VMs thru cockpit (on redhat 8.0). I cam across this screen: I just want to allocate 8 cores with 4 on each physical CPU. ...
-1 votes
1 answer
589 views

PermitRootLogin set to no but can still use root on Centos Stream 9

Im following an RHCSA training course and to disable root I need to set PermitRootLogin to no in the /etc/ssh/sshd_config file and restart sshd using systemctl. I've done all this and can still login ...
5 votes
3 answers
26k views

yum list available - not showing all packages

I have a strange problem with yum, working on one server and not working on another server that should be identical. The symptom is that after running createrepo on a directory containing RPMs (and ...
3 votes
1 answer
21k views

Why can't I log in to a linux server with network error: Connection timed out

Hey guys, I am having a problem with connecting to a red hat enterprise linux server through ssh, the following error appears: "Network error: Connection timed out" The server is located on a VLAN ...
-1 votes
1 answer
418 views

High Load Average but Low CPU Usage

I'm trying to find the cause of the high load average on our server running in RHEL 8. The top command shows that our load average for 1, 5, and 15 is more than 250+. Also, server is responsive at the ...
1 vote
2 answers
397 views

Problems deploying Ansible playbook to Linux server using python3.8 - selinux python module does not assign correct contexts

I run an Alma 8/9 estate and use Ansible to deploy various config changes, and I've run into an unusual problem on one of my client boxes. Alma 8 by standard comes with python 3.6, which works quite ...
2 votes
2 answers
3k views

Red Hat - Berkeley DB library - Corrupted DB

I am getting the below errors while executing the yum or rpm command. error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-...

1
2 3 4 5
66