Questions tagged [rhel6]

Red Hat Enterprise Linux version 6 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as CentOS and Scientific Linux.

Filter by
Sorted by
Tagged with
32 votes
4 answers
89k views

Do I need a RHEL subscription to install packages?

I'm new to RHEL. Trying to install software this morning and running into road blocks. Is it required to have a subscription to download packages via yum on RHEL? I'm coming across different sources ...
quickshiftin's user avatar
  • 2,185
8 votes
3 answers
19k views

Understanding RedHat's recommended tuned profiles

We are going to roll out tuned (and numad) on ~1000 servers, the majority of them being VMware servers either on NetApp or 3Par storage. According to RedHats documentation we should choose the ...
espenfjo's user avatar
  • 1,686
13 votes
2 answers
10k views

Persist IP address alias across reboots in CentOS/RHEL 6 using "ip" command

I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that: As the ip command of the iproute package now supports assigning ...
prl77's user avatar
  • 430
103 votes
2 answers
57k views

IPTABLES - Limit rate of a specific incoming IP

I do not wish to limit the rate of a specific service. My goals is to limit rate based solely on the incoming IP address. For example using a pseudo-rule: john.domain.local (192.168.1.100) can only ...
James's user avatar
  • 1,117
14 votes
2 answers
50k 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 ...
5 votes
3 answers
4k views

RHEL 6.3 Upgrading OpenSSH & Apache

We just ran an external security scan from 403Labs against one of our servers (RHEL 6.3 x86_64) for PCI compliance and the results appeared to mainly dictate that we had a hand full of applications ...
Skittles's user avatar
  • 421
0 votes
1 answer
840 views

umask in RHEL 6

How can one set the executable bit on files using umask? According to documentation, a umask of 000 should work, but in practice this only works on directories. Also open to other methods of ...
SeanFromIT's user avatar
153 votes
9 answers
365k views

What version of RHEL am I using?

From the shell and without root privileges, how can I determine what Red Hat Enterprise Linux version I'm running? Ideally, I'd like to get both the major and minor release version, for example RHEL ...
Arthur Ulfeldt's user avatar
18 votes
3 answers
36k views

How to free up space on RHEL6 /boot safely?

I am trying to do yum update on RHEL 6 box and I am getting this error message Transaction Check Error: installing package kernel-2.6.32-279.9.1.el6.x86_64 needs 10MB on the /boot filesystem ...
ams's user avatar
  • 295
14 votes
2 answers
4k views

HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions

On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
Dennis Kaarsemaker's user avatar
12 votes
2 answers
51k views

How can I install git on RHEL 6?

I'm trying to install Git on a RHEL6 development server, I have experience with Ubuntu but this is my first time working with RHEL (I'm a developer trying to fill in for a recently departed Linux ...
JR.Xyza's user avatar
  • 135
7 votes
2 answers
24k views

Account Lockout with pam_tally2 in RHEL6

I am using pam_tally2 to lockout accounts after 3 failed logins per policy, however, the connecting user does not receive the error indicating pam_tally2's action. (Via SSH.) I expect to see on the ...
Aaron Copley's user avatar
  • 12.7k
5 votes
6 answers
5k views

Reloading a kernel "live" in CentOS / RHEL 6

When upgrading the kernel package on CentOS or RHEL 6, is it possible to load the new kernel without rebooting? My gut tells me it's not, but if it were, it'd be handy - especially when compiling ...
warren's user avatar
  • 18.7k
5 votes
5 answers
10k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gd.so' undefined symbol: gdImageWebpCtx in Unknown

We're running RHEL6 and just started getting this error when restarting php-fpm. PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gd.so' - /usr/lib64/php/modules/gd.so: undefined ...
eisaacson's user avatar
  • 525
5 votes
2 answers
4k views

Modify XFS filesystem creation parameters during kickstart installation

I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the ...
ewwhite's user avatar
  • 198k
5 votes
5 answers
31k 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. ...
user54614's user avatar
  • 379
4 votes
2 answers
2k views

free reports bogus amount of swap used

The swap used reported by free is very high. [root@rhel6 ~]# free -m total used free shared buffers cached Mem: 9892 9537 354 0 ...
Jonathan Lynch's user avatar
3 votes
6 answers
31k views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...
buzzing_bee's user avatar
15 votes
3 answers
24k views

What is the relation between NetworkManager and network service in Fedora/RHEL/Centos?

Hi I am new to Fedora/Centos/RHEL. I am confused about NetworkManager and network service in these Linux OS. May I know what is the relation between NetworkManager and network service? If I am using ...
userpal's user avatar
  • 613
12 votes
5 answers
47k views

SSH hangs after authentication

When logging in to one of my servers over ssh, it just hangs after authentication. This is the output on the client with -v. OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading ...
andrewrjones's user avatar
10 votes
3 answers
3k views

RedHat: is it possible to install packages in a kind of mock environment to build RPMs

Is there a tool that allows to install the dependecies of an RPM .spec into an isolated environment? I won't install such dependencies globally on the system and I am not able to do so since I have ...
try-catch-finally's user avatar
10 votes
2 answers
23k views

What are the disadvantages of disabling tinker panic 0 in NTP?

We sometimes have the problem that new servers have the wrong time in the bios, so there time can be off by a month. When you suspend a VM in VMware and then unsuspend it, the time will be off too. ...
ujjain's user avatar
  • 4,033
9 votes
2 answers
2k views

How can I use SELinux to confine PHP scripts?

I want to compartmentalize different PHP applications on my SL6.4 (RHEL 6.4 rebuild) web server so that they cannot access each others' data. It seems that SELinux might be able to do this, but I am ...
Michael Ekstrand's user avatar
7 votes
3 answers
9k views

Interpreting cryptic kernel "page allocation failure" messages

I have a multi-user CentOS 6.1 database system running an application named ABC. The server is 64-bit, 8GB RAM and 6 vCPU (on VMWare ESXi 4). We get frequent dumps into the dmesg and the system logs ...
ewwhite's user avatar
  • 198k
5 votes
4 answers
17k views

Anaconda kickstart and rootpw option

I've tried a few different methods of generating an encrypted password on SL 6.5, but nothing seems to work for me. I'm not finding any errors anywhere in the various /var/log/anaconda* files, but I ...
miken32's user avatar
  • 964
4 votes
4 answers
12k views

ZFS on Linux for RHEL/OEL NFS Sharing

I'm trying ZFS on Linux for Oracle Linux (OLE) 6.1 (Red Hat RHEL 6.1 compatible clone). I successfully compiled and installed spl and zfs on it for Oracle Unbreakable Kernel. Zfs is working and I ...
BBK's user avatar
  • 515
4 votes
1 answer
21k views

RHEL 6.2 hangs at startup screen after forced reboot

I had to force a hardware reboot due to some CPU hungry application. It now hangs at the start-up screen right after the progress circle completes. I have no way to see what it is doing (checking the ...
Nick's user avatar
  • 161
3 votes
1 answer
778 views

Keep RHEL at a particular minor revision level? [duplicate]

I'm working with a large database platform (Or#&%@) that requires a specific revision level of Red Hat Enterprise Linux. In this case, it needs EL6.2 in order to retain support and compatibility ...
ewwhite's user avatar
  • 198k
3 votes
2 answers
4k views

KVM on RHEL 6.1 makes host sluggish

I have been running RHEL 5.7 on a host just fine with several VMs (KVM). No major issues. Time came to upgrade to RHEL 6.1 as a few bugs had been fixed in this release. When I start a VM or two under ...
Gman's user avatar
  • 63
3 votes
3 answers
7k views

Compiling realtime kernel from RHEL 6 MRG sources on CentOS 6

I'm trying to compile kernel-rt-2.6.33.9-rt31.75.el6rt.src.rpm from RHEL6 MRG source RPMs on Centos 6 x86_64 system. It's first time I'm doing this, so I did research on how to do this properly. From ...
sashk's user avatar
  • 334
3 votes
1 answer
16k views

NTP can't synchronise or find a suitable server

The problem I'm trying to solve is that NTP won't synchronize: $ sudo ntpstat unsynchronised time server re-starting polling server every 64 s Edit: Here's some ntpq output: $ sudo ntpq -c ...
Leo's user avatar
  • 983
3 votes
1 answer
10k views

Account Lockout with pam_faillock in RHEL6

Previously, I asked about using pam_tally2 under RHEL6. I would like to pose this question and answer to document the recommended use of pam_faillock over pam_tally2 for the same function; What is ...
Aaron Copley's user avatar
  • 12.7k
3 votes
2 answers
9k views

Oracle Linux 6 kernel panic boot - anything I can do?

I'm running Oracle Linux 6 on a HP Proliant server. It's been running fine for the last week, but seemed slow earlier so the Oracle service was stopped. Rather than restart the service, I was asked to ...
Jon Story's user avatar
  • 139
2 votes
1 answer
3k views

pam_tally2 being called before Password entry

Based on the suggestion given in: Account Lockout with pam_tally2 in RHEL6 I have come to a working configuration, wherein account is getting locked out after 3 failed logins. Catch is that ...
Vineeth's user avatar
  • 21
2 votes
1 answer
3k views

GVFS Locations Not Available In ~/.gvfs

So, I can mount GVFS locations correctly (specifically CIFS) either from the Gnome "Places" menu, or via the command line gvfs-mount, but the filesystem is not mounted in the expected location; ~/....
Aaron Copley's user avatar
  • 12.7k
2 votes
1 answer
1k views

Caveats when upgrading from RHEL 5.4 to RHEL 6.3 on hundreds of production servers [duplicate]

Possible Duplicate: Caveats when upgrading from Java 6 to Java 7 on hundreds of production servers I am about to upgrade the RHEL version from RHEL 5.4 to RHEL 6.3 in a few hundreds of production ...
Adam Matan's user avatar
  • 13.6k
2 votes
3 answers
15k views

partprobe will not work..i have tried everything

I am days before the RHCSA exam and i have noticed i still haven't been able to successfully run partprobe successfully after months on testing and testing and testing..not a single time I have tried ...
redhatengineer6's user avatar
2 votes
4 answers
20k views

UNEXPECTED INCONSITENCY run fsck manually redhat

I erroneously restarted my server before completing a filesystem resize. Here's the command that ran successfully before restarting: lvresize -L -400GB /dev/mapper/vg_yavin-lv_home At boot, I get ...
eisaacson's user avatar
  • 525
2 votes
4 answers
7k views

How to make RHEL have persistent local hdd name?

I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux(RHEL)6.4. Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving ...
Mxx's user avatar
  • 2,382
2 votes
2 answers
5k views

How can I install packages from the RHEL6's Optional Channel via Kickstart?

I typically install puppet via kickstart. Apparently, puppet now requires a package (libselinux-ruby) that is included in the Red Hat's Optional Channel. I was under the impression I could only use ...
Belmin Fernandez's user avatar
1 vote
1 answer
2k views

Can't connect to MySQL 5.5 with SSL

I am trying to get MySQL SSL replication setup for two brand new RHEL 6.6 x64 servers. I have replication working without SSL, but I can't get it set up with SSL, and can't connect directly using SSL ...
Jamin's user avatar
  • 11
1 vote
3 answers
2k views

Puppet : resource already defined error

I am trying to create multiple directories and then copy files to each of the directories . For that I have created the following resource $dirs=myapp $appdirs = [ "/data/tomcat/$dirs/conf", "/data/...
Zama Ques's user avatar
  • 523
1 vote
1 answer
7k views

ptp time synchronization on centos6/rhel

I need to setup time synchronization using PTP (precision time protocol). I'll get server address. I found ptpd server (version 2.1). I created startup files in /etc/init.d. But wondering what options ...
sashk's user avatar
  • 334
1 vote
2 answers
8k views

Root crontab not executing script

I have a script listed in my roots crontab 07 9 * * * /opt/HLRSDATA_2010_OCT/HLRS_Scheduler_sp.sh > /opt/HLRSDATA_2010_OCT/logs/HLRTKJob.log This script contains the following #!/bin/bash echo ...
Rhyuk's user avatar
  • 404
1 vote
1 answer
224 views

scilinux6 (rhel6) perl pathing question

Working on SL6. [CODE] $ cat /etc/redhat-release Scientific Linux release 6.0 (Carbon) $ uname -an Linux bigbox.em.local 2.6.32-131.6.1.el6.x86_64 #1 SMP Tue Jul 12 17:14:50 CDT 2011 x86_64 x86_64 ...
user52874's user avatar
  • 829
1 vote
1 answer
484 views

Solaris SMF to Upstart on RHEL6

I am planning a migration from Solaris/x86 to RHEL6. Part of this migration will be migrating services from SMF to the RHEL6 equivalent, which appears to be upstart. While init.d scripts still seem to ...
aaa90210's user avatar
  • 351
0 votes
1 answer
53 views

Migrating Puppet Code to Puppet 4: Issue with Classes

We are migrating our Puppet Code from 3.5.7 to 4.5.2 While applying manifests I am getting following error Error: Failed to apply catalog: Parameter unless failed on Exec[sh /home/agile/...
Zama Ques's user avatar
  • 523
0 votes
1 answer
453 views

Sending shutdown messages to all clients from server

I'm trying to find a way to broadcast a shutdown message to all the users on clients connected to my centos server. The wall command sends only to users logged into the server and not to clients .I ...
user3314672's user avatar
-1 votes
1 answer
2k views

updates-testing repo for CentOS 6?

What is the equivalent CentOS 6 repo for the updates-testing repo of RHEL/Fedora? I am trying to follow the node.js installation instructions here and am having trouble figuring out what repo to add ...
Steve P's user avatar
  • 289