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

learn more… | top users | synonyms (1)

1
vote
1answer
738 views

Kernel logs on power failure

I was wondering if it was possible to have a logging program document a random power failure. Clearly it won't have any time to log when the power fails, but is there a way to recognize a power ...
1
vote
1answer
15 views

Recover full command that generated core dump

A program I am working on is crashing and generating core dumps. I think that the issue is related to the arguments that it's being called with, some of which are automatically generated by another ...
1
vote
0answers
13 views

Permanently Configure two X Servers

I'm trying to permanently configure a second X server to start at runtime on RHEL 7. I am aware that I can start a second x server using startx -- :1 vt 2, but I'd much rather integrate it to the ...
0
votes
0answers
12 views

Cannot find /var/run/pinger.pid in RHEL 6.6 (Santiago)

I execute the below command : ps -p `cat /var/run/pinger.pid` 2>&1 and I get error code 1 instead of 0 Can someone please explain if this is the right file from where the pinger PID ...
0
votes
0answers
26 views

Service in RHEL server stops working after a while

I have a RHEL 6 server running with several services (I mean, I have made the server scripts and the programs they run). I have a problem with two of them. I will try to explain the problem and then ...
1
vote
2answers
1k views

Installation of Pacemaker Corosync on RHEL Server 6.6

I was trying to install Corosync and Cman using yum install -y pacemaker cman pcs ccs resource-agents This works fine on CentOS 6.3. Tried the same on Red Hat Enterprise Linux Server 6.6 and ran ...
2
votes
4answers
2k views

How do I set the group (gid) of a process I'm about to launch?

I'm porting a Debian init.d script to CentOS. In the Debian script, it uses start-stop-daemon for launching the process. The script uses start-stop-daemon's --group flag to change to a different ...
3
votes
2answers
996 views

Authconfig contiously rewriting the /etc/sysconfig/authconfig file, messing up Puppet run

I have been using this LDAP module for a long time in my Puppet environment. The module uploads these files to the RHEL-servers: /etc/openldap/openldap.conf /etc/pam_ldap.conf /etc/nsswitch.conf ...
0
votes
1answer
1k views

Install RHEL 5.7S on machine with 4TB disks

I'm getting errors about GPT when installing OS using kickstart. The Dell R720 has 8x 600GB SAS. I can't figure out what to configure in BIOS and kickstart file. In BIOS, there're boot options of ...
2
votes
3answers
147 views

Why does a yum package update replaces my yum-cron config files?

Usually, when applying package updates via yum update, rpm is 'intelligent' enough to respect my changes to configuration files under /etc. (It basically looks at the mtime, compares it and depending ...
0
votes
1answer
856 views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
1
vote
1answer
2k views

Trouble installing lxml with custom install location for libxml2/libxslt

I am attempting to install a python module called lxml to my account on a supercomputer running RHEL. I do NOT have root access or super user status. lxml requires the dev/devel versions of libxml2 ...
1
vote
1answer
672 views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
0
votes
0answers
11 views

Cannot start Acronis MMS server

I have a problem with my Acronis on my linux When a try to start ./acronis_mms start Starting Acronis MMS: [ OK ] but when I want verify if this service ...
0
votes
0answers
30 views

Is there a way to use epel and local yum together

I am using RHEL7. If I do a fresh install of RHEL7(with connected internet) and then installing epel rpm. All the packages are getting installed after that. But then few packages have dependencies ...
3
votes
4answers
10k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
0
votes
1answer
15 views

Removing luks from boot volume; rhel 7.1 [closed]

Removing luks from boot volume; rhel 7.1 Is it possible ?
2
votes
0answers
32 views

How does Grub Stage1, exactly, access/load stage 2? [duplicate]

This is my first ever question, I have put this question in front of Red Hat Instructors but didn't find any satisfying answers. I'm using RHEL/CENTOS6, GRUB Legacy 0.97, and have consulted heaps of ...
0
votes
0answers
8 views

Rsyslog not creating dynamic directories

I have Red Hat Enterprise Linux Server release 6.5 running rsyslogd 5.8.10 I'm trying to collect logs from a remote client (VM1) and I have the following line configured if $inputname == 'imudp' ...
4
votes
1answer
16k views

BOOTPROTO=none | static | dhcp and /etc/resolv.conf

What does it mean when it says BOOTPROTO=none in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. I remember there used to be BOOTPROTO=static and it was very clear and straight-forward in telling ...
1
vote
1answer
658 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
2answers
1k views

Redhat 7 DNS Bind Failed to restart

I am getting Error while Restarting the Named.service in Red-hat 7 Here is my Lab Status and all the Command. Configure DNS in REDHAT 7 DNS Name p1.linux.com IP address 192.168.1.1/24 N/W ID ...
1
vote
2answers
5k views

Could not open /dev/vmmon: No such file or directory

I've installed VMWare Player 6.0.1 build - 1379776 on a Red Hat Enterprise linux Server release 6.1 Beta ( Santiago ). When I attempt to start my virtual machine, I get the following the error: ...
3
votes
1answer
37 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
0
votes
2answers
5k views

unable to search and install dos2unix pakage

I have RHEL 6 , 64 bit OS. I need to istall dos2unix for this version. I could not find rpm file for RHEL 6 86_64 bit , so I tried like this: [root@xilinx acme]# yum search dos2unix Loaded plugins: ...
3
votes
1answer
654 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
8
votes
1answer
7k views

Install g++ when having gcc (C only) — RH6

I have a RHEL 6 machine, which came with gcc but without g++. The gcc version is 4.4.4 20100726 (this is what I got from gcc --version). How can I get g++ working? Currently, the shell just returns ...
3
votes
3answers
7k views

How can I make iptables service start automatically after reboot on CenOS/RHEL7?

I am having a few issues with a newly installed home server I am preparing. I have installed CentOS7 on it and I found that port 80 and 443 are off by default. I therefore added them to the iptables ...
2
votes
0answers
28 views

Kdump.service FAILED centOS 7

I am getting this error on my centos 7 x86_64 after "yum update". After rebooting the host it went into emergency mode. after entering this: systemctl status kdump.service I get this: ...
1
vote
1answer
1k views

How to Disable AutoMount of External Drives

Is it possible to Disable auto mount of External Harddrives or USB's in RHEL. For security reasons I have to disable this feature. And when I need it I will enable it back.
2
votes
2answers
6k views

How To Locate Dependencies Needed by RPM Packages

I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an ...
2
votes
2answers
574 views

Running `build-locale-archive` causes my ssh session to terminate

I had previously asked the question, How do I reduce the size of locale-archive?, and got a great answer to my question, but when I execute build-locale-archive I get disconnected from my RHEL6 host. ...
0
votes
0answers
64 views

Redhat error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: Permission denied

I just installed and am trying to start rpcbind on my redhat 7 machine. I'm new to linux so I'm having some trouble figuring out what to do next. I'm running all of these commands as the root user. ...
1
vote
1answer
809 views

RHEL 6.7 kickstart using minimal boot media on UEFI

I'm new to RHEL (haven't used it since the early 2000s when it was still open source) and currently attempting to install it on a cluster of machines. I'm trying to automate this process as much as ...
2
votes
2answers
2k views

obsoleted package breaks yum install of older JBoss

I need to install an older version of JBoss. 6.1.0 EAP is what has been approved and supported for my application. So when I try to force install the correct version of the jbossas packages the ...
4
votes
1answer
33 views

Mount CIFS shares as non-root on RHEL7 w/o desktop

We have a Windows (AD) domain which a RHEL/CentOS 7 server has joined (SSSD / realmd). The users log into the server via SSH with their AD credentials. Now the users should be able to mount some of ...
0
votes
0answers
18 views

rsync : fixing Permission denied error with no rwx permission

We can see that one of our rsync jobs is failing with the following error rsync: opendir "/share/resources/0731402367/docs/quick-check/answers" failed: Permission denied (13) rsync: opendir ...
0
votes
1answer
867 views

Installation of QEMU, GCC for ARM in RHEL

We are setting up a lab which has the QEMU system to emulate an ARM processor and run assembly programs. The lab is currently setup with the host operating system as Ubuntu. We are migrating the lab ...
6
votes
2answers
200 views

Why are .so packages provided by the devel packages?

I've seen an interesting pattern in RPM packaging. The main library package will include the shared library itself: /usr/lib64/libavcodec.so.54 The -devel package will provide headers and a ...
0
votes
0answers
23 views

stop while booting giving error of Genetrating “/run/initramfs/rdsosreport.txt”

I am getting following error while booting my centos 7 machine Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. ...
2
votes
2answers
797 views

How to set Timeout for an ssh command and also get back the result of remote commands

I have a script that runs on bash, in an RHEL server that connects to thousands of nodes and returns with the values of some 5 executed commands - It collects info from RHEL Servers only. It works ...
2
votes
1answer
1k views

SOLVED: Useradd fails: useradd: cannot lock /etc/passwd; try again later

When I attempt to add a user or delete a user, as root, I get the following error: useradd: cannot lock /etc/passwd; try again later. After looking thru many posts I don't have any of the usual ...
0
votes
1answer
32 views

rsync failing to exclude directory [duplicate]

We are using rsync to copy files from one location to another location on a different host. We want to exclude a directory from the source location so that files from this directory are not copied . ...
0
votes
2answers
55 views

My ssh key doesn't work, permissions look good [duplicate]

My permissions look like this: -rw-------. 1 smpadmin staff 400 May 21 2014 id_rsa.pub -rw-r--r--. 1 smpadmin staff 505 Dec 14 19:19 known_hosts drwxr-xr-x. 45 smpadmin staff 4096 Jan ...
1
vote
0answers
31 views

gdm Pop-Up Window on Login

So I was using a bit of bash script to get a popup window to appear on login for our RHEL 7 machines. I put the following code in "/etc/gdm/PreSession/Default". /usr/bin/zenity --warning ...
1
vote
1answer
21 views

Does “defaults” option include “acl” option in /etc/fstab?

I'm working with ACLs on CentOS 7 and noticed that the partition (/) where ACLs are applied is mounted with defaults options. As far as I know ACLs need that the acl option is enabled in the mount, ...
1
vote
0answers
23 views

sar/sysstat output logs to a 2nd directory

We're running RHEL on one server and I need to report some stats about the machine. sysstat/sar does a great job but I need the logs to report starting with 6am until next morning at 6am and output ...
1
vote
2answers
846 views

Unable to create partiton when installing RHEL 5.8

I am trying to install RHEL 5.8 on my IBM server. When I try to create a partition manually, I get the following error message. Your boot partition is on a disk using the GPT partition. How can I ...
0
votes
0answers
14 views

localize banner message on login screen in gdm 3.8 and above

I am using dconf db to set the banner message as follows: Create a gdm keyfile for machine-wide settings in /etc/dconf/db/gdm.d/01-banner-message: [org/gnome/login-screen] banner-message-enable=true ...
1
vote
1answer
991 views

Should reposync download repodata?

I am using reposync on an RHN repo. It downloads the RPMs just fine, but doesn't download repodata. I know I can run createrepo, but I'd like to keep group install info. Is this normal behavior? ...