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

learn more… | top users | synonyms (1)

0
votes
1answer
10 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
9 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
17 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
46 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. ...
2
votes
1answer
12 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
35 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
15 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
2answers
30 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
0answers
11 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
659 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
67 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
863 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
8 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
13 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
20 views

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

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 ...
-3
votes
0answers
36 views

XFS or EXT4 which is better [closed]

We are migrating our servers from RHEL 5 to RHEL 7, we are planning to go with XFS file system which is the default one in RHEL 7. Need to decide which one is a better option. Below link says that ...
-1
votes
0answers
32 views

Read and filter mail by subject line through a shell script [closed]

I need to configure a shell script which would periodically check the incoming emails, and looks for an email with a particular subject line. It then needs to download and move the attachment from ...
1
vote
1answer
223 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
89 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
9 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
9 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
16 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
947 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
16 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?
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? ...
1
vote
0answers
7 views

GNOME-SHELL tray with several rows

How can I make the tray use several rows, not just one? Using RHEL7.2
-1
votes
0answers
11 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
17 views

Creating an user to access a specific director with just exec permission in Redhat

I am trying to create an user that I can access an specific folder and give this user just the execute access to a .sh script into REDHAT So I've created the user and set that user to the folder but ...
0
votes
0answers
13 views

Oracle 11g installation - unable to open display error (red hat 7)

I'm installing Oracle 11.2 client in a Red Hat 7 machine but I'm stucked in this step: xhost fully_qualified_remote_host_name The error that appears is the following: unable to open display ":0.0" ...
0
votes
1answer
911 views

RedHat init.d script will not start with service after stop

I have the service script below, which calls a shell script. We changed something in the script When I run the shell script directly, everything works fine. When I restart the servER, everything works ...
0
votes
0answers
18 views

Error during RHEL 7 installation

I am trying to install RHEL 7 on ThinkPad Edge E431 which has a touch screen. I get an error: in hid_mutitouch ....fault : -1 And the system is goes into an emergency mode. How can I complete ...
1
vote
0answers
15 views

HA Cluster LUN switching without failure [closed]

It's very strange to see this a commonly used HA Cluster having problem, I have configured HA cluster on 2 server with 1 storage LUN, which is switching automatically without failure. I am unable to ...