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

learn more… | top users | synonyms (1)

3
votes
1answer
1k views

Trouble booting CentOS

I switched from an Ubuntu to the CentOS yesterday. But it seems I have messed my installation somehow, since OS will only start correctly if the USB with the installation is plugged in. Long story: ...
4
votes
2answers
40k views

pdksh missing from RHEL 6 and CentOS 6?

The package pdksh does not exist on RHEL 6 or CentOS 6 when I try to install it through yum. So my questions: Why is it no longer available in the default repositories? It is available in version ...
6
votes
3answers
584 views

What happens when Redhat says: “no more RHEL clones!”

I mean that ex.: CentOS, and Scientific-Linux are the "exact copies" of Redhat Linux. If Redhat would say one day: "I don't allow Redhat clones from now on, I will modify the licence", then what would ...
0
votes
3answers
449 views

Prevent init daemon echoing on TTY

Below is an init script which starts/stops a daemon. The daemon is unfortunately printing the parsed packet data (from /home/nuthan/program/server), a socket server written in perl, listening to a ...
2
votes
3answers
11k views

Transparent proxy with squid 3.1 on RHEL 6

We have nearly 50 systems with windows XP and have Linux (RHEL6) for server. Also have squid 3.1 , Samba and Apache for local use. Under proxy, VPN and outlook express does not connected. I heard ...
4
votes
1answer
387 views

Prelink warning in output of rpm -Va

I have run the following as root on a RHEL 4 box to get a list of the modified files: rpm -Va The output includes lines such as: prelink: /tmp/#prelink#.60m2Jq: Recorded 2 dependencies, now seeing ...
1
vote
1answer
261 views

Checking & Installing files in yum

I'm a beginner picking up RHEL... To check if some packages are present , i will type : yum check <packages_name> And then install by typing yum install <packages_name> Is there a ...
3
votes
2answers
26k views

Error Loading Shared Libraries when Installing Redhat Directory Server

While Installing the Red Hat Directory Server on the Red Hat Linux Server 5 (x86_64)i am getting the following error bin/slapd/server/dsktune: error while loading shared libraries: libstdc++.so.5: ...
4
votes
5answers
3k views

How to make a variable symlink ? (or something similar)

How can I make a variable symlink that would point to a different location according to the current user? Is it possible? Should I use something else instead? A mount point? How? Here is the problem ...
1
vote
1answer
6k views

Is there a way to find out if a network outage occurred from logs?

I have a red hat server running an oracle database. I can see in oracles rdbms' alert logs that a network outage of some sort occurred. ORA-16198: Timeout incurred on internal channel during remote ...
2
votes
2answers
1k views

How do I find out a server's drive mappings for raw devices?

I don't have a lot of knowledge on Linux so pleas forgive me if this is a simple question. I manage a server with Oracle RAC 11g running on Redhat 5.2. There are a number of raw drives on the server ...
1
vote
1answer
1k views

Problem in installing Google voice and video plugin for Gmail

I just downloaded Google talk plugin for voice and video (for audio/video chat in gmail). I am using RHEL6. I downloaded the plugin (64 bit, rpm format). While installing it an error comes which ...
43
votes
9answers
65k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
1
vote
1answer
465 views

X11 Forwarding Problem Netscape

I have the following problem. A working verbose x11 forward request looks like this: remote server release: Red Hat Linux release 6.2 (Zoot) sh-4.1$ ssh -1 -vvv -l username -o "ForwardX11 yes" ...
2
votes
2answers
1k views

su - username -c “./script.sh” -> no such file or directory

We have: a user nico. a folder /home/nico/script_home with some bash scripts: main.sh subscripta.sh sqlscripta.sh We connect as root and cd /home/nico/script_home/ Finally we run ./main.sh We ...
1
vote
0answers
545 views

Can't make a copy of /var/lib/mysql/ibdata1

I have a RedHat Linux server and I'm trying to make a copy of /var/lib/mysql/ibdata1, but I'm receiving an error saying permission denied and the file cannot be opened. I'm logged in as root user and ...
4
votes
2answers
2k views

RHEL6 LUKS with TPM support?

I'm surprised that this question is not asked more frequently, but (in RHEL) does LUKS support TPM's the way that Windows BitLocker does? If so, how is this feature implemented, and does it provide ...
1
vote
0answers
218 views

Flash drive not working on a particular RHEL machine

I have a 32 Gib flash drive. The first time I copied files to it, it failed with a write error and the drive was no longer recognized by the server. I ran a scan on it using Windows chkdsk, which ...
1
vote
1answer
6k views

How to change TFTP root Directory

How can I change root Directory of TFTP in RHEL 6 ? Default Location is /var/lib/tftpboot
4
votes
3answers
966 views

Linux distribution with 'yum' package manager

I hope that this question is appropriate for this site (if not, please accept my apologies). I am a professional statistician who uses the statistical programming language R. I'm currently building ...
2
votes
3answers
5k views

Can ping any hosts but localhost. What's wrong?

I got a freshly installed red hat box on a server. I can ping another machine on the network usnig both ip and server name but I can't ping localhost or 127.0.0.1 or 192.168.4.42 (local ip) ...
5
votes
1answer
3k views

Preventing `passwd` for asking for the local password

I have setup the sever to only use LDAP for authentication by using authconfig-tui. Everything works well but, when I run passwd, I get two prompts for a password: [beamin@rhel6-test-server1 ~]$ ...
2
votes
0answers
81 views

How to get environment variables to persist across login? [duplicate]

Possible Duplicate: How do I set a user environment variable? (permanently, not session) For a project I'm working on, I have a service that runs at startup which calls a script to set ...
2
votes
3answers
400 views

How does setting the Setuid bit affect shell scripts that run on boot of the system, before any login has occurred?

Would enabling the setuid bit on a shell script make a difference at all when that script is run on boot? Who would the effective user be?
1
vote
1answer
2k views

What starts the login prompt in RHEL?

I don't have a service in my run level that starts the login prompt, so I was wondering what does.
7
votes
3answers
13k views

How to set global environment variables at boot through a script, and have them available for an application that runs before login?

I have a service that runs at boot, and in that service it calls a bash script in the background that exports some environment variables. The problem I'm having is that those environment variables ...
1
vote
3answers
1k views

How to make a src.rpm unpack the source to whatever directory I want?

I'm trying to make an rpm that will unpack the source to a custom directory, such as /asdf. When I run it, it always errors out saying "cannot create %sourcedir /usr/src/redhat/SOURCES". Is there ...
0
votes
1answer
10k views

Installing gcc on rhel 6.1

GCC doesnt seem to be installed on my Rhel 6.1 machine. Also, when i did: sudo yum install gcc It barfed: Updating Red Hat repositories. Setting up Install Process No package gcc available. ...
1
vote
1answer
3k views

Install FFMPEG on RHEL/CentOS

I've been searching for hours now and trying various methods of installing FFMPEG on my CentOS server. This is what I have currently installed on my Ubuntu desktop: FFmpeg version ...
1
vote
1answer
684 views

redhat oauth.so missing

I tried to put the oauth on my redhat server, but since I got this message : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/oauth.so' - /usr/lib/php/modules/oauth.so: ...
7
votes
1answer
16k views

How do I install g++ on RHEL6?

This question seems to have been asked here already. My IT department installed the OS so I don't know how to register it properly but I do have root access. Is there a way to get the same packages ...
1
vote
3answers
167 views

How to clean up my desktop?

Now, I see that my desktop running rhel 5.6 has run out of space. Now I need to clean it up. There must be some unintentional files adding up. What I would like to be able to do is list the files in ...
1
vote
2answers
2k views

Can a service script put inside init.d be called at startup and shutdown?

I'm running Red Hat 5.1. I have a script called sysinit that I added as a service using chkconfig --add sysinit. I have the following set in the file: #chkconfig 4 01 01 This creates one symlink ...
0
votes
1answer
3k views

Command line linux alternative for Windirstat/SpaceMonger? [duplicate]

Possible Duplicate: How to understand what's taking up space? What's a good command line utility/script to analyze a folder structure and find out what's taking up all the space? The ...
5
votes
2answers
10k 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 ...
6
votes
3answers
7k views

Using mdam --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
1k 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: ...
1
vote
1answer
2k 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
5k 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
705 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
257 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 ...
4
votes
3answers
5k 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
8k 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
4k 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
324 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
948 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
157 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 ...
1
vote
4answers
81k views

How to find path where jdk installed?

I'm a newbie to Linux so please forgive me for asking such stupid question! I'd installed jdk1.7.0.rpm package in RHEL6. Where I do find the path and to execute my first java program?
4
votes
1answer
5k 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
2k 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?