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
0answers
14 views

creating a firewall playbook using when condition

I am trying to create a playbook to check if the firewall is running, if so add the rsyslog port. If the firewall is not running, id like to skip the port adding step. Please help me!
0
votes
2answers
21 views

Rsyslog running on RHEL unable to forward messages - rsyslogd: action 'action 8' suspended

I'm trying to configure an rsyslog agent which will forward the log messages to a centralized server. However, I get the following error. The link provided in the error message does not specify the ...
2
votes
1answer
18 views

Unable to disable yum repository 'RhnRepo' object has no attribute 'cfg'

I've been unable to disable the following repo, also I can't seem to find a config file anywhere, so I would imagine it was removed manually: yum-config-manager --disable rhel7-x-suse-manager-tools-...
0
votes
0answers
40 views

ntp + ntp loose synchronize each time in 5:00 morning

we have a very strange behavior we have 12 Linux redhat machines - redhat 7.x two of these VM servers are loosing the time synchronize each day at 5:00 in the morning after we restart the chronyd , ...
7
votes
1answer
1k views

Used PowerShell to change my RHEL root passwords via PuTTY, but I don't know what I changed my password to

Basically the title. My friend provided me a script to batch change RHEL passwords via Powershell and PuTTY, but the new password I entered doesn't work when I try to log in. I think the issue is that ...
0
votes
1answer
29 views

RHEL 7 / Centos 7 Copy package with all depedencies from server A (installed package) to server B (offline)

I have two server,then these servers need to install postgresql10 , server A could install postgresql10 using yum install , but server B has a rule that is not allowed to connect the internet. So I ...
0
votes
0answers
13 views

nginx shooting 401 when I'm trying to access my applications api

I have a huge problem with nginx. I am 95% sure that it is the cause of my problems. My actual nginx config looks like this: worker_processes 1; events { worker_connections 1024; } server { ...
1
vote
1answer
15 views

RHEL 7.4 adding permanent static route error

I need to add a static route to my system. I can do it with no problem at the command line with: ip route add 10.126.2.0/23 via 10.126.1.5 src 10.2.14.205 To make it permanent I created the /etc/...
0
votes
0answers
16 views

How to test failover in Red Hat identity management system setup across different geographical locations?

We are working on seting up an IDM. We have a master-replica setup in different geographical locations. In each location, we have configured an IDM server and its replica. The goal is to achieve the ...
0
votes
0answers
18 views

error: rewrite or internal redirection cycle while internally redirecting to “/index.html”

I have a problem with nginx configuration. Everything worked fine in Docker, but I had to resign from Docker, and things started to happen. Actually I get an 500 internal server error when trying to ...
-2
votes
1answer
57 views

CentOS 6 to RHEL 8: Migrate to New Hardware then Upgrade OS -OR- Upgrade OS then Migrate to New Hardware [on hold]

I have to migrate five physical servers (Dell R510) to new physical hardware (Dell R440) and, also, upgrade them from CentOS 6.2 to the latest RHEL OS. Which is the best route? Migrate the servers to ...
0
votes
0answers
11 views

Cannot serve node application [duplicate]

I cannot hit this node application from the browser 52.138.7.79 refused to connect. but i can load up nginx on 80 fine. also i can hit it on the machine using curl. This is running on a Azure Vm and ...
0
votes
1answer
30 views

Building rhel7-atomic Dockerimage on Windows 10

My host system is windows 10 and I would like to build a Docker image based on rhel7-atomic. Dockerfile: FROM registry.access.redhat.com/rhel7-atomic RUN microdnf --enablerepo=rhel-7-server-rpms \ ...
0
votes
0answers
29 views

How do I change the permissions of files uploaded in /tmp/ by Apache running PHP?

We are running a Moodle (PHP) website. PHP is running as an Apache process using mod_php. We have the following directives: LoadModule php7_module modules/libphp7.so LoadModule php7_module modules/...
0
votes
0answers
30 views

Need to correlate ps and load average

Let's say that I have 4 CPUs. In that case, load average should not go beyond 4 for better performance, it means only 4 threads can be run at a time (i.e., only 4 should be in R status in ps output). ...
0
votes
1answer
38 views

mount: cannot mount block device

I have nfs share mounted to RedHat server. server:/NFS/Test on /test/test/nfs type nfs (ro,n...... Now I want bind mount each folder inside this share to other place. sudo mount --bind /test/test/...
0
votes
0answers
41 views

Configure multiple interfaces on RHEL7 with routing

We have a reverse proxy which has 2 network interfaces. One with a public IP and one with a private IP. So clients use the extern interface and web servers the intern one. But for the admins it's ...
0
votes
1answer
35 views

How to swap(with yum) two rpms on fly?

I'm trying to install MPTCP(Multi-Path TCP) enabled kernel and tools on a CentOS7 box according to the installation doc. It needs 3 rpm packages to be installed. I encounter a trouble when I ...
-1
votes
1answer
71 views

Connecting Blade OS to Internet with Cisco 3020 Switch Module

I am very new to server networking, and appreciate any help. I have an HP c7000 with Proliant G8 blades. I have installed RHEL, Centos, and Windows Server on different blades, trying to get any of ...
0
votes
2answers
60 views

Subject: status=bounced (Host or domain name not found. Name service error for name=e-address.myserver.com type=A:

I wanted to send a message using seamonkey mail but it didn't worked. The server is redhat 7.6 with postfix 2:2.10.1-7.el7. The Firewall are disabled on linux server. I'm giving you the following ...
8
votes
1answer
976 views

Dmesg full of I/O errors, smart ok, four disks affected

I'm working on a remote server (Dell Poweredge) that was a new install. It has four drives (2TB) and 2 SSD's (250 GB). One SSD contains the OS (RHEL7) and the four mechanical disks are eventually ...
0
votes
0answers
33 views

Mdadm Create array on partitioned disks - failed to write metadata to disk

I'm trying to setup a raid array for a server. The array is going to be RAID 5, consisting of 4 disks, sdc, sdd, sde, sdf I need three partitions of specific sizes (2gb 200gb 700gb) and they need to ...
0
votes
0answers
16 views

hardening-check on all sub-folders

how would I go to automate "hardening-check" on an entire OS? I can do it manually with /example/* but if there is a folder in /example/ it will just skip it. I haven't found a way to do the check on /...
1
vote
0answers
19 views

Mount Windows share in RHEL, while managing NTFS permissions on the windows side

I have a requirement to mount a Windows share (\windows1\share$) on a RHEL server (RHEL1). To mount the windows share, I'm using an Active Directory service account. The service account has share\...
0
votes
1answer
57 views

Failed to enable unit: Access denied - while enabling a service on AWS REHL instance

When I run this command sudo systemctl enable /home/ec2-user/my_custom.service I get Failed to enable unit: Access denied And When I run systemctl enable /home/ec2-user/my_custom.service I get =...
0
votes
1answer
36 views

Java 11 on RHEL 7.3

Red Hat list support for OpenJDK 11 as added in RHEL 7.6. Does this mean that OpenJDK 11 will not function prior to 7.6, or that Red Hat have provided specialist support for installing OpenJDK 11 in 7....
0
votes
1answer
38 views

Limiting total number of incoming connections for a port with iptables for high loading server

I have a server program listening on a port, and I want to limit the total number of incoming TCP connections for the port. I tried the following rule: -A INPUT -p tcp --syn --match multiport --...
1
vote
1answer
57 views

SFTP asks for passphrase for unencrypted private key, but WinSCP works fine?

Summary: I want to SFTP a file from one server to another, authorizing with a private-key. I believe the public key is installed correctly (WinSCP lets me log in with private key), and I ...
0
votes
1answer
32 views

CRON starts to skipping to the next minute

I am setting up single minute crons to the crontab via a bash script for a load testing purpose. There is no issue with the script executing and the crons are added up and i can monitor crons are ...
0
votes
1answer
52 views

How would you reply to the argument “RHEL is more secure than Ubuntu”?

Important: I'm not trying to ask here if indeed RHEL is more secure than Ubuntu. This is not an "opinion" question. Rather, I'm asking, if someone makes the above argument, how would you prove or ...
1
vote
1answer
37 views

LVM. How to reduce size of /data and extend /home

I have a production server in which I need to move space from /data (3.7 T) to /home (50G) using lvm, I need to move around 200G of space. The solution I'm thinking of is reducing the size of /data ...
1
vote
1answer
23 views

Jailkit/Chroot - Allow Less and More

I have the need to add the LESS and MORE commands to a jailed-user. I've attempted the following and can't quite get it to work: # which less;which more /usr/bin/less /usr/bin/more Now that I ...
1
vote
0answers
15 views

nft_connlimit on RHEL 8 kernel 4.18

Does anyone know what happened to nft_connlimit module on RHEL 8 for nftables? This should be available from Kernel 4.18 onwards but cannot find it anywhere in the available kernel modules. Because of ...
1
vote
1answer
19 views

Can you install a repo as a yum dependency?

I believe the answer is no, and I understand the security implications, but I just want to make sure I am not crazy. It's hard to believe no one has asked this before, but I haven't been able to find ...
0
votes
1answer
21 views

How to get ilo gen/version

Im trying to find a way to get the ilo gen, currently our blades are a mix of ilo versions/generations. When I run: curl https://someip/rest/v1/Systems/Processors -i -u ilo-admin:[somepassword]--...
-1
votes
2answers
43 views

Trying to upgrade RHEL 6.10 - yum errors - how to proceed [closed]

I'm trying to upgrade a Redhat 6.10 box to 7. It's a web hosting box. I have been unable to update it in a while and so as expected, upgrading wouldn't be as easy as it should be. I tried yum upgrade ...
1
vote
1answer
30 views

Automount nfs on redhat 7.2 not works

I have the following nfd share folder on my linux client ( redhat 7.2 ) master1:/nfs 41932800 6601728 35331072 16% /nfsshare we decided to use the service auto fs in case this share ...
1
vote
1answer
101 views

RHEL 7.6 - Bootable USB created with kickstart only works on the system it was created on

[Edit] I got it to work using this thread: https://access.redhat.com/discussions/1422213 The actual script was simlar to this: mkdir "/var/tmp/RHEL-7.6 Server.x86_64" # cd "/run/media/jradtke/...
2
votes
1answer
41 views

error while installing perl-Moose on red hat linux

I am seeing the errors below while installing perl-moose using command yum install perl-Moose Can someone please help me with commands on how to install these dependencies? Thanks in advance Error: ...
2
votes
0answers
131 views

ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

My environment: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) # uname -a Linux X.Y.Z 3.10.0-957.12.1.el7.x86_64 #1 SMP Wed Mar 20 11:34:37 UTC 2019 x86_64 x86_64 ...
0
votes
0answers
99 views

Syncing Red Hat 7 Repo in Spacewalk

While setting up my Spacewalk server I have ran into problems syncing Red Hat Server RPMs. My Repository Details are as follows: **Repo Label:** redhat_7.x86_64 **Repo URL:** https://cdn.redhat.com/...
1
vote
2answers
56 views

failover two redhat node

I want to know is it possible to failover 2 Redhat physical nodes. both nodes are identical and they dont have any shared storage. I want to failover two separates redhat physical nodes when NodeA ...
0
votes
0answers
128 views

Issues booting VM

I am new to Linux, and have inherited a VM that is running centos. It sat idle for about 2 years with no-one touching it. I have run some updates to get the system up-to-date. I think I accidentally ...
0
votes
1answer
28 views

What is the correct port_type for rhsmd service?

I'm running RHEL 7.6 from behind a proxy. I've entered the proxy information in a few configuration files and have generally succeeded in gaining access to the rhel repositories, especially when using ...
0
votes
0answers
14 views

ACL failure after directory setup

I'm trying to setup ACL for a specific directory but man!! this is getting too complicated, not sure what is going on here. User zeus is trying to access set_folder in /opt/omari/DCTIXE/, which ...
2
votes
2answers
104 views

Getting compiled Python mod_wsgi module working on Apache server with SElinux enforcing mode

Trying to get my Python/Django app working on a RedHat Server in an ideal setting. Could not use the mod_wsgi from the package as it has some dependency issue when checking for modules in my virtual ...
0
votes
0answers
16 views

Autofs Windows Active Directory users home directory to rhel that only they can see it

I have a client that has two groups with different users on a Windows Active Directory, they also have a rhel machine with sssd authentication that the users will do the authentication on the AD ...
2
votes
1answer
43 views

Preserve existing volume during Kickstart install

So, I've got a server running Scientific Linux 6.9 that I want to install 7 on. Upgrades are apparently not supported, so I need to do a clean install, which is fine. I installed the SL6 server using ...
1
vote
2answers
151 views

loop device does not auto detach on umount

I have a backup script in which I umount a squashfs file, I do backup then mount it back again. A simplified version of the script is: umount /home/backup/auto/mnt/os mksquashfs /src-dir /home/backup/...
1
vote
2answers
41 views

Set the environment variable for RHEL 7.3 for root user

I managed to set the environment variable for my user imin by editing the .bash_profile under folder /home/imin and added the path to my php 71 bin. Now when I run echo $PATH it shows the changes that ...