Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rhel]

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

-1
votes
0answers
9 views

Cant install zlib-devel package on rhel

I'm trying to install a zlib-devel package on my rhel environment, but it does not permit me to do so as it states about pre-existing rpmdb as shown in the picture below. I tried to remove ipa-common, ...
0
votes
0answers
17 views

Sendmail authinfo for multiple users on the same relay?

I'm attempting to set up sendmail to use the mailgun smtp relay for some email invoices our company sends out. However, these are originating from a handful of different domains and when I try to set ...
-2
votes
2answers
30 views

how to find the size of the disk that OS is installed on

how to verify the disk size ( the disk that OS is installed on ) we have redhat 7.2 I will give example # disk_os_size=` lsblk | grep sda ` sda 8:0 0 150G 0 disk ├─sda1 ...
0
votes
1answer
9 views

Configuring xterm without access to xrdb on Red Hat 6.10

To give some context, I try to configure an environment in which I just arrived. The targeted development environment is confined on a remote Red Hat 6.10 system, only accessible through putty on a ...
0
votes
0answers
19 views

How to complile packages for software collection from sources packages? [on hold]

I have one server with the RHEL6.8 http24-http from Software Collection installed. I would like to use the mod_perl in my http2.4 server. No where could be found the http24-mod_perl package. I ...
0
votes
1answer
25 views

Getting error when stopping auditd

I have recently made changes to my audit.rules file on a 32bit RHEL 6.9 machine and I know that since the end of the file has -e 2 to make the file immutable a reboot is required for the new rules to ...
0
votes
1answer
20 views

Apache version viewer command httpd -v is not working

/opt/rh/httpd24/root/usr/sbin/httpd -v command is working on my server but httpd -v is not working. it says command not found. How can i fix this so that httpd -v show me the apache version.
0
votes
0answers
35 views

RHEL docker volume NFS mount failed

I'm currently trying to mount a NFS directory directly in Docker but it fails with Error response from daemon: error while mounting volume '/var/lib/docker/volumes/mynfs/_data': error while mounting ...
1
vote
0answers
24 views

RHEL GUI offers Automatic Time Zone Option. Is there a way to set that option from console?

As you can see the Automatic Time zone is off in GUI. Is there a command to set it on? Example: if Automatic Date and Time is selected to be off from GUI, it can be changed from console with: ...
-2
votes
1answer
38 views

Troubleshooting ssh connection with RSA key

Here is what I see in the logs debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug1: Next authentication method: ...
0
votes
1answer
67 views

How to disable asking for "(current) UNIX Password:” during a password reset?

how to disable question for “(current) UNIX Password:” again after user logs in using his expired password? What I need is that after a user provides his expired password in next step he is asked ...
1
vote
1answer
24 views

What is the difference between a Redhat “Binary DVD” and an “Update Binary DVD”?

Some versions of RHEL, but not all (for example, 7.4), have ISO download options of both a "Binary DVD" (e.g. Red Hat Enterprise Linux 7.4 Binary DVD, 3.78GB) and an "Update Binary DVD" (e.g. Red Hat ...
1
vote
2answers
31 views

linux + how to convert VMDK disk to LVM disk

we have linux machine with sdb disk lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 150G 0 disk ├─sda1 ...
0
votes
0answers
20 views

Unshare failed to create user namespace [duplicate]

I'm trying to create user namespace in RHEL 7 but unable to because of the below error: [root@teja7131 ~]# unshare -U /bin/bash unshare: unshare failed: Invalid argument I've been reading multiple ...
1
vote
1answer
41 views

Unable to create user namespace in RHEL

I'm trying to create user namespace in RHEL 7 but unable to because of the below error: [root@teja7131 ~]# unshare -U /bin/bash unshare: unshare failed: Invalid argument Please explain the correct ...
1
vote
0answers
24 views

How to execute sh script using system service on Linux (rhel 7) [closed]

I have linux script that starts up my service: /home/MyApp/MyAppStart.sh java -jar -Dspring.profiles.active=dev $home/MyApp/MyApp.jar /tmp 2>> /dev/null >> /dev/null & echo $! > /...
0
votes
1answer
28 views

umask does not have -S option

I'm trying to use umask -S to show the current mask in symbolic form (per man umask on my system, which gives me the page BASH_BUILTINS(1)). But umask doesn't seem to behave as the manpage claims: ...
1
vote
1answer
30 views

How to get frame source using wget?

I am trying to get html data from servicenow website. It's using frames and I would like to extract the frame source using wget. I am unable to find the option/flags to do this job. I am only able to ...
1
vote
0answers
21 views

Mailman auto-unsubscribe by bounce while all mail ids are valid in the list

I am working on Mailman version 2.1.12-14.el6.x86_64 and sendmail that came inbuilt with RHEL 6.0. My mailman does not directly send mails to the destined domains. It relays to another appliance ...
0
votes
0answers
6 views

nofiles parameter in limits.conf is not reflecting in the process running under the user

nofiles parameter in limits.conf is not reflecting in the process running under the user Following is the ulimit output ulimit -a core file size (blocks, -c) 0 data seg size (...
0
votes
1answer
18 views

Where is current dhclient lease on RHEL7?

I cannot find any of dhclient.leaseon my RHEL7.4. There is no one in /var/lib/dhclient.
0
votes
1answer
43 views

sudoers - allow user to ssh as another user and run a specific command

I am writing a Bash script to manage various JBoss instances across multiple servers. The script allows users to check the status of each instance as well as stop/start them. The script is situated ...
1
vote
2answers
20 views

When using cloud-init, what order are the users created in?

I am using cloud-init to initialize a RHEL Atomic Host VM. I have the following as my user-data file: #cloud-config groups: - ourgroup users: - name: muser primary_group: ourgroup ...
0
votes
1answer
66 views

How a non-root user sudo to another non-root user without password?

As root, created a new non-root user on RHEL 7.5 appuser:x:1903:1903:appuser:/home/appuser:/bin/bash A non-root user to be able to sudo to appuser, sudo -u appuser without a password, What are ...
0
votes
1answer
41 views

RHEL 7.5 - How to remove user from a group?

usermod does not have an option to remove user from a group Usage: usermod [options] LOGIN Options: -c, --comment COMMENT new value of the GECOS field -d, --home HOME_DIR new ...
0
votes
1answer
35 views

history + display date and time for each command [duplicate]

we have redhat Linux machine version 7.2 when we type history we get the history but without date and time 1 ifconfig 2 cd /etc/udev/rules.d/ 3 ls 4 cat 99-vmware-scsi-udev.rules ...
1
vote
0answers
20 views

rpc.lockd daemon not available in NFS client server

I have installed nfs-utils package on my NFS client server and successfully mounted the NFS volume. However, I can't see the NFS's rpc.lockd daemon running. For an application I plan to run on the ...
1
vote
0answers
14 views

Track process state changes

Is it possible to get a count of how many times a process has changed its state? (from running to interruptible sleep for example) I have a process that calls another process and i would like to ...
-6
votes
0answers
22 views

How do I block incoming and outgoing traffic in Linux for an application? [duplicate]

How do I block incoming and outgoing traffic in Linux Rhel or Centos using firewalld for an application only?
1
vote
0answers
30 views

Can a user reside in one group, but write from another? [duplicate]

We have group Apache and, let's say, "District" group. All our team members are part of "District" group. Apache user is part of "Apache" group, and does a lot of work on our server, creating and ...
0
votes
2answers
47 views

why Linux server do not ask password in single user mode

Why doesn't RHEL server ask for a password in single user mode? Red Hat Enterprise Linux Server release 6.6 (Santiago), in case it's relevant. I had many cases where I had to reset root password in ...
1
vote
1answer
15 views

How do I get stereo output on Asus Xonar DGX in Linux?

How do I setup my Asus Xonar DGX to run 4.0 sound in Linux? I get mono front and mono rear when I try. I used alsamixer to set Analog Output to Multichannel. When I run: speaker-test -Dplug:...
0
votes
0answers
15 views

How to create shortcut for the application on desktop in RedHat linux 7

I want to create a desktop shortcut for the ScreenShot program on RedHat Linux7 OS, but I couldn't get any information. I want to capture particular screen but Screenshot program is not opening in ...
1
vote
2answers
31 views

How query custom installed rpm package

How query custom installed rpm package Generally if i need to query rpm based package I use following commands rpm -qi package rpm -ql package # to get installed binaries of package rpm -qf ...
0
votes
0answers
41 views

Server Clean Up

My OS is Redhat Entrprise Linux 5.9 I need to free up some space from disk partition where ERP applications resides. My current used space is for apps partition is 126G. However, when I check the ...
0
votes
0answers
7 views

Problem with installation RHEL next to Windows 10 on RAID 0 disk

I have Windows 10 installed on my PC on 500GB HDD with 32GB SSD RAID0 used as a cache (set up in BIOS). When I'm trying to install RHEL I don't see any disk in selecting storage, only USB with RHEL. ...
2
votes
1answer
34 views

Is there a maximum limitation on the number of physical volumes allowed in a volume group?

Someone in my organisation has picked up support for a system previously looked after by the now-defunct vendor. Their support department insisted there is a limit of 16 physical volumes on their ...
0
votes
1answer
19 views

RHEL 7: Add PATH variables globally

Under my profile and the .bashrc file. I have added several environment variables. Example: export HADOOP_HOME=/app/hadoop-2.7.3 When I try to run any "hadoop" command I get command not found. ...
1
vote
0answers
16 views

CIFS debugging - not enough information

I am using RedHat RHEL 6. The goal is to identify whether an application running on the local server is setting 'HIDDEN' file attribute on the remote CIFS share. I have first enabled the logging in ...
0
votes
1answer
25 views

X11 forwarding does not work if su to another user

I have a Red Hat 7.3 server running XVnc. On a Windows 10 desktop I have Putty and Xming installed. Putty is configured for X11 forwarding. When I SSH in as my standard/non-privileged user and ...
-1
votes
0answers
16 views

How to Mount Linux(RHEL 7.5) Drive in Windows OS

I have faced a problem of server migration from RHEL 6.x to 7.5. One of the important function is I have to mount an RHEL file (eg./opt/MyFile) in my PC.(windows 10) The problem is... In RHEL 6.x, I ...
0
votes
1answer
46 views

ReadOnly Access for members of Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be ...
5
votes
1answer
85 views

Why does the rpm command have a '--pipe' option?

From rpm's man page: --pipe CMD Pipes the output of rpm to the command CMD. Why was this added? Why would you use it instead piping via the shell itself?
0
votes
1answer
26 views

Number of file descriptors - pidstat

As mentioned here: On RHEL 7.x, below command: pidstat -C syslog-ng -v does not recognise -v option Alternative: There are two process 417880 & 417881 for syslog-ng: # ls /proc/`pidof syslog-...
0
votes
1answer
25 views

root_LVM not listed in LVM command output

I am not able to list the root_disk LVM in lvm commands (like pvs, vgs etc.) output. The lvm.conf file does have global_filter and it looks like below - global_filter = [ "a|^/dev/mapper/...
1
vote
1answer
41 views

Moving a mount point to a new device

We have a server that we setup to host an application. Our vendor configured it, but now, they are saying that one of the partitions is too small and we need more space. Basically the /u01 partition ...
0
votes
1answer
14 views

How do we update the Kernel for a Oracle Linux OS while leaving the OS Version same?

I have tried to update the kernel for an Azure VM running Oracle Linux 7.2. I wanted to update the kernel version that was showing 3.10 and when I ran the yum update command, it upgraded all the ...
2
votes
1answer
65 views

How can I view certificate details on a smart card

I am using p11tool on CentOS to read a PIV smart card. The card is being read via the coolkey package driver (using libcoolkeypk11.so, per p11-kit list-modules) I can get a listing of the certs on ...
1
vote
2answers
101 views

Why would a large company opt for CentOS instead of RHEL [closed]

This question is on the financial and strategic motivation for a "large company" to choose CentOS over RHEL and is not directed specifically at Facebook. I just read this article. The key takeaway ...
0
votes
0answers
194 views

RHEL 6.8 installation of user specific python 3.7 completes with 'ModuleNotFoundError: No module named '_ctypes'

I do not have a subscription to the RHEL repos at this time. I am using EPEL for packages that are needed. Goal: I am attempting to setup multiple virtualenv folders for testing purposes. I have ...