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

learn more… | top users | synonyms (1)

3
votes
1answer
3k views

Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?

I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4). In the folder extracted: autorun.sh log.txt Makefile README src \>type command: ./autorun.sh ...
3
votes
1answer
2k views

Installing ksh as the standard shell in Redhat: Foolhardy?

I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be? The background to this ...
1
vote
1answer
140 views

Establishing I/O Patterns for an Application

Are there any system tools that allow you to profile an application's usage of storage? Basically, I'm looking for information on determining whether there are more large sequential reads, tiny ...
1
vote
1answer
1k views

can't connect to dnsmasq on local machine, port is open but connection refused

I'm running Scientific Linux 6.3 and just updated the machine to dnsmasq-2.48-13.el6.x86_64. The machine is on local ip 192.168.1.100. I have a local caching DNS setup that was working until the ...
0
votes
0answers
326 views

How to install cpp in RHEL 6.3?

I want to install gcc in RHEL 6.3, but it has cpp dependencies. So I go to cpp rpm download page, but it has no rpm for 6.3 version: Is there any other way to install cpp in RHEL 6.3?
2
votes
2answers
3k views

Linux (RedHat) `sudo su -l <<user_acct>>` does not source profile

As stated, having trouble with loading the default profile of <<user_acct>> when doing sudo su -l <<user_acct>>. Inside .profile, if [ -r "${HOME}/.profile.custom" ]; then ...
3
votes
2answers
10k views

How to add an item to the Applications menu?

How can I add an application to Applications > Internet in Gnome Desktop running on CentOS 6.4? Per this old Docs link, it suggests to edit /etc/xdg/menus/applications.menu. How can I add ...
3
votes
1answer
735 views

How do I edit configuration variables returned by getconf?

Specifically, I would like to edit the value of the system configuration variable ARG_MAX. (It is preset on kernels before 2.6.23 and I want to increase it.) How do I do this? Does this require ...
1
vote
1answer
344 views

Using xdg-open odt files

I am writing a document database using perlTk. Upon double clicking the selected file on my GUI I use xdg-open to use the default application to open the file. I am having some issues opening .odt ...
1
vote
0answers
1k views

nscd uses 100% cpu

I'm working on a linux box and the output of top reveals that the command nscd (user nscd) is using 100% of CPU. I'm uploading a flat file to MySQL from this box, and it is taking a long time (albeit ...
1
vote
2answers
1k views

Set up chroot for LDAP users in RHEL6

I have been working on this for 2 days now and am about to give up so someone please help. I have a Red Hat 6 server joined to my active directory domain. Logins work just fine under normal ...
2
votes
1answer
2k views

No valid sudoers sources

I've gone through the Google searches, but the results always have an extra clue that I'm not seeing. The error: [testuser@testhost] $ sudo -ll sudo: no valid sudoers sources found, quitting sudo: ...
-1
votes
1answer
2k views

Oracle 11g R2 on Redhat 6

I have a Solaris background, and I am new in RHEL, and I want to install Oracle 11g on it. I downloaded Oracle documentation, that illustrate how to install it for RHEL 6. The following or later ...
1
vote
2answers
1k views

What is the difference between the whatis and apropos commands?

CentOS 6.3 / RHEL 6.3 Can someone please explain the difference between the whatis command and the apropos command? I noticed that both appear to be installed by default and I'm not sure what the ...
3
votes
3answers
3k views

How to Calculate the Total size of file searched using Find command

Actually there are tow questions. First I have to search the files using FIND command that will show only the files for December 2012 And Secondly I need to see the Total size of files searched I ...
0
votes
0answers
617 views

Red Hat Enterprise Linux desktop: constant crashing, unusable, what to do

I'm having constant problems with RHEL recently. My desktop crashes during the day occasionally (once a day roughly) and is hung (black screen) every morning requiring a button-hitting restart. ...
0
votes
2answers
963 views

Problem with configure and build php 5.2 on redhat 5

I downloaded php binaries and tried to build the same using following command. ./configure --with-apxs2=/usr/sbin/apxs --with-mysql But i'm getting the error related to mysql client library. ...
4
votes
2answers
4k views

How to see the total progress while copying the files

We know that if we give --progress parameter to rsync it will show the progress of files copied. But issue is that is shows the progress for each single file not total or overall progress. So how to ...
2
votes
0answers
63 views

Detect attached monitors when X is not running

I'm working with machines that are running RHEL6. I need to detect whether a monitor is plugged in when X is either not running or has not started yet, for example during bootup. Is there any way to ...
1
vote
1answer
190 views

Why doesn't build of net-snmp 5.7.2. provide /etc/rc.d/init.d/snmptrapd?

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
2
votes
1answer
19k views

How to add Two Gateway on same machine

I have one test server that has Two Interfaces. To one interface i have assigned ip 172.16.122.1 and GW 172.16.xxx.xxx Now i connected cable to second interface and gave it ip 10.2.2.98. Now they ...
2
votes
2answers
1k views

How to list RPM packages installed in order of installation date [duplicate]

I'd like to see a list of software installed in the order of the date they were installed. The order doesn't matter (newest to oldest & vice-versa) as long as they're arranged by date. I'm mainly ...
5
votes
3answers
1k views

git command not found

I had to install git from source on RHEL. After installation the git command is shown to be in /usr/local/bin/git when trying the whereis command.This path is available in $PATH also. When I type ...
4
votes
1answer
1k views

Using hardware clock on linux

I using an old version of RHEL that I have recently upgraded from 5.4 to 5.8, with a customised 2.30.9 kernel. The system clock drifts wildly (> 5 seconds/day) unless it is controlled using an ...
6
votes
1answer
3k views

Why setsebool command of SELINUX taking so long and slow?

Hi I am new to the SELINUX and I have noticed the command setsebool take longer time than other linux commands. Such as: setsebool -P ftp_home_dir ON Out of curiosity I want to know why "setsebool" ...
4
votes
1answer
3k views

Installing development tools in RHEL 6

I have admin privilege on my office computer (running RHEL 6) which is connected in a network. I was trying to install development tools using the command: sudo yum groupinstall "Development Tools" ...
-1
votes
1answer
2k views

Why setsebool for httpd not working with -P parameter?

I'm trying to disable SELinux for httpd, but when I use the the setsebool command with -P parameter, it doesn't work: setsebool -P http_can_network_connect 1 Nothing happens when I do that ie, the ...
2
votes
1answer
622 views

What would be the “apt-cache show” equivalent on RHEL *without* requiring sudo/su?

How can I query the local package cache of yum on RHEL (and derivatives) without requiring superuser privileges? Note: I am not interested in running an update of the package cache up front. All I am ...
0
votes
1answer
700 views

How many packages does RHEL 6 provide?

I'd like to know how many binary and source packages Red Hat provides with their current RHEL 6.4 Release.
2
votes
1answer
155 views

Location of crontab job created by non-privileged user

The issue I currently have is someone has created a crontab process to run on a RHEL 5 box, yet has not left me any privileged user information. How can I execute this cron job that was setup to run ...
1
vote
2answers
3k views

How to access the Local FTP YUM repo from client Machine

I setup the FTP server on Machine A 192.168.1.105 and created the YUM repo. And placed following contents in it. #vi rhel-localftp.repo [rhel-localftp.rep] name=bla bla bla ...
1
vote
2answers
2k views

Redhat: non-root user needs to copy files to a NFS share

Typically non-root users cannot mount directories. Running Redhat Have 6GB tar.gz (/dir/somefile.tar.gz) Need to move to a NFS share on another box (//somebox/somefolder/) We have no other access. ...
2
votes
3answers
3k views

Some Ossec agents not able to communicate with OSSEC server

I have installed Ossec on one server and agents on some other servers running on Redhat. The issue is that some servers are able to communicate and send the logs to servers and others are in INACTIVE ...
3
votes
1answer
497 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
0
votes
1answer
268 views

How to add NFS options flag to anaconda?

These options work for Kickstart to load the install tree from NFS: The Fedora Kickstart documentation states nfs --server=nfsserver.example.com --dir=/tmp/install-tree ...
0
votes
1answer
649 views

'ss' command for checking sockets not found

I get an error when I try to execute this command on Red Hat Linux. $ ss -s -bash: ss: command not found It is supposed to be for checking socket statistics. How do I execute this?
0
votes
0answers
221 views

Redhat Grub not working after Fresh Install

Today i installed redhat on one server this server will be used on DR site as a backup. System has 2 HDD with 500GB space and I created the RAID0 and after that i completed the installation. But ...
1
vote
3answers
4k views

kswapd0 takes 99% to 100% CPU in RHEL 6.3

I have 5 systems on which I have just installed RHEL6. System configuration is CPU-i7 HDD-500 GB RAM-2 GB Swap- 4 GB I have installed the same software's and all the configuration as per ...
19
votes
3answers
13k views

Why SSH takes a long time to Connect

I have noticed that some Linux Servers in Network takes long time to connect using ssh. Situations: There are two situations I have faced: On some servers some times it takes a long time to ask ...
6
votes
4answers
3k views

What's the difference between a hard links and copied files?

RHEL 6 My understanding is that hard links include a copy of the original file and that I could delete a hard-linked file in one directory, and it would still exist in the other directory. If ...
1
vote
4answers
236 views

Why would someone want to change the last access date of a file without making actual changes within the file itself?

CentOS 6 I'm studying RHEL / Centos and recently learned that the touch command can be used to change the last access date of a file. I'm struggling to understand a practical reason why anyone would ...
3
votes
1answer
6k views

How to Format an LVM partition

I need to format a partition. But I have one LVM on my machine (VirtualBox) that is composed of two different two partitions of two Virtual HDD's (sdb5 and sdc5) fdisk output df output
-4
votes
1answer
94 views

Peculiar lack of RHEL 5.8 service management documentation [closed]

I am needing to see the status of some services on some of our RHEL 5.8 hosts on which I am not an admin. Much to my surprise, I am not able to get any info how to do it (such as chkconfig or ...
1
vote
2answers
469 views

.exrc file in home dir not effective

I made a simple .exrc vim config file in my home directory on RHEL 5.8. Here are the contents: set nu However, when I go into vim, the line number are not shown. It may be worth noting that I am ...
1
vote
2answers
3k views

Ignoring dependencies when installing with yum (Scientific Linux)

How can I ignore dependencies of a single package I am attempting to install using yum in Scientific Linux? The answer would presumably the same for CentOS/RHEL. To elaborate, I am looking to get the ...
2
votes
1answer
82 views

Message appears after every command completed

I am very new to Linux. Having said this, I had a friend go on my RHEL machine and he somehow added a few random lines in a file, which will post every time I have completed a command. I am not sure ...
0
votes
0answers
63 views

RedHat server packages are never found

I set up a virtual server Red Hat machine but every time I try to use the "yum" command to install new packages, the command works properly but it is never been able to find any package even the ...
1
vote
1answer
2k views

RHEL Installation issue with UEFI on HP Compaq Desktop

I have bought a new Desktop HP Compaq Elite 8300 SFF. It came with Windows 7 Pro installed. Now I want to install Linux (RHEL) by dual booting it. I have successfully shrinked the partition and ...
2
votes
3answers
2k views

Is Red Hat Linux licensed

Am confused so thought of asking a question. According to this Red Hat Becomes Open Source’s First $1 Billion Baby, it is opensourced so my question is: Where can I download the Opensource version ...
1
vote
4answers
1k views

How to copy Big files on other Linux Server Independent of TTY

Actually i was trying to copy all the files in another director. Total size of the file is 188GB so its going to take a time. Im trying to copy for Linux server A to B using this command nohup scp ...