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.

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.

3259 questions
13
votes
2 answers

Name resolution difference between CentOS and Debian

I have a small Java program that loops calling InetAddress.getByName("example.com") every second. When I run it on a CentOS 6.4 box using 'strace -f' I see that /etc/resolv.conf is opened and read once: $ grep /etc/resolv.conf strace.out [pid 24810]…
user1311618
  • 133
  • 4
13
votes
4 answers

du command takes WAY too long to run

I am running du -sh in a variety of directories to find disk hogs. I got two identical servers (Dell PE2850s), both with RHEL5 and it will take significantly longer to run du on one server over the other. For example, doing du -sh /opt/foobar…
Jon Weinraub
  • 307
  • 1
  • 3
  • 16
13
votes
3 answers

Why not use vmware tools for time synchronisation?

We have two VMWare environments running a bunch of (mainly) Redhat 5.9 and 6.4 guests. We are having issues with time drift (minutes ahead per week). We use ntp, syncing to the local domain controller. This recommendation by VMWare specifically says…
Josh Smeaton
  • 1,340
  • 2
  • 19
  • 31
13
votes
3 answers

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 another server I have: -A RH-Firewall-1-INPUT -p icmp…
Mike B
  • 11,871
  • 42
  • 107
  • 168
13
votes
6 answers

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 effect on the image I'm working on. e.g. options…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
13
votes
2 answers

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 to the backup NFS server if needed? When I…
Doug
  • 371
  • 2
  • 6
  • 15
13
votes
5 answers

How to make my boss understand that a server fault is a bad thing?

I'm currently working in Tokyo for a smaller company that has just started serious online business. Recently we have been hitting the maximum open files issue on a rented VPS server causing services to stop functioning temporarily (more or less…
Ben
  • 247
  • 2
  • 6
13
votes
3 answers

How do I know if IP Multicasting is enabled on my network?

Is there a way to know if the Red Hat Linux Servers on my network have IP Multicasting enabled? The output that I get by running the cat /proc/net/igmp command is the following Idx Device : Count Querier Group Users Timer Reporter 1 lo …
12
votes
1 answer

PHP Hostname not correct

We have an application that has been running for about 2 years now without any issue. This morning when I came in the site was getting an error: Session: connection failed I checked the database connections, checked the user, checked the grants for…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
12
votes
4 answers

Who is the behind Webtatic repository and do you trust it

Webtatic repository has lots of useful packages for CentOS and RedHat. However the repository is very opaque and I have hard time to find information of who is behind it, appart of "Andrew Thompson", known as Andy around here. He seems to be doing…
Niki
  • 221
  • 2
  • 4
12
votes
5 answers

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 configuration data /etc/ssh/ssh_config debug1: Applying…
andrewrjones
  • 251
  • 1
  • 3
  • 8
12
votes
2 answers

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 scripts as guides, I've developed the…
user48802
12
votes
3 answers

Configure a DNS server per nic interface (eth0 / eth1)?

How would you configure a DNS Name Server per NIC (eth0 vs eth1) interface on RHEL/Centos 6? E.g. eth0 is on subnet 10.0.0.1/24 eth1 is on subnet 192.168.0.1/24 Any requests sent over eth0 should use DNS server 10.0.0.2. Any requests sent over eth1…
DevGav
  • 325
  • 2
  • 3
  • 8
12
votes
3 answers

on Red Hat Enterprise and CentOS, what is creating /var/run/reboot-required?

On CentOS 5.8+ and Red Hat Enterprise 6+, when installing/updating packages, I notice a flag file /var/run/reboot-required is created when appropriate. On Ubuntu (and Debian too, I'm guessing), if package "update-notifier-common" is installed, a…
EdwardTeach
  • 632
  • 9
  • 20
12
votes
3 answers

Persistent ip rule on Linux (Redhat)

How can I configure a persistent ip rule on Linux (specifically Redhat based distros)? Is there no built in method? Is my only option adding to /etc/rc.d/rc.local or creating my own rc.d script? Edit: For clarification I am not referring to iptables…
brent
  • 3,521
  • 3
  • 26
  • 37