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

learn more… | top users | synonyms (1)

7
votes
2answers
13k views

Oracle Linux 6.1 guest on Virtualbox 4.1 can't connect to network

I just installed VirtualBox 4.1 on my Windows system, and then added a Solaris 11 Express guest and an Oracle Linux 6.1 guest. Both installs went smoothly. But while the Solaris 11 guest has network ...
7
votes
3answers
13k views

Using mdadm --examine to write mdadm.conf

I'm trying to script the RAID setup for a (growing) number of identical servers. The advice I've seen for using mdadm suggests that once the RAID array has been created you can run mdadm --examine ...
1
vote
2answers
2k views

Red Hat Error Class Code: 49 When Attempting To Install Package

I am a Unix noob. I am currently working on a virtual machine that is running Red Hat 4.1.2-41. When I attempt to install a software package, I get the following error: ...
2
votes
1answer
4k views

.bashrc doesn't get executed

I have a user (non-root) which has a ~/.bashrc file with some aliases in it. But it doesn't look like the file is executed at log in time. If I do source ~/.bashrc then it does what it's supposed to. ...
0
votes
1answer
7k views

yum groupinstall “Development Libraries”

I am new to linux. I am looking at some configuration notes for a CentOS, but I am configuring a Redhat machine. I am not clear: What the below commands install? Why one might install these? ...
1
vote
3answers
1k views

How do I check if a distribution is Fedora-based?

The Python M2Crypto library requires a slightly different installation command if the Linux distribution is Fedora-core based (e.g., Fedora, RHEL, CentOS, Scientific Linux). Is there a way to check ...
0
votes
1answer
294 views

Offline documentation of an RPM spec file or how to retrieve an example

I am taking a Red Hat exam that is offline. I am having issues remembering the syntax for an RPM SPEC file. Can anyone suggest how to retrieve an example or some documentation that should already be ...
9
votes
5answers
14k 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")?
0
votes
6answers
12k views

Script to check for read only filesystem

How can I check a bunch of systems to find any filesystem that are mounted read-only? Possibly via a script?
3
votes
3answers
7k views

Which device is using this logical volume?

I'm trying to remove an LVM logical volume, which I believe is not currently in use. However, when I attempted to remove it, I get an error: # lvremove /dev/vg_service1/lv_home Logical volume ...
1
vote
2answers
498 views

Check version of RPM package available in upstream repo if I have a custom one installed

I have a RHEL6.1 machine that's registered with Redhat. I needed to install a customized version of a package (in my case, qemu-kvm), which I installed via RPM. I can see the version info for my ...
0
votes
1answer
1k views

no default repositories in yum

I am trying to install gtk-murrine-engine on my RedHat Linux Client 5.5 using yum install. It says package not available. It appears that there only exists some local repositories in yum , pertaining ...
2
votes
1answer
161 views

Can't see the free disk space of the drive

I am installing redhat 6 with pendrive, I get only two drives option for installing one is the whole hard disk and the other is pendrive, but I've created a free logical disk of 30 GB in windows. I am ...
6
votes
3answers
150k views

How to find path where jdk installed?

I've installed jdk1.7.0.rpm package in RHEL6. Where I do find the path to execute my first java program?
4
votes
1answer
7k views

Can't explain “crash” entries in output of the 'last' command

Last shows "crash" at 12:02 and 14:18, but the system didn't stop working at that time. The reboot at 15:03, on the other hand, was to recover from an actual crash - our system stopped responding at ...
3
votes
2answers
4k views

How to start the cron daemon

I am using RHEL 5.4 I killed the cron daemon accidentally. I wanted to stop a cron task, didn't know how to do it, ended up killing the cron daemon itself. How do I start it again?
2
votes
1answer
135 views

“Short read block” error trying to boot RHEL

I changed my network configurations from static IP to DHCP and removed the DNS entry, etc. Then I rebooted the computer, but am now unable to boot, I get an error message along the lines of "short ...
60
votes
7answers
24k views

What is the Linux equivalent to C:\Program Files?

I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, ...
1
vote
1answer
2k views

New SL6 system: No hostname?

This is in regards to Scientific Linux 6.1 system, but should also apply to CentOS 6.1 & RHEL 6.1. I am setting up a new Scientific Linux 6.1 system, using kickstart and DHCP (via xCAT). This ...
3
votes
1answer
669 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
4
votes
1answer
287 views

Confused about PAM configuration stanza and the roles of the control-flag parameters

I just begun studying for the RHCE. While on the topic of PAM configuration, I was a little perplexed with this stanza from /etc/pam.d/system-auth: auth required pam_env.so auth ...
3
votes
3answers
14k views

Red Hat Enterprise Linux 6: /boot/grub/menu.lst or /boot/grub/grub.conf?

I have a brand new Scientific Linux 6 system, but this same question should apply to CentOS 6, RHEL6 or any RHEL6-derivative. I see that /boot/grub contains a menu.lst as well as a grub.conf file. ...
3
votes
1answer
468 views

Vanishing permission on device file (RHEL 6.1)

I want to set world read/write permissions on a raw block device file (yeah, I know). I can set the permission to 666, but it goes back to 660 immediately after I touch it or write to it. Why? ...
7
votes
2answers
10k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
4
votes
1answer
2k views

Making the Spotify Linux client (for Debian) run on RHEL

I'm trying to convince the Spotify Linux client to run from my home directory on a RHEL 6 machine (I don't have root privs, and running the Windows client through Wine results in audio stutter since ...
6
votes
5answers
9k views

Does AIX really beat Red Hat Enterprise Linux?

Our company plan to upgrade our servers, and at the same, we would use AIX over Red Hat Enterprise Linux. I asked my boss the reason of choosing AIX, he said it is because AIX is more powerful. I ...
3
votes
2answers
7k views

Run getty on a serial port on startup on RHEL

I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working. In the past (on Ubuntu?), I used to add a line ...
6
votes
2answers
680 views

'man' page is too narrow (not taking advantage of terminal size)

I'm making my first 'man' page and I'm using groff to do it. However, when I "compile" it and view it, it only takes up a certain amount of columns in my terminal. I've tried viewing other man pages ...
1
vote
1answer
3k views

RHEL Time Changes Automatically

I Have a RHEL 6.1 server and it's date/time changes automatically even after I change the time settings. Could someone point out how to fix this issue? Note** I suspect this happens when rhn ...
5
votes
3answers
5k views

Change /dev/sd* for USB Linux install?

I am trying to install Scientific Linux 6.1 (which is literally RedHat Enterprise Linux without the branding) by booting its installer from my USB drive. The installer starts fine, but two things ...
5
votes
1answer
4k views

Is there any difference between e2fsck and e4fsck on CentOS / RHEL systems?

ext4.wiki.kernel.org makes it sound like e2fsck was simply renamed to e4fsck so that e4fsprogs and e2fsprogs could coexist without overlapping. However, there is no mention of any difference in the ...
2
votes
3answers
3k views

Linux + how to verify mirror configuration on linux red-hat

I have an IBM blade server and we've installed RedHat Linux on the machine. How can we check if we have both disks running as a mirror, or if everything is only running on a single disk? What ...
1
vote
2answers
986 views

Are there programs that work for Red Hat but not Ubuntu?

And vice versa? What about other distributions too?
0
votes
4answers
2k views

Package repository for which Fedora version would be best match for RHEL / CentOS / Scientific Linux 6.0?

I am using Scientific Linux 6.0, which is based on RHEL (RedHat) 6.0. I want to install some package (LXDE), which is present in repositories for Fedora, but which I didn't found either in Scientific ...
5
votes
4answers
2k 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: ...
1
vote
2answers
3k views

Check the Existence of a Network Interface Card Redhat

I'm aware that I can use ethtool eth0|eth1|eth2 to check the existence of a NIC. But I wonder where the files are on the machine that contain information of an existing interface, as I need to use ...
2
votes
2answers
5k views

How to hibernate a RHEL6 machine?

I am using RHEL6 and I don't see a hibernate option for it. Doesn't RHEL6 have a hibernate option? I tried pm-hibernate from command line but it said: PM: Cannot find swap device, try swapon -a ...
5
votes
1answer
4k views

Changing Redhat Network Settings From DHCP to STATIC IP Via Configuration Files

In order to make the statically assigned IP work, I have already modified the file /etc/sysconfig/network-scripts/ifcfg-eth0 as follows: DEVICE=eth0 IPADDR=10.33.17.143 NETMASK=255.255.255.0 ...
0
votes
4answers
38k views

How to read NTFS drives in Linux (RHEL 6)?

My system is on dual boot. I have installed both RHEL 6 and win7 in it. I use RHEL mostly and I want to use my windows' NTFS drive in RHEL. How can I do it? Tell me the procedure.
7
votes
1answer
4k views

Why does redirection (>) not work sometimes but appending (>>) does?

While studying for the RHCE, I came across a situation where stdin redirection does not work in bash: # file /tmp/users.txt /tmp/users.txt: cannot open `/tmp/users.txt' (No such file or directory) ...
8
votes
3answers
3k views

What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?

I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security. After some research from the documentation, this is my understanding of the ...
1
vote
1answer
2k views

Redhat Network Service Restart

I modified the /etc/sysconfig/network-scripts/ifcfg-eth0 file to set a static ip for my redhat. Then I tried to use command "service network restart" to make the change stick, however, it became stuck ...
6
votes
2answers
28k views

How do I get UUENCODE to work?

I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
2
votes
1answer
69 views

RedHat Enterprise Edition Kernel Support

Is there support for Kernel versions 2.4-2.6 in RedHat Enterprise Linux versions 4 and 5?
-3
votes
1answer
160 views

Linux configuration settings

Where are the following configuration files located (e.g., Redhat)? network settings (static/DHCP/DNS) timezone proxy for network default language
1
vote
1answer
8k views

doing OpenLDAP config changes in RHEL 6

I've been configuring OpenLDAP on RHEL 6 and its seems you have run the following to rebuild the config dirs. I'm ok with that, but my issues is, say I want to change the server passwd, do I have to ...
0
votes
1answer
856 views

Centos/RHEL 5.5/5.6 supported SCSI adapters

We have a batch of SuperMicro 6014H-82 servers that have Adaptec 2015S SCSI controllers fitted. Unfortunately, according to the bug tracker (0002087: CentOS installer won't detect harddrives) it looks ...
2
votes
3answers
270 views

Trying to remove password echo in Redhat 5 when logging in

I'm running Redhat 5.6 with the gnome display manager. I would like to configure the login manager so that there is no echo of the password when typing it in (no asterisks or the like). I have ...
1
vote
1answer
1k views

Red Hat Kernel Upgrade problem

I'm using a Red Hat 4 Enterprise Linux. But, when I upgrade the kernel, an error occurred. And after, when computer is booting with new kernel (red hat enterprıse 2.6.9-100.el), I receive the ...
1
vote
1answer
385 views

What are the Implications of moving to Huge mem kernel on RHEL4

I've been asked to investigate adding extra memory (> 16gb) to a RHEL 4 server and moving to a huge mem kernel. The server is used for Oracle RAC. Is it just a case of installing the hugh mem kernel ...