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)

6
votes
1answer
11k views

How to a2ensite and a2dissite?

I'm logged into a Linux server. I think it's a Red Hat distribution. The commands a2ensite and a2dissite are not available. In the /etc/httpd directory, I don't see any mention of sites-enabled or ...
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
2answers
7k views

On Redhat, what does “kernel.suid_dumpable = 1” mean?

I'm running a bash script to copy some log files and then restart a service on a Red Hat box. Every time I execute the script, I get the following on my console: [root@servername ~]# sh ...
6
votes
3answers
10k 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 ...
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
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
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
3answers
1k views

Why is bluetooth support one of the default packages in “Base” when doing an RHEL/CentOS server install? [closed]

This is an issue that has bugged me for a long time - why would the default server installation of RHEL?CentOS include desktop/laptop packages like bluetooth? When using kickstart, I will usually ...
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
2answers
6k 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. ...
6
votes
3answers
12k 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
170 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
15k 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
24k 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
24k 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
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
904 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
5k views

How to do client side NFS failover in Linux?

I have a CentOS 6.3 client that needs to access NFS storage. There are two NFS servers that serve up the same content stored on a SAN with a clustered filesystem. How do I set up CentOS to failover ...
6
votes
3answers
12k views

second ip address on the same interface but on a different subnet

Is it possible in CentOS 5.7 64bit to have a second IP address on one interface (eg. eth0) - alias interface configuration - in a different subnet? Here is the original config for eth0 more ...
6
votes
2answers
910 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 ...
6
votes
2answers
482 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
447 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
2answers
1k 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 ...
6
votes
3answers
9k 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
7answers
392 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
829 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
16k 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 ...
5
votes
4answers
444 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
4answers
7k 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
468 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 ...
5
votes
3answers
2k views

RHN/Yum update from Red Hat Enterprise Linux 5.0 to 5.1

I need to update a server from RHEL 5.0 to 5.1 When I use RHN/Yum and do a yum update the 5.0 server gets updated to 5.6 Is there a way to configure RHN/yum to update the server only to RHEL 5.1 ? ...
5
votes
3answers
3k views

Getting NFS clients to retry mount if NFS server down when client boots

I have an NFS server that several clients mount. I am using the following in my /etc/exports on the server: /content *(rw,no_root_squash) and on the clients in my /etc/fstab I have: ...
5
votes
3answers
4k views

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

The alternatives command (package chkconfig) on RHEL manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by ...
5
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: ...
5
votes
3answers
2k views

Kickstart: Serve dynamic kickstart images via a CGI or PHP script?

I'd like to Kickstart a couple dozen RHEL6/SL6 servers. However, some of these servers are different and I don't want to create a new ks.cfg file for each class of server. Is there any way I can ...
5
votes
1answer
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 ...
5
votes
7answers
11k views

Automated configuration of ldap authentication for RHEL5 servers

I use puppet for managing our production servers. Under rhel5 the standard way of enabling ldap is to use the authconfig tool. Which works successfully, but isn't really capable with the puppet way of ...
5
votes
3answers
620 views

Flash on EL6 for accessing VMware vCenter Appliance 5.5

Has anyone succeeded in connecting to a vcenter 5.5 appliance with a RHEL6 workstation? If so, what's the magic incantation and ritual keystrokes? Made the mistake of upgrading to esxi 5.5 without ...
5
votes
1answer
7k views

What exactly do --limit 1/s and --limit-burst mean in iptables rules?

I'm using CentOS 5.x trying to wrap my mind around the following iptables rule on one of my servers: -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT On ...
5
votes
2answers
10k views

glibc 2.7 on CentOS 5.5?

I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
5
votes
3answers
13k 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 ...
5
votes
2answers
10k 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. ...
5
votes
2answers
3k views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
5
votes
2answers
322 views

Are there any issues migrating from RHEL to CentOS?

I want to migrate off of RHEL 6.3 to CentOS-6 to save in licensing costs. We will mainly be running Java/WebLogic 11g on these boxes. Are there any issues that I should be aware of when migrating from ...
5
votes
1answer
1k views

does rsync's delta algorithm work on a samba share?

I have a cron job to use rsync to sync the data on a windows samba share (that i mount using /etc/fstab on boot). My problem is that the transfer seems to take almost as long as the initial transfer ...
5
votes
3answers
10k views

NTP configuration not recognized?

I'm trying to configure NTP on my machine but it seems that the parameters I set are not being read by the system. Below is my /etc/ntp.conf file. (I applied the most basic configuration to eliminate ...
5
votes
2answers
236 views

Any repercussions from not using default primary groups for Linux users?

We were thinking of not using the default primary group for our RHEL users. What I mean by default: User: melbin Primary group: melbin We will instead do something like: User: melbin Primary ...