Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

learn more… | top users | synonyms (1)

2
votes
1answer
28 views

RHEL6 Can't make my script run on shutdown and reboot

I'm trying to execute a script in each shutdown and reboot but the script never runs. I created the script baseRhel64 and save it to /etc/rc.d/init.d I did chkconfig --add baseRhel64 I included in ...
1
vote
2answers
78 views

Install rcp on RHEL

I have a Linux Red Hat machine version 6.4 (64-bit). I notice that the rcp command does not exist on my machine (no rcp binary). I also searched in Google in order to find an rcp binary that will fit ...
2
votes
1answer
33 views

RHEL 7.0 can't connect to internet

I'm setting up a new RHEL 7.0 installation (we're running the trial), but I can't get it to connect to the internet from command line. I'm trying to add these repos, as I currently have 0 installed, ...
1
vote
0answers
30 views

Installation from USB fails

I have a pretty old Ubuntu 8.04 machine. The machine doesn't have a DVD reader/writer in it. Challenge: Now, the challenge I am facing is to install RHEL6 in this machine. Obstacle 1: I needed to ...
1
vote
1answer
230 views

GNU screen startup is really slow

I connect to a RHEL 5.7 server via Putty or VNC (not sure it matters) but when I try to run screen, it takes forever (on order of 20-30 secs). Same thing if I run screen -ls, takes just as long. I ...
2
votes
3answers
5k views

How to clear memory cache in Linux

Is there any command that by using I can clean the cache in RHEL? I used this command: sync; echo 3 > /proc/sys/vm/drop_caches but it didn't work.
0
votes
1answer
710 views

yum install wireshark-gnome

I tried using command yum install wireshark-gnome to install wireshark on RedHat 6.3. And I make sure the network is ok. But it fails cause by below prompt. Loaded plugins: product-id, security, ...
5
votes
4answers
1k views

Selinux is denying access to mysqld

I have a script that dumps a mysql database. It then compresses the file and this gets stored in my home folder by using cron. The problem is I seem to be getting an error message. mysqldump: ...
0
votes
0answers
89 views

RHEL server Booting problem: "fsck.ext3: unable to resolve 'LABEL=/u01'

We had an old Linux server in the workplace for last few years, so I decided to turn it on and it's showing this problem during boot up: No devices found Setting up Logical Volume Management. ...
1
vote
1answer
32 views

SSH slow after configuring TCP Wrappers

We have SSH open on one of our production servers leaving it prone to various brute force attacks to break in. I reduced the attempts by changing the default port from 22. I want to further harden ...
0
votes
0answers
20 views

Mirror mode openldap perfromance is slow when either mirrored node fails

I'm managing two openldap servers in mirrored mode. When either server fails ldap performs poorly, 30 seconds to several minutes to authenticate. Affected services include ssh and X11 (XDMCP). A ...
3
votes
1answer
367 views

Authconfig contiously rewriting the /etc/sysconfig/authconfig file, messing up Puppet run

I have been using this LDAP module for a long time in my Puppet environment. The module uploads these files to the RHEL-servers: /etc/openldap/openldap.conf /etc/pam_ldap.conf /etc/nsswitch.conf ...
1
vote
2answers
79 views

Can't installing RPM package intltool?

I want to install on my Linux Red Hat machine (6.3 64 bit) the rpm - intltool-0.41.0-1.1.el6.src.rpm. For some unclear reason I get this: /var/tmp]# rpm -i intltool-0.41.0-1.1.el6.src.rpm ...
1
vote
2answers
2k views

Movie Player requires additional plugins to decode this file

I'm using RHEL 6 .Newbie to Linux. I'm unable to play the video using Movie Player. It shows an error, Movie Player requires additional plugins to decode this file. The following plugins are required ...
1
vote
4answers
31 views

Detecting RHEL/RPM based distros

I'm trying to write a script to detect if it's being run on RHEL/RPM based distros. I've faced some odd systems configured such that both dpkg and rpm are installed, so doing a which rpm isn't a ...
0
votes
1answer
80 views

Installing RHEL6.5 by swapping RPMs

BACKGROUND So I've been tasked with updating a system from RHEL6.0 to RHEL6.5 via a bootable USB. Due to size limitation, I've stripped (using the rpm -e command to prevent dependency errors) ...
1
vote
1answer
252 views

Scientific Linux 6.3 run evince in SELinux sandbox

I'm trying to run evince in the SELinux sandbox: sandbox -X /usr/bin/evince Unixforpoets.pdf but after waiting for minutes nothing happens, console doesn't outputs anything. So I collected the ...
1
vote
0answers
83 views

Error: iptables: No chain/target/match by that name

I am trying to configure proxy server on RHEL Server 6.5 using Squid and iptables. Below is the command I executed and the error message it displayed: vzlptest01 root [root] > iptables -A INPUT -i ...
0
votes
1answer
601 views

install latest gcc on rhel 6 x86_64

I have an RHEL 6 server with gcc version 4.4.7. I wanted to update the gcc version (I think the current one is 4.8). Yum update doesn't work. Also, SO answers for a similar question on CentOS does not ...
1
vote
1answer
306 views

Why do I have to stop/restart cups in redhat linux in order to use a custom filter?

A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" ...
1
vote
1answer
184 views

Public key for git-…rpm is not installed

When attempting to install git (and probably other packages), I get this error: $ sudo yum -y install git Installing: git x86_64 1.7.11.3-1.el6.rfx ...
0
votes
1answer
262 views

Yum update shows “Killed”

When I update my RHEL with yum update commend, it list all update packages, and after I hit Y for yes, got following response. Running rpm_check_debug Running Transaction Test Transaction ...
1
vote
1answer
22 views

Taking the Linux Install CD out during Installation?

I'm installing rhel and need to install a driver during installation. The plan is to 'linux dd' at the boot promt and install then. However, I just wanted to know if there would be an issue with ...
1
vote
1answer
626 views

Install RHEL 5.7S on machine with 4TB disks

I'm getting errors about GPT when installing OS using kickstart. The Dell R720 has 8x 600GB SAS. I can't figure out what to configure in BIOS and kickstart file. In BIOS, there're boot options of ...
0
votes
2answers
910 views

Why is yum not installing my softwares on RHEL 6 ?

I am trying to install avr-gcc using yum on a RHEL 6. But I get this error. [root@xilinx etc]# yum install avr-gcc Loaded plugins: refresh-packagekit, rhnplugin There was an error parsing the RHN ...
3
votes
1answer
412 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
0
votes
1answer
896 views

Oracle 11g R2 on Redhat 6

I have a Solaris background, and I am new in RHEL, and I want to install Oracle 11g on it. I downloaded Oracle documentation, that illustrate how to install it for RHEL 6. The following or later ...
5
votes
1answer
353 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
3
votes
1answer
130 views

[RESOLVED]Various programs not working after yum install some packages

[RESOLVED]I found out that the Memory chip cause the problems. I change it and the system work fine now! I'm using RHEL6.0 and encounter the problem that gdb,yum,rpm don't work any more. Perhaps ...
2
votes
0answers
87 views

tar: /dev/st0: Cannot write: Input/output error

When we attempt to use tar to write data to an LTO-5 tape, we get the following error. The device starts to write, and then fails. See the tar command and output, followed by the dmesg output. I ...
2
votes
2answers
40 views

Is it possible to obtain OS X versions of Unix tools on modern Linux distributions (like Ubuntu or RedHat)?

I have observed that there are often subtle and often annoying differences between the default versions of certain command line tools like paste and sed on modern distributions of Linux versus OSX. ...
1
vote
1answer
201 views

Startscript: using $! to create pidfile - returning wrong pid (off by one) occasionally

We have 3 instances of redis running on a test server. For some reason, our start script which starts redis can write the wrong pid to a file. Here is what it's doing: su redis -c "redis-server ...
2
votes
2answers
2k views

Problem Starting MySQL on new Centos 6 build

I have a VPS with ChicagoVPS that's running Centos 6. Official version of the build is: Linux RedHat 6.5(Final 2.6.32-042stab078.26 x86_64) I followed this guide to add the repository and ...
3
votes
1answer
169 views

sudo environment: “g++: command not found”

I have a relatively fresh RHEL 6.5 install, on to which I have installed from source GCCC 4.9. After I installed GCC 4.9, I uninstalled the distro-provided older GCC version via: sudo yum remove gcc ...
3
votes
1answer
1k views

Installing ksh as the standard shell in Redhat: Foolhardy?

I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be? The background to this ...
0
votes
1answer
66 views

What is the foolproof/proper way to set hostname and domain on CentOS

I've seen a few ways of changing hostnames of domain names. One way is to issue the hostname command followed by the name such as: hostname localhost.localdomain /etc/sysconfig/network also has a ...
1
vote
2answers
2k views

Some Ossec agents not able to communicate with OSSEC server

I have installed Ossec on one server and agents on some other servers running on Redhat. The issue is that some servers are able to communicate and send the logs to servers and others are in INACTIVE ...
4
votes
1answer
74 views

STIG (Security Technical Implementation Guides) automation

Has anyone here found the best way to STIG a version of RHEL 6.x automatically? The other answers I have found are either out of date or do not completely STIG the machine. Even an image that has a ...
-1
votes
2answers
665 views

How to make RHEL Workstation to boots up faster?

I am using RHEL 6.4. Problem is it takes too much time to boots up? Can you say, what can I do to be out of this situation?
0
votes
1answer
311 views

RHEL - Login screen not showing

I have a RHEL 5.6 system which shut down unexpectedly due to a power failure. I restarted the machine to figure out if something is wrong. However, the machine is not showing the login screen. It is ...
3
votes
3answers
2k views

List all RPM packages installed from repo “X”

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
-1
votes
3answers
436 views

RHEL- mysql installation error

I am trying to install mysql in my RHEL 5.6 machine. I use the command yum install mysql. However, I receive the below error message. Transaction Check Error: file ...
2
votes
1answer
46 views

Red Hat internal specifications

I'm doing a homework assignment for my college, and I'm trying to find the parameters used in kernel compilation on RedHat. My teacher asks: "Analyse and describes in terms of models of each version ...
3
votes
2answers
6k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
4
votes
2answers
38 views

NFS: share with all clients except one

I want to share a folder with all the network's clients except only one. This is my current /etc/exports file: /opt/resources *(rw,async) What should I add to prevent the client 192.168.1.24 ...
6
votes
3answers
37k views

How can we change root password?

If we don't know the root password and don't have root access to the machine, how can we change the root password?
1
vote
1answer
63 views

Permissions changing on few files under /etc/

It appears that new permissions on /etc/issue and /etc/motd are reverting back to the original even if we change them. This is on systems running RHEL 5 and RHEL 6. Is there any rc script which ...
1
vote
1answer
20 views

Kickstart file not being found in VituralBox

I am installing a STIG RHEL on a virtual box and therefore have a custom kick start file in the iso I am using. The iso structure looks like this for the kickstart file ROOT | |----stig_fix ...
3
votes
1answer
24 views

How to configure my enviorment in such a way that a proper (different from the system one) version of library is used

I guess that this question is a borderline between ServerFault and StackOverflow and this site. But I think that U&L is most relevant. I have some C++ code that depends on a library in version X ...
2
votes
0answers
49 views

mailx attachment behaviour between RHL 5 and RHL 6

We have a line of code that does this in ksh, to send a file as an attachment in email: uuencode <filename> <filename.txt> | mailx someone@somewhere.com In RHL 5.2 mailx sends ...