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.

0
votes
0answers
10 views

RedHat 7: lpadmin can't find HP ppd file?

I am trying to add a printer on a RedHat 7.5 system from the command line as follows: /sbin/lpadmin -p printername -v socket://printerfqdn:9100 -m hp-laserjet_3015-ps.ppd.gz -L "Room number goes here"...
1
vote
1answer
23 views

How should I grant a user the privilege to restart the nagios services?

What is the best way to grant user an access so they can restart the nagios services? I have added in visudo USER ALL = NOPASSWD: /usr/sbin/service ServiceName * But that did not work, I am using ...
0
votes
1answer
20 views

/lib64/libc.so.6: version `GLIBC_2.14' not found while upgrading to glibc 2.15

Need upgrading the glibc from 2.12 to 2.15 on a RHEL 6.3 system. [root@ipv-vm rpm]# rpm -Uvh glibc-2.15-60.el6.x86_64.rpm glibc-devel-2.15-60.el6.x86_64.rpm glibc-headers-2.15-60.el6.x86_64.rpm glibc-...
0
votes
0answers
21 views

for Linux in the enterprise, what percentage of the market is RHEL/CentOS/Oracle? [on hold]

I worked at Hortonworks in a previous life. The vast majority of our customers ran RHEL or some Linux variant that's similar to RHEL (e.g. CentOS, Oracle linux, etc...). I don't have an exact number, ...
1
vote
1answer
24 views

What does “localhost:tram” message means?

I have deployed an application in Glassfish. I see "localhost:tram" in the list of open files : java 30842 user 1589u IPv6 555599352 0t0 TCP localhost:57171->localhost:tram (CLOSE_WAIT) java 30842 ...
1
vote
1answer
36 views

Unable to open display - error

I ran the command below on secureCRT ssh client: $ DISPLAY=abc.xyz.com:0 ; export DISPLAY $ /bin/xhost +abc.xyz.com But it output this error: /bin/xhost: unable to open display "abc.xyz.com" # ...
0
votes
0answers
14 views

tidyverse fails periodically on RHEL

We have a python program that runs R Script. We are using Anaconda version 3.4 on an RHEL 7.5 system. We use conda environments. I have built one specifically for the job. Everything works for a ...
0
votes
0answers
22 views

Red hat 7.3 server getting registered [on hold]

My Red hat 7.3 server getting registered successfully to redhat network, but not showing repositories. It is showing a message saying: no repositories available for this account
0
votes
0answers
30 views

How to downgrade glibc-common from 2.17-260.el7 to 2.17-222.el7

I am trying to install gcc on my RHEL 7.6 Beta workstation. At the moment, I am doing it using the command yum install gcc, but I keep receiving this error: --> Finished Dependency Resolution ...
0
votes
1answer
31 views

Common location for systemd unit files on Ubuntu and RHEL

I would like to create a scripted install for a list of Systemd services. This installation should support both Ubuntu (starting with version 16.04) and RHEL/CentOS (starting with version 7.2) I read ...
1
vote
1answer
18 views

I'm trying to output password statuses for RedHat. Is there an equivalent of “password -s” in RedHat?

Like the title says, I'm trying to output password statuses for RedHat. For my Solaris machine, I was able to run: for i in `more shadow | awk -F: '{print $1}'`; do passwd -s $i; done And that ...
0
votes
0answers
16 views

Block systemd-udevd from probing volume snapshot

We have a driver which creates volume snapshot. However, on RHEL 7.2 systemd-udevd is crashing RANDOMLY after removing the snapshot device, say /dev/volsnap001. The crash dump says: unable to ...
1
vote
0answers
27 views

Setting VPN on Redhat [closed]

My OS is Redhat 6.5 and I really need to set a VPN on it. I installed PPTP. I could restart PPTP without any problem in terminal, but I could not open any filter website in the browser via VPN. ...
-2
votes
0answers
19 views

How to set up VPN server on AWS using Mac OS? [closed]

I had created the instance using OpenVPN ami. I used pre-existing security group already established, then created the elastic IP and allocated. Once I ssh into the instance, I was not asked to accept ...
0
votes
1answer
29 views

cli or command that convert the CSV file to XLS [duplicate]

I am searching for tool or CLI that can be download and by this tool , we can use it to convert CSV file to XLS any idea from were to get it?
0
votes
2answers
26 views

deleting files older than a specific day and excluding the direct files under folder

I would like to delete all files that older than 10 days from airflow sub folders I used the following command: find /var/log/airflow/ -type f -mtime +10 -delete but excluding all the files ...
1
vote
2answers
32 views

How to calculate the number of vcores on a Linux machine

In my Linux machine I have 32 vcores. And from lscpu, I can see same. For my CPU, "Thread(s) per core" is 2. So does it mean that I have actually 64 vcores?
-3
votes
2answers
46 views

yum Package Install on RHEL reports “This system is not registered with an entitlement server”

I download Red Hat Enterprise Linux today, and when I try to install a package, I get: [root@localhost yum.repos.d]# yum install openssh Loaded plugins: langpacks, product-id, search-disabled-repos, ...
2
votes
1answer
29 views

How to change python default version from 2.7 to 3.7 on RHEL 7

How to change python default version from 2.7 to 3.7 on RHEL 7. Installed python on RHEL7 virtual machine by following this https://tecadmin.net/install-python-3-7-on-centos/ When I check python ...
0
votes
0answers
27 views

How would I set up a VPN server to allow developers to have secure access to VMs? [closed]

I created a micro Red Hat instance using the AWS web console tool. I was thinking that I could run a VPN server on that instance, have the developers connect to it and be able to ssh into the ...
0
votes
1answer
34 views

Is there a way to log IP for FTP uploads in Redhat?

Is there a way to log which IP-address uploads files through sFTP in Redhat? The users sign in with SSH, so I can see their IP's in /var/log/secure. But is there a log for the built in sFTP-server, ...
0
votes
0answers
22 views

How do I execute a script from a Desktop Icon that doesn't have the Execute Bit set?

So I have a script: /run/initramfs/live/scripts/buildOS.sh which is in a CD, so it's read-only and the Executable Bit isn't set. I know I can do, sh /run/initramfs/live/scripts/buildOS.sh, but how do ...
0
votes
2answers
34 views

Moving A Specified Number Of Files From One Directory To Another in Linux Redhat [closed]

Does anyone actually know how to move X files at a time from one directory to another? Every 'example' on this page displays an error and is useless. I can only move fifty (50) files at a time, then '...
0
votes
1answer
43 views

systemctl status shows vendor preset: disabled

Could someone please clarify what "vendor preset : disable" means? This option is visible after enabling a package in RHEL7.
0
votes
0answers
7 views

Keyboard shortcut to open new terminal in new window not working in classic Gnome

I login to my profile using gnome 3. I have set the keyboard shortcut there to open new terminal in new tab as Ctrl+alt+n and when I apply this shortcut it opens a new window terminal from desktop. ...
0
votes
3answers
35 views

How can I override the umask setting for all users for a specific folder?

I am running RHEL6. I have a requirement to have "umask 077" in my /etc/bashrc which I am not allowed to change. We have a folder designated for group collaboration where we would like everyone in ...
2
votes
1answer
28 views

Bad IP route after restart network

I would like to make a IP route persistent, but it disappears after a reboot or service restart. here my net conf : 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 ...
0
votes
0answers
14 views

NetworkManager doesn't read a new domain in ifcfg-eth0

I'm using a RHEL 6.7 and I need to add a new DOMAIN to resolv.conf that is generated by NetworkManager. In /etc/sysconfig/network-scripts/ifcfg-eth0 there are already other domains that are in resolv....
-1
votes
0answers
19 views

how to know if network latency on linux machine is in normal

we have hadoop cluster with redhat version 7.x machines, we want to know if the network latency is in normal, how to measure this and know if network latency isn't normal ? what are the tools/...
1
vote
1answer
19 views

“Missing” memory on ESXi VM

I’m a contractor and have been given a VM with 128 gigs of RAM which the application I’m developing needs. However, I can at most allocate 74 gigs before the allocation slows down significantly (...
0
votes
1answer
15 views

can we View the contents of the atop log files that sent from remote machine on local machine

on remote machine we have the following atop files ls -l /var/log/atop/ total 1634632 -rw-r--r-- 1 root root 127992086 Aug 30 01:49 atop_20180829 -rw-r--r-- 1 root root 262277153 Aug 31 00:00 ...
1
vote
1answer
37 views

how auto-rotate atop logs

we can see that atop logs are created on each day and that take a lot of space ls -l /var/log/atop/ total 1634632 -rw-r--r-- 1 root root 127992086 Aug 30 01:49 atop_20180829 -rw-r--r-- 1 root root ...
0
votes
1answer
23 views

What is wrong in this bash script? [duplicate]

For some reason, this script (run on RHEL v6.9) processes only the first line in the host_file #!/bin/bash process() { ssh $host ls } while IFS= read -r host do echo "Running $host" process ...
1
vote
0answers
24 views

Create CentOS Live CD with preloaded files [closed]

I'm trying to build a CentOS live CD with an executable I've written already on the desktop. Are there any good resources or instructions on how to do this? I've been having trouble finding steps that ...
-2
votes
1answer
37 views

Mkpasswd equivlent command in RHEL [closed]

I need an equivalent command to mkpasswd to use it in rhel ,i searched a lot but no use
0
votes
1answer
31 views

vgextend fail on Couldn't create temporary archive name

we add anew virtual disk as sdb ( from the vcenter ) in order to increase the /var partition we have redhat version 7.5 so after we add the disk we get pvs PV VG Fmt Attr PSize ...
2
votes
3answers
51 views

is it ok to run cron job with the same time?

we want to delete all files of the following job with the same time on midnight 0 0 * * * root [[ -d /var/log/ambari-metrics-collector ]] && find /var/log/ambari-metrics-collector -type f ...
2
votes
1answer
44 views

How to validate the syntax in cron job [closed]

We are creating a new cron job under /etc/cron.d. This cron job has around 56 lines, and all commands should be executed at the start of each month. I am looking for suggestions to validate the ...
0
votes
1answer
19 views

atop + what define when /var/log/atop/atop_log should be created

today I installed the atop tool ( before two hours ) in order to trace the OS performance rpm -i atop-2.3.0-8.el7.x86_64.rpm atop -V Version: 2.3.0 - 2017/03/25 09:59:59 <gerlof.langeveld@...
0
votes
1answer
105 views

Does kernel package version 3.10.0-862.11.6.el7.x86_64 fix CVE-2017-16939?

I know that in order to fix CVE-2017-16939 we need to install patch version 3.10.0-862.2.3.el7 as shown in https://access.redhat.com/errata/RHSA-2018:1318. We currently have 3.10.0-862.11.6.el7....
0
votes
1answer
20 views

How to trace snmp trap sent by client process?

We have a process(should be a client program) on RHEL 7.4 that send snmp traps to a Solaris server that has trap receiver process(should be a server program listening on 162/1691) on other machine(...
1
vote
1answer
20 views

How to access the “Software Update Preferences” GUI on a RHEL 7 server?

I have numerous RHEL 6 servers and we configure automatic updates using the "Software Update Preferences" GUI, however I cannot locate the same GUI on a newer RHEL 7 server. This is the GUI that I am ...
0
votes
1answer
17 views

What RPM package do I need to install to have GObject documentaion available locally on RHEL 7

I want the documentation at https://developer.gnome.org/gobject/stable/index.html to be available on my local RHEL 7 machine in /usr/share/. What is the name of the package that I need to install?
0
votes
1answer
25 views

Error running vlc on Redhat Enterprise Linux 7

I have installed vlc using following commands- #> yum install vlc #> yum install vlc-core When i try to run vlc, i am getting the following error- [0000000001bce288] core demux error: ...
0
votes
2answers
21 views

NFS Share Locking Workstations in Closed Network

This one is a bit weird. We have a closed network of about five (5) Red Hat Workstation 7 assets in one of our development laboratories. One of the REHL 7 machines is hosting a USB connected DroboPro ...
0
votes
0answers
22 views

Remote Mobile Thin Client - Red Hat 7

I've been tasked with a new project that utilizes a Red Hat Enterprise Linux 7.5 rack-mounted workstation. The customer is looking to deploy a semi-mobile solution that would allow them to remote in ...
-1
votes
1answer
50 views

how to protect the directory using password in LINUX (Need to add or modify files after encrypted )? [duplicate]

Is there any possibilities to protect the directory using the PIN number in Linux. But we need to add or modify files inside the encrypted directory.
1
vote
1answer
38 views

syslog-ng configure on RHEL 7 fails with OpenSSL version 0.9.8 dependency

Building latest syslog-ng (3.17.2, rather than the packaged version in EPEL, which is 3.5.6, built 30-Dec-2015) from https://github.com/balabit/syslog-ng/releases Amidst ./configure --prefix=/app/...
-1
votes
1answer
22 views

How to install Samba on Redhat 6, getting error [closed]

I'm having trouble installing Samba (and really any other programs and services) on my Redhat 6 server. I keep getting this error: I've been having this trouble when using the yum command. So I've ...
1
vote
1answer
51 views

Can not resolve domains in all programs except ping

I've got a server for HPC usage, and it's RedHat. It appears to have a strange bug. I tried: $ curl https://www.aliyun.com/ -vv Couldn't resolve host 'www.aliyun.com' I tried these as well: wget ...