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

learn more… | top users | synonyms (1)

1
vote
1answer
401 views

How to share files Between RHEL and Ubuntu

I have installed RHEL 5.5 on VIrtual Box and Host system is Ubuntu 12.04. I can access the files of Ubuntu by using the sharing services of Virtual Box. But how can I access the files of RHEL which ...
0
votes
1answer
274 views

Command not found

I am trying to stop a syslog using chkconfig but bash says that command is not available. But when I do man chkconfig it opens man page. This is the command i'm trying to execute. ...
1
vote
3answers
187 views

User's name appears as “bash-3.0” on SSH shell

I am working on a Redhat server and one of the users' names appears as "bash-3.0" on the "SSH Secure Shell Client." His name is appearing correct under /etc/passwd. How could this happen? How can I ...
4
votes
3answers
7k views

How to create Local Repositories in RHEL

I need to create a local repository in RHEl 5.5. i386 Because when I type some command in terminal it say that RHEL is not subscribed with RHN which is true. I took it from friend. So can someone ...
3
votes
2answers
2k views

How do you configure the MTU for all network adapters via a script?

NOTE: This is for RHEL/centOS. Currently my way of configuring the MTU is via GUI using system-config-network and setting the MTU to 4096. I would like a non-interactive script to do this instead. ...
1
vote
2answers
604 views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
12
votes
2answers
7k views

/dev/tcp listen instead of nc listen

With a netcat listener like: nc -l <port> < ~/.bashrc I can grab my .bashrc on a new machine (doesn't have nc or LDAP) with: cat < /dev/tcp/<ip>/<port> > ~/.bashrc My ...
2
votes
1answer
437 views

Installing trac - “Trac requires Python 2.5 or later”

I am having a little trouble getting trac 1.0 installed via easy_install: [box]# easy_install Trac==1.0 Downloading ...
1
vote
1answer
218 views

Unable to connect to serial device; no /dev/ttySx

I wrote a Java application that connects to the serial port of the GSM modem. On Windows the serial ports have names like COM3, but in Linux Redhat 6.0 I had to switch to something like ttySx (X is ...
0
votes
0answers
343 views

How do you access internet in RHEL 5 using Android smartphone USB LAN? [duplicate]

How do you access the internet in RHEL 5 using Android smartphone USB LAN?
2
votes
1answer
1k views

RHEL how to sync network settings between GUI and configuration files in /etc/sysconfig/network-scripts/?

In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/. I would like to know how the network settings (e.g. IP address, ...
1
vote
1answer
267 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
1answer
818 views

Why do I need to install -devel packages?

I am new to Linux and wonder why many times when I install package with yum I need to install package-devel.i386 rather than package.i386. What is the difference between them?
2
votes
1answer
336 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
1
vote
1answer
404 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
768 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
676 views

Running programs as root with my own password in Scientific Linux

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
717 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
693 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
210 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
802 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
954 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
4k 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
5k 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
1k 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)?
3
votes
0answers
162 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
1answer
310 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
101 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
2k 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
216 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
171 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
157 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? ...
4
votes
2answers
8k 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
3k 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
5k 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 ...
2
votes
1answer
434 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
282 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 ...
1
vote
2answers
10k 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
572 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
937 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
974 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
197 views

Critical Memory [duplicate]

Possible Duplicate: free: output format My Redhat server shows the following: free -m ============= total used free shared buffers cached Mem: ...
7
votes
2answers
12k 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
273 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
1answer
808 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
748 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
470 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. ...