Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and ...

learn more… | top users | synonyms (1)

5
votes
7answers
11k views

Automated configuration of ldap authentication for RHEL5 servers

I use puppet for managing our production servers. Under rhel5 the standard way of enabling ldap is to use the authconfig tool. Which works successfully, but isn't really capable with the puppet way of ...
5
votes
3answers
664 views

Flash on EL6 for accessing VMware vCenter Appliance 5.5

Has anyone succeeded in connecting to a vcenter 5.5 appliance with a RHEL6 workstation? If so, what's the magic incantation and ritual keystrokes? Made the mistake of upgrading to esxi 5.5 without ...
5
votes
2answers
10k views

Configure a DNS server per nic interface (eth0 / eth1)?

How would you configure a DNS Name Server per NIC (eth0 vs eth1) interface on RHEL/Centos 6? E.g. eth0 is on subnet 10.0.0.1/24 eth1 is on subnet 192.168.0.1/24 Any requests sent over ...
5
votes
2answers
10k views

glibc 2.7 on CentOS 5.5?

I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
5
votes
2answers
3k views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
5
votes
2answers
6k views

How to Increase the Size of an XFS File System?

I just created an Amazon AWS EC2 instance running RHEL7: [root@ip-10-184-161-46 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-184-161-46 ~]# And even ...
5
votes
2answers
323 views

Are there any issues migrating from RHEL to CentOS?

I want to migrate off of RHEL 6.3 to CentOS-6 to save in licensing costs. We will mainly be running Java/WebLogic 11g on these boxes. Are there any issues that I should be aware of when migrating from ...
5
votes
1answer
1k views

does rsync's delta algorithm work on a samba share?

I have a cron job to use rsync to sync the data on a windows samba share (that i mount using /etc/fstab on boot). My problem is that the transfer seems to take almost as long as the initial transfer ...
5
votes
3answers
10k views

NTP configuration not recognized?

I'm trying to configure NTP on my machine but it seems that the parameters I set are not being read by the system. Below is my /etc/ntp.conf file. (I applied the most basic configuration to eliminate ...
5
votes
2answers
240 views

Any repercussions from not using default primary groups for Linux users?

We were thinking of not using the default primary group for our RHEL users. What I mean by default: User: melbin Primary group: melbin We will instead do something like: User: melbin Primary ...
5
votes
3answers
11k 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 ?
5
votes
1answer
3k views

What is the difference between the Linux and Linux LVM partition type?

Fdisk shows multiple partition types. What is the difference between choosing 83) Linux and 8e) Linux LVM? Choosing 83) Linux also works fine for using LVM, even creating a physical volume on ...
5
votes
4answers
3k views

switchless Infiniband between two servers on RHEL 6.3

I have 2 servers running RHEL 6.3 which have 2 port Infiniband cards >lspci | grep -i infini 07:00.0 InfiniBand: QLogic Corp. IBA7322 QDR InfiniBand HCA (rev 02) I'm interested in connecting ...
5
votes
2answers
7k views

rpm spec: conditional require based of distro version

I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on RHEL/CentOS5 I need to add one additional dependency. ...
5
votes
5answers
33k views

How can I resize a LVM partition in Red Hat without lose of data?

My partition detail is like this /dev/mapper/VolGroup00-LogVol00 57G 8.8G 46G 17% / /dev/mapper/VolGroup00-LogVol05 259G 7.0G 239G 3% /home ...
5
votes
3answers
286 views

How to fine tune TCP performance on Linux with a 10Gb fiber connection

We have 2 Red Hat servers that are dedicated for customer speedtest. They both use 10Gb fiber connections and sit on 10Gb links. All network gear in between these servers fully support 10Gb/s. Using ...
5
votes
1answer
248 views

Odd TCP termination sequence

While troubleshooting another thing, I've noticed an odd pattern of TCP closes. Packets: http://www.cloudshark.org/captures/7590ec4e6bef What's happening is that the last few packets of the close ...
5
votes
2answers
2k views

LVM: resize2fs not resizing

I'm having a weird issue with resize2fs. I've performed all the commands and they all have been successful, however, my filesystem is the same size as it was before: [oracle@server~]$ df -h /backup ...
5
votes
2answers
523 views

Collecting and centralizing information from many servers, sort of like Puppet's facter

We manage hundreds of RedHat Enterprise Linux servers happily with Puppet. One of the cool side effects is that we can go to /var/lib/puppet/yaml/facts and look at the output of the "facter" utility ...
5
votes
2answers
2k views

RHEL Clones (Centos, Scientific, CERN) network installation on XenServer 6.2

I'm trying to install a Scientific Linux CERN 6 guest on XenServer 6.2 through the network with PXE Booting but it hangs in the message: mounting /tmp as tmpfs... done I'm not using the most ...
5
votes
1answer
4k views

du command takes WAY too long to run

I am running du -sh in a variety of directories to find disk hogs. I got two identical servers (Dell PE2850s), both with RHEL5 and it will take significantly longer to run du on one server over the ...
5
votes
4answers
4k views

Is there a way to prevent password expiration when user has no password?

Okay, we all care about security so users should change their passwords on a regular basis (who said passwords are like underwear?). On redhat and centos (5.x and 6.x), it's possible to make every ...
5
votes
1answer
2k views

Creating a local rpmforge/repoforge mirror?

I make good use of RPMforge for my production CentOS systems. I have local repositories for the main CentOS distribution and updates, however, recent automated kickstart installs are starting to hang ...
5
votes
2answers
3k views

sudo chown - prevent ../

Need to allow a user to chown files under a particular directory using sudo. This does the trick: user1 ALL= NOPASSWD: /bin/chown -[RPfchv] user2\:user2 /opt/some/path/[a-zA-Z0-9]* But, does not ...
5
votes
2answers
2k views

Avoid file conflict in rpm package

I have created a rpm package.The part of .spec file is below %install mkdir -p ${RPM_BUILD_ROOT}/etc/xyz cp -rf %{BDIR}/console ${RPM_BUILD_ROOT}/etc/xyz %files /etc/xyz/console So XYZ ...
5
votes
4answers
5k views

Serial Over Lan doesn't redirect OS terminal

I'm trying to create a monitoring system for a remote machine using an IPMI Serial Over Lan (SOL) console. The remote OS is RHEL 6, the mobo manufacturer is Supermicro. I've successfully enabled SOL ...
5
votes
4answers
1k views

update to samba 3.6.23-30 on RedHat server 6.7 breaks connections from clients on AD forest

I have a Samba server (version 3.6.23-30) running on a RedHat Enterprise sever version 6.7. It is joined to Active Directory, and authentifies the users to AD. Winbind is not running ("Winbind is not ...
5
votes
2answers
9k views

CentOS not detecting Intel 10G (ixgbe) interface

I have a server with CentOS 6.5 installed with 2x 1Gbps Ethernet Cards, I have added a new interface (Intel(R) 10 Gigabit PCI Express Network) but the problem. is the system is not detecting the ...
5
votes
1answer
3k views

Best Practices for rotating syslog logs on RHEL with different schedules?

OS: Running RHEL 5.6. Situation: I need to rotate /var/log/messagees on a different schedule than the rest of the syslog logs. By default syslog logs are rotated weekly based on the ...
5
votes
3answers
8k views

When to relink Oracle?

Various sources on the internet suggest relinking of Oracle binaries is necessary after each OS upgrade and / or patch. I can understand relinking would be necessary when upgrading glibc. Some ...
5
votes
3answers
3k views

Windows 7 Samba issue

We have a strange samba issue affecting only one user. Our samba setup is as follow : Red Hat Enterprise Linux Server release 5.4 (Tikanga) - Samba Server Samba version 3.0.33-3.14.el5 ...
5
votes
1answer
696 views

Speed of different Linux distros - why the difference?

I have a piece of multi-threaded software which runs at different speeds under the latest ubuntu server, redhat enterprise and CentOS - all installed on the exact same server for comparison. Ubuntu ...
5
votes
2answers
8k views

KVM network bridge with two NICs

Greetings, I'm trying to set up bridged networking with KVM and am getting nowhere. There are docs and tutorials on the subject, but they all seem to conflict or don't provide enough info. I was ...
5
votes
4answers
3k views

How can I remove the GUI bits from a Red Hat Enterprise Linux install?

I am looking at a farm of RedHat Enterprise Linux (RHEL) 5.3 servers, which all have GNOME and Xorg installed, none of which need them. They were deployed by a 3rd party from a VM template, and I ...
5
votes
1answer
589 views

Not Able to Mount USB HDD in Linux

I'm having a problem with a server that I just installed kernel 2.6.18-371.el5 on. It's an old kernel for Red Hat 5, I know, but due to certain "restrictions" I am forced into using that for the time ...
5
votes
1answer
194 views

Active Directory: Server 2008 and RHEL 5.10

Apologies if this is a re-post. I've been googling and researching the topic for over three weeks now and I've come up against the same problem over and over again and I haven't managed to get around ...
4
votes
4answers
3k views

Can Linux report IP conflicts?

If a Red Hat or other Linux host has a conflict with an IP address, is there a way to have it display a warning message on the console or in a log, like Windows and MacOS do? i.e. my computer has an ...
4
votes
3answers
869 views

linux root password security

Is there anyway to protect root password. As people know to change root password through single user mode. How can protect that no one can change password of my machine through single user mode.
4
votes
4answers
54k views

How to install gparted on CentOS

I tried yum install gparted It says no package found. Can I install rpm packages in CentOS or is that only for RedHat? I mean, if I have rpm for RHEL, can I install it on CentOS 5?
4
votes
5answers
4k views

Script to delete files older than 30days

Shell script should not delete any files under* root dir*. My* path will be like /export/home/ftp/ ... I did some research and figured out the way for finding and deleting the files older than 30 ...
4
votes
6answers
3k views

How to tell if linux disk IO is causing excessive (> 1 second) application stalls

I have a Java application performing a large volume (hundreds of MB) of continuous output (streaming plain text) to about a dozen files a ext3 SAN filesystem. Occasionally, this application pauses for ...
4
votes
4answers
1k views

Accidentally ran chmod 775 -R / (not ./) on linux server (RedHat)

I accidentally ran "chmod 775 -R /" instead of "chmod 775 -R ./" and changed the permissions for everything and now the server is broke. Anyone know how I can quickly fix this???
4
votes
3answers
119 views

Local and remote servers with different Linux distros?

I'm running a remote web server on Red Hat Enterprise Linux and want to host a local server with a copy of my LAMP web applications for in-house development. Is there any reason that I would need to ...
4
votes
4answers
23k 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. ...
4
votes
3answers
9k views

How do you only tar files in a directory based on a specific file name?

I want to create a tar ball and include only the files in the directory that start with a specific filename. For instance I have apples-x.x.x and oranges-x.x.x, and I only want to tar the files ...
4
votes
2answers
372 views

Which Red Hat / CentOS updates should be applied and on what schedule?

I'm subscribed to the CentOS-announce mailing list and I've read the definitions of the various severity tags such as Critical, Important, Moderate, Low, BugFix, etc. but I'm still unclear as to what ...
4
votes
2answers
4k views

How do I export variables for all users in Linux?

I am using Red Hat. I need to export variables for all users (permanently). How would I go about doing that? I know there is a file for a single user where I can set permanent variables.
4
votes
5answers
2k views

Reboot fails on RHEL 6.1 after kernel update on Amazon EC2

Everytime I start a new RHEL instance, I like to perform a yum update to start with the most up-to-date system. However, everytime I try to reboot the instance after that, the instance never goes ...
4
votes
3answers
141 views

versioning system with less duplication of data

We have a homegrown config management system and we'd like to add config file versioning to it in a simple way. My first thought was svn (or similiar), but I'm concerned with creating a repo in one ...
4
votes
2answers
28k views

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various ...