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

learn more… | top users | synonyms (1)

1
vote
2answers
2k views

gvim on RHEL (Red Hat Enterprise Linux) install in home directory

How to install gvim on a RHEL server that doesn't have it (for use with SSH with X11 forwarding*)? No sudo access is available, so it has to be in the user's home directory. *Getting all the ...
3
votes
2answers
2k views

How to Add Extra Disks on KVM based VM

I installed Redhat 6.4 on KVM Server. Right Now there is only One Disk /dev/vda. Now I need to add extra Disk like /dev/vdb I tried adding New Volume but it is not showing when I do fdisk -l How to ...
2
votes
0answers
62 views

rPath clone or similar

I just joined a new company, and this company is using rPath in its system deployment process. If you did not know, rPath as a company and solution, has been closed and discontinued when they were ...
0
votes
3answers
221 views

How to stop regular users from Switching Users

I want to stop the normal users from using following commands /bin/bash /usr/bin/sudo /bin/su I added them in sudoers file but normal user can still use the following command This is how i add the ...
1
vote
3answers
419 views

How to add Multiple Searches in AWK command

Im trying to search for the files Created in June,July and August months. I used this method ls -lrth|awk '/[Jun][Jul][Aug]/ {print}' but it ain't working. Please help me correct the syntax.
1
vote
0answers
155 views

How different is I/O handling of hard disk in AIX and Redhat Linux?

I am running a hadoop I/O workload in redhat linux and have ran that in IBM AIX as well with same underlying hardware, disk and disk configuration. With the default settings on the os redhat linux is ...
1
vote
1answer
834 views

Yum user temp files (/var/tmp/yum*) fills up with repo data

On my rhel6 system, non-sudo users can do yum check-update. Files are then placed in /var/tmp/yum[user]*/ . The repodata there gets quite large. Can I: Configure the location? Configure yum so it ...
1
vote
1answer
139 views

LVM issue with VM - Physical disk not present

Am trying to troubleshoot an issue that has arisen during a DR test and admit from the outset that LVMs are not my forte. We have a RHEL6 VM running on ESXi 5.1. We are using a LUN to LUN ...
3
votes
2answers
224 views

How to disable a daemon process on RHEL 6.3 like SMF does on Solaris

This problem has been bugging me for a while, we have a program running on Solaris, which managed as a service well by SMF, can be enabled/disabled very easily. Now, according to our market, we would ...
0
votes
0answers
172 views

gdb-multiarch command not found

I have installed QEMU in RHEL for running the assembly programs in ARM. I have successfully installed QEMU and ARM. However, for debugging we are thinking to use GDB. I want to install the ...
0
votes
1answer
564 views

QEMU package not available for RHEL 64 bit

I am installing QEMU in RHEL. In 32 bit OS (i686 architecture), if I run the command, yum install qemu, the installation of QEMU takes place. However, in 64 bit architecture (x86_64), if I run the ...
3
votes
1answer
64 views

RedHat RPM file collision

Let's assume I have two RPM packages named 1.rpm and 2.rpm. Both of them want to put a file test into /usr/bin, but both of them use a different version of test. Of course I would like to have both ...
0
votes
2answers
11k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
4
votes
4answers
3k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
0
votes
1answer
693 views

OS errors : kernel: EDAC k8 MC0: extended error code: ECC chipkill x4 [duplicate]

We noticed the server crashes with below errors. Not sure it is related to any defected piece of the hardware or totally not related to Server detail:Red Hat Enterprise Linux ES release 4 (Nahant ...
0
votes
0answers
51 views

Running assembly program in RHEL

I am new to system administration and we are trying to install QEMU emulator, GCC for ARM and GDB to communicate with the QEMU/ARM program being executed in RHEL. I was having troubles installing the ...
0
votes
1answer
300 views

Installation of QEMU, GCC for ARM in RHEL

We are setting up a lab which has the QEMU system to emulate an ARM processor and run assembly programs. The lab is currently setup with the host operating system as Ubuntu. We are migrating the lab ...
3
votes
1answer
437 views

Authconfig contiously rewriting the /etc/sysconfig/authconfig file, messing up Puppet run

I have been using this LDAP module for a long time in my Puppet environment. The module uploads these files to the RHEL-servers: /etc/openldap/openldap.conf /etc/pam_ldap.conf /etc/nsswitch.conf ...
2
votes
3answers
732 views

How to make RHEL look at access.conf for su -?

I use the file /etc/security/access.conf to dictate what users have access to the server: + : root : LOCAL + : user1 : ALL + : user2 : ALL + : user3 : ALL - : ALL : ALL This works fine for new SSH ...
1
vote
1answer
237 views

Startscript: using $! to create pidfile - returning wrong pid (off by one) occasionally

We have 3 instances of redis running on a test server. For some reason, our start script which starts redis can write the wrong pid to a file. Here is what it's doing: su redis -c "redis-server ...
0
votes
1answer
1k views

Error at starting mysql because lack of permission on /var/lib folder

OS : Redhat I try to launch the mysql database after a fresh installation. The problem is I am not root on this server and my user have not the permission to write in the /var/lib folder. When I try ...
2
votes
1answer
470 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
0
votes
1answer
645 views

How to reduce buffers\cache

A monitoring system keeps alerting that my machine is reaching\breaking through it's RAM utilization threshold which is 15 GBs. I've done some reading and understood that the apparent RAM utilization ...
10
votes
4answers
14k views

How to boot Linux to command-line mode instead of GUI?

I am using 32-bit Red Hat Linux in my VM. I want to boot it to command-line mode, not to GUI mode. I know that from there I can switch to GUI mode using startx command. How do I switch back to ...
2
votes
1answer
75 views

Is there a more proper place than /etc/rc.local for writing to configure binfmt?

I want to be able to run clr (>NET/mono) exes on my redhat machines, so I add the following to /etc/rc.local: echo ':CLR:M::MZ::/opt/mono-head/bin/mono:' > /proc/sys/fs/binfmt_misc/register This ...
1
vote
4answers
861 views

Fedora or OpenSuse? which one takes me to redhat/centos family philosophy

I know questions like this are quickly closed according to your rules but this question is not about which one is better. I have criteria as a Ubuntu user who wants to take a RedHat certification. My ...
3
votes
2answers
50 views

debian/watch for Fedora

How do Fedora maintainers track new versions of upstream package sources? Is there anything like debian/watch in the Fedora/Red Hat world?
2
votes
1answer
2k views

Using tcpdump to extract NFS RPC contents

Fairly simple question... I'm running tcpdump and trying to analyze the contents of the TCP packets between server/client. I see the "GETATTR" RPC being received, which is great! However, I want to ...
0
votes
2answers
512 views

GCC compilation - where the __stack_chk_fail@GLIBC_2.4 symbol comes from?

I'm using GCC 4.7.2 from devtoolset package on CentOS 5 (CentOS 5 because we need compatibility with old Linuxes, and GCC 4.7 because it optimizes better than 4.4). There is one symbols that prevents ...
1
vote
1answer
193 views

Running `build-locale-archive` causes my ssh session to terminate

I had previously asked the question, How do I reduce the size of locale-archive?, and got a great answer to my question, but when I execute build-locale-archive I get disconnected from my RHEL6 host. ...
0
votes
0answers
56 views

Why Redhat is not installing using HTTP

Im trying to install Rehdat using HTTP and these are the steps I preformed to do it. I copied the iso image in /var/www/rhel/5.9/ Then i made a HTTP YUM repo under /yum-repo.d/rhel-5.9.repo/Server ...
4
votes
1answer
2k views

How do I reduce the size of locale-archive?

I have a need to reduce the size of the locale-archive file on some of my RHEL6 systems. Here is that file on my system: [root@-dev-007 locale]# ls -l total 96800 -rw-r--r--. 1 root root 99158704 ...
3
votes
1answer
167 views

Odd behavior with a gzip compressed file

I've got a very bizarre issue occurring with a Redhat system. We have a Gzip-compressed TAR file that contains hundreds of small text files with absolute paths. It's only 8 MB. We copy this file to a ...
2
votes
1answer
364 views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
0
votes
0answers
1k views

'Git clone' times out with 443 error message

git clone -v https://github.com/me/myproj Cloning into 'myproj'... <minutes pass> error: Failed connect to github.com:443; Operation now in progress while accessing ...
1
vote
1answer
278 views

Public key for git-…rpm is not installed

When attempting to install git (and probably other packages), I get this error: $ sudo yum -y install git Installing: git x86_64 1.7.11.3-1.el6.rfx ...
2
votes
1answer
3k views

Resolve dependencies installing rpm packages

I am using RHEL6 Hi i have created the yum repository, i downloaded the snort rpm package from their website when i tried to install the rpm its thorws error e.g. snort-2.9.5.3-1.f18.i386.rpm ...
2
votes
0answers
896 views

Script stops command in it with exit 0

When I write a bash script similar to this on RHEL 6, if [ "$2" = "" ] ; then echo vip.start: ERROR: no NIC specified echo vip.start: Need IP and base interface name exit 1 fi case "$1" ...
0
votes
1answer
236 views

Equivalent of openvswitch-brcompat on Fedora/RHEL/CentOS

On Debian & Ubuntu, the openvswitch-brcompat package will install Open vSwitch bridge compatibility support. Is there an equivalent package on Fedora-based distros like RHEL and CentOS?
1
vote
1answer
984 views

How does RPM handle file locations?

I am trying to create a .spec file for creating mapserver as an rpm package. I am building on an RHEL6 64-bit server. I am a bit new to the whole concept, so bear with me if I am not seeing something ...
2
votes
0answers
2k views

Error building Oracle client 11g R2 on RHEL 5.5

We are trying to install oracle 11g R2 64 bit in Rhel 5.5 machine ( 64 bit ). Kernel version is 2.6.18-194.el5. We are getting the below error while installation. error in invoking target 'mkldflags ...
1
vote
1answer
128 views

How to create LV

I want to create some LV in my VG I have this: LV Name /dev/vg_appli/lv_grt LV Size 10,00 GB LV Name /dev/vg_appli/lv_sap LV Size ...
2
votes
1answer
3k views

What is the IPV4_FAILURE_FATAL ifcfg directive and under what scenarios would I want to use it?

CentOS / RHEL 6 I recently learned that there's a ifcfg directive called IPV4_FAILURE_FATAL exists for use in the files located here: /etc/sysconfig/networking-scripts/ifcfg-*. But I'm having a ...
0
votes
2answers
872 views

Error 404 Munin page not Found

I installed Munin and munin-node on Server and httpd was already installed. But after installed when i run the munin-node the Browser gives me this error. Not Found The requested URL /munin was not ...
2
votes
1answer
587 views

Yum can find a package, but can not install it

How is it possible? [root@server1 ~]# yum search diy Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can ...
1
vote
1answer
577 views

RHEL - permanently unmask all sub-folders and files

I'm new to RHEL, and I'm having issues unmasking a collections of directories. I have a folder where content will be generated content from a python script. The subfolders will exists for a period ...
1
vote
2answers
364 views

Hugepages in linux - how to make sure that java process will start using hugepages

I'm running java server on Red Hat Enterprise Linux Server release 5.9. Recently I started to use HugePages as it has some advantages I would like to use. System was configured correctly (as many ...
0
votes
2answers
766 views

Does Yum have an equivalent to apt / aptitude's DEBIAN_FRONTEND=noninteractive?

On Ubuntu you can use something like this: export DEBIAN_FRONTEND=noninteractive sudo -E apt-get update Which will prevent things that require input (choosing grub versions or conflicts between ...
0
votes
1answer
82 views

How to generate kernel crash dumps? [duplicate]

I have X running on terminal 1 and terminal 2 on my RHEL 6.4 system. If i randomly switch between tty1 and tty2, the system crashes. I need to generate crash dump file to analyze the issue. How can I ...
2
votes
2answers
54 views

What alternative backends does sudo support and how is it configured?

When preparing for the Red Hat Certified Engineer certification examination, I came across this quote in my study notes about the sudo command. By default, the policy is maintained as a flat text ...