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

learn more… | top users | synonyms (1)

2
votes
1answer
48 views

How do I set a newly created user account to NOT prompt the user to change their password?

I created a new user account, but the user is prompted to change their password on first login. I don't want them to change their password, I want them to use the password they were assigned. How do ...
2
votes
1answer
74 views

Is there a mechanism to run a “service” by a non-root user? [duplicate]

Is there a way I can have a continuously running, background process that can be controlled by me (a regular, non-root user)? All I need to be able to do is start, stop and restart the process. ...
2
votes
2answers
593 views

RHEL5 to RHEL6 Upgrade

I'm trying to upgrade our RHEL 5.9 servers to RHEL 6.4. We have lots of third party software and mounted systems so it would be nice if we could upgrade without re-installing. I know RedHat doesn't ...
1
vote
1answer
44 views

RHEL - NFS mounting failed

I have an issue with nfs services in one of my client machines. Let me brief you my lab setup. We have a server and 16 client machines connected in a network. We have 60 LDAP users whose home is ...
1
vote
1answer
70 views

create multipath for local partition

Is it possible to create multipath to local partition? I got partition /dev/sda3 and I need /dev/mapper/mpath01 to be pointing to it. This is what I added in my kickstart (rhel 5.7) part ...
0
votes
1answer
116 views

Get a clean list of files transferred from rsync

I'm trying to get an itemized list of files transferred by rsync. Using the -i and --out-format options, I'm instead ending up with output that looks like this: 3HMP1MO_001.tif 974.68K 100% ...
0
votes
3answers
220 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded ...
3
votes
2answers
351 views

RHEL - not able to write in /opt as root

I am trying to copy a virtual box image inside /opt folder in RHEL 5.6. I am logged in as the root and I strangely see that I am not able to write anything into /opt folder. I checked the permissions ...
1
vote
2answers
1k 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
1k 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
60 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
175 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
171 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
139 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
618 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
115 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
193 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
141 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
405 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
58 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
8k 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
2k 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
529 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
222 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
346 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
434 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
193 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
363 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
429 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 ...
9
votes
4answers
9k 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
63 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 ...
0
votes
4answers
622 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
49 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
1k 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
399 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
168 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
52 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
1k 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
141 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
289 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
171 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
2k 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
658 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
209 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
635 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
1k 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
116 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 ...