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

learn more… | top users | synonyms (1)

3
votes
3answers
3k views

Is Red Hat Linux licensed

Am confused so thought of asking a question. According to this Red Hat Becomes Open Source’s First $1 Billion Baby, it is opensourced so my question is: Where can I download the Opensource version ...
3
votes
3answers
250 views

Which Red Hat Enterprise Linux packages for CentOS?

I want to use a Red Hat Enterprise Linux RPM software package on CentOS 5.6, but I don't know which version of RHEL works with CentOS 5.6. RHEL 4 = CentOS 4? RHEL 5 = CentOS 5? ...
3
votes
5answers
2k views

Does $SHELL store the path to the default shell in Linux?

My administrator says that my default shell is set to bash, but $ echo $SHELL /bin/csh $ Is the default shell related to the SHELL variable at all? Is not, what is the variable used for?
3
votes
2answers
10k views

yum installs an old version of cmake

For some reason when I run yum to get cmake it will install an older version. Could it be because my repo list is not complete? I'm on CentOS 6 using a minimal desktop install from the non-net install ...
3
votes
2answers
760 views

No idea how to troubleshoot Bugzilla email issue

I'm a complete n00b when it comes to Bugzilla (and complex perl applications in general) so don't assume any level of knowledge in that area. If I haven't documented it in this post, assume I haven't ...
3
votes
5answers
1k views

Run a script on multiple shells?

I have two servers one AIX with default shell ksh, the other RHEL with default shell bash. I have a script that is mounted on both that will run similar commands but for either AIX or Linux. This ...
3
votes
1answer
157 views

RedHat RPM file collision

Let's assume I have two RPM packages named 1.rpm and 2.rpm. Both of them want to put a file test into /usr/bin, but both of them use a different version of test. Of course I would like to have both ...
3
votes
1answer
2k views

Not able to extend the size of an LVM logical volume

During RedHat installation, I created one volume group with two logical volumes in it. Volume Group Name = VolGroup00 LVMs = LogVol00 and LogVol01 LogVol00 size = 48G LogVol01 size = ...
3
votes
2answers
1k views

Installing yum packages by pattern

I want to install all openoffice packages. Passing openoffice* obviously wouldn't work, because it'd look at file system. How can I do that?
3
votes
3answers
906 views

What version of Red Hat is used for the Red Hat Certified System Administrator Exam?

What version of Red Hat is used for the Red Hat Certified System Administrator Exam? Because I don't have over $3000 to invest in the Red Hat course that prepares you for the exam I am going to ...
3
votes
1answer
146 views

Send Logs to multiple syslog servers

Previously we were using one Logging server. But now we have added one extra Logging server which will also be storing logs received from client . I need to know how to add these two Syslog servers on ...
3
votes
1answer
346 views

Odd behavior with a gzip compressed file

I've got a very bizarre issue occurring with a Redhat system. We have a Gzip-compressed TAR file that contains hundreds of small text files with absolute paths. It's only 8 MB. We copy this file to a ...
3
votes
1answer
12k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
3
votes
3answers
6k views

redhat vs debian/ubuntu system architecture (& not deb vs rpm)?

What are the key areas (except package management) where Fedora/RHEL/CentOS differ from Debian/Ubuntu Linux systems? I'm asking this from a newbie's perspective to the Linux admin world so that I can ...
3
votes
1answer
8k views

Add another IP address to a Bonding Interface

I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1) $ cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=static ONBOOT=yes ...
3
votes
2answers
188 views

How can I make my home Linux most closely resemble the Linux used at my school?

We have to ssh into our school's server to make sure our programming assignments work on the system that will be used to test them by the teacher. It's running RHEL 6.2. When I test my program on my ...
3
votes
2answers
527 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
3
votes
2answers
231 views

Is there a correlation between CentOS and RHEL versions?

I am trying to install an HP NC364T (4 port ethernet adapter) onto a machine running CentOS 7, however HP only supplies drivers built for RedHat, SCO, SUSE, Sun and Solaris. I know CentOS is intended ...
3
votes
2answers
124 views

Accidentaly changed the permissions in / [duplicate]

Accidentally did : chmod -R 777 / Now, RHEL 6 is not booting up. What do I do? I have a DVD and can go into rescue mode. Can someone explain how do I reset all the permissions ? Update ...
3
votes
3answers
9k views

CentOS how to update Ant Version to 1.8.x and higher?

I'm using CentOS v6.5 and installed Ant by using: yum install ant But it came with Ant version 1.7.1. And i need the latest Ant version 1.8.0. How to properly get the latest Ant version 1.8.x (or ...
3
votes
1answer
182 views

How to skip DNS checkup while I'm disconnected from Internet

I use RedHat machine. /etc/resolve.conf was set to nameserver 8.8.8.8 and it works well. I'm wondering how to connect my machine if it's disconnected from internet? It seems that if DNS of 8.8.8.8 is ...
3
votes
3answers
2k views

Temporary restore LVM snapshot of root

I have a snapshot of the root filesystem that I want to boot with - bring the machine into a state it was a few days ago, run some tests and then go back to where I am right now. I tried editing ...
3
votes
3answers
14k views

Red Hat Enterprise Linux 6: /boot/grub/menu.lst or /boot/grub/grub.conf?

I have a brand new Scientific Linux 6 system, but this same question should apply to CentOS 6, RHEL6 or any RHEL6-derivative. I see that /boot/grub contains a menu.lst as well as a grub.conf file. ...
3
votes
2answers
7k views

Run getty on a serial port on startup on RHEL

I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working. In the past (on Ubuntu?), I used to add a line ...
3
votes
2answers
73 views

dnf - how to show which mirror url has been chosen?

Below is the part of bash log, the full log can be achieved at https://gist.github.com/limkokhole/f2a423112aa005f10862: [xiaobai@xiaobai hello]$ dnf --verbose download --source readline cachedir: ...
3
votes
3answers
3k views

How can I determine if an NFS remote is exporting a directory?

In my script, I have several layers of statusing: remote is available (ping) remote NFS service is active remote NFS is exporting a certain directory remote NFS is mounted (mount) For (2) and (3), ...
3
votes
1answer
43 views

Switching users without the - symbol

I had to switch to a different user earlier for something that I was working on. I have originally done: su support While I was successfully able to switch to support, I found I was unable to make ...
3
votes
1answer
816 views

sudo environment: “g++: command not found”

I have a relatively fresh RHEL 6.5 install, on to which I have installed from source GCCC 4.9. After I installed GCC 4.9, I uninstalled the distro-provided older GCC version via: sudo yum remove gcc ...
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 ...
3
votes
1answer
2k views

NTP server not working properly

I have installed a very simple NTP server on a Red Hat server I own, the configuration is pretty basic: driftfile /var/lib/ntp/drift restrict default kod nomodify notrap restrict -6 default kod ...
3
votes
1answer
6k views

Location of dhclient.conf

I need to check the client DHCP settings, which I expect to be in the file /etc/dhcp/dhclient.conf, but there is no such files there. What is the location of this file in RHEL 6, on 64 bit?
3
votes
2answers
850 views

RHEL - not able to write in /opt as root

I am trying to copy a virtual box image inside /opt folder in RHEL 5.6. I am logged in as the root and I strangely see that I am not able to write anything into /opt folder. I checked the permissions ...
3
votes
1answer
1k views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
3
votes
2answers
6k views

Using tcpdump to extract NFS RPC contents

Fairly simple question... I'm running tcpdump and trying to analyze the contents of the TCP packets between server/client. I see the "GETATTR" RPC being received, which is great! However, I want to ...
3
votes
3answers
6k views

YUM UPDATE stuck forever

I created repository for RHEL 5.6 . There was already an exiting repository for RHEL5.2 which I deleted. And i run following commands yum clean all yum clean metadata then, Yum list all It list all ...
3
votes
2answers
827 views

Commands for determining level of usage of server

I am scripting a new program that will connect to a cluster of machines in a VM park, and hopefully check their level of usage. The VM clients are a combination of RHEL and CentOS, and runs on ...
3
votes
1answer
4k views

Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?

I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4). In the folder extracted: autorun.sh log.txt Makefile README src \>type command: ./autorun.sh ...
3
votes
1answer
1k views

How do I edit configuration variables returned by getconf?

Specifically, I would like to edit the value of the system configuration variable ARG_MAX. (It is preset on kernels before 2.6.23 and I want to increase it.) How do I do this? Does this require ...
3
votes
1answer
11k views

Creating an ext4 partition fails with “invalid blocks count”

Environment: - Virtual machine on VMWare ESX 4.0 - OS: fully up to date RHEL 5.8 After adding a new (virtual) disk I want to create an ext4 partition on LVM on this disk. Steps taken so far: $ sudo ...
3
votes
1answer
2k views

Trouble booting CentOS

I switched from an Ubuntu to the CentOS yesterday. But it seems I have messed my installation somehow, since OS will only start correctly if the USB with the installation is plugged in. Long story: ...
3
votes
3answers
7k views

Which device is using this logical volume?

I'm trying to remove an LVM logical volume, which I believe is not currently in use. However, when I attempted to remove it, I get an error: # lvremove /dev/vg_service1/lv_home Logical volume ...
3
votes
1answer
1k views

SSH getting disrupted intermittently

I have Red Hat Linux Enterprise Edition 5 on my box. Recently I started having issues with my SSH service not keeping my connection and randomly disconnecting my clients. Ping works perfectly fine, ...
3
votes
1answer
66 views

libssh2.so.1.0.1 conflict in libssh2 install

I'm trying to install ssh2 for PHP in RHEL. But it required libssh2-1.4.2-2.el6.x86_64.rpm and libssh2-devel-1.4.2-2.el6.x86_64.rpm. So I downloaded and tried to install, I got below errors # rpm ...
3
votes
3answers
3k views

Creating a GnuPG keyring for apache

Here's the scenario, we're using GnuPG to encrypt data between 2 web servers. 1 is on RHEL. GnuPG will be accessed through cgi scripts to encrypt and decrypt. So I need a keyring that the apache user ...
3
votes
1answer
2k views

Upgrade a 32-bit RHEL installation to 64-bit

I recently encountered an issue where I had installed a 32-bit RHEL 6 server on a system with a 64-bit processor. I did some research and found that RHEL 6.0 has PAE enabled on 32-bit machines, which ...
3
votes
1answer
2k views

RHEL - GDM could not write to authorization file

I am getting an error as "GDM could not write to your authorization file" if I try to login as a non root user in my RHEL system. I restarted the machine hoping that the tmp files will be cleared and ...
3
votes
2answers
379 views

How to disable a daemon process on RHEL 6.3 like SMF does on Solaris

This problem has been bugging me for a while, we have a program running on Solaris, which managed as a service well by SMF, can be enabled/disabled very easily. Now, according to our market, we would ...
3
votes
1answer
2k views

Error while loading shared libraries after installing a program

I was installing rfc5766-turn-server. But it fails to launch with an error: error while loading shared libraries: libevent_core-2.0.so.5: cannot open shared object file: No such file or directory ...
3
votes
3answers
4k views

How to Calculate the Total size of file searched using Find command

Actually there are tow questions. First I have to search the files using FIND command that will show only the files for December 2012 And Secondly I need to see the Total size of files searched I ...
3
votes
1answer
670 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...