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

learn more… | top users | synonyms

1
vote
2answers
662 views

RHEL Need To Boot Without rc.local

I am running RHEL 5.5. I edited my rc.local file, but I made a bad change because now when I try to boot RHEL, I get to my normal background but the login prompt does not appear now. Is there a way I ...
2
votes
1answer
374 views

How do I include a customized configuration file in a rebuilt RPM?

We've rebuilt a bunch of RPMs because we wanted to remove modules and change config options for items specific to our production environment. We're hosting them in a private repo, and have them signed ...
2
votes
1answer
2k views

How does RHEL 5 (Linux kernel 2.6.18) determine the default fs.file-max setting?

If fs.file-max is not set in /etc/sysctl.conf on RHEL 5 or its derivatives, how does the kernel determine the default value? Is there a formula used to set the fs.file-max value based on the amount of ...
5
votes
3answers
8k 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 ...
1
vote
1answer
939 views

rhel configure: limit root direct login to systems except through system consoles

I have to configure to limit root direct access except system consoles. That is, the ways of telnet, ftp, SSH are all prohibited. Root can only login through console. I understand that will require me ...
1
vote
2answers
191 views

In RHEL5, How to authorize common user to use command such as userdel and useradd

I want to authorize to common user to be administrators. So that those authorized users can create accounts, delete accounts, modify password, modify password rules. I know su could help, I wonder if ...
0
votes
1answer
2k views

How to configure password maximum days before it expires?

I want to set Maximum days of a password can be used. So I configure PASS_MAX_DAYS in /etc/login.defs, and PASS_WARN_AGE to warn user before the password expired. In my example, I set PASS_MAX_DAYS = ...
0
votes
1answer
125 views

How to configure to require user to change password after create/reset in RHEL 5

I have to configure system RHEL5 to ensure the security. One requirement is: When a password is first created or reset by an administrator authorized to do so, system(RHEL 5) shall require ...
1
vote
5answers
284 views

How can I modify path of a user with no home folder?

I have a user on my RHEL5 system whose home folder is /tmp. This user is for running some monitoring tasks, it doesn't represent a human being. What are the options for modifying this user's PATH ...
1
vote
1answer
589 views

Normal user can run command on one machine but must be root on another, how do I remove this restriction?

I have two machines. On one, a non-root user can run ethtool and gets output, on the other machine the same user gets sh: ethtool: command not found. If I sudo su - to be root, then ethtool is indeed ...
1
vote
1answer
84 views

Centos 5 RPMs on RHEL 5

I know this isn't ideal, but typically how compatible are Centos5 rpms with RHEL5? Is the only real difference the enterprise package management, or are the two OS as divergent as Fedora and RHEL?
1
vote
1answer
1k views

What's the preferred way of upgrading CentOS 5.5 to use the latest stable release of gcc?

Seems that gcc on CentOS 5.5 is a few versions behind the latest, which has some optimizations that I would seriously welcome. What is the best practice for installing and upgrading gcc?
0
votes
5answers
3k views

How to make a clone of a HD using RHEL 5.4?

We're using RHEL 5.4 and need to clone some hard drives. What would be a good (or "correct") way to do this? I'd like to avoid using dd if I can, since that's somewhat slow. (If that's the only ...
1
vote
3answers
235 views

Update RHEL servers through ssh, without root ssh access

Where I currently am I have a requirement to set PermitRootLogin to no for ssh. I would like to update all of my severs at the same time with passwordless login, however without the root account ...
0
votes
1answer
303 views

Guide to setting up a RHEL5 dedicated web-server for a LAMP website?

I'm setting up a dedicated webserver which will host just one website, ours, which runs on PHP/MYSQL. What all steps should I undertake to make sure everything is configured properly? Is there a ...
1
vote
1answer
741 views

why won't php 5.3.3 compile libphp5.so on redhat ent

I'm trying to upgrade to php 5.3.3 from php 5.2.13. However, the apache module, libphp5.so will not be compiled. Below is a output I got along with the configure options I used. The configure ...
1
vote
2answers
692 views

Connecting to a Yum Repo on RHEL5

When I run a yum update I get the following error yum update Gathering header information file(s) from server(s) Server: Red Hat Enterprise 5Server - RPMforge.net - dag retrygrab() failed for: ...
0
votes
4answers
85 views

What is the most appropriate place to place tomcat in a RHEL/Centos Environment

Developing a virtual machine that will be managed by IT Admins - where is the most appropriate or commonly accepted place to install the tomcat directory on a CentOS system?
0
votes
1answer
288 views

easiest way to upgrade to glib-2.14+ on rhel5?

my Yum repository doesn't have anything newer than glib-2.0. But glib is a fairly core animation library, is my understanding. Is there an easy way to upgrade that won't brick my system?
1
vote
1answer
316 views

Configuring Kernel Parameters for a Postgresql Install

I want to make sure Postgresql can take advantage of all available memory for caching on a dedicated DB server. How do I make sure that the kernel's shared memory settings are correct? Does anyone ...
5
votes
3answers
998 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 ...
0
votes
1answer
423 views

Can't see mouse pointer in Linux VM

I have installed vmware workstation 7 on windows 7 on my thinkpad laptop. I have installed RHEL 5 inside virtual machine. The problem is i can't see any mouse pointer inside that machine. I see ...
1
vote
2answers
1k views

RHEL 5 Hyper-V Guest - Cannot sync with NTP after kernel upgrade

I'm running a RHEL 5 (64 bit) guest on Microsoft Hyper-V. I've always had trouble with the clock getting way ahead of itself, which I was able to solve previously by adding divider=10 ...
1
vote
1answer
697 views

VMware RHEL5 guest OS cached memory release

From everything I have read, RHEL will use all available/unused RAM for caching to increase performance. However, this becomes an issue for me in a VMware environment. VMware (ESX4) looks for guest ...
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 ...
1
vote
2answers
404 views

Installing Zend Server via Puppet, on RHEL and Ubuntu?

I'm learning Puppet by example and writing some modules to manage our current RHEL and Ubuntu servers. My first serious attempt is a Zend Server module. Since Puppet has a Yumrepo, but no Aptrepo ...
2
votes
2answers
305 views

Languages in vim editor

How to insert copy-paste a hindi language word from web pages to vim editor.When i do it now it says "..... . ....." What is the settings that has to be changed in vim editor to do this Thanks..
2
votes
1answer
228 views

how do i fix progressively slower write speed in a raid 5?

We have a RHEL5 install on a machine with 5 Seagate 1 TB SAS disks. One has the OS and swap on it. The other four are in a hardware Raid 5 (mounted as /home) managed by a DELL Perc 6/i controller. ...
2
votes
2answers
13k 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 ...
0
votes
4answers
728 views

Has anybody succeeded installing RHEL on VBox?

I tried to install RHEL 5.4 both 64 and 32 bits on VirtualBox 3.2.4-62467 in Ubuntu 9.1 with no success. It all goes fine but in the end gets stuck. Any success stories ? Hints ? Thanks
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 ...
0
votes
1answer
3k views

WebLogic Server 11g with java based node manager stdout/stderr log path configuration

How I can configure the path where the stdout logs are written by the WebLogic server? I've read about -Dweblogic.log.RedirectStdoutToServerLogEnabled=true, but this redirects only part of the ...
1
vote
1answer
5k views

RHEL - NFS4: Mounted/Exported as rw, user write permission denied

I have nfs4 configured between a RHEL 5.3 server (charlie) and a RHEL 5.4 client (simcom1). The machines are configured to authenticate users via kerberos by a Windows Server 2008 active directory ...
1
vote
1answer
39 views

acessing a subnetwork from within a vm

I have a pc running windows 7. I have vmwareplayer running RHEL5 I have 1 physical ethernet connection. this ethernet connection is wired to a hub. there is another device on that hub that needs to be ...
0
votes
1answer
491 views

Setting up self signed cert and CA [plesk / linux]

I'm about ready to give up and do a clean wipe of this machine and start over with ISPConfig or some other variant. I installed Plesk on this machine to help with some of the handiwork. It is the ...
0
votes
2answers
210 views

Web Server with phpMyAdmin

We have web development company, We using RHEL 5 as local (proxy) server with few windows XP client machines. Now i want to make my Server machine as Web Server ( LAN only ), with mysql and ...
1
vote
2answers
3k views

How do I install git/git-svn on RHEL5 with a custom perl install?

I've had nothing but trouble trying to install Git on RHEL5. First I tried from source, but ran into several issues with installing the docs. There appeared to be missing libs and such for parsing ...
0
votes
2answers
423 views

RHEL 5.1 loses changes to /etc/hosts above lines for `localhost`

Is there a known fix (other than upgrading from 5.1) to fix /etc/hosts from being replaced on reboot? I discovered this behavior when running HP's Server Automation tools. HPSA sets-up a variety of ...
1
vote
5answers
1k views

Solaris to Linux conversion: Use VxFS or GFS?

We're a Solaris shop looking at RedHat Enterprise Linux and one of the things we're wondering is if we should keep Veritas Volume Manager + FileSystem or go with LVM+ext3 or RedHat's preferred cluster ...
3
votes
2answers
906 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 ...
1
vote
2answers
945 views

Repairing yum's repositories on a RHEL5

I am using RHEL5 and yum is missing many packages, such as apache, php, and all php libraries . I have added the rpmforge repository, but i am still missing these packages. This is an i686 machine ...
2
votes
3answers
489 views

Can somebody tell me how to download patches for RHEL that I can burn to disc?

How would I go about downloading the patches from somewhere without actually installing them so that I can burn them to disc and install them on machines that don't have any internet connectivity?
4
votes
3answers
4k 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 ...
0
votes
2answers
314 views

Xen guests accessing LUNs

We are using RHEL5.3 with a Clarion SAN attached by FC. Our situation is that we have a number of LUNs presented to Hosts and we want to dynamically present the LUNs to Xen Guests. We are not sure ...
2
votes
3answers
663 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 ...
1
vote
1answer
5k views

How do I remove Xen kernel and put normal kernel on RHEL 5

I have 3 identical machines (hardware wise) that all have RHEL 5.3 installed. 2 of those machines have the Xen kernel and one doesnt. I cannot install nvidia drivers on the ones that have the xen ...
0
votes
2answers
1k views

System-install-packages missing in RedHat Enterprise Linux 5

i am using RedHat Enterprise Linux 5.1. When i use add-remove software in application menu, i think, that i wrongly uninstalled something. so after reboot that menu item missing. Also i can't use ...
0
votes
1answer
880 views

cannot create a folder under /mnt with root access rhel5.4

I'm not able to create a folder under /mnt error: mkdir: Cannot create directory 'test': No such file or directory I'm logged in as root: as file permissions : drwxr-xr-x 2 root root 0 mnt
2
votes
1answer
620 views

using RHEL5 as a router

I am planning to use a RHEL5 installed computer as a internet connection sharing device. I have installed 2 LAN cards, eth0 and eth1. eth0: Internet eth1: LAN eth0 configuration as follows ; ...
2
votes
3answers
764 views

What's the appropriate way to upgrade Apache in RHEL?

The version of Apache shipped in RHEL 5.4 is very old. A feature I need only shipped recently. It seems Apache upstream only ships tarballs, and omits binary packages. Obviously I could build from ...