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

learn more… | top users | synonyms (1)

1
vote
1answer
593 views

chcon fails to fix “cannot enable executable stack as shared object requires” err under RHEL6

I have an application I test at work, that has always failed installation on systems with SELinux enabled. Our published workaround involves issuing a chcon command for the library-file at the center ...
1
vote
0answers
921 views

iptables not starting up

I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively). When booting, the following is ...
4
votes
2answers
797 views

Running programs as root with my own password in Scientific Linux/Red Hat/Fedora/CentOS

In Debian-derived Linux distros, if you are not root but are authorized in /etc/sudoers, GNOME will ask you for your own password to allow privileged operations. However, Scientific Linux asks you ...
1
vote
1answer
963 views

How to force a particular version of Java?

I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
3
votes
3answers
806 views

What version of Red Hat is used for the Red Hat Certified System Administrator Exam?

What version of Red Hat is used for the Red Hat Certified System Administrator Exam? Because I don't have over $3000 to invest in the Red Hat course that prepares you for the exam I am going to ...
2
votes
1answer
230 views

Why does Redhat's daemon function not have a group setting?

Background: I'm a Ubuntu/Debian fan and most of my development experience has been on that platform but my current employer uses Redhat. I needed to write a simple init.d script and want the ...
1
vote
1answer
928 views

httpd-devel requires outdated version of glibc-common on CentOS 6.3

httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo) Here is ...
2
votes
2answers
1k views

Can readahead-services be safely disabled?

I am just going through the service-list of a server (CentOS 5) - the question will probably apply to other RedHat, Fedora, ... versions, too. Note that my servers normally run in runlevel 3 (no GUI ...
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
4
votes
2answers
5k views

Determining NIC designation from PCI address

I am in the process of upgrading a legacy system from RHEL 5.4 to 5.8. There are three NICs installed, each with defined IP addresses and attached wiring. After the upgrade, the cards are on the same ...
16
votes
3answers
10k views

Piping from grep to awk not working

I am trying to grep the ongoing tail of file log and get the nth word from a line. Example file: $ cat > test.txt <<EOL Beam goes blah John goes hey Beam goes what? John goes forget it Beam ...
5
votes
1answer
2k views

open of .rpm failed: Permission denied

Whenever I try to install some .rpm I've downloaded, I'm getting: > sudo rpm -i something.rpm error: open of something.rpm failed: Permission denied It seems that the choice of rpm doesn't ...
-4
votes
3answers
2k views

Running Visual Studio 2010 in Linux

Is there any possible way to run Visual Studio 2010 in Linux (Red Hat)?
4
votes
0answers
190 views

Enable sqlite FTS Enhanced Query Syntax in python in RHEL6?

SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well ...
6
votes
2answers
362 views

Mailman / Postfix Configuration Assistance

I am writing for some help regarding Postfix configuration. I cannot seem to get Postfix configured properly to transfer mail to the mailing list installed on the same server. I followed many steps ...
2
votes
2answers
107 views

reformat a text file to have all text on one line using CentOS 5.6

I have a 210-line block of HTML that I have stored in a HTML for debugging purposes. The HTML, as you would expect, is formatted accordingly so is stored in the file with spaces and tabs. Is it ...
2
votes
1answer
3k views

Hotplug area too small error

I have VM running under RHEL6, which is running under HyperV. It has a lot of important soft installed, but does not have suffocating workload (~10% CPU is used). It's been really unstable recently ...
0
votes
2answers
246 views

What creates /etc/hosts (RHEL 5.5)

How does /etc/hosts get created on RHEL 5.5? It's not owned by any RPM and if deleted, it doesn't reappear on reboot, so apparently it's not a service created it. Does anaconda create it by default ...
3
votes
1answer
176 views

How to skip DNS checkup while I'm disconnected from Internet

I use RedHat machine. /etc/resolve.conf was set to nameserver 8.8.8.8 and it works well. I'm wondering how to connect my machine if it's disconnected from internet? It seems that if DNS of 8.8.8.8 is ...
1
vote
1answer
175 views

Is rpm the only file extension for repositories

I've noticed that repositories in CentOS have the .rpm extension. Are there other extensions? Is .rpm specific to the operating system? i.e. do other linux operating systems have other extensions? ...
7
votes
2answers
14k 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 ...
3
votes
1answer
5k views

Add another IP address to a Bonding Interface

I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1) $ cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=static ONBOOT=yes ...
0
votes
2answers
6k views

Install older version of GLibc on RHEL

I'm trying to install GCC 4.4 on RHEL6: sudo rpm -ivh /mnt/dvd/Packages/gcc-4.4.3-1.el6.x86_64.rpm. But the problem is that is depends on glibc and glibc-common libraries. When I try to install them ...
3
votes
1answer
584 views

Installing DRBD on Redhat 5

I am trying to install DRBD on Redhat 5. Everything i find is out of date, and all the files are not hosted anymore. From what I understand I need to install the Cent OS repositories to install DRBD ...
3
votes
0answers
312 views

What are the differences between runit and supervisord?

I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't ...
2
votes
2answers
23k views

How to install/remove/upgrade .rpm packages on Red Hat?

I am new to linux, and at the university we are using this distribution to mount servers on VM, but I need to install a package that is missing in my virtual machine that is running Red Hat, but how ...
2
votes
2answers
1k views

Activate WiFi on runlevel 3 startup

I am running SL6. During GNOME session, the wifi is connected as soon as I login, however the same does not happen until I login. The situation further worsens in runlevel 3 where the wifi is not ...
3
votes
1answer
678 views

Can't get past EFI to install RHEL on HP Itanium Server

When I am trying to install RHEL (6.3, 5.8, 4.8) on an HP Integrity Server rx2660 Itanium with 4GB RAM, I keep getting to the same point which is Loading file efi\boot\initrd.img...done After that ...
6
votes
1answer
1k views

force re-negotiation of PCIe speed on Linux

I'm working with PCIe Gen 3 cards and from time to time they seem to fall back to PCIe 1 or 2 speeds (according to lspci and also observed by the throughput). When rebooting/power cycling the machine ...
2
votes
1answer
1k views

How Do I use autofs to map a USB drive by its ID?

Goal I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER) Question What is the best ...
0
votes
2answers
239 views

Critical Memory [duplicate]

Possible Duplicate: free: output format My Redhat server shows the following: free -m ============= total used free shared buffers cached Mem: ...
8
votes
2answers
17k views

Effect of entries in /etc/securetty

By default on RHEL 5.5 I have [deuberger@saleen trunk]$ sudo cat /etc/securetty console vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 ...
1
vote
1answer
405 views

Map caps to esc for RHEL 5?

I have an older version of RHEL. In newer versions, there is usually an option to map the caps key to the esc key. How would I do this in an old version? Going to System Preferences -> Keyboard -> ...
2
votes
2answers
1k views

Resize window to half screen width in KDE 3.5

I am using a legacy version of Red Hat that uses KDE 3.5.4. I do not have the ability to install additional software. I have become rather addicted to the modern windowing feature of snapping to ...
-2
votes
3answers
1k views

how to check for disk in use on rhel

How to check if a disk is in use? If in use, How to check free, used space before I can start using it? I'm trying this in Perl and Any help is appreciated.
2
votes
1answer
556 views

Boot in rescue mode with vlan support in RHEL

I am trying to restore RHEL OS (5.3.1.1) from network, where we have VLANs configured on our switches. So the only way to get to shared folder on remote server with backup image is to configure VLAN. ...
2
votes
0answers
1k views

Printing failure at a network printer in linux

I added a network printer to my network by the RedHat Enterprise workstation 6 linux GUI. It seemed that the printer setting did find the network printer. However, whenever I tried to print, the job ...
3
votes
1answer
9k views

Creating an ext4 partition fails with “invalid blocks count”

Environment: - Virtual machine on VMWare ESX 4.0 - OS: fully up to date RHEL 5.8 After adding a new (virtual) disk I want to create an ext4 partition on LVM on this disk. Steps taken so far: $ sudo ...
5
votes
2answers
2k views

Is there a way to install and remove packages in a single yum command?

Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.
6
votes
5answers
1k views

ssh command unexpectedly continues on other system after ssh terminates

I'm running the below command, and monitoring the output file on the other system: ssh $ip_address 'for n in 1 2 3 4 5; do sleep 10; echo $n >>/tmp/count; done' If I kill the ssh command ...
5
votes
2answers
2k views

ssh localhost without password doesn't work on Fedora 14

I performed: $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys then in /etc/ssh/sshd_config changed StrictModes to no and restarted sshd. And I ...
2
votes
3answers
624 views

I changed my hostname, rebooted and lost internet connection

I set a new hostname on my machine using: sudo hostname NEWHOSTNAME Then I restarted, and tried accessing the internet and nothing happened. I checked the hostname and it was set to ...
3
votes
3answers
2k views

Temporary restore LVM snapshot of root

I have a snapshot of the root filesystem that I want to boot with - bring the machine into a state it was a few days ago, run some tests and then go back to where I am right now. I tried editing ...
3
votes
1answer
581 views

How to get hgk working on RedHat Linux?

I plan to get hgk to work.However, no matter how I configure the redhat linux, it still does not have any response. Here is information for my machine. RedHat 5.3 Mercurial 1.8.1-1 I installed ...
1
vote
1answer
793 views

No yum repos on Red Hat Enterprise Linux Server release 5.2 (Tikanga)

I have a Red Hat Enterprise Linux Server release 5.2 (Tikanga) system and there is only one repository named rhel-debuginfo.repo and it doesn't seem to work either. Could you point me out some ...
6
votes
2answers
1k views

Is it possible to create a directory and file inside /proc/sys?

I am running CentOS 6.2 and I need to create a subdirectory named "crypto" inside /proc/sys. Inside /proc/sys/crypto, I need to create a file named test which contains the value "1". I have tried ...
2
votes
1answer
4k views

DNS Issues on RHEL 6

I'm experiencing some DNS issues on a new RHEL 6 virtual machine. Ping is working fine to an IP, but the machine is unable to resolve any names. I've tried adding Google's DNS servers (8.8.8.8 and ...
4
votes
3answers
563 views

Is there is tool similar to ShiftIt on OS X?

I'm looking for a keyboard controlled window sizing utility similar to ShiftIt on Mac OS X: https://github.com/fikovnik/ShiftIt
0
votes
0answers
1k views

How to install TortoiseHG on RHEL 5.3 from source?

I have been trying to install TortoiseHG with the yum command on my RedHat system and have been struggling. I thought perhaps I should install it from the source. I used the instructions here and ...
3
votes
2answers
5k views

Resolve missing package dependencies when trying to install octave

I am trying to install the octave software package on a RHEL 6 Workstation. I have installed the epel-release 6.5 package to enable the EPEL package repository. When I try to install the octave using ...