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
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
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
88 votes
3 answers
235k views

Human readable format for http headers with tcpdump

I would like to view the HTTP headers sent from Apache (listening on port 80) to Tomcat (on port 4080) in a Linux machine. According to Wikipedia, Header fields are colon-separated name-value ...
Adam Matan's user avatar
  • 13.6k
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
28 votes
3 answers
95k views

How to install jq on RHEL6.5

There's seems to ready yum package. So I've downloaded the tarball, but as soon as I ran autoreconf -i , I got the following: configure.ac:14: warning: macro `AM_PROG_AR' not found in library ...
Amit Dunsky's user avatar
28 votes
9 answers
16k views

How do I use Linux to find unused IP addresses on my network?

I've got access to two computers (A and B) on a network. Both have got a static IP address with a subnet mask of 255.255.255.128 (I checked that a DHCP server was not being used). I want to configure ...
Vishal Sharma's user avatar
27 votes
2 answers
24k views

How do I make a persistent domain with virsh?

virsh create somefile.xml creates my machine just fine but when I shut the machine down the whole thing disappears. Machines I made with the virt-manager GUI are persistent (stick around after ...
colechristensen'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
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
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 ...
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
13 votes
2 answers
22k views

TigerVNC + SSH without a VNC Password?

I have a RHEL 6 system with TigerVNC installed. It is configured to only allow VNC connections through SSH. Thus, a user can only connect to VNC if they successfully establish an SSH connection to ...
Phanto's user avatar
  • 911
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
12 votes
2 answers
17k views

What is the yum equivalent of dpkg -L?

dpkg -L lists all the files provided by a package. How is this accomplished with yum? The operating system is Scientific Linux 6.
cat pants's user avatar
  • 2,283
12 votes
2 answers
12k views

Anything Close to an NSA Guide for Securing RHEL 6 [closed]

Some in our infrastructure group want to upgrade to start taking advantage of the new features in RHEL 6. In the past, I have relied on the NSA Guide (www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731....
theosophe74's user avatar
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
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
12 votes
2 answers
20k views

Why is Linux kdump not writing to /var/crash?

It's happened again! I have 4 servers which are crashing periodically, and there is no information printed to the system logs or the serial console. In addition, the Linux kdump service isn't writing ...
Stefan Lasiewski's user avatar
12 votes
2 answers
15k views

SSSD rejects LDAP login with su: incorrect password

I've set up an LDAP server with user accounts. I've successfully configured a Rails application to authenticate against this LDAP server. I'm now trying to configure SSSD to authenticate against LDAP, ...
Leo's user avatar
  • 983
11 votes
3 answers
15k 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 ...
Wesley's user avatar
  • 32.8k
10 votes
1 answer
81k views

What is the difference between init 6 and reboot on Red Hat / RHEL / CentOS?

In Linux, the init 6 command gracefully reboots the system running all the K* shutdown scripts first, before rebooting. The reboot command does a very quick reboot. It doesn’t execute any kill ...
ujjain's user avatar
  • 4,033
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
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
16k views

Ansible Fails to Authenticate Sudo Even When Sudo Pass is Given

Problem Using the latest, stable Ansible build, I have an odd problem where my playbook hangs on one server during "Gathering_Facts" but works fine on other similar servers when using Sudo. On the ...
BrM13's user avatar
  • 163
9 votes
2 answers
15k views

SSH Local Port forwarding working from localhost only

I can directly access Host A ( 10.100.64.112) from my HomePC but cannot directly access Host B (172.88.3.31) . To access Host B , I need to first ssh to Host A and then to Host B . To directly ...
Zama Ques's user avatar
  • 523
9 votes
1 answer
12k views

"power limit notification" clobbering on 12G Dell servers with RHEL6

Server: Poweredge r620 OS: RHEL 6.4 Kernel: 2.6.32-358.18.1.el6.x86_64 I'm experiencing application alarms in my production environment. Critical CPU hungry processes are being starved of resources ...
Andrew B's user avatar
  • 33.1k
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
9 votes
2 answers
6k views

What in a kickstart file sets the desktop GUI as default (runlevel 5)?

I am using Scientific Linux 6 and am installing the following desktop-related package groups: @basic-desktop @desktop-platform @general-desktop @x11 However, after installation, /etc/inittab still ...
Belmin Fernandez's user avatar
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
8 votes
3 answers
10k views

Errors using new rsyslog template syntax on RHEL6

I'm migrating our rsyslog config from an old server to a new one, and thought I'd use the opportunity to tidy up our config. The old config used "legacy" template definitions, and the rsyslog doc on ...
Bart B's user avatar
  • 3,507
8 votes
4 answers
26k views

Can I set up Fedora or Centos repos in RHEL6?

I have a RHEL6 box with no subscription to Red Hat Network. I want to install gcc using yum to resolve all the complex dependencies. Can I connect to Fedora or Centos repositories to install software? ...
Liam's user avatar
  • 1,411
8 votes
2 answers
28k views

Clone kvm/qemu VM to a different server

What's the easiest/quickest way to clone a VM from one server onto another if you don't have shared storage between the two servers (so you can't do a standard migration)? I have a production ready ...
Andrew Case's user avatar
  • 3,529
8 votes
5 answers
84k views

How do I install the main repositories for RHEL6

We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is ...
eisaacson's user avatar
  • 525
8 votes
3 answers
21k views

How to make NTP work despite a high offset?

Recently I have kickstarted some servers that had their time off by a month in the bios. The time in the bios said it was a random time/date in May, while it was June. This caused NTP not to work, ...
ujjain's user avatar
  • 4,033
8 votes
1 answer
8k views

Best way to manage custom ports in SELinux

On RHEL 6.2, we're using httpd on a host as a front-end proxy for Tomcat on another host, and we also have mod_status configured to listen on a non-standard port to provide status info to a monitoring ...
Eric Rath's user avatar
  • 493
8 votes
2 answers
7k views

packets sent on virtual IP don't hit iptables rule

I have a virtual interface eth1:3 with IP address 222.192.124.3, I have set up an iptables rule to log packets coming on that interface using the interface's IP (I know iptables doesn't care about ...
mdeous's user avatar
  • 398
7 votes
2 answers
15k views

It should be set to 65000 to avoid operational disruption

I'm following Taking Solr to Production | Apache Solr Reference Guide 8.5, however unable to overcome warning while restarting solr service: # service solr restart *** [WARN] *** Your open file limit ...
alexus's user avatar
  • 13.4k
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
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
7 votes
3 answers
8k views

Php pdo_dblib - cannot find/unable to load freetds

Self-hosted box, RHEL 6 PHP 5.3.3 PDO installed freetds installed pdo_dblib - so far no luck installing My goal is to use PDO with sybase. Attempting to install pdo_dblib from the appropriate ...
MaxPowers's user avatar
  • 171
6 votes
4 answers
44k views

mount.cifs: mount error(112): Host is down

I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error. ~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0 ...
Arun Krishnan's user avatar
6 votes
3 answers
22k views

How come all LDAP users are shown with getent passwd?

We are using an LDAP server with both Solaris and RHEL servers and planning to migrate more servers over to RHEL. However we have an issue with LDAP on all Red Hat servers. When I type "getent ...
ujjain's user avatar
  • 4,033
6 votes
1 answer
292 views

RHEL6 Keeping 1 old kernel and security

I have my RHEL 5&6 servers set to keep 1 old kernel after updates, I do this in case I need to recover the system for any number of reasons. My question is related to security of the system when ...
user1548815's user avatar
6 votes
1 answer
1k views

How to prevent installation of incompatible rpm packages

I have two rpm packages that should not get installed together. After googling around I assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What is ...
jgb's user avatar
  • 113
6 votes
2 answers
8k views

How to kill ostensibly immortal process?

I had some huge file transfers operating on an NFS mount. The server on which the mount point resided was carelessly rebooted, and now the server from which these large transfers were initiated seems ...
DeeDee's user avatar
  • 333
6 votes
2 answers
8k views

How to log if a user removes a file from samba share

I am working over the default Samba that comes with RHEL 6.x version. I am successful in sharing a samba share to my client users. I have given each of them a set of credentials using which they have ...
Shashikanth Komandoor's user avatar
6 votes
1 answer
14k views

bond slave interfaces not getting the same aggregator id on LACP

I have a bug on some servers where LACP (802.3ad) is not working. I have on all servers a bonding device bond0 with two eth slaves and each interface is plugged on a different swich, and both switches ...
Baptiste Mille-Mathias's user avatar
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
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
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

1
2 3 4 5
11