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

learn more… | top users | synonyms (1)

4
votes
0answers
49 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
45 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
469 views

The equivalent of start-stop-daemon for RedHat 6

I have an upstart script to create a service in RedHat 6: env PLAY_BINARY=/usr/bin/play env HOME=/opt/warda env USER=root env GROUP=root [...] script exec start-stop-daemon --start --exec ...
3
votes
0answers
204 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
647 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
166 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
288 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
263 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
37 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
60 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
45 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
406 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
377 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
242 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
41 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
59 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
259 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
483 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
524 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

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
44 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
57 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
22 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
12 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
13 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
62 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
89 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
32 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
87 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
56 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
55 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
68 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
1k 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
28 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
139 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
196 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
67 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
516 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 ...
1
vote
0answers
23 views

Can a RHEL 6.4 DS sync with a CentOS 5.4 DS

I have two CentOS 5.4 Directory Servers that sync information on a daily bases. I'm wanting to replace them with two RHEL 6.4 Directory Servers. Before the existing two are decommissioned all four ...
1
vote
0answers
68 views

Why does vpnc not block the LAN interface?

VPNC allows local LAN access in spite of activating the vpnc on my RedHat Linux machine When we want to activate the Cisco VPN on win machine, once VPN is active then the LAN port isn’t accessible ...
1
vote
0answers
24 views

(nologin) root and id X re-spawning

Today I faced a strange issue on one of the test server. Server was set to Runlevel 5. But it didnt work and system changed to runlevel 3. It was showing "init: Id "x" respawning too fast: disabled ...
1
vote
0answers
1k views

Packages skipped because of dependency problems:

2.6.32-71.el6.x86_64 RHEL 6 Please see at the end I am getting some issues due to dependency: [root@xilinx Downloads]# yum install --skip-broken glibc* Loaded plugins: refresh-packagekit, ...
1
vote
0answers
2k views

Kernel panic not syncing : Attempted to kill init

OEL 5.9 (Tikanga) 2.6.18-371.6.1.0.1.el5 On boot I get the following errors: ... exec of init (/sbin/init) failed!!!: No such file of directory Kernel panic - not syncing - Attempted to ...
1
vote
0answers
129 views

How can i determine the block size of an vxfs filesystem?

I am looking for a way to see what the current blocksize of an filesystem is. Normaly i would use tune2fs -l | grep "Block size", but that doesn't work on vxfs. I googled a bit and found fstyp -v ...
1
vote
0answers
108 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
1
vote
0answers
62 views

SNMPV3 traps are not being captured correctly

I have configured master agent (snmpd.conf/snmptrapd.conf) of SNMPv5.5 on RHEL6.3 server to support SNMPV3 traps, but when I try to generate a snmptrap and capture the trace through tcpdump, I still ...