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
3answers
2k views

RHN/Yum update from Red Hat Enterprise Linux 5.0 to 5.1

I need to update a server from RHEL 5.0 to 5.1 When I use RHN/Yum and do a yum update the 5.0 server gets updated to 5.6 Is there a way to configure RHN/yum to update the server only to RHEL 5.1 ? ...
5
votes
3answers
4k views

Getting NFS clients to retry mount if NFS server down when client boots

I have an NFS server that several clients mount. I am using the following in my /etc/exports on the server: /content *(rw,no_root_squash) and on the clients in my /etc/fstab I have: ...
5
votes
3answers
1k views

sudo -i but keep current working directory

When use sudo -i I will simulate login as root, and current working directory will be jumped to /root. Is it possible not to jump and keep the working directory unchanged?
5
votes
2answers
9k views

Where is the gem command in RHEL6?

I just built RHEL 6 and I need to be able to install ruby gems, etc. I have the ruby 1.8.7 packages installed but there is no gem command anywhere? What gives?
5
votes
1answer
9k views

What exactly do --limit 1/s and --limit-burst mean in iptables rules?

I'm using CentOS 5.x trying to wrap my mind around the following iptables rule on one of my servers: -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT On ...
5
votes
1answer
1k views

Interpreting Munin graphs showing available entropy and MySQL slow queries in sync

We're experiencing performance issues on our website, and after reviewing our munin graphs, the only metrics we've found in sync are Available entropy and MySQL slow queries, with the latter ...
5
votes
3answers
3k views

Kickstart: Serve dynamic kickstart images via a CGI or PHP script?

I'd like to Kickstart a couple dozen RHEL6/SL6 servers. However, some of these servers are different and I don't want to create a new ks.cfg file for each class of server. Is there any way I can ...
5
votes
3answers
9k views

Changing the timezone on a RHEL5/CentOS system

How do I change the timezone on a RHEL5 system? I'm reading the instructions here - http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/ But they seem very bold (altering ...
5
votes
1answer
2k views

How do I migrate from RHEL 5 to CentOS 5?

I've found myself in charge of installing some software on an old server running RHEL 5. Unfortunately, since it's just a development server now, it no longer rates a license. I'd like to continue ...
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
689 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
4k 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
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 /dev/...
5
votes
2answers
326 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
11k 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
241 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 group:...
5
votes
1answer
8k views

How do you create an ssh key for the apache user on Redhat?

As the question asks, how do I generate an ssh key for the user apache on Redhat? My use case, is that we have a mercurial server running under the apache user. We also have several web servers ...
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
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
34k 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 /dev/...
5
votes
3answers
450 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
256 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
5k 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
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
530 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
1answer
4k views

How to get cpio (gnu, rhel 4) to extract to a specified directory?

Reason is I want to make a tidy script instead of cd /some/dir cpio -whatever<somefile cd -
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
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
3k 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
7k 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
2k 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
10k 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 /etc/logrotate....
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
698 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
9k 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 don'...
5
votes
0answers
291 views

How does yum with Red Hat Network Subscription work inside the rhel Docker images?

Red Hat Enterprise Linux 7 includes official support for running Docker containers, and Red Hat offer a set of official rhel Docker images. An interesting feature of these images is that packages can ...
5
votes
1answer
633 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
200 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 ...
5
votes
1answer
1k views

NFS mount mounted inside another NFS mount disappears randomly

I have quite an odd issue where my nested NFS mounts just disappear randomly from time to time. The fstab entries look somewhat like this: nfs:/home /home nfs rw,hard,intr,rsize=32768,noatime,nocto,...
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
887 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.