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

learn more… | top users | synonyms (1)

2
votes
2answers
30 views

Send command output to screen and syslog

I'm trying to send the output of a command to our syslog and this is what I have so far. #!/bin/bash log() { logger -s -t $(basename $0) "$@" } /bin/echo "test" 2>&1 | (log) and this ...
1
vote
1answer
17 views

Unable to boot after updating the kernel rhel 6.7

I am having a Red Hat 6.7 running on VM which I updated with the latest version kernel-2.6.32-573.26.1.el6.x86_64. but after this update I received the below error: kernel panic-not syncing: VFS: ...
16
votes
3answers
38k views

How to disable SELinux without restart?

I need to disable SELinux but cannot restart the machine i followed this link where i get bellow command setenforce 0 But after running this command i checked for that sestatus SELinux status: ...
0
votes
0answers
6 views

RHUI 2.1 Error Downloading the repo

We are facing this error on RHUI when downloading the repo. unable to find any solution on Red Hat site there is one link which guides us to edit some file for proxy settings. but we done have any ...
9
votes
2answers
7k views

How can I install ncdu on Red Hat?

The answers provided to this question doesn't help. I'ved tried yum install ncdu But I'm getting No package ncdu available
0
votes
1answer
14 views

custom shutdown script in rc6.d does not seem to be working.

I'm working with a software application that's a bit touchy so I wan't to shut the software down automatically on reboot or shutdown. I have created a script an placed it in /etc/init.d/ with a ...
0
votes
0answers
28 views

awk + how to manipulate awk output

The following awk command prints the results from services file # awk '{print $2}' /etc/services 48002/tcp 48002/udp 48003/tcp How can I manipulate the output so it prints the "service file" ...
-1
votes
0answers
27 views

how can I install centos 7 inside RHEL5

I am badly in need to install one software torch 7 in a GPU hardware node. This GPU node is running licensed RHEL5 version. Unfortunately torch 7 software doesn't support any RHEL version(I feel). It ...
1
vote
2answers
36 views

Is firewalld the same as iptables?

I tried to close iptables on RHEL 7.2 using chkconfig iptables off error reading information on service iptables: No such file or directory tried /etc/init.d/iptables stop too, got ...
0
votes
1answer
23 views

compiling rpm 4.11 for RHEL5

I am trying to compile rpm 4.11.2 on RHEL 5 machine. When I do ./configure it gives error . . checking for nspr.h... yes checking nss.h usability... yes checking nss.h ...
0
votes
1answer
20 views

set swap space to 0 on RHEL for testing

I have tried to change the swappiness to 100, and used the malloc() code in order to set the swap to 0 on my rhel system But this not seem to be helpful . The system memory allocation looks like this ...
1
vote
0answers
13 views

Prevent loop device partitions from being detected

I'm moving a work project from RHEL 6 (Kernel 2.6.32) to RHEL 7 (Kernel 3.10.0). The project involves the building of a raw disk image files to be used on virtual machines, these are representative ...
0
votes
1answer
939 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 ...
0
votes
1answer
12 views

AIX lquerypv equivalent in Linux (RHEL/Cent OS)

In AIX we can view raw data of hdisk by issuing following comamand lquerypv -h /dev/hdisk0 This displays data in hexa decimal format. More of like hex editor. What is the equivalent command in ...
1
vote
1answer
10 views

Linux + iptables fallback

I want to enable the routing VIA tcp from port 770 to port 7714 iptables -t nat -A PREROUTING -p tcp --dport 770 -j REDIRECT --to-ports 7714 . so I get the following: iptables --table nat --list ...
3
votes
2answers
8k 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 ...
0
votes
0answers
20 views

RedHat:how to make system read /etc/sysconfig/clock settings without restarting system

In legacy red hat enterprise linux system which do not provide hwclock, I am changing UTC value in /etc/sysconfig/clock and when I check in /etc/adjtime this value is not reflected with expected ...
1
vote
1answer
49 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
3
votes
1answer
17 views

White-list certain binaries and scripts inside a noexec/nosuid mount?

Just like the question. Is it possible to white-list certain executables from a noexec mounted FS? for instance, mine looks like this: /dev/vg/lv on /tmp type ext4 (rw,noexec,nosuid)
0
votes
0answers
46 views

Run sh script at system startup - Red Hat 7.2

I searched the Internet but there are too much different opinions about this issue. I have two scripts to run. One to run at system startup (not at system reboot as I read in some posts) and another ...
2
votes
1answer
59 views

Correctly closing multiple hop SSH tunnel

I want to tunnel VNC traffic to host2, which is only accessible from host1, whereas host1 is publicly accessible. I setup a multi-hop SSH tunnel as described in this question, using: ssh -L ...
0
votes
0answers
14 views

RHEL 7 Install - Main partition taking up entire allotted space + other problems

I hope this is the proper place to ask RHEL questions, I have already asked on the RHEL discussions area and have not gotten any replies after a week of posting. I am having a few problems in setting ...
1
vote
0answers
664 views

turn on numlock at login screen. GDM

GDM is turning off numlock key. I have tried following: a) installing numlockx and inserting following lines at /etc/gdm/Init/Default if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi ...
0
votes
1answer
69 views

Bash script as bin file installer

I have a package that comes in 2 parts - a bin file and digital certificate. This is to be distributed out to Linux sysadmins to install on RHEL systems in the enterprise. The bin file has various ...
0
votes
2answers
2k 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
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: ...
1
vote
1answer
869 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 ...
1
vote
0answers
9 views

Adding fcontext to unconfined application

This feels like the most horrid twist of fate ever... A user is having me setup tomEE (apache-tomee-jaxrs-1.7.4). This is on a RHEL6 machine. I've installed from the tarball available from apache's ...
0
votes
2answers
2k 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 ...
-1
votes
1answer
4k views

Error: xz compression not available

I'm at a loss trying to fix this issue and was hoping someone could help. I'm running redhat enterprise v6.6 64bit and am tyring to install 32bit Skype. In the process of trying to fix the ...
1
vote
1answer
263 views

ServeRAID error in syslog, is it important?

I was checking the logs in server when i came across this message. Nov 4 12:52:05 SERVERNAME ServeRAID Manager Agent: [338] Periodic scan found one or more critical logical drives: controller 1. ...
2
votes
0answers
14 views

How to shrink sda disk with XFS filesystem

We have a RHEL 7 server with 2 disks (sda and sdb). Our /, /var/log and swap are on sda, /var is on sdb. We use LVM and XFS. sda is too big (160 GB) and we would like to shrink it to 40 GB. We can ...
1
vote
2answers
2k views

Installing MySQL on CentOS throws error that cannot find mysqld.sock

I have yum install mysql in CentOS 6.4. Now, when I use mysql command, it throws the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
-1
votes
0answers
26 views

Nagios: Error Return code of 255 is out of bounds [closed]

It's been long time since I used Nagios. I made a custom script to check physical memory but it's not showing out any output except CRITICAL and "Return code of 255 is out of bounds". custom script ...
1
vote
1answer
225 views

How do i block USB devices based on device class in Linux

Problem Statement In windows server to provide access to USB devices are managed by GFI EndpointSecurity. Is there any open source tool in Linux which can do the same job. I want to block USB ...
1
vote
4answers
6k 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 ...
0
votes
3answers
93 views

Puppet doesn't ignore whitespace

I have an entry that may or may not appear in /etc/rsyslog.conf: # Added for Kiwi *.err;*.emerg;*.alert;*.warning;*.debug;*.notice;*.crit;*.info @10.19.24.50 Since some of these servers ...
1
vote
0answers
11 views

What does TCPRcvCoalesce, TCPAutoCorking and TCPHystartTrainCwnd in netstat mean?

We have some RHEL7 Apache reverse proxies that experienced a performance degradation event. After a few hours, restarting Apache restored performance to normal levels. We are trying to determine the ...
3
votes
4answers
19k views

How do I know that my rpm installation of a package was succesful?

I downloaded the rpm for dos2unix and installed (on RHEL 6, 64 bit) like this [root@xilinx Downloads]# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild ...
0
votes
1answer
19 views

Find all file details in a `Logical Volume`

I'm using lvs and vgroot-lvroot (mounted on /) is getting full. I wonder which files are located on vgroot-lvroot, so I can delete some to free vgroot-lvroot. I tried to use du, but found sum of the ...
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
1answer
2k views

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

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 ...
0
votes
1answer
3k views

Port Forward :80 and :8080 to Two Different Servers

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to ...
3
votes
1answer
87 views

Filesystem still showing the old value after reduction in linux, however showing the correct value in LVM

We have a task to resize the filesystem from 8T to 7T which is in LVM. We have given resize2fs command, while the command is still being run we have got the error "Write failed: Connection reset by ...
0
votes
0answers
11 views

add 10G fiber NIC however not able to see it go to up state

I have added a 10G Intel PCIe card to my Linux machine. I have connected both sides of the cable and the remote side comes up when I plug the cable into my linux machine and goes down when I remove ...
1
vote
0answers
17 views

Realtime Scheduling and hanging processes

This may be a "you are dumb" question, but at this point I'm hoping for just a new avenue to look down. We run some software on various systems at realtime priority (SCHED_FIFO, Priority: 99) To hit ...
3
votes
3answers
4k 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
1answer
966 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 ...
0
votes
1answer
17 views

yum - separate proxies connection to non proxies

On my RHEL7 server, I have: RHEL repositories on a local server Other repositories on the net (EPEL, etc) When I run yum, I would like to use my proxy server only for external repositories (or for ...
0
votes
3answers
20 views

Does it matter if I'm root or not when installing apache?

I need to install a LAMP stack on a RHEL 6.7 server. Do I have to be root to install this or not?