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)

7
votes
3answers
5k 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, ...
7
votes
2answers
6k views

How to solve call trace produced by security_ops_task_setrlimit() with bind

I have a machine with CentOS 5.9 and VMware installed. Currently I am using BIND 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 (default shipped with distribution). When I restart the machine, I can see this ...
7
votes
1answer
8k views

Change CUPS default printer error policy

I run CUPS printing on a number of multiuser Linux application servers. The systems are RHEL or CentOS version 4, 5 or 6. Starting the EL5, the CUPS print server defaults to an error policy that ...
7
votes
1answer
5k 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)?
7
votes
2answers
5k views

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/ : http://yum.puppetlabs.com/el/6/products/ http://yum.puppetlabs.com/el/6/dependencies/ http://yum.puppetlabs....
7
votes
2answers
3k views

Installing multiple mongoDB versions on the same server

I have installed a 2.4 mongoDB version and I'd like to compare against the recently released 2.6 version. I want to know if possible to do a clean new install rather en an update to see if those two ...
7
votes
1answer
589 views

SMBfs mounting OK, listing OK, Read KO, smbclient OK

I've tried to make the title the most meaningfull I could but it still looks ugly. The premises. We are using RHEL3-U8 as OS on most servers here, don't ask me why or suggest to upgrade, it's not ...
6
votes
3answers
10k 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 ...
6
votes
8answers
27k views

Find MAC addresses in /proc or somewhere despite bonding device?

Is there a way to get the original MAC addresses for eth0 and eth1? A large array of servers have bonding interfaces managing backup switch connections and one is misbehaving. With bond0 active both ...
6
votes
6answers
6k views

The real differences between Red Hat Enterprise Linux (RHEL) and CentOS

I know that "the vast majority of changes made (by CentOS team ndr) will be made to comply with the upstream vendor's re-distribution policies concerning trademarked names or logos" But I'm looking ...
6
votes
6answers
6k views

Can RHEL 4 have two instances of apache httpd running using two different config files?

We have a Red Hat Enterprise Linux 4 instance running Apache on the default port. We want to add a second Apache instance that we can restart completely separate from the first instance. Can we do ...
6
votes
3answers
3k views

Generate 10 Gbps traffic across nodes

I want perform a network performance benchmarking test so need to generate a 10 Gbps traffic in the network. The nodes are running RHEL 5.x. Can anyone please point me out to suitable binaries etc. ...
6
votes
1answer
250 views

What does the “1:” before the package name mean in yum.log

I would be very glad if someone could explain what the 1: before the package name signifies.
6
votes
2answers
4k views

Run as different user

On a RedHat system, i'm trying to launch a program with a different user who dont have any shell. In /etc/passwd, shell is /sbin/nologin. I have tried: su myuser -c /home/myuser/script.sh Result: ...
6
votes
4answers
6k views

Is there a way to list all configurable `alternatives` (symlinks for similar commands) on the system?

The alternatives command (package chkconfig) on RHEL/Fedora manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by ...
6
votes
3answers
8k views

What is the order of precedence for RedHat network configuration files?

This has been bugging me for some time, because I haven't bothered to sit down and write down what exactly is going on. Our RedHat server network configuration is all over the map. Across a fleet of ...
6
votes
3answers
23k views

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> ...
6
votes
3answers
12k views

“service”-command and environment variables

I am trying to start a service that requires a env. variable to be set to certain path. I set this variable in "/etc/profile.d/". However when I start this service using the service command, it doesn'...
6
votes
3answers
34k 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 ...
6
votes
3answers
4k views

Using Puppet to install software “bundles”

We're in the process of researching a configuration/systems management implementation and we've done quite a lot of demoing of Puppet. Puppet seems to excel at the somewhat simple "ensure this ...
6
votes
2answers
11k views

RHN Satellite / Spacewalk custom channels, best practice?

I'm currently setting up RHN Satellite, and all works well. I'm in the process of creating custom channels, since we have certain software which should be available for all nodes of satellite, e.g. ...
6
votes
4answers
19k views

How can I reset the statistics reported by ifconfig?

I'm trying to trace a possible link problem on one of our servers' ethernet interfaces. ifconfig reports a large number of error packets. I've asked the hosting company to make some changes to the ...
6
votes
2answers
7k views

How to Increase the Size of an XFS File System?

I just created an Amazon AWS EC2 instance running RHEL7: [root@ip-10-184-161-46 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-184-161-46 ~]# And even ...
6
votes
1answer
4k views

Debugging fstab problems on reboot

After a reboot, some partitions which were mentioned in fstab were not mounted as expected. The format of the line for the partitions which were mounted correctly and those which were not mounted ...
6
votes
3answers
16k views

Mount CIFS share with autofs

I have a system running RHEL 5.5, and I am trying to mount a Windows share on a server using autofs. (Due to the network not being ready upon startup, I do not want to utilize fstab.) I am able to ...
6
votes
3answers
14k 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 ...
6
votes
2answers
2k views

Linux kernel crash dump analysis: Guidelines

Note: 2.6+ Kernel Or older 2.4 Question: Generic suggested guidelines with regards to Linux kernel crash dump analysis Skills required, i.e. Kernel compilation skills etc Suggestions: ...
6
votes
1answer
181 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 ...
6
votes
2answers
17k 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 ...
6
votes
2answers
25k 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] ...
6
votes
1answer
26k views

Cannot find open shared object file libjli.so — no such file or directory

On 64-bit RHEL5 running Java 1.6.0 update 16, root can successfully run a Java program but a user can't because libjli.so supposedly can't be found. SELinux is turned off and the environment is the ...
6
votes
1answer
3k 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 ...
6
votes
2answers
6k 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 ...
6
votes
1answer
994 views

Need help understanding PAM directives

I have the following directives in my /etc/pam.d/sshd file on a RHEL5 box and I'm a bit confused. These directives are there to make LDAP+RADIUS+OTP work. What I'm trying to do is tell pam not to ...
6
votes
2answers
1k views

Implications of 100% utilization on dm device

We have a RHEL 5.6 server here with 4 active paths to a single LUN. We suspect that it's not able to cram enough IOs down the pipeline to the XIV on the other end: mpath0 (XXXXXXXXXXXXXXX) dm-9 IBM,...
6
votes
5answers
4k views

Comparing OS configuration of two RHEL servers

What is the best way to compare the OS configuration of two (or more) RHEL 5.X servers? Are there any tools/packages available to do this? Note, I am mostly looking for tunables OS (kernel ...
6
votes
1answer
3k views

Red Hat Satellite vs. Ubuntu Landscape

We have some experience using Red Hat Satellite in an environment with ~120 servers. Now we're looking into deploying Ubuntu in parallel for the further growth. How does Landscape compare to ...
6
votes
2answers
496 views

SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage

I have a weird issue. Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started ...
6
votes
1answer
491 views

How to make a RHEL repo static for a specific release

I have been working with CentOS for quite a while now and i got used to the way the repos are managed. Recently a new proprietary app required the company to get RHEL licences and the repo management ...
6
votes
3answers
10k views

Running arbitrary program as daemon from init script

I need to install a program as a service in Red Hat. It doesn't background itself, manage its PID file, or manage its own logs. It just runs and prints to STDOUT and STDERR. Using the standard init ...
5
votes
5answers
1k views

Linux - How to manage the password of root?

We have just deployed a couple of Linux server. Each sysadmin will have his own account on the server (i.e.: jsmith), and will connect using SSH with a certificate which will be put into the "...
5
votes
8answers
3k views

What is the equivalent for “service servicename start” that Fedora/RHEL/CentOS uses for Debian/Ubuntu?

What is the equivalent for "service servicename start" that Fedora/RHEL/CentOS uses for Debian/Ubuntu? I've just read on some question here on serverfoault that using /etc/init.d/service is obsolete, ...
5
votes
2answers
4k views

Which CentOS Version Should I Use?

I have some used rackmount servers (Dell R610, HP DL180 G6, HP DL360 G5) that I intend to use for on demand video streaming in a colocation environment. I would like to have them all on the same OS to ...
5
votes
7answers
396 views

List of tools you install on your debian/red-hat server [closed]

Here in a list of tools I install after a fresh install (debian most of time): logcheck: to check the log files and generate reports apticron: send me e-mails when packages updates are available ...
5
votes
1answer
931 views

How to check if an IP address is free on a network

I'm gonna setup a Wireless router for a customer. They have subnet 10.253.48.0/24 What can I do to check if the IP 10.253.48.243 is available to set up the router? I'm on out on a local network at my ...
5
votes
3answers
18k views

What is the difference between RHEV and oVirt?

When I read the wikipedia articles about RHEV and oVirt, I can't really figure out why Red Hat have both projects, as they seam to solve the same problem? http://en.wikipedia.org/wiki/RHEV http://en....
5
votes
4answers
446 views

Production BIND DNS servers - Do you use the package manager or compile the latest stable edition?

I manage several BIND DNS servers (on RHEL/Centos) for authoritative lookups (forward and reverse) as well as dedicated caching-only services. I've always just used the latest stable BIND in the ...
5
votes
2answers
29k views

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various ...
5
votes
4answers
9k views

On AWS do I have to open ports in an EC2 instance's firewall as well as security group?

If I change my SSH port from 22 to 23453, I can no longer ssh in. In more detail, I'm using a Red Hat EC2 instance on Amazon Web Services. This is the second change I've on a fresh install (first ...
5
votes
2answers
472 views

CentOS 6 in production

All of my virtual servers are on Centos 5.5. Now I am deploying new one and there is a new OS option: CentOS 6. I like new software, and I prefer to use new versions (but not the edge). So, as far as ...