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

learn more… | top users | synonyms

2
votes
1answer
782 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 ...
1
vote
1answer
736 views

Bridged adapter in Virtual Box - cannot obtain IP

I have virtual box with RHEL installed. My virtual box is running on windows 7 64 -bit. I configured bridged connection, but when I am restarting network interfaces, I receive following error: ...
1
vote
1answer
698 views

Does docker support CentOS/RHEL now? (after 0.7 release)

As this post (http://blog.docker.io/2013/11/docker-0-7-docker-now-runs-on-any-linux-distribution/) claims that docker now have "Standard Linux support" including RHEL, but in the documents ...
1
vote
1answer
2k views

How do I configure sar to collect disk information (ala -d)?

When I run "sar -d" on my RHEL 5.7 box, I get the response: Requested activities not available in file How do I configure sar to collect disk information?
1
vote
1answer
1k 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
1answer
101 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: ...
1
vote
1answer
780 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
83 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
1answer
58 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 ...
0
votes
1answer
11 views

Expose a Reverse SSH Tunnel on the Remote server

I set up a Reverse SSH tunnel from my home computer to my work server: ssh -f -N -R 19999:localhost:22 remoteuser@server To connect to my home computer I have to first log in to the server and then ...
0
votes
1answer
25 views

fdisk overwriting sector 0 problems

I'm having an issue with my usb 3.0 external hard drive when I try to use the fdisk command to make an ext4 partition. It's encrypted and I've been told that modifying sector 0 of the drive overwrites ...
0
votes
1answer
39 views

RHEL linux version dependant mounting if elif else

I am trying to mount as below, where the mount point is version dependant: 1) Find if any of the below 2 are mounted. 2) Find RHEL version, then mount one of the below mount -o soft ...
0
votes
1answer
54 views

Which virtualization software like vmware but open source can be installed on directly onbare metal?

Which virtualization software like vmware but open source can be installed directly on bare metal? Is it possible with oVirt?
0
votes
1answer
1k views

How to use NFS mounted storage as particular user

I have a NFS storage where I want to create and modify files from my local machine. On that NFS server there is a user with a group. But when I write a file from some local application to that ...
0
votes
1answer
186 views

RHEL6 boot.log is GBs in size

I am a novice linux user and I have inherited a RHEL6 server that is acting as a syslog-ng server. My problem is the boot.log is growing leaps and bounds from what appear to be the entries for the ...
2
votes
0answers
110 views

SSH Gnome Terminal Background/Foreground Colors

How can I automatically change the background/foreground color of my terminal based on the host that I SSH into? My current setup is an Ubuntu desktop running Gnome-Terminal that SSHs into a set of ...
2
votes
0answers
161 views

Need noacpi in CentOS 6.4, not in RHEL 6.4

I've been trying to fix a rather odd problem that I've seen on our new Dell R5500 (Xeon based workstations). We want to run CentOS 6.4 64 bit on them. We did a base install which worked fine, however ...
2
votes
0answers
118 views

access control list share file but not directory RHEL6

I have a file that I want to be accessible by a single user, but I don't want the user to have access to the folder it resides in. My understanding is that the following steps should work, but they ...
2
votes
0answers
248 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 ...
1
vote
0answers
16 views

declare -A on RHEL 5

I am using an associative array on my RHEL 6 servers and I just tested the script on a RHEL 5 server and apparently -A is not supported for the declare command on RHEL 5: declare -A var -bash: ...
1
vote
0answers
29 views

Difference between Virtual Console and Workspace?

Please explain all differences between Virtual console and Workspace in Linux. If possible also kindly requested to specify definition and/or example. Many thanks.
1
vote
0answers
17 views

Difference between ntsysv and system-config-services

Please someone can guide the difference between: # ntsysv # system-config-services ntsysv - tune services should be automatically started, is it similar to chkconfig?
1
vote
0answers
27 views

How to install tomcat-native without need to install development utils

I am using tomcat on a RHEL machine. When starting tomcat, i get the following warning: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments ...
1
vote
0answers
315 views

Adding a disk to an Amazon EC2 instance

I am using Amazon EC2 instance where I have low disk space [root@ip-10-59-143-73 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvde1 5.7G 3.3G 2.3G 60% / none ...
1
vote
0answers
183 views

MongoDB PHP driver installation issue in Red Hat Linux

My server OS is Red Hat Linux. I installed MongoDB 2.2.3 successfully on my server, following this tutorial. I also tried following these instructions for installing the PHP driver for MongoDB, but ...
1
vote
0answers
153 views

Tell yum update to given date, no later

I need to tell yum to update to a certain date's patches. For instance, let's say a test box gets updated last Thursday. The owner beats on the machine and determines the patch set is good, so I want ...
1
vote
0answers
240 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
vote
0answers
112 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 ...
1
vote
0answers
394 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 ...
1
vote
0answers
793 views

Setting up a Remote Diskless System

I am trying to setup a PXE Boot server with RHEL 6 and am following these directions. Has anyone done this successfully?? I am having various issues. I used the rsync command to copy over the ...
0
votes
0answers
5 views

Gnome panels are not un-autohiding

System: RHEL 6.5, Gnome 2.28.1 I have set both top and bottom panels to autohide. Until recently this has worked fine but they've now stopped reappearing. When I first log in, they appear as normal ...
0
votes
0answers
12 views

RHEL 6 HP Tape Driver Installation Troubles

Trying to install tape drive drivers for the HP Ultrium 3280 SAS using this guide http://h10032.www1.hp.com/ctg/Manual/c02262008.pdf Whenever, I try to execute mkltfs I get this error mkltfs: ...
0
votes
0answers
50 views

Qt Installation woes on RHEL 6

I wanted to install qt-creator on my machine so I went ahead and downloaded the appropriate rpm package qt-creator-3.0.1-3.el6.x86_64.rpm. Soon ... rpm -ivh qt-creator-3.0.1-3.el6.x86_64.rpm ...
0
votes
0answers
5 views

How can I specify what directories my overlay uses on a liveusb?

I'm using a Red Hat system (4.4.7-3) to generate a CentOS live USB/CD. I have figured out how to create an overlay as well as a home overlay; however, I cannot seem to grasp how to change the ...
0
votes
0answers
16 views

How to disable Ctrl+Shift+U in RHEL?

When working with Eclipse some shortcuts are not working as under Windows. Most prominently, Ctrl+Shift+U (which lists all references to the variable under the cursor within the same file, very ...
0
votes
0answers
115 views

Intel Xeon stuck at 800mhz CPU Freq on RHEL 6.5

Currently running into a headache trying to figure out why my CPU speed is stuck as such a low frequency. After doing some research, I found that cpuspeedutil does actually control the state of the ...
0
votes
0answers
82 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 ...
0
votes
0answers
30 views

stop user from being runing any commands, should able to run only granted with sudo

Is there any single command or script which gives result, the list of how many commands a linux user is able to execute? And how to stop user from executing even a linux basic commands and should not ...
0
votes
0answers
68 views

Getting per user cpu and memory consumption statistics

Is there a way to get cpu and memory consumption statistics summaries per user the same way prstat -t on Solaris shows them? The prstat(1) utility in Solaris display has fields NPROC UserName SWAP ...
0
votes
0answers
87 views

Supporting PCI-E X1 network cards by CentOS(RHEL)

Help me please I want to know it becase my windows 7 cant see my PCI-working network card and I dont want to buy a motherboard and then find that CentOS does not support PCI-E X1 network card. I want ...
0
votes
0answers
32 views

where does openshift log when “unable to create gear on node”?

I'm trying to create a new application and I get an error when using the command line (rhc app create -a firstphp -t php-5.3) and when using the console through the browser. I didn't find any useful ...
0
votes
0answers
25 views

How can I keep Red Hat Linux folders open?

I am using Red Hat Linux (2.6.18 from uname -r) on a 64-bit machine. I usually keep 2 particular folders open, so I can see and manipulate their files with GUI actions. If some period of time has ...
0
votes
0answers
34 views

How can I prevent my USB mouse to interfere with standby, on Linux?

I am using RHEL workstation. My USB mouse interferes with standby - if I press the sleep button, the computer tries to standby, but instantly wakes up. If I remove the USB mouse, standby works. ...
0
votes
0answers
90 views

Can I enable discards on a LUKS-encrypted ssd drive in RHEL6 (and do I need to)?

I have a RHEL 6.4 workstation, running on a LUKS-encrypted LV residing on a SSD. I found RedHat documentation stating that dm_crypt does not currently support TRIM passthrough, however I also found ...
0
votes
0answers
141 views

crash shell: any way to check if a command executed Successfully

I am automating a test using crash package. is there some thing like $? in bash shell, which can be used to check if previous command is executed success fully or not. eg : when command crash> ...
0
votes
0answers
354 views

Red Hat Enterprise Linux Qt 4.7.0 install error

I'm running a virtual machine, using VMWare Player, running Red Hat Enterprise Linux Workstation 6.4 x86_64 and I'm trying to install Qt 4.7.0 from the qt-everywhere-opensource-src-4.7.0.tar.gz file ...
0
votes
0answers
298 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 ...
0
votes
0answers
1k 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 ...
0
votes
0answers
828 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 ...
0
votes
0answers
686 views

How to run Meld (1.5) with python 2.4.3

I would like to run Meld (a diff tool written in python) but it quits with the following error : Meld requires Python 2.5 or higher. Facing restrictive corporate guidelines i have to stick to the ...