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
9
votes
4 answers

"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't work. man service: service runs a System V…
Esa Varemo
  • 581
  • 3
  • 8
  • 21
9
votes
3 answers

How to sort top result on virtual memory on Redhat Linux?

There is an interactive key "M" to sort by memory, which seems to be sorting on resident memory. Is there a way to sort on virtual memory? I happen to be working on Redhat Linux, but the question is not specific to this distribution.
timeon
  • 193
  • 1
  • 1
  • 5
9
votes
1 answer

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 basically disables the printer when there's an error…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
9
votes
5 answers

Would you run RedHat 4.4 on a new server?

I have a hosting company that has setup a new server for me, but I noticed it was running RedHat 4.4 which I am worried about being such an old version. When I inquired about running an old version, they were reluctant to upgrade the OS. I am…
bmaynard
  • 267
  • 2
  • 4
9
votes
6 answers

How to allow wget to overwrite files

Using wget command, how do I allow/instruct to overwrite my local file everytime, irrespective of how many times I invoke. Let's say, I want to download a file from the location: http://server/folder/file1.html Here, whenever I say wget…
Gnanam
  • 1,459
  • 13
  • 26
  • 32
9
votes
5 answers

How can I start Oracle Enterprise manager after restarting the Red Hat Server?

I installed Oracle 11g on Red Hat Enterprise server 5.0. First time everything worked well. After creating dbora script file in /etc/init.d/ and setting all the oracle environmental variables I just restarted the server, then onwards Oracle…
Charly
  • 321
  • 4
  • 6
  • 16
8
votes
1 answer

Dmesg full of I/O errors, smart ok, four disks affected

I'm working on a remote server (Dell Poweredge) that was a new install. It has four drives (2TB) and 2 SSD's (250 GB). One SSD contains the OS (RHEL7) and the four mechanical disks are eventually going to contain an oracle database. Trying to…
Scu11y
  • 83
  • 1
  • 5
8
votes
3 answers

How to make a RAID disk light blink (on Linux)?

I have a RAID10 hot-swap disk that is about to fail (according to smartctl -a /dev/sdc. The disk is mounted in a rack 4U server). Unfortunately, the disks are not marked, so I'd like to get the disk light to blink. I tried the following commands: dd…
boardrider
  • 949
  • 2
  • 18
  • 29
8
votes
1 answer

Cannot delete Linux directory - infinite recursion

We have an NFS mount on a RHEL6 VM that supports our version control server - recently, one of the repositories went a bit crazy and this is what I found on the server: ls -latri repo.git/refs/heads/ total 28 5551210 drwxr-xr-x. 2 git git 8192 Jun …
oldNoakes
  • 183
  • 6
8
votes
2 answers

Red hat Linux + TIME ZONE CONFIGURATION + details from clock file

In order to configure the Time Zone on red hat Linux machine ( version 5 and 6 ) need to configure the file: /etc/sysconfig/clock And create a symbolic link between /etc/localtime to /usr/share/zoneinfo/America/New_York but /etc/sysconfig/clock…
dandan
  • 1,081
  • 4
  • 13
  • 21
8
votes
2 answers

yum updates - are .rpmnew files ever critical / important to act upon?

When yum installs updates sometimes, it will give some message like: warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew My thought is that it would be wise to act upon these because perhaps occasionally there's some tweak to a…
sa289
  • 1,318
  • 2
  • 18
  • 44
8
votes
2 answers

RHEL/CentOS - Is it possible to update packages only up to a certain release date?

Technically speaking, if one wanted to update a RHEL or CentOS server using yum, but only up to a certain release date (i.e. don't install any updates released after X date), would it be possible and if so, how? So far, the only way I can think of…
Yanick Girouard
  • 2,385
  • 1
  • 18
  • 19
8
votes
1 answer

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact GPG key size and format and even where it was…
Craig Ringer
  • 11,083
  • 9
  • 40
  • 61
8
votes
2 answers

How do I forward localhost traffic to a remote host with iptables?

I would like to set up my CentOS 6.5 box to forward connections to localhost (127.0.0.1) to the same port on a remote machine (e.g. 10.0.3.10). I've tried the iptables rule below, but when I attempt to connect, it just hangs: iptables -t nat -I…
Jonathan
  • 227
  • 2
  • 4
  • 8
8
votes
5 answers

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 time was eth0) to use a static IP address. The…
Andy
  • 215
  • 2
  • 3
  • 5