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

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

how to load an LDAP client cert RHEL7 authconfig-tui

I have a RHEL7 machine that needs to be configured as an LDAP client (user/auth, using authconfig-tui). When finishing authconfig-tui, it says, just copy the cert to /etc/openldap/cacerts, which I ...
0
votes
1answer
41 views

I installed python 2.7 on RHEL6 server, want to go back to 2.6

I am on RHEL6 and I installed python27 using these commands: sudo sh -c 'wget -qO- http://people.redhat.com/bkabrda/scl_python27.repo >> /etc/yum.repos.d/scl.repo' sudo yum install python27 ...
0
votes
0answers
15 views

Accessing /home fails in gdm PostSession script

I am trying to have a script do some cleanup items when a user logs out of Gnome2 on Redhat. I tried making a script in /etc/gdm/PostSession/Default and it can't access /home. #!/bin/sh ls -l /home &...
1
vote
0answers
49 views

Why is my network unreachable in virtual machine with RHEL 7.2?

I got a 30-Day evaluation of RHEL 7.2. I installed into a VirtualBox machine, and tried to register my subscription: # subscription-manager register Registering to: subscription.rhn.redhat.com:443/...
10
votes
3answers
6k views

How could we allow non-root users to control a system.d service?

With sysvinit, a sudoers entry like this would suffice: %webteam cms051=/sbin/service httpd * This would allow for commands such as: sudo service httpd status sudo service httpd restart Now, ...
0
votes
0answers
24 views

redhat + how to install only the latest kernel from kernel security packages

I am not sure but I found the installonly_limit parameter from yum.conf when we set installonly_limit=1 , Dose this mean to install always the latest kernel ? for example if security packages ...
3
votes
1answer
133 views

Redhat 7.1 Udev Rules changes SYMLINK+ And Name [duplicate]

I am tying to install Oracle ASM on RHEL 7.1, for that trying to configure Udev rules. I have noticed there are is new attribute in udev rules SYMLINK+ which seems to be replacement of NAME attribute....
1
vote
1answer
35 views

yum install R dependency issue (RHEL 5.5)

I'm trying to remotely install R on a RHEL 5.5 system but keep getting a dependency issue yum -y install R results in the following Loaded plugins: rhnplugin, security This system is not ...
0
votes
0answers
13 views

Device name issue in multipathing

I have device name problem with multipathing. I have two servers which has shared storage coming from the SAN. Multipath is configured to manage that, now the problem is with device naming. Let me ...
0
votes
2answers
6k views

unable to search and install dos2unix pakage

I have RHEL 6 , 64 bit OS. I need to istall dos2unix for this version. I could not find rpm file for RHEL 6 86_64 bit , so I tried like this: [root@xilinx acme]# yum search dos2unix Loaded plugins: ...
0
votes
1answer
953 views

Yum Corrupted on RHEL 6

I really need help. I am encountering the issue with my yum command. It seems to be exactly the same as the issue described on this site, Yum corrupted on CentOS 6.2, Problem importing one the python ...
1
vote
0answers
104 views

Memory Leak trackdown

I have a server running Red Hat Enterprise Linux Server release 6.7. The server runs a number of java processes including a tomcat server with nginx webserver. The server has 12 GB of ram allocated ...
-3
votes
1answer
26 views

rsyslog versus rsyslog.d

I'm currently studying for my Red Hat Certification exam, and I've come across an example in my book dealing with system log architecture. I'm currently working a classroom RHEL7 environment. My ...
1
vote
0answers
23 views

Cannot add group on RHEL desktop

[root@notebook ~]# groupadd testing groupadd: failure while writing changes to /etc/group [root@notebook ~]# grep testing /var/log/audit/audit.log type=ADD_GROUP msg=audit(1465386369.617:2553): pid=...
1
vote
1answer
941 views

Kernel logs on power failure

I was wondering if it was possible to have a logging program document a random power failure. Clearly it won't have any time to log when the power fails, but is there a way to recognize a power ...
0
votes
1answer
38 views

grub2 + how to print the current index according to grubby --info=ALL

how to verify in linux 7 , what is the current index that have the current kernel version for example I want to know if the kernel - 3.10.0-327.18.2.el7.x86_64 is located in index=0 or index=1 or ...
2
votes
0answers
54 views

how to capture the latest kernel version from grub.conf

how to capture the latest kernel version from grub.conf ( in case default=0) for example the latest kernel from the file is 2.6.18-409.el5 # all kernel and initrd paths are relative to /...
0
votes
2answers
38 views

What's the proper way to use a variable with spaces in part of a shell script command? [duplicate]

How can I include spaces as part of a variable used in an svn command for RHEL bash scripting? Or if there's something else wrong with the following, please advise. The SVN URL variable has no spaces,...
1
vote
1answer
28 views

linux + grub.conf not exist

I just need to check some redhat machine version - 6 and I notice that grub.conf inst exists how this Linux machine know with which kernel to start? ( in case grub.conf not exists ) is it safe to ...
2
votes
1answer
25 views

Identifiy file system for the device /dev/sdc1

I started an old Virtual Machine in the UAT environment. The output for uname -a is : Linux pawana 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux There 3 ...
1
vote
1answer
26 views

How to print the latest kernel version from grub.conf on Linux 7

On Linux 5 and 6 I can print the /etc/grub.conf How to verify the latest kernel version on Linux 7? , like we do on Linux 5 and 6 from grub.conf #boot=/dev/sda default=0 timeout=15 #splashimage=(hd0,...
1
vote
3answers
15k views

Redhat “httpd” can not start anymore. Showing “suEXEC” and “SELinux” notices

I'm on RHEL 6.5 and Apache 2.2.15. When I restart the httpd, I can not start that httpd anymore. Showing following things in the /var/log/httpd/error_log: [Fri Aug 01 18:31:48 2014] [notice] suEXEC ...
0
votes
1answer
25 views

error while loading shared libraries: libcppunit-1.13.so.0: cannot open shared object file: No such file or directory

I've done everything I thought was needed, but can't get this library to be installed properly. ldconfig -p | grep libcppunit keeps returning the empty string. To install it, I've run (do not ...
0
votes
1answer
18 views

How to use a ks.cfg file to create a virtual machine.

I'm studying for the RHCSA exam and both practice exams i'm using have asked me to do this. The question is "Use the ks.cfg file provided to create a virtual machine with hostname blah blah and with ...
4
votes
1answer
13k views

How to Format an LVM partition [closed]

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
0
votes
1answer
45 views

Unable to clean ^[(B control characters from log file [duplicate]

I am trying to clean all color control characters from log file. I am able to clean all other control characters except ^[(B . Please help me to clean this control character also. I am using these ...
3
votes
2answers
9k views

How To Locate Dependencies Needed by RPM Packages

I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an ...
3
votes
3answers
5k 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 ...
0
votes
0answers
87 views

How to disable the Intel graphics driver on CentOS 7?

I have installed CentOS 7 recently, I found that my GUI is always laggy, specially when playing videos or GIFs. have tried multiple video players and web browsers and they all have the same results ...
17
votes
2answers
59k views

Nslookup: command not found error on RHEL/CentOS 7

During linux installation I selected "minimal" option: When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example ...
1
vote
2answers
1k views

Unable to create partiton when installing RHEL 5.8

I am trying to install RHEL 5.8 on my IBM server. When I try to create a partition manually, I get the following error message. Your boot partition is on a disk using the GPT partition. How can I ...
2
votes
0answers
15 views

What are the most restrictive external firewall / DNS listening port settings I can have for my DNS server (internal clients only)

This question relates specifically to hardening the configuration of DNS, firewalls and at the limit, ntp. (not proxys, http access,vpn's or other services). This is about the externally-facing side ...
0
votes
1answer
38 views

Red Hat restart not show correct login page?

When I restart my Red Hat, the screen only show the snapshot page without login page. But I can use SSH to login to start VNC. Then VNC also working well with normal X screen. Does any export know ...
2
votes
2answers
2k views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
1
vote
2answers
156 views

rsync --delete did not remove file in destination while with ssh

On my RHEL6 pair of servers, I tested the rsync from server-1 to Server-2 with SSH. Everything was good as expected. However, when I moved a file under A directory, A/x.file to B/ of /home/user on ...
1
vote
1answer
20 views

Error when attempting to mount NFSv4 file system

I am having a problem mounting an NFS v4 share on a RHEL6 system, when attempting to mount the file system with the command "mount -t nfs4 nfsserver:/home /media/home" I receive the following error ...
0
votes
1answer
18 views

New network interface created after reboot - OEL 6

We do not remember the setting apply via network manager applet -Redhat6 - but after each reboot of the virtual machine, new network interface appear in network manager with no ip address no mac. This ...
2
votes
1answer
48 views

Stop user from deleting file in directory

This is the scenario There is one directory /test which is owned by oracle.dba I created new user TEST who will have permission to create NEW files but it should not be able to delete the files he/...
1
vote
2answers
6k views

Could not open /dev/vmmon: No such file or directory

I've installed VMWare Player 6.0.1 build - 1379776 on a Red Hat Enterprise linux Server release 6.1 Beta ( Santiago ). When I attempt to start my virtual machine, I get the following the error: ...
0
votes
2answers
3k views

Tomcat 7 not producing log output to catalina.out on RHEL7

I have a RHEL7 server with Apache Tomcat 7.0 installed and after a recent update to RHEL7.1 all of the logging to ${catalina.base}/logs/catalina.out was stopped. However I am receiving the logs inside ...
1
vote
2answers
1k views

httpd-devel requires outdated version of glibc-common on CentOS 6.3

httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo) Here is ...
5
votes
1answer
3k views

SOLVED: Useradd fails: useradd: cannot lock /etc/passwd; try again later [closed]

When I attempt to add a user or delete a user, as root, I get the following error: useradd: cannot lock /etc/passwd; try again later. After looking thru many posts I don't have any of the usual ...
2
votes
1answer
1k views

Should reposync download repodata?

I am using reposync on an RHN repo. It downloads the RPMs just fine, but doesn't download repodata. I know I can run createrepo, but I'd like to keep group install info. Is this normal behavior? ...
0
votes
1answer
28 views

redhat + how to find the oracle JRE version 1.7 from redhat site

I am searching the JRE 1.7.x version from red-hat site by yum command bot not find anything yum list | grep java | grep "1.7" | grep -i jre no such patch or maybe redhat not hold JRE 1,7 ...
8
votes
3answers
19k views

What does eno mean in network interface name 'eno16777736' for CentOS 7 or RHEL 7?

Under consistent network device naming scheme, what does 'eno' stand for in network interface name 'eno16777736' for CentOS 7 or RHEL 7?
0
votes
1answer
1k views

tcpdump - capture trace in both directions on RHEL6

I am using redhat bonding and have identified my active interface as eth5. I am using Redhat 6.5 Server Here is my command: tcpdump -i eth5 src host actual_ip_address_of_external_client after ...
1
vote
0answers
23 views

Should DNS (PTR Records) be configured differently for different ipv6 networks?

I am configuring DNS forward and reverse lookup for IPv6(Redhat). For both /64 and /120 prefix i am using below configuration for PTR records. for address 6b00:8a00:a000:11a1::a2b:1c9f (Only a ...
1
vote
0answers
23 views

How to disable ethx device under /sys/class/net [closed]

I am looking for a way to disable/delete eth2 entry from /sys/class/net [root@test ~]# ls -l /sys/class/net/ total 0 lrwxrwxrwx 1 root root 0 May 26 08:04 eth0 -> ../../devices/vif-0/net/eth0 ...
8
votes
3answers
3k views

Is there a way to install and remove packages in a single yum command?

Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.
1
vote
3answers
5k views

Authentication very slow (both with ssh and su)

I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...