Questions tagged [redhat]

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 services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

Filter by
Sorted by
Tagged with
83 votes
16 answers
18k 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 ...
MattMcKnight's user avatar
9 votes
5 answers
38k views

Why does Red Hat Linux report less free memory on the system than is actually available?

I have a relatively small home Red Hat Linux server (about 8 GB RAM). I don't use it for much other than running some home grown apps to keep track of various things. The only real things running on ...
Aaron K's user avatar
  • 1,525
72 votes
2 answers
34k 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 ...
ewwhite's user avatar
  • 198k
16 votes
4 answers
23k views

SELinux preventing Apache from writing to a file

SELinux is preventing the apache user from writing to a log file which it owns. When I do setenforce 0 it works. Otherwise it shows this error IOError: [Errno 13] Permission denied: '/var/www/webapp/...
Clodoaldo's user avatar
  • 433
74 votes
2 answers
7k views

How should an IT department choose a standard Linux distribution?

There is a lot of community feeling about what Linux distributions are appropriate for production server environments and which aren't, however, a lot of this feeling seems religiously based, and ...
wfaulk's user avatar
  • 6,958
65 votes
1 answer
24k 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 ...
ewwhite's user avatar
  • 198k
51 votes
3 answers
129k views

SElinux: allow httpd to connect to a specific port

My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could ...
savagecitizen'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
140 votes
4 answers
46k views

How to handle security updates within Docker containers?

When deploying applications onto servers, there is typically a separation between what the application bundles with itself and what it expects from the platform (operating system and installed ...
Make Mark's user avatar
  • 1,994
16 votes
3 answers
96k views

Block outgoing connections on RHEL7/CentOS7 with firewalld?

RHEL7/CentOS7 features a new firewalld firewall service, that replaces the iptables service (both of which use iptables tool to interact with kernel's Netfilter underneath). firewalld can be easily ...
golem's user avatar
  • 357
2 votes
2 answers
5k views

HP ProLiant DL380e Gen8 server - SPP use

I am planning to install Oracle Linux 6.4 on an HP ProLiant DL380e Gen8 server. I have been advised to use Service Pack for Proliant SSP DVD to install/update the missing utilities drivers for Oracle ...
L1opardo's user avatar
  • 329
35 votes
6 answers
108k 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 ...
badbishop's user avatar
  • 928
32 votes
5 answers
30k 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 ...
ewwhite's user avatar
  • 198k
21 votes
9 answers
34k 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. ...
Stefan Lasiewski's user avatar
16 votes
4 answers
82k views

How to change Linux services startup/boot order?

As the question is clear from the title, how do I change Linux services startup/boot order?
Gnanam's user avatar
  • 1,479
15 votes
3 answers
3k 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 ...
JMeterX's user avatar
  • 3,387
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 ...
13 votes
6 answers
33k views

Quick way to restore or reload /etc/fstab settings?

I'm working with a complex /etc/fstab on a RHEL 6.x-based server. The system has a variety of mount options in use across eight partitions, including several bind mounts. I'm testing options and their ...
ewwhite's user avatar
  • 198k
7 votes
3 answers
54k views

How to find RAID configuration/level and RPM speed having only remote access to the server?

Having only remote access (no physical access), to a server (that is SSH), how do I (or may be is it possible): find out whether it is RAID configured or not? If it is RAID configured, whether it is ...
Gnanam's user avatar
  • 1,479
6 votes
3 answers
35k views

CentOS 5: How to resolve php53 RPM dependency conflict with php-foo and php-common?

We are running a CentOS 5.6 system, and want to install php53 with php-mcrypt. However, this introduces a dependency conflict between php-common & php53-common. Does anyone have a good workaround ...
Stefan Lasiewski's user avatar
6 votes
3 answers
7k views

Update Red Hat Enterprise Linux's Packages Only To Specific Point Release

Let's say that I have one RHEL6.2 64bit server running. Current latest version available is 6.4. Running "yum update" will update my server up to 6.4 straight away. What if I want to update only to ...
TRA's user avatar
  • 83
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
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
37 votes
6 answers
12k views

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

My hosting company says IPTables is useless and doesn't provide any protection. Is this a lie? TL;DR I have two, co-located servers. Yesterday my DC company contacted me to tell me that because I'm ...
user avatar
10 votes
4 answers
3k views

yum-security for CentOS?

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work ...
Jared's user avatar
  • 1,420
8 votes
3 answers
23k 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?
EoghanM's user avatar
  • 560
7 votes
1 answer
6k views

CentOS 5 - realtime patch

Where can I download precompiled CentOS 5 kernel including realtime patch? Or I need to compile it myself (if yes, how to do that)?
Dima's user avatar
  • 485
6 votes
2 answers
8k views

"open files" ulimit: controlling via limits.conf

I'm banging my head on this, and I can't understand why it's not working. I'm hoping that someone can shed light on this, or failing that, give me some suggestions for avenues of investigation. I've ...
MadHatter's user avatar
  • 80.6k
5 votes
2 answers
12k views

How can I keep the RHEL version static (e.g. RHEL 5.1)?

For compatibility with a program : I need to keep one of our servers in a specific version, for example rhel 5.1 I would like to keep it as updated as possible, but not to change versions. What ...
criss's user avatar
  • 153
4 votes
1 answer
4k views

How can I run Startup Repair on a KVM virtualized Windows Server?

I have Windows Server 2008 R2 running virtualized in a KVM virtual machine. Recently the virtual machine decided to stop booting, and it offered to Launch Startup Repair. However, upon entering ...
Michael Hampton's user avatar
-2 votes
3 answers
2k views

Supporting Http2 on Amazon Linux with Apache with OpenSSL 1.0.1

I'm trying to run an http2 web server on Amazon linux over Apache. From what I understand OpenSSL 1.0.2 is required to use Http2. However, my current distribution only supports OpenSSL 1.0.1. I've ...
DD.'s user avatar
  • 3,114
47 votes
7 answers
183k views

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL ...
Andrew's user avatar
  • 3,563
41 votes
7 answers
25k 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 ...
wzzrd's user avatar
  • 10.5k
41 votes
6 answers
34k 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?
Ronaldo Nascimento's user avatar
38 votes
4 answers
78k 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 ...
Geo's user avatar
  • 3,081
18 votes
3 answers
35k 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
16 votes
4 answers
21k views

Logrotate Successful, original file goes back to original size

Has anyone had any issues with logrotate before that causes a log file to get rotated and then go back to the same size it originally was? Here's my findings: Logrotate Script: /var/log/mylogfile....
drewrockshard's user avatar
15 votes
3 answers
94k 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 ...
syn-'s user avatar
  • 493
14 votes
2 answers
796 views

How to get free space from mounted drive Redhat 7

In our VM infrastructure, we have clustered hosts going to a SAN. What i am trying to figure out is how much "white space" is left over when deleting files within our Redhat servers. On our Windows ...
Anthony Fornito's user avatar
11 votes
1 answer
5k 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 ...
ewwhite's user avatar
  • 198k
10 votes
1 answer
14k views

What is the recommended method to prepare Red Hat/CentOS 7 templates?

If I need to deploy Red Hat 7 from template, I would like to take the recommended steps to make my "golden image" clean. It should boot to the first boot prompt and guide the user through the typical ...
Aaron Copley's user avatar
  • 12.7k
8 votes
5 answers
45k views

How do I Control the Ordering of Network Interfaces?

I'm attempting to configure a machine with 3 NICs, the first two are built-in GbE controllers, the third is a 10GbE controller. Via NetworkManager, I've configured the 'first' GbE NIC (which at the ...
Andy's user avatar
  • 215
7 votes
3 answers
36k views

iptables redirect local connections to remote system / port

I am trying to use SSH to port forward windows machines local port 3389 to a redhat server on some arbitrary port (in the unprivileged region) I have protected behind a firewall, then forward the ...
dynamphorous's user avatar
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
6 votes
1 answer
476 views

Red Hat Linux tuning for a single application with a few TCP clients [closed]

I know Linux is built for multi-user / concurrent-process, but at the corporate level, many of them are used for single (but big) applications to support an internal service, of which serving only ...
steveoreo's user avatar
6 votes
2 answers
30k views

Apache Config: RSA server certificate CommonName (CN) ... NOT match server name?

I'm getting this in error_log when I start Apache: [Tue Mar 09 14:57:02 2010] [notice] mod_python: Creating 4 session mutexes based on 300 max processes and 0 max threads. [Tue Mar 09 14:57:02 2010] [...
mmattax's user avatar
  • 1,314
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
3 answers
34k views

Update RHEL Servers without Internet Connection

I plan to have a few servers installed with RHEL, but the servers will not have Internet connection. Is it possible to update RHEL servers without Internet connection? Can I download the updated ...
kjloh's user avatar
  • 117
5 votes
5 answers
9k 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 ...
Jayakrishnan T's user avatar
5 votes
1 answer
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 ...
Hank Gay's user avatar
  • 375

1
2 3 4 5