Red Hat Enterprise Linux version 6 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as ...
70
votes
2answers
31k views
IPTABLES - Limit rate of a specific incoming IP
I do not wish to limit the rate of a specific service. My goals is to limit rate based solely on the incoming IP address. For example using a pseudo-rule:
john.domain.local (192.168.1.100) can only ...
13
votes
1answer
583 views
HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions
On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
10
votes
2answers
20k views
Upgrade CentOS 5.x to CentOS 6.x - tips and techniques
Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
9
votes
3answers
386 views
RedHat: is it possible to install packages in a kind of mock environment to build RPMs
Is there a tool that allows to install the dependecies of an RPM .spec into an isolated environment? I won't install such dependencies globally on the system and I am not able to do so since I have ...
7
votes
1answer
135 views
How can I use SELinux to confine PHP scripts?
I want to compartmentalize different PHP applications on my SL6.4 (RHEL 6.4 rebuild) web server so that they cannot access each others' data. It seems that SELinux might be able to do this, but I am ...
6
votes
2answers
3k views
Anything Close to an NSA Guide for Securing RHEL 6
Some in our infrastructure group want to upgrade to start taking advantage of the new features in RHEL 6. In the past, I have relied on the NSA Guide ...
5
votes
2answers
778 views
Modify XFS filesystem creation parameters during kickstart installation
I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the ...
5
votes
0answers
488 views
Php pdo_dblib - cannot find/unable to load freetds
Self-hosted box,
RHEL 6
PHP 5.3.3
PDO installed
freetds installed
pdo_dblib - so far no luck installing
My goal is to use PDO with sybase. Attempting to install pdo_dblib from the appropriate ...
4
votes
2answers
459 views
How to free up space on RHEL6 /boot safely?
I am trying to do yum update on RHEL 6 box and I am getting this error message
Transaction Check Error:
installing package kernel-2.6.32-279.9.1.el6.x86_64 needs 10MB on the /boot filesystem
...
4
votes
5answers
480 views
Degraded httpd performance after moving from RHEL 5.6 to 6.1
We have recently replaced an RHEL 5.6 web server with RHEL 6.1. For both environments, the (stock) Redhat shipped Apache httpd has been used (i.e. yum install httpd). The server is serving PHP ...
4
votes
2answers
479 views
Persist IP address alias across reboots in CentOS/RHEL 6 using “ip” command
I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that:
As the ip command of the iproute package now supports assigning ...
4
votes
2answers
2k views
SL6: Non-standard home directories, Error: `Could not chdir to home directory` upon login, but `cd $HOME` works?
I have a brand new Scientific Linux 6 instance (Similar to RHEL6 & CentOS6), running on Parallels.
The home directory is in a non-standard location, which I'll call /homedir
When I ssh into this ...
4
votes
2answers
5k views
How can I install git on RHEL 6?
I'm trying to install Git on a RHEL6 development server, I have experience with Ubuntu but this is my first time working with RHEL (I'm a developer trying to fill in for a recently departed Linux ...
4
votes
3answers
3k views
Interpreting cryptic kernel “page allocation failure” messages
I have a multi-user CentOS 6.1 database system running an application named ABC. The server is 64-bit, 8GB RAM and 6 vCPU (on VMWare ESXi 4). We get frequent dumps into the dmesg and the system logs ...
4
votes
1answer
165 views
RHEL/CENTOS6 Interface naming and IP assignment for rotating MACs
Background:
I am creating an RHEL6 OS disk image that will potentially be passed around to many different computers with identical hardware (except for serial numbers such as MACs). The image is ...
4
votes
1answer
124 views
AD GIT SELinux RHEL 6 : Can not get SELinux to allow connetion to git
I have a problem with SELinux!
I have installed git on Red Hat Enterprise 6 with AD group control and SSL Cert .
Everything works fine if I do setenforce 0 ( set SELinux in detection only mode ) or
...
4
votes
1answer
502 views
Are Link-Local routes necessary (IPv4)?
I noticed in my routes output in RHEL6 (and most 2.6.x series Linux), for every interface I see the creation of the following route in my kernel routing table:
169.254.0.0 0.0.0.0 ...
4
votes
0answers
234 views
chkconfig creating service symlinks with the wrong order
On RHEL 6.3, I have a system service that should be starting after postgresql and httpd (order 64 and 85, respectively), but chkconfig always places it at order 50. I tried an experiment on a CentOS ...
3
votes
3answers
5k views
Can I set up Fedora or Centos repos in RHEL6?
I have a RHEL6 box with no subscription to Red Hat Network. I want to install gcc using yum to resolve all the complex dependencies. Can I connect to Fedora or Centos repositories to install software? ...
3
votes
2answers
907 views
How to kill ostensibly immortal process?
I had some huge file transfers operating on an NFS mount. The server on which the mount point resided was carelessly rebooted, and now the server from which these large transfers were initiated seems ...
3
votes
4answers
618 views
Reloading a kernel “live” in CentOS / RHEL 6
When upgrading the kernel package on CentOS or RHEL 6, is it possible to load the new kernel without rebooting?
My gut tells me it's not, but if it were, it'd be handy - especially when compiling ...
3
votes
1answer
276 views
How do I make a persistent domain with virsh?
virsh create somefile.xml creates my machine just fine but when I shut the machine down the whole thing disappears. Machines I made with the virt-manager GUI are persistent (stick around after ...
3
votes
1answer
2k views
Why is my RHEL6 x86_64 server trying to install libselinux.i686?
Just did a fresh install using the RHEL 6 DVD on a test VirtualBox server:
[root@bt-rhel6-1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
I am certain it's an ...
3
votes
2answers
1k views
What in a kickstart file sets the desktop GUI as default (runlevel 5)?
I am using Scientific Linux 6 and am installing the following desktop-related package groups:
@basic-desktop
@desktop-platform
@general-desktop
@x11
However, after installation, /etc/inittab still ...
3
votes
2answers
3k views
Account Lockout with pam_tally2 in RHEL6
I am using pam_tally2 to lockout accounts after 3 failed logins per policy, however, the connecting user does not receive the error indicating pam_tally2's action. (Via SSH.)
I expect to see on the ...
3
votes
1answer
1k views
Centos 6 - How to upgrade module located inside initramfs?
We have recently upgraded our e1000e (intel ethernet) module on one of our centos 6.0 boxes.
Even tho the module compile and installed fine, the old version is still being used.
We have tracked this ...
3
votes
2answers
2k views
How to create a RHEL/CentOS boot media that automatically loads kickstart from the network?
I've build a local network where using DHCP, kickstart templating and local mirrors I can automate the installation of any RedHat-type operating system. It still requires me to go to the machine (or ...
3
votes
1answer
95 views
Keep RHEL at a particular minor revision level? [duplicate]
I'm working with a large database platform (Or#&%@) that requires a specific revision level of Red Hat Enterprise Linux. In this case, it needs EL6.2 in order to retain support and compatibility ...
3
votes
1answer
436 views
apache/httpd responds slower under EL6.1 than EL5.6 (centos)
I've read through other threads on performance differences between RHEL6 and RHEL5, but none seem a tight match to mine.
My issue manifests itself in slightly slower average response time (20ms) per ...
2
votes
4answers
5k views
Default gateway is in different subnet. How to configure in RHEL6.2
I have two subnets routed to my server from ISP. I have only one gateway ip. The gateway is on the same VLAN as my IP address.
For example netowrk 1 is 1.0.0.0/24 and network 2 is 2.0.0.0/24. Both are ...
2
votes
3answers
8k views
RHEL 6 x64: running 32 bit applications
We develop an application which currently works in 32 bit mode only. It worked fine in RHEL 5 but failed to work in RHEL 6. The reason is RHEL 6 by default is installed with 64 bit libraries only. ...
2
votes
2answers
218 views
Should swap space be in a logical volume, or directly on disk?
What are the benefits of putting swap into a logical volume over using direct disk access?
For example, with a fresh, default install of RHEL5 or 6, a volume group is created on the default disk ...
2
votes
2answers
1k views
yum trying to install el5 when I am on el6
When I run the following yum command I get this error:
Package: git-1.7.10.1-1.el5.rf.x86_64 (rpmforge)
Requires: libcurl.so.3()(64bit)"
I read that this error is due to running an el5 ...
2
votes
1answer
144 views
Caveats when upgrading from RHEL 5.4 to RHEL 6.3 on hundreds of production servers [duplicate]
Possible Duplicate:
Caveats when upgrading from Java 6 to Java 7 on hundreds of production servers
I am about to upgrade the RHEL version from RHEL 5.4 to RHEL 6.3 in a few hundreds of ...
2
votes
3answers
922 views
Fresh install of RHEL 6.1 - yum failing to update
I'm getting some errors when trying to update some RHEL 6.1 64 bit servers with yum. I tried a fresh install of the OS and then ran yum -y upgrade and received the same errors that I was getting on my ...
2
votes
2answers
2k views
KVM on RHEL 6.1 makes host sluggish
I have been running RHEL 5.7 on a host just fine with several VMs (KVM). No major issues. Time came to upgrade to RHEL 6.1 as a few bugs had been fixed in this release.
When I start a VM or two under ...
2
votes
1answer
104 views
Locking user account on RHEL using PAM LDAP
I have a bit of an edge case here. My institution has a RHEL server where students can log in and do their work. Accounts are held in LDAP and the server uses PAM and LDAP to authenticate. At the end ...
2
votes
3answers
231 views
Lightweight alternative to R for RHEL?
I want to use R for some statistical analysis of logfile information, but found that even the "limited" R-core RPM has a lot of dependencies not already installed. I don't want to install so many ...
2
votes
1answer
155 views
Building a router / NAT and need to compare performance of FreeBSD 8 v RHEL 6 [closed]
I am going to be setting up a router and NAT device but I am unable to choose between pfSense 2.x (FreeBSD 8) and RHEL 6.
The device will need to forward a medium (2k hosts) sized network where ...
2
votes
1answer
1k views
How do I disable multipath on Linux (RHEL 6) when it is on the root partition (/, /boot, /boot/efi, and swap)?
I have been working on configuring multipath on a couple of RHEL 6 servers. Through some fault of my own (blacklist mistyped) I have configured multipath on the root partition, yet it seems that I am ...
2
votes
1answer
139 views
RHEL 6 Upstart User Jobs
Does RHEL6 support upstart user jobs?
I modified /etc/dbus-1/system.d/Upstart.conf and added a policy section for my username. I then created ~/init.d/userjob.conf.
When I do inictrl list it ...
2
votes
1answer
283 views
Cannot umount device is busy [closed]
Situation
I am running a RHEL server via a VM on my laptop. I have a win7 desktop sharing out a folder and the VM on my laptop running RHEL6 has a CIFS windows mount at \mnt\win When I go to ...
2
votes
3answers
2k views
Compiling realtime kernel from RHEL 6 MRG sources on CentOS 6
I'm trying to compile kernel-rt-2.6.33.9-rt31.75.el6rt.src.rpm from RHEL6 MRG source RPMs on Centos 6 x86_64 system.
It's first time I'm doing this, so I did research on how to do this properly. From ...
2
votes
2answers
5k views
RHEL6 “/etc/sysconfig/networking” is missing, can't configure any devices through system-config-network
I'm having an issue configuring networking for my RHEL6 box.
Whenever I run "system-config-network" -> "Device configuration" I get nothing there, like I dont have any ethernet devices, when I look ...
2
votes
1answer
81 views
Two RHEL 6 machines with static IP cannot ping each other
I am setting up a few servers for a conference at a hotel.
They have setup a separate VLAN for me and gave me 3 static IP's and a DHCP pool of 500.
The issue I have is that the two servers can not ...
2
votes
2answers
484 views
Oracle Linux 6 kernel panic boot - anything I can do?
I'm running Oracle Linux 6 on a HP Proliant server. It's been running fine for the last week, but seemed slow earlier so the Oracle service was stopped. Rather than restart the service, I was asked to ...
2
votes
1answer
303 views
What is lldpad (RHEL)
recently I encountered the lldpad daemon in centos 6.3.
It says in the manual :Executes the LLDP protocol for supported network interfaces.
Link Layer Discovery Protocol also has a nice wikipedia ...
2
votes
1answer
2k views
Clone kvm/qemu VM to a different server
What's the easiest/quickest way to clone a VM from one server onto another if you don't have shared storage between the two servers (so you can't do a standard migration)?
I have a production ready ...
2
votes
1answer
398 views
What does a connection timeout indicate when performing an NFS mount on a QNAP NAS?
We have a shiny new QNAP NAS (TS-879U-RP), and I'm trying to mount it to our big ol' RHEL server in the same manner as our other two QNAP NAS devices. The IT department won't give me the root ...
2
votes
1answer
836 views
OCFS Configuration
I'm setting up a Virtual Machine, and I'm trying to get OCFS to allow redundancy across two devices. It looks to be working in configuration, but it's not actually syncing the files across:
...
