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)

59
votes
15answers
8k views

Hundreds of failed ssh logins

Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be ...
50
votes
5answers
3k views

How should an IT department choose a Linux distribution: Technical reasons

There is a lot of community feeling about what Linux distributions are appropriate for production server environments and what aren't. Some of this is based on the availability of commercial support. ...
49
votes
9answers
59k views

When does `cron.daily` run?

When do entries in cron.daily (and .weekly and .hourly) run, and is it configurable? I haven't found a definitive answer to this, and am hoping there is one. I'm running RHEL5 and CentOS 4, but for ...
48
votes
2answers
6k views

Why is it so difficult to upgrade between major versions of Red Hat and CentOS?

"Can we upgrade our existing production EL5 servers to EL6?" A simple-sounding request from two customers with completely different environments prompted my usual best-practices answer of "yes, but ...
32
votes
9answers
82k views

What version of RHEL am I using?

How can I determine from the shell with no privileges what the Red Hat Enterprise Linux version is, for example is it RHEL 4 or RHEL 5.1?
31
votes
5answers
4k views

How do admins maintain user accounts across hundreds of linux servers?

Dealing with hundreds of RHEL servers, how can we maintain local root accounts and network user accounts? Is there an active directory type solution that manages these from a central location?
29
votes
1answer
5k views

Why are my XFS filesystems suddenly consuming more space and full of sparse files?

I've run XFS filesystems as data/growth partitions for nearly 10 years across various Linux servers. I've noticed a strange phenomenon with recent CentOS/RHEL servers running version 6.2+. Stable ...
25
votes
3answers
7k views

The XFS filesystem is broken in RHEL/CentOS 6.x - What can I do about it?

Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I've depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file ...
23
votes
7answers
4k views

Reasons to disable / enable SELinux

In the line of this question on StackOverflow and the completely different crowd we have here, I wonder: what are your reasons to disable SELinux (assuming most people still do)? Would you like to ...
23
votes
6answers
3k views

Hardware Firewall Vs. Software Firewall (IP Tables, RHEL)

TL;DR My hosting company says IP Tables is useless and doesn't provide any protection. Is this BS? I have two, co-located servers. Yesterday my DC company contacted me to tell me that because I'm ...
22
votes
5answers
35k views

How to install git to red hat enterprise linux 5.3 x64?

How can I configure yum to use some repository which has git rpms?
18
votes
2answers
620 views

Best Practices for updating a previously unmaintained server RHEL5.7

A new RedHat EL5.6 server has been recently put under my care. It is immediately obvious that, for the previous 12 months, little to no attention has been given to any sort of package updates. ...
17
votes
20answers
2k views

Why does redhat seem to be so popular in the enterprise world?

Title says it all. For personal usage, I tend to prefer Debian/Ubuntu over Redhat. It's not necessarily that I dislike Redhat (or more specifically CentOS or Fedora) so much as it is that I like ...
16
votes
1answer
513 views

Install APC RedHat

i am trying to install apc on redhat so i did: pecl install apc i said yes to: Use apxs to set compile flags (if using APC with Apache)? [yes]: and i get this: checking for re2c... no ...
15
votes
3answers
11k views

Open source alternative for Canonical Landscape? [closed]

From Canonical: Landscape is an easy-to-use systems management and monitoring service that enables you to manage multiple Ubuntu machines as easily as one through a simple Web-based ...
14
votes
8answers
51k views

How do I make Linux recognize a new SATA /dev/sda drive I hot swapped in without rebooting?

Hot swapping out a failed SATA /dev/sda drive worked fine, but when I went to swap in a new drive, it wasn't recognized: [root@fs-2 ~]# tail -18 /var/log/messages May 5 16:54:35 fs-2 kernel: ata1: ...
14
votes
4answers
751 views

Common wisdom about Active Directory authentication for Linux Servers?

What is the common wisdom in 2014 about Active Directory authentication/integration for Linux servers and modern Windows Server operating systems (CentOS/RHEL-focused)? Over the years since my first ...
13
votes
3answers
718 views

Does my Oracle DBA need root access?

My Oracle DBA Colleague is requesting root access on our production servers. He is arguing that he need it to perform some operations like rebooting the server and some other tasks. I do not not ...
13
votes
2answers
27k 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 ...
13
votes
3answers
1k views

Pros and Cons of a Decentralized Puppet Architecture

We have around 300 RHEL servers that are currently connecting to a Puppetmaster server. However, we have noticed some performance bottlenecks and it is the point of failure in our system. I am ...
12
votes
4answers
45k views

What is the value of JAVA_HOME for CentOS?

I have install java through yum on CentOS, however another java programme needs to know what the JAVA_HOME environmental variable is. I know all about setting environmental variables, but what do I ...
12
votes
2answers
2k views

What does the new full stop / period mean in the RHEL6 ls output?

We have scripts looking at the output of ls -l output for permission information that have been failing recently on RHEL v6 systems which appear to be showing an extra . at the end of the permission ...
12
votes
4answers
2k views

How to identify NICs that are connected to the same switch from a Linux box?

Initial Setup As a Linux administrator you have installed a fresh Linux box with 6 NICs eth0 to eth5. The eth0 interface is correctly configured and all other interfaces are currently up but without ...
12
votes
1answer
1k views

Linux - if I change the hostname, which services need to be restarted?

I'm making some system hostname changes across a few environments and this got me thinking... When I change a server's hostname (live), what needs to be modified and which system services require a ...
12
votes
3answers
765 views

on Red Hat Enterprise and CentOS, what is creating /var/run/reboot-required?

On CentOS 5.8+ and Red Hat Enterprise 6+, when installing/updating packages, I notice a flag file /var/run/reboot-required is created when appropriate. On Ubuntu (and Debian too, I'm guessing), if ...
11
votes
3answers
3k views

How can I diff two Redhat Linux servers?

I have two servers that have should have the same setup except for known differences. By running: find / \( -path /proc -o -path /sys -o -path /dev \) -prune -o -print | sort > allfiles.txt I ...
11
votes
6answers
7k views

Automatically check for Security Updates on CentOS or Scientific Linux?

We have machines running RedHat-based distros such as CentOS or Scientific Linux. We want the systems to automatically notify us if there are any known vulnerabilities to the installed packages. ...
11
votes
6answers
23k views

KVM Guest installed from console. But how to get to the guest's console?

I'm trying to install a fully virtualized guest (Fedora 14 x86_64) on KVM (RHEL 6), using command-line only (both hypervisor and guest). It goes without errors, and without a tangible result . I'd ...
10
votes
5answers
854 views

How to make my boss understand that a server fault is a bad thing?

I'm currently working in Tokyo for a smaller company that has just started serious online business. Recently we have been hitting the maximum open files issue on a rented VPS server causing services ...
10
votes
3answers
15k views

How to list RPM dependencies?

Our production server is running CentOS release 5.2 (Final). How do I see/get/list all the dependencies of an already installed RPM package? For example: SQLite v3.3.6 is already installed in the ...
10
votes
6answers
1k views

Is there a program like WinDirStat for RedHat?

I'm running out of disk space on one of our Linux servers and I need to find out what is taking up all the space. TIA
10
votes
2answers
1k views

Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity... I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were ...
10
votes
3answers
32k views

How do I enable apache modules from the command line in RedHat?

How do I enable apache modules from the command line in RedHat? On Debian/Ubuntu systems I use a2enmod to enable modules from the command line. Is there an equivalent for RedHat/CentOS type systems? ...
10
votes
2answers
202 views

Name resolution difference between CentOS and Debian

I have a small Java program that loops calling InetAddress.getByName("example.com") every second. When I run it on a CentOS 6.4 box using 'strace -f' I see that /etc/resolv.conf is opened and read ...
10
votes
2answers
4k views

Persistent ip rule on Linux (Redhat)

How can I configure a persistent ip rule on Linux (specifically Redhat based distros)? Is there no built in method? Is my only option adding to /etc/rc.d/rc.local or creating my own rc.d script? ...
10
votes
1answer
10k views

What the heck is gssapi-with-mic?

Debugging a Nagios warning on ssh, I've discovered that gssapi-with-mic is causing long lags in authentication. I've turned it off, but what exactly am I missing? I gather that GSSAPI is a tool for ...
9
votes
2answers
5k views

What is needed for a linux service to be supported by chkconfig?

I am trying to add to the auto start at boottime a linux service through the chkconfig -add <servicename> and I get a message saying service <servicename> does not support chkconfig ...
9
votes
3answers
980 views

Why not use vmware tools for time synchronisation?

We have two VMWare environments running a bunch of (mainly) Redhat 5.9 and 6.4 guests. We are having issues with time drift (minutes ahead per week). We use ntp, syncing to the local domain ...
9
votes
3answers
15k views

Sending audit logs to SYSLOG server

I'm running several RHEL based systems which utilize the audit functionality within the 2.6 kernel to track user activity and I need to have these logs sent to centralized SYSLOG servers for ...
9
votes
3answers
44k views

How do I know if IP Multicasting is enabled on my network?

Is there a way to know if the Red Hat Linux Servers on my network have IP Multicasting enabled? The output that I get by running the cat /proc/net/igmp command is the following Idx Device : Count ...
9
votes
3answers
13k views

How to unzip files bigger than 4GB?

I'm using RHEL 5.6 and unzip-5.52-3.el5. I'm trying to unzip a big file, but I get the error: unzip -o test.zip -d unzip/ error: Zip file too big (greater than 4294959102 bytes) Archive: test.zip ...
9
votes
5answers
3k views

What dir should I deploy Rails apps into?

What would be a reasonable and logical directory into which to deploy my production Rails apps on a Linux system? Some candidates... /var/rails <= There's a /var/www so this would be consistent ...
8
votes
5answers
540 views

Would you run RedHat 4.4 on a new server?

I have a hosting company that has setup a new server for me, but I noticed it was running RedHat 4.4 which I am worried about being such an old version. When I inquired about running an old version, ...
8
votes
3answers
18k views

Install Python 2.5 on RedHat/Centos

Current Python version is 2.4... yum upgrade python Gives Could not find update match for python Do I have to install from source?
8
votes
5answers
5k views

How do I install a yum package group with puppet?

Does puppet have a way to install a yum package group (e.g. 'Development Tools'), besides exec?
8
votes
3answers
12k views

How to have linux top command show memory summary in megabytes not kilobytes

Redhat EL5 I had my top configured the just the way I like showing the memory summary and swap summary in MB. I had to close my shell and then when I re-opened it, it is back showing in (default ?) ...
8
votes
2answers
2k views

Adding new virtual disks to a RHEL host in ESX “live”

I'm sure I've just missed which tutorial/manual page covers this, but how do you add get the guest OS to recognize that you've added new drives to it without a reboot? I have a RHEL5 guest running on ...
8
votes
1answer
1k views

Can't Remove Logical Drive/Array from HP P400

This is my first post here. Thank you in advance for any assistance with this matter. I'm trying to remove a logical drive (logical drive 2) and an array (array "B") from my Smart Array P400. The ...
8
votes
1answer
899 views

Deploy internal CA to linux clients

I have a large number of workstations that run RedHat Enterprise Linux 5 and 6. I'd like to deploy our new internal CA (Active Directory) to these machines. I can manually import the certificate ...
7
votes
3answers
3k views

RHEL 6.4: Mode 1 channel bonding not failing over

I'm running RHEL 6.4, kernel-2.6.32-358.el6.i686, on an HP ML 350 G5 with two onboard Broadcom NetXtreme II BCM5708 1000Base-T NICs. My goal is to channel bond the two interfaces into a mode=1 ...