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

learn more… | top users | synonyms (1)

0
votes
1answer
31 views

Redirect output of: yum repolist all

If you run the command: yum repolist all you will see there are basically four columns of data. repo id, repo name, status, install count. If however your run something like: yum repolist all > ...
0
votes
1answer
31 views

RHEL 7 PXE boot & install ends up with emergency mode shell

Trying to PXE boot and install RHEL 7.2, however it always end up with dracut:/# prompt. .... systemd: Mounted Configuration File System. dracut-initqueue: RTNETLINK answers: File exists ...
1
vote
1answer
224 views

Unable to find Red Hat Server

Running into a strange problem. I have a local server running Red Hat on a virtual machine (accessed through putty). I'm using this server to work on a website in Django, which I run with: python ...
1
vote
1answer
45 views

Confusion regarding generating self signed certificate for application portal developed using liferay

We have a Application Portal developed using Liferay bundled with tomcat. There are two application servers running liferay and we use httpd as a front-end which forwards requests to application ...
0
votes
0answers
74 views

unable to update HTTPD, mod_jk dependency error

While trying to update httpd in RHEL6, getting some dependency error as below: Unsatisfied dependencies for mod_jk-ap20-1.2.31-1.x86_64: httpd = 2.2.3 is needed by mod_jk-ap20-1.2.31-1.x86_64 I am ...
0
votes
4answers
63 views

yum + how to remove unused rpm/patch on linux redhat

I am using yum to install a patch update on my RedHat Linux machine, Is it possible to use yum on different way in order to uninstall unused rpms/patches? My goal is to remove the unnecessary ...
0
votes
0answers
12 views

RHEL 6 no sound, but volume settings shows 100%

My sound worked perfectly on my Thinkpad T430, but ~3 days ago an update (?) came, and from than, the sound icon from the GNOME-panel dissapeared. I already tried a reboot, no luck. I tried using ...
3
votes
1answer
25 views

Why is procmail hanging?

I have a goofy sendmail aliases.local file set up to pass emails to procmail. This is a set up that was working on ancient Solaris systems. Now I am running it on a RHEL6 system: # cat ...
0
votes
2answers
50 views

How to verify if Java is installed on rhel

I stood up rhel VM. I was curious if JDK is installed or not so that I ran a command from a shell (bash). whereis java It returned: java: /usr/bin/java So I navigated to the path in order to ...
0
votes
2answers
31 views

at login on RHEL switch shell to bash [duplicate]

Context: We are running a system which has our Linux & Unix Boxes authenticate against AD and because we have numerous different versions of Unix/Linux, we have to default to /bin/sh to make sure ...
0
votes
1answer
22 views

Understanding Iptables rules to prevent DDoS

Following IPTables rules exist on my system as some preventive measures against DDoS attacks -A INPUT -s 255.0.0.0/8 -j LOG --log-prefix "Spoofed source IP" -A INPUT -s 255.0.0.0/8 -j DROP -A INPUT ...
10
votes
1answer
8k 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 ...
0
votes
0answers
46 views

RHEL: GNOME - Is it possible to change Shell theme?

I have tried to change the gnome-shell-theme on RHEL, but whenever I try it GNOME crashes and the system just disables all the shell extensions installed. So, I was wondering if there is something ...
0
votes
1answer
21 views

Now visudo won't work at all

RHEL 5.10 When I do visudo I get this error: chuck 75->visudo visudo: /etc/sudoers: Permission denied visudo: /etc/sudoers: Permission denied Listing of sudo exe file and /etc/sudoers: chuck ...
1
vote
1answer
32 views

RHEL How to login as different user from shell?

Redhat Enterprise Linux 5.10 (No we can't upgrade.) This is related to my other question. I would like to be able to login as another user, like 'tina', so I can test her sudoer permissions. My ...
2
votes
3answers
2k views

obsoleted package breaks yum install of older JBoss

I need to install an older version of JBoss. 6.1.0 EAP is what has been approved and supported for my application. So when I try to force install the correct version of the jbossas packages the ...
2
votes
0answers
47 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 ...
0
votes
1answer
25 views

Linux red-hat + kernel patch update

I need to run the yum update on my Linux redHat machine during the yum update , I sow that yum perform some patch kernel update therefore I little worry to perform a reboot , because the patches of ...
0
votes
0answers
19 views

Restored Volume Group but No LV inside

I created Volume group on 2TB ISCSI Block device . And on that I created Volume group and added the entry in fstab with options _netdev. But after reboot it didn't come online. What happened and ...
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: ...
1
vote
0answers
43 views

YUM: updating repo's GPG key

Haven't found the answer for this in docs: how often Yum refreshes the GPG key of a repo, if it was obtained from the net? For instance, I've got this repo config: [myrepo] name=myrepo ...
0
votes
0answers
12 views

System not pinging after running `rescan-scsi-bus.sh -r`

I am having a system on which multipath is enabled. I recently replaced a SCSI device and in order to remove old entries, I executed rescan-scsi-bus.sh -r. Now the server is not getting pinged. I ...
0
votes
1answer
896 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 ...
3
votes
2answers
49 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
66 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
42k 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: ...
9
votes
2answers
8k 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
24 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
33 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
31 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
48 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
27 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
15 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
961 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
19 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
12 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
31 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
19 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)
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
17 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
698 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
72 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
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
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
894 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
10 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 ...