Red Hat Enterprise Linux version 5 is a Linux distribution sold by Red Hat, Inc. for the enterprise market.

learn more… | top users | synonyms

50
votes
6answers
14k views

Puppet vs Chef, pro and contra from users and use cases [closed]

I already googled and read the "to-puppet-or-to-chef-that-is-the-question" article. I'm interested in use cases, real world implementations in which people had choosen one or the other on real ...
13
votes
2answers
30k 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 ...
11
votes
6answers
7k views

Python 3.0 RPMs for CentOS 5 (RHEL 5)

Where is the best repository you use to obtain RPMs for Python 3.0 which are well maintained?
9
votes
6answers
2k views

How to monitor Windows host with Nagios?

How do I use Nagios to monitor Windows clients? Are there any alternative solutions available?
8
votes
4answers
5k views

How can I check from the command line if a reboot is required on RHEL or CentOS?

I'm using CentOS and Red Hat Enterprise Linux on a few machines without the GUI. How can I check if recently installed updates require a reboot? In Ubuntu, I'm used to checking if ...
7
votes
5answers
6k views

RHEL5: Forbid installation of i386 packages on 64-bit systems?

Everytime I install something with yum, it tries to install both x86_64 and i386 versions of the package if both are available. Is there any way I can forbid that without specifying the arch of the ...
7
votes
1answer
4k views

CentOS 5 - realtime patch

Where can I download precompiled CentOS 5 kernel including realtime patch? Or I need to compile it myself (if yes, how to do that)?
7
votes
1answer
484 views

LSI RAID controller errors on DB import - How to troubleshoot?

We're running an import of a database dump on an Oracle system - (RHEL 5.9, 2.6.18-348.6.1.el5). The import does not complete, eventually erroring-out with: ORA-15080: synchronous I/O operation to a ...
6
votes
2answers
378 views

How to handle large numbers of connections from an IP address?

Every couple of weeks we have an issue whereby a single IP address opens a huge number of of Apache processes at the same time. It seems to connect to similar pages each time, but our Apache ...
6
votes
2answers
153 views

Chrooting a users login

I want to limit certain users on my system to a subset of commands and have absolutely no access to the rest of the system. I figure chrooting is the way to solve this but I only know how to chroot a ...
5
votes
3answers
5k views

Official online RPM package browser / search for CentOS

I am looking for something that resembles packages.debian.org Debian Package Browser only for CentOS 5 and/or RHEL 5 [Red Hat Enterprise Linux].
5
votes
3answers
9k views

The difference between /etc/pam.d/login and /etc/pam.d/system-auth?

I want to configure securetty to limit root directly access. Now I am clear if I add: auth required pam_securetty.so into /etc/pam.d/system-auth, and keep only "console" in ...
5
votes
2answers
614 views

What does this Linux command do?

I have by a mistake written this command on a CentOS server xargs rpm -e|rpm -qa|grep test11 where I meant rpm -qa|grep test11|xargs rpm -e which should uninstall all packages matching "test11". ...
5
votes
4answers
5k views

How to fix the entropy pool issue with RHEL 5.x

RHEL 5.x has an entropy-generation problem (held-over from kernel 2.4). Following directions from here has produced little-to-no results: How to increase entropy pool on a 2.6 kernel RHEL/Fedora ...
5
votes
3answers
1k views

setting up Ubuntu 10.10 as paravirtualized guest in Xen on RHEL5 host - what kernel?

I've discovered the tool ubuntu-vm-builder, which I've installed and then invoked on an Ubuntu workstation as: sudo vmbuilder xen ubuntu --suite maverick --flavour virtual --arch amd64 --mem=512 ...
5
votes
3answers
1k views

Why is my MPIO connection to the SAN capped at 1 Gbps when using Linux?

I'm connecting a RHEL5 box to a Dell EqualLogic PS5000X and seeing a maximum of 1 Gbps even while using MPIO with three gigabit NICs. I have all three interfaces on the PS5000X and three dedicated ...
4
votes
5answers
6k views

Override DHCP hostname on RHEL5/CentOS/Amazon Linux

I'm running Amazon Linux (based on RHEL5) on EC2. I have my own domain name pointing to the instance's elastic IP. Amazon auto-assigns the instance a generic (and not visible on the Internet) ...
4
votes
3answers
5k views

How to diagnose causes of oom-killer killing processes

I have a small virtual private server running CentOS and www/mail/db, which has recently had a couple of incidents where the web server and ssh became unresponsive. Looking at the logs, I saw that ...
4
votes
3answers
9k views

How to Update Red Hat Enterprise Linux 5.4 using CentOS Repos

I don't have a subscription for RHEL anymore and I want to update my server. Can anyone tell me How to Update Red Hat Enterprise Linux 5.4 using CentOS Repos ?
4
votes
3answers
475 views

Bash wonkyness on Ubuntu versus RHEL

Fellow faulters, I'm playing around with a one liner that I've developed on a RHEL 5.4 box and I have it working perfectly: TOTAL_RAM=`free | grep Mem: | awk '{ print $2 }'`; \ ps axo rss,comm,pid ...
4
votes
3answers
3k views

RHEL 5 Network Connectivity Issue

I just recently installed RHEL 5 on a virtual machine. The server is set up to use a static IP, which I've configured in the Network Configuration GUI. There is only ethernet interface set up called ...
4
votes
1answer
1k views

Online resize of large ext3 file system - is performance affected?

I am planning for a resize of a rather large file system hosting an Oracle instance (one of several on the same server). The disk is 4 TB striped over several LUNs, I'm increasing by 1 TB keeping the ...
4
votes
3answers
135 views

How to clear a disk entry from Linux

I have few Linux (RHEL 5.x / Centos 5.x) boxes running on KVMs, on which I used to attach and detach disks on the fly. Now the problem with EL5 versions are, when we add a disk, initially it will be ...
4
votes
1answer
1k views

Need to Migrate Xen DomU to VMWare ESXi - RHEL 5.3/ESXi 4.1

I've seen plenty of posts outlining the process of converting VMware Linux serves to RHEL Xen (not xenserver) but nothing much has helped me go the other way. I've tried a number of things including ...
4
votes
5answers
509 views

ssh keys + RHEL5

I've been able to set up SSH authentication keys on my ubuntu, fedora core and mac systems, however, I'm not able to get SSH keys to work properly with redhat enterprise linux 5 (RHEL5). I've tried ...
4
votes
1answer
130 views

How is “kernel.*” syslog spoofing prevented?

I'm finding instances of syslog-ng writing out garbage followed by a blank kernel.emerg line in one of our production environments. Example of one: Dec 21 00:14:56 someserver [syslog-ng.err] Error ...
4
votes
1answer
650 views

mount using insecure ports for nfs

Title says it. mount is occasionally making NFS mount/unmount requests from insecure ports. I believe the issue is being caused by all of the secure ports being stuck in TIME_WAIT after periods of ...
4
votes
3answers
2k views

Easiest way to convert HVM DomU to PVM?

I've got a bunch of Xen 3.4 DomUs that are currently running as HVM because of our infrastructure (Kickstart which doesn't handle Xen PVM yet). Both DomU and Dom0 are RHEL5 machines. If I understand ...
3
votes
5answers
1k views

How can I move a process to a core or dedicate a process to a processor?

I have an Intel E5620 processor. I have used cat /proc/[pid]/stat to determine what processor the process was last run on (39th field). How can I ensure that a process is dedicated to a processor (I ...
3
votes
2answers
57 views

Finding home directory of all users

I'm a software dev suddenly finding myself having to play SysAdmin. Recently, I was given a box previously administered by somebody else, and this SysAdmin kind of just did what he wanted. My ...
3
votes
2answers
968 views

RHEL5: Can't create sparse file bigger than 256GB in tmpfs

/var/log/lastlog gets written to when you log in. The size of this file is based off of the largest UID in the system. The larger the maximum UID, the larger this file is. Thankfully it's a sparse ...
3
votes
3answers
234 views

finding kernel space programs [duplicate]

how can we determine %sy process that is Consuming CPU. In the following case there is no netfilter and traffic is under 1 mbps.but still system process are taking too much cpu and cpu usage for ...
3
votes
2answers
466 views

setting up rhel 5.x RPM build server for mortal users

My task is to setup a RHEL 5.x build host, that can build RPMs for mortal users. On RHEL 6.x with rpm version 4.8, I have in /usr/lib/macros: # Path to top of build area. %_topdir ...
3
votes
2answers
15k views

How-to: add an ISO/DVD of RHEL to the Repository list under Gnome for installing packages

I want to add the original ISO I installed RHEL from as a repository under the Add/Remove Software tool in Gnome. How do I do this? To clarify, I know what I need to do (add a repository) - I need ...
3
votes
3answers
9k views

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> ...
3
votes
2answers
12k views

How to install mcrypt on RHEL5

We have an RHEL5 server that I'm trying to install PHP-Mcrypt on and I'm stuck when I tried to run ./configure for mcrypt source files. I was using this guide: ...
3
votes
5answers
12k views

How to start / stop proftpd

I can't seem to find a way to stop / re-start proftpd. My server IP address is xx.yy.zz.ww and connecting from external devices via FTP gives me the prompt: Connected to xx.yy.zz.ww 220 ProFTPD ...
3
votes
1answer
2k views

Which RPM fixes this failed RedHat dependency?

Problem I'm installing an RPM on RedHat Enterprise Linux 5 and it fails with the following error: error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by vspd-1/43-rsmu.i586 ...
3
votes
2answers
1k views

Can't ssh from Ubuntu to RHEL or CentOS

I am trying to setup publickey based authenitcation for 2 different boxes. One RHEL another on e is CentOS. I am having same issue with both where ssh fails and falls back to password based ...
3
votes
2answers
71 views

Changing GRUB configuration to “single” not working in RHEL

I am using RHEL 5.10. I have mistakenly deleted /etc/passwd file in my server (though I have the backup). I'm just trying to get into single user mode by typing single at the end of the kernel line ...
3
votes
3answers
705 views

Exploratory Question for Security Admins (/etc/passwd + PHP)

I've been seeing a few issues lately on a few of my servers where an account gets hacked via outdated scripts, and the hacker uploads a cPanel / FTP Brute forcing PHP script inside the account. The ...
3
votes
1answer
910 views

How to monitor NFS load from userland?

Apologies if I'm not using the proper jargon (although I'm a longtime linux user, I'm not an admin) or if this is a FAQ (though searching SE got lots of hits, I didn't see anything quite like this ...
3
votes
1answer
1k views

Getting OTRS to work with XAMPP

Setting up a testing environment on a RHEL5 server to test out OTRS ticketing system. I installed XAMPP for the ease of use factor for testing but can't seem to get the ticketing system to start with ...
3
votes
2answers
973 views

linux multipath - change device alias safely

I'm running RHEL 5.2 connected to a NetApp over FC. The server is running a database on mpathNN devices that can not be stopped. I need to add a new LUN and give it a specific alias (rather than ...
3
votes
1answer
2k views

Filezilla connection error

I have Red Hat Enterprise Linux (RHEL) 5 LAN server with Squid 2.6 stable proxy settings. Under this have some Windows XP desktops. Now I installed FileZilla FTP client in Windows XP, to service my ...
3
votes
1answer
1k views

Why does my lvm2 volume group only work with multipath device mapper and not powerpath?

My server is an Oracle Enterprise Linux 5.4 (RHEL5) on an hp blade (x64) with qlogic HBAs connected to an EMC clariion SAN. We are migrating from multipath to powerpath, because emc and the company ...
3
votes
2answers
1k views

Is there a way to disable the ptrace system call on RHEL5 Linux?

Is there any wat to disable the ptrace system call on RHEL5?
3
votes
3answers
3k views

How to chroot Apache on CentOS?

I have been advised by a sysadmin, to run Apache in a chroot jail, in order to prevent that an attacker could take control of server. So my question is: What is the best method to chroot ...
3
votes
2answers
2k views

RHEL5.5 yum can't see a package (xen) on repo?

hi i'm trying to install xen via yum on RHEL 5.5. When i browse the repo here: http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/ I can see the package i want. specifically ...
3
votes
1answer
219 views

Is there a command like pstree for libraries?

I need to determine whether a library named libunaSA.so is being called directly by the process or by another library called libtoki2.so. I guess what I'm looking for is a pstree for libraries. The ...