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

learn more… | top users | synonyms (1)

1
vote
1answer
118 views

Why are directories created with permissions 2070 and files with 060 in a directory with setgid bit?

I have the following directory: $ ll -d neptune drwxrws---+ 5 beamin psych 4096 Mar 7 16:18 neptune $ getfacl neptune # file: neptune # owner: beamin # group: psych # flags: -s- user::rwx ...
3
votes
1answer
445 views

Can I force notify-send to appear on a different monitor?

I am using notify-send to present occasional information to my users. However, in a two-monitor setup, notify-send always maps the window in the lower-right corner of the right monitor. The users ...
2
votes
1answer
128 views

Why does SELinux allow me to read this file?

I appear to be misunderstanding the security levels/categories within SELinux. I have attempted to configure a file that I have read access to (via DAC), but no read access to via SELinux categories. ...
0
votes
0answers
1k views

Multiple network adapters with Virtualbox guests?

I'm running VBox under Mac OS with multiple Linux guests (Redhat). Everything works fine except I want to test dual NICs in one of my guests. I'm using host-only adapters and would like to simulate ...
1
vote
3answers
1k views

SFTP server on RHEL6 disconnects on ls

I've followed the steps outlined here to create a chrooted sftp environment. Everything works great EXCEPT for the command ls. When I do an ls, with any of the flags, I get disconnected ...
2
votes
1answer
472 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
3
votes
2answers
185 views

How can I make my home Linux most closely resemble the Linux used at my school?

We have to ssh into our school's server to make sure our programming assignments work on the system that will be used to test them by the teacher. It's running RHEL 6.2. When I test my program on my ...
1
vote
1answer
560 views

Problem Installing .ttf with FontConfig, in userdir for user account, running RHEL

I'm trying to install TTF fonts, for a normal user account, on my RHEL5.4 box The steps I followed are : $ cd ~ $ mkdir .fonts $ cd .fonts $ wget -q ...
2
votes
2answers
956 views

200ms latency between TCP send and tcpdump only with large messages

In our REHL server, latency between application send and tcpdump log is always very large for large messages, about 200 milliseconds (see below 697572-488690=208882 microseconds), whereas latency for ...
1
vote
1answer
317 views

Why do I have to stop/restart cups in redhat linux in order to use a custom filter?

A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" ...
2
votes
1answer
176 views

How to solve “/usr/bin/ld: cannot -lodbcinst” problem during FreeTDS installation

I have installed unixodbc for Microsoft SQL Server support in Linux. I want to connect PHP on Linux to a MS SQL server. I tried to install FreeTDS opensource , but it gives me following error. ...
3
votes
1answer
8k views

How to get a list of installed external kernel modules?

From the documentation of Linux kernel 3.2 (Documentation/kbuild/modules.txt) === 5. Module Installation Modules which are included in the kernel are installed in the directory: ...
10
votes
1answer
7k views

Unable to delete file, even when running as root

I am in the process of migrating a machine from RHEL 4 to 5. Rather than actually do an upgrade we have created a new VM (both machines are in a cloud) and I am in the process of copying across data ...
9
votes
3answers
6k views

.bash_profile not sourced when running su

I have a user, say user1, which has modifications to its .bash_profile, one of them changing the PATH, e.g.: export PATH=/some/place:$PATH. This change works fine if I log on as user1 or do a su - ...
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
32k 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
555 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
394 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
10k 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
317 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
231 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 ...
2
votes
2answers
21k 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
2k 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
4k 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
800 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 ...
35
votes
8answers
52k 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
424 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
831 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
479 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
211 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 ...
0
votes
1answer
4k 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
805 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
4k 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
78 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
369 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.
6
votes
3answers
10k 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
980 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
9k 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
593 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
13k 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
151 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
2k 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
9k 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 ...
5
votes
3answers
4k 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 ...