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

learn more… | top users | synonyms (1)

4
votes
0answers
51 views

Make one VNC server appear as two displays in RHEL

I have a VNC server running in virtual mode in RHEL and I am viewing it on a PC which has two screens. I can make the server use both of my screens by setting the resolution large enough: xrandr -s ...
3
votes
0answers
18 views

Why does saving a KVM-QEMU VM requires additional memory?

I have three VMs running on Red Hat Enterprise Linux with 8 GB RAM, each of the VMs has 3 GB allocated, and I also run a 512 MB VM. If we also consider the guest OS's memory usage (usually 1.5 GB due ...
3
votes
0answers
105 views

Unable to start network, <IP> is already in use for device eth0, but its not

A wierd issue after we migrated some of our servers to a new DC. We assigned new IPs to all the machines and all the servers are working fine except one. It is not picking up the new IP address and ...
3
votes
0answers
211 views

How to set CONFIG_PREEMPT_NONE in RHEL 6.4 (linux)

I am trying to tune the RHEL6.4 Kernel to handle server style load for of my application. With RHEL 6 scheduler has been changed to CFS and with RHEL 5 my application works fine. I would like change ...
3
votes
0answers
689 views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
3
votes
0answers
168 views

Enable sqlite FTS Enhanced Query Syntax in python in RHEL6?

SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well ...
3
votes
0answers
290 views

What are the differences between runit and supervisord?

I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't ...
3
votes
0answers
272 views

How do I set up dual quadro cards in RHEL 5.5

have a RHEL 5 workstation with 2 nvidia Quadro FX4500 cards, with one display attached to each card. After doing a clean install of RHEL 5.5, the second display doesnt work (it worked ok in RHEL 5.2). ...
2
votes
0answers
26 views

How can I reset an unknown root password if a file system check interrupts the startup sequence?

This morning I was helping a fellow admin with a crash that occurred on a CentOS 5.8 VM. Earlier in the day, the underlying SAN hosting various VMs experienced an issue and ultimately caused some ...
2
votes
0answers
14 views

Error occuring resgiter the Redhat 6.4?

I'm trying to register the Redhat from RHN Registration. This report the bug There was an error while populating the profile This error shouldn't have happened. If you'd like to help us improve this ...
2
votes
0answers
49 views

Simulate Initial Login of user without using sudo

I'm writing a script to interface 2 third-party programs. (Datadog and AWS) The data mining script uses sudo -u to run my script. The script that I need to retrieve data from will segfault if ...
2
votes
0answers
67 views

Want to assign dedicated default gateway on Two NIC card on linux server

We have one server having two nic cards. Here we configured two separate networks on both nics and having different gateway. However our one sub-net is able to communicate to outside network second ...
2
votes
0answers
50 views

Install `mpl_toolkit.basemap` on RedHat without compiling from source

I need to install matplotlib and mpl_toolkit.basemap on a RedHat machine. matplotlib is already installed but for mpl_toolkit.basemap the only way I could find was to download the source and compile ...
2
votes
0answers
466 views

tar: /dev/st0: Cannot write: Input/output error

When we attempt to use tar to write data to an LTO-5 tape, we get the following error. The device starts to write, and then fails. See the tar command and output, followed by the dmesg output. I ...
2
votes
0answers
494 views

mailx attachment behaviour between RHL 5 and RHL 6

We have a line of code that does this in ksh, to send a file as an attachment in email: uuencode <filename> <filename.txt> | mailx someone@somewhere.com In RHL 5.2 mailx sends ...
2
votes
0answers
280 views

Java plugin not working with FireFox 24.3.0 on Red Hat Enterprise Linux 5.10

In the about:plugin tab, there is not Java plugin. I have created the symbolic link as suggested. The output of the 'ls -al' command is: lrwxrwxrwx 1 shehab shehab 58 Jun 4 11:21 libnpjp2.so -> ...
2
votes
0answers
1k views

WBC_ERR_DOMAIN_NOT_FOUND only for a specific account

Platform: RHEL 5.10 Version: Samba 3.6.6-0.136 Only on a single VM, one of my co-workers is able to log into the VM using his AD credentials without issue, whereas my account appears to have trouble ...
2
votes
0answers
1k 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" ...
2
votes
0answers
2k 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 ...
2
votes
0answers
43 views

Best way to release an RPM that includes an independently version module

I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ...
2
votes
0answers
61 views

Detect attached monitors when X is not running

I'm working with machines that are running RHEL6. I need to detect whether a monitor is plugged in when X is either not running or has not started yet, for example during bootup. Is there any way to ...
2
votes
0answers
276 views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL ...
2
votes
0answers
499 views

How to edit rpm's HEADER and NAME-VERSION-RELEASE

Is there's a way or a tool that can modify the HEADER and the NAME-VERSION-RELEASE for an existing rpm without installing/rebuilding it?
2
votes
0answers
539 views

“Remote function call interrupts” (CAL in /proc interrupts). What is it?

I'm running a test program which generates a large number of threads and asynchronous I/O. I'm seeing very high counts of these interrupts in /proc/interrupts, the program cannot scale beyond a ...
1
vote
0answers
12 views

Problem running “selinux sandbox” with java

I am trying to sandbox a java application using selinux sandbox. System details: Redhat 6 | x86_64 | no x server install | jdk7 from oracle tar.gz version | cgred and cgconfig are stop The cmd ...
1
vote
0answers
14 views

Rhel 7 not booting up

I recently installed rhel 7 on my laptop as dual boot (with windows 8.1) in UEFI mode. After the installation I cannot log into redhat. The gnome desktop starts to load and then it goes to a black ...
1
vote
0answers
32 views

Utility to list and modify kernel modules loaded at system startup

How do I list all kernel modules loaded while system startup? Is there a user space utility to list and modify the modules loaded during system startup? I am working on RHEL6 Desktop and RHEL6 ...
1
vote
0answers
14 views

Can't modify or delete SELinux user

I was playing around with user_u in the targeted policy on RHEL 6.5. I'm logged in as root in the unconfined context, so I have full ability to change anything I want. I've also switched to ...
1
vote
0answers
56 views

Using a VPN client as a VPN gateway

I would like host 1 to use host 2 as a gateway to the remote host 3. I have scoured the web looking for a solution, but it doesn't seem to work for me. VPN client software is ike (shrewSoft VPN) is ...
1
vote
0answers
16 views

How to set one job to run at precise time with anacron without losing config at next upgrade?

I want logrotate to run at a precise time daily. Currently it is set to run at some random time using anacron and I don't want to change the randomness factor for all the other jobs. I have ...
1
vote
0answers
21 views

Creating Self signed certificate for tomcat 6

I am trying to configure self signed certificate for our tomcat server. For that initially I created the keystore certificate file using keytool . The command I tried for this is keytool -genkey ...
1
vote
0answers
84 views

Unable to add eth0 in Rhel 7

I am unable to find eth0 in RHEL 7 after just installation. Even I created the eth0 inside the /etc/sysconfig/network-scripts/ directory. After created eth0 inside the network-scripts, I am unable to ...
1
vote
0answers
160 views

Installation of Pacemaker Corosync on RHEL Server 6.6

I was trying to install Corosync and Cman using yum install -y pacemaker cman pcs ccs resource-agents This works fine on CentOS 6.3. Tried the same on Redhat Enterprise Linux Server 6.6 and ran ...
1
vote
0answers
29 views

Utilizing Samba Shares Without using Winbind

I am curious if it is possible to use samba shares without using winbind. In our current environment we are using SSSD, Kerberos, and Samba to complete the required tasks such as joining the windows ...
1
vote
0answers
20 views

Always try to stop daemon on shutdown without a lock file in /var/lock/subsys/

Normally, if a lockfile doesn't exist in /var/lock/subsys/, rhel doesn't try to stop the daemon, even though a link exists: /etc/rc0.d/K??svcname. There're daemons that are not always started by ...
1
vote
0answers
21 views

Generating Email alert for events in system log

How to generate email alert for every critical event logged in system log /var/log/messages. Suppose, for the following log message, I want an email alert to be generated. Oct 24 11:17:42 eforms ...
1
vote
0answers
99 views

Using autofs to mount a NFS share

I am trying to setup a RHEL 7 machine with an autofs NFS mount (the NFS mount is a Windows 2012 R2 server running Services for NFS). Here are the contents of /etc/auto.master: /nfs /etc/auto.nfs ...
1
vote
0answers
114 views

RHEL 6.1 yum hangs on “Updating Red Hat repositories.”

I just registered my RHEL 6.1 system using rhn_register. However, when I try to run any "yum" command, it gets stuck on "Updating Red Hat repositories" and never does anything. BTW I can run this ...
1
vote
0answers
39 views

How are network and SCSI kernel modules handled differently from other kernel modules?

I used modprobe to load the 8021q.ko module on a server. I expected to have to do this every time the server rebooted until I made it persistent. However, to my surprise, it was loaded automatically ...
1
vote
0answers
114 views

Yum or Reposync: How can I slowly remove a repository without unintended dependency issues?

I have used reposync to create and maintain local copies of two repositories, remi and remi-test. These are repositories maintained by Remi Collet. On several systems in an internal LAN, I added both ...
1
vote
0answers
70 views

Get KERN_DEBUG messages into syslog on rhel7/centos7?

I've been trying to get KERN_DEBUG messages logged to a file in centos7, but have had no luck. I can get them just fine from "dmesg," but not /var/log/messages or /var/log/dmesg Here's a MWE kernel ...
1
vote
0answers
61 views

Do we need a separate Metadata server to use pNFS?

So we upgraded some of our servers to RHEL 6.5 and I came across pNFS while reading through the release docs. According to various docs available online, the performance improvement is huge over ...
1
vote
0answers
74 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
1
vote
0answers
2k views

Redhat / Centos 7 Firewalld best practice for pptp or L2TP/IPsec rules

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
1
vote
0answers
34 views

Kexec immediately after Kickstart install (where is cmdline?)

I used to be able to kexec into a new kernel immediately after a kickstart (anaconda) install via pxe. I was able to do this by figuring out the current kernel version, and grabbing cmdline options ...
1
vote
0answers
167 views

How to configure a “point-to-point” connection with RedHat 6.5?

My servers are hosted at Hetzner and I need to create a point-to-point connection to my gateway. The server can only reach its gateway (and its locally configured) IP addresses directly. All other ...
1
vote
0answers
221 views

External VGA monitor port not working on HP Elitebook 2540p running RHEL 6.5

I'm running RHEL 6.5 on an HP EliteBook 2540p. When I connect the external VGA port to a projector or external monitor and press Fn+F3 to switch to the external port, nothing happens. Under System ...
1
vote
0answers
81 views

Installation from USB fails

I have a pretty old Ubuntu 8.04 machine. The machine doesn't have a DVD reader/writer in it. Challenge: Now, the challenge I am facing is to install RHEL6 in this machine. Obstacle 1: I needed to ...
1
vote
0answers
2k views

Error: iptables: No chain/target/match by that name

I am trying to configure proxy server on RHEL Server 6.5 using Squid and iptables. Below is the command I executed and the error message it displayed: vzlptest01 root [root] > iptables -A INPUT -i ...
1
vote
0answers
577 views

How do I set my samba share to allow guest users to view all folders and sub folders, including new and old

I currently have a samba share set up on RHEL, that allows any user to write to the root folder. I'm unable to write to the sub folders/files. I have run: chcon -R -t samba_share_t ...