Red Hat Enterprise Linux (RHEL) is a Linux distribution from Red Hat intended for enterprise use.

learn more… | top users | synonyms

0
votes
0answers
415 views

Issue in running cron jobs in RHEL5

When I try to run cron jobs from root, I am getting the following error. I am using RHEL5. Can anyone help me? [root@localhost]# crontab -e Permission denied You (root) are not allowed to ...
1
vote
1answer
2k views

iptables: How to redirect port in Red Hat Linux (RHEL)?

I'd like to forward port 80 to 8080. So I tried to edit /etc/syscongfig/iptables: -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 But got: # service iptables restart ...
1
vote
0answers
327 views

How to fix NFS V3 + TCP mount failing with 'Can't read superblock' error soon after an unmount?

Using NFS V3 and TCP!, portmapper is running. Not using iptables. Following are the options used: rw,noatime,v3,rsize=32768,wsize=32768,hard,intr,nolock,proto=udp,udp,timeo=11,retrans=5 If I wait ...
-1
votes
2answers
180 views

Enterprise Redhat RHEL Server default/built-in Applications? [closed]

I'm gonna buy a RHEL Server but before i do it, i very much need to be confirmed about some built-in Applications/Softwares which will come along with, inside. Does it come along with following ...
2
votes
1answer
1k views

execvp exec format error for shell script on Red Hat Enterprise Linux 6

We have two RHEL 6 systems that are running identical versions of the kernel and glibc (glibc–2.12–1.90.el6_3.6). According to the POSIX standard and the Linux man pages, if the kernel determines that ...
0
votes
1answer
2k views

mount command times out when trying to mount between servers

I've got two identical RHEL boxes and would like to mount a directory from one to the other. my command: [me@serv_dev ~]$ sudo mount serv_prod:/my/dir /mnt/my/dir times out after a few minutes: ...
1
vote
2answers
108 views

RHEL NIC missing

I have a RHEL server with 4 NICS. I bound eth2 and eth3 as bond0. However, I don't know how to unbind the two NICs, so I just deleted ifcfg-bond0. Then I entered service network restart, and after ...
2
votes
1answer
63 views

Finding files matching path pattern and size criteria

I have a server (RHEL 5) with 50+ websites currently running on the same eCommerce software, today I found one of the error log files was over 3GB in size Is there a way I can find all files over say ...
0
votes
1answer
2k views

Virtualbox + RHEL 5.5 = Your CPU doesn't support long mode

I have a desktop computer running the latest Ubuntu 12.10 32-bit. I'd like to run RHEL 5.5 64 bit in Virtualbox (4.1.8). However, when I bootup the VM with the CD, I got "You CPU doesn't support long ...
1
vote
1answer
119 views

RHEL json gem installation requires make?

When I try to install json gem (gem install json), at first it fails to do so, because of some dev package issue. After fixing it, it fails saying that "sh: make: command not found" and "ERROR: ...
0
votes
0answers
2k views

RHEL Unable to install any package using yum

I am pretty new to Linux and trying to install a package using yum in RHEL5 linux. Even the simplest of the simple packages I am not able to install and it looks like naming server issue. I tried ...
1
vote
1answer
954 views

Cannot write samba shares

Running samba 3.5 on Red Hat Enterprise 6.1 I'm having issues sharing two folders. Here is the output of testparm: [global] workgroup = DOMAINNAME server string = Samba Server Version %v ...
1
vote
1answer
86 views

How do I calculate file size ignoring PDFs (or other binary files)?

I would like to calculate the file size of a directory tree, but I want to ignore all PDFs and images as well. Essentially, I'm trying to figure out what the size of the text-only files are. How can ...
1
vote
2answers
379 views

How to boot RHEL with no bash?

How can I boot a RHEL VM if I deleted /bin/bash? When trying to boot, I now get the following error: "INIT: Cannot execute "/etc/rc/d/rc.sysinit" The next thing I tried was to modify the kernel ...
2
votes
0answers
297 views

VPN inside virtual machine in mac

I have a Mac book pro running mountain lion and I have vmware fusion installed. I have RHEL 6.0 64 bit vm running (in NAT mode) and pptp is installed in rhel. I tried connecting my office vpn but it ...
3
votes
4answers
210 views

When using screen, I see me as logged in twice through 'who'

I've been using Gnu screen for some time now, and I absolutely love it! I installed it on a second RHEL server of mine, and I'm seeing odd behavior when I issue a 'who' on the new server. 'who' ...
1
vote
2answers
2k views

Why would ssh fail to expand %h variable in .ssh/config?

Why would ssh fail to expand %h from .ssh/config? This used to work and still works except on a RHEL box. Looking for what the origin of this could be. Is there a setting somewhere that tells ssh to ...
1
vote
1answer
69 views

Linux RHEL : Making disk image efficiently

I have a linux box having RHEL. Its disk (hda1) is having free space of about 25GB. I have an another disk (hda2) which is of 250GB having another RHEL instance, it's partitioned for 200GB. Data on ...
5
votes
2answers
415 views

man page only found after ran with root

When I try to run man page on my Red Hat as a normal user I get "No manual entry for zip" If I change to root run: "man zip" and then I get the man page and afterwards I see the same man page as I did ...
2
votes
1answer
524 views

wpa_supplicant for dual WLAN

I've got wlan0 and wlan1. Each interface should connect to a different SSID. I would like to use wpa_supplicant for both. I can put the two networks in /etc/wpa_supplicant.conf, but how do I tell ...
2
votes
0answers
117 views

how to configure dual wlan at boot on rhel 6

I got a RHEL 6.3 box, with 2 wlan interfaces. I need wlan to be set at boot. wlan0 -> connects to NETWORK0 wlan1 -> connects to NETWORK1 How should I setup this ? I'm not used to ifcfg ...
3
votes
1answer
1k views

What exactly is the use of prefix while running configure?

I am trying to install 32 bit Python on x86_64_ Linux. Following instructions from http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html I downloaded the tarball from here: ...
2
votes
2answers
7k views

How to know what version of C++ compiler is installed on Linux server?

We have a RHEL5.5 server, and the system engineering guys at my company said that they have recently installed Intel C++ 11.1 compiler on the box. But, when I do a cc -v, I get Using built-in ...
0
votes
1answer
132 views

How to know which package yum is going to download or install now?

Now I am installing a couple of packages using yum on centos, what make me confused is that the system seems to be block at some point, in fact I know yum is downloading some packages from repo, but I ...
0
votes
3answers
3k views

Is there a Linux equivalent to Windows' SysPrep

Coming into a large number of old PCs that I want to be able to wipe the drives and reload with a "Factory" install of Linux on the HDD. These machines have no CD-ROMs, so I am looking for something ...
0
votes
1answer
2k views

Read-only file system RHEL

I am using a RHEL 5.5 on my PC. I was playing around with chmod and chown. suddenly my home folder become read-only. all the folders in /home/goutham/, where goutham is username, became read-only. I ...
1
vote
0answers
540 views

How to disable Opportunity locking on Red Hat 5/CentOS 5?

Syslog returns the error "kernel: CIFS VFS: Write2 ret -13, wrote 0" when I'm using the software under cifs fylesystem, managed by NAS server. CIFS Version is 1.60RH. I saw that the options ...
0
votes
0answers
1k views

use i3 tiling window manager in RHEL 5

For some time I have been using the i3 tiling window manager in Ubuntu. However at my new company we use RHEL5. I would dearly love to port over all my configs but Im having some trouble... An ...
1
vote
1answer
3k views

Is it possible to upgrade from RHEL 4 to 6 with up2date(or yum) on or after 2012/08?

I'd like to upgrade my server's os from RHEL 4 to 6 after 2012/08. I know that there are 2 methods to upgrade. 1. directly (RHEL 4 -> 6): 1. buy a new server machine. 2. install RHEL6 on the ...
0
votes
2answers
770 views

cp --update still copies unchanged files

I'm trying to copy only changed files using 'cp -pu' under Linux (Red Hat 6.1, source/destination FS are GlusterFS mounted partitions) but I found that it still tries to copy file seemingly old and ...
0
votes
1answer
892 views

ssh localhost works, but ssh [external url of localhost] doesn't

I'm trying to work out how to ssh into a machine at work (it runs an RHEL-based distribution with OpenSSH 5.3). I have been given instructions on how to set up keys, permissions, etc., which have ...
0
votes
2answers
7k views

Installing Oracle 11gR2 on RHEL 6.2

I'm having some difficulty installing Oracle 11gR2 on RHEL 6.2. I have compiled a giant list of every single step I have taken so far. I installed RHEL 6.2 on VMware. It did its easy install ...
1
vote
2answers
957 views

Library not being located with directory set in LD_LIBRARY_PATH

I am attempting to verify the installation of CUDA and am running into some issues. I have successfully built all of the examples that come with the GPU computing SDK. When I try to run deviceQuery ...
1
vote
1answer
308 views

Unable to connect from the host OS to the guest in VirtualBox

I have an Ubuntu machine and I have installed 64-bit RHEL on VirtualBox. I changed the adapter settings of the guest to connected to bridged network, and I am able to ping my host from the guest, ...
3
votes
1answer
449 views

Kernel panic on boot

Last week I installed SL6.2 on my tower using the LiveCD iso and unetbootin without issue. I was taking my time configuring it since it was my first real jump into linux. I ran into problems when I ...
2
votes
3answers
1k views

ssh server on runlevel 3

I have been trying to setup a ssh server on my desktop for remote access and have been running into a few issues. The first I have found is that sshd is not starting on boot. As soon as I run: sudo ...
0
votes
1answer
297 views

sox mix nested scripts on amazon ec2 rhel linux

I'm trying to use "sox" to mix some audio files. The command works great on my Mac terminal sox -m audio.wav "| sox upload.wav -p trim 2 1 pad 6" final.wav This mixes (not concatenate) audio.wav ...
4
votes
3answers
988 views

DNS resolver improvements?

I have recently come across the following configuration of /etc/resolv.conf which is/was supposed to increase the speed of DNS resolution: nameserver 1.1.1.1 nameserver 2.2.2.2 nameserver 3.3.3.3 ...
1
vote
3answers
1k views

Red Hat Enterprise Linux 5 trial expired

My trial of Red Hat Enterprise Linux 5.8 will expire tomorrow. What behavior should I expect? It will not boot?
0
votes
1answer
303 views

Writing udev rules

I have added the rule $ cat /etc/udev/rules.d/00-my.rules ACTION=="add", KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/usr/sbin/mytool add %r/%k" on my RHEL 5.8 to check the disk's partition ...
2
votes
2answers
6k views

how to install a chrome on my RHEL 5.3 box

I'm trying to install latest chrome on my RHEL 5.3. [foo@bar Downloads]# rpm -ivh "google-chrome-stable_current_x86_64(4).rpm" warning: google-chrome-stable_current_x86_64(4).rpm: Header V4 DSA ...
-1
votes
1answer
292 views

what happens if we give “777” permissions to /etc/sudoers?

What happens if I give "777" permission to /etc/sudoers? I am looking at the security perspective. I want to know the importance of /etc/sudoers file as well.
0
votes
2answers
923 views

How to display system progress and hide splash screen in RHEL 6.2

I had to force a hardware reboot due to some CPU hungry application. It now hangs at the start-up screen right after the progress circle completes. I have no way to see what it is doing (checking the ...
1
vote
2answers
1k views

how to update svn package on RHEL 5.3?

I have 1.4.2 version of svn on my RHEL 5.3 box. I tried updating and I get the following message. What should I do ? [foo@bar adminui]# svn --version svn, version 1.4.2 (r22196) compiled Sep 1 ...
1
vote
1answer
1k views

trouble installing packages in RHEL 5.3

I'm trying to install rabbitvcs, a subversion GUI tool. http://wiki.rabbitvcs.org/wiki/install/fedora. [foo@bar conf]# yum install nautilus-python pysvn python-configobj python-devel dbus-python ...
0
votes
1answer
2k views

RHEL linux ORACLE_HOME

I get the following error when I run .sh file : SP2-0667: Message file sp1.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory The following are the environment ...
1
vote
2answers
1k views

Error running Samba share of fuse mount

I have created a fuse directory, and start it like this: ./myfuse /home/shared -o allow_other -o umask=022 -o nonempty -d I can access it like this: ls -la /home/shared and it works fine. Ok, turn ...
1
vote
2answers
28k views

How to get xterm on RHEL6 and CentOS6 stock installs?

I have a library of virtual machines on which I am running product testing, and I am encountering an issue with xterm not being found. Originally I thought xterm was a basic terminal installed across ...
1
vote
2answers
437 views

How do I tell RPM which software version to use?

I'm trying to install the Subversion SWIG Python libraries so that I can use them with Trac. The environment is RHEL5, and for some reason the RedHat repositories for yum are unavailable, so I had to ...
0
votes
3answers
2k views

Amazon Linux AMI release 2010.11.1 corresponds to which RHEL version (4/5/6)?

I am using the default Amazon Linux AMI in an EC2 instance - Amazon Linux AMI release 2010.11.1. I can see that it's a Redhat based system, but after trying many tools (/etc/issues, uname -a, ...