Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and ...

learn more… | top users | synonyms (1)

4
votes
4answers
2k views

switchless Infiniband between two servers on RHEL 6.3

I have 2 servers running RHEL 6.3 which have 2 port Infiniband cards >lspci | grep -i infini 07:00.0 InfiniBand: QLogic Corp. IBA7322 QDR InfiniBand HCA (rev 02) I'm interested in connecting ...
4
votes
2answers
4k views

Configure a DNS server per nic interface (eth0 / eth1)?

How would you configure a DNS Name Server per NIC (eth0 vs eth1) interface on RHEL/Centos 6? E.g. eth0 is on subnet 10.0.0.1/24 eth1 is on subnet 192.168.0.1/24 Any requests sent over ...
4
votes
2answers
500 views

Is It Possible to set cpu affinity for particular user?

I mean is their any way we can set up cpu affinity for particular user, for all his currently running process or for process which he will start later?
4
votes
3answers
9k views

How do I get PHP 5.3 working on Red Hat Enterprise Linux, with PDO enabled? PHP53 was installed with yum

This problem is complicated, and I'm not an expert at all, so bear with me. My server admin team set me up with a standard RHEL box. It had PHP preinstalled, as well as apache. I am now trying to ...
4
votes
2answers
6k views

Changing boot device for a QEMU-KVM virtual machine

I am trying to change the boot device for a VM. I go to the VM's XML file in /etc/libvirt/qemu and set <boot dev='cdrom' />. Still, it attempts to boot from the harddrive instead of the cdrom. ...
4
votes
1answer
1k views

How to tweak Gnome user elevation in RHEL/CentOS

So I am attempting to tweak the way GNOME authenticates a desktop user for privileged applications. Out of the box it asks for the root password. For my deployment this is undesirable and I want it ...
4
votes
2answers
424 views

Avoid file conflict in rpm package

I have created a rpm package.The part of .spec file is below %install mkdir -p ${RPM_BUILD_ROOT}/etc/xyz cp -rf %{BDIR}/console ${RPM_BUILD_ROOT}/etc/xyz %files /etc/xyz/console So XYZ ...
4
votes
3answers
475 views

%post section of rpmbuild not working

Situation: I'm trying to build a custom rpm to place a config file in a particular location. The installation completes fine by placing config files in proper directories but the %post section is not ...
4
votes
1answer
395 views

Limits to NFS share sizes

I want to build a bare-metal RHEL box connected to an FC-array that's presenting it a ~16TB LUN, I can format this LUN any way I like (might choose XFS) but I then want to share this volume out to a ...
4
votes
1answer
16k views

Cannot find open shared object file libjli.so — no such file or directory

On 64-bit RHEL5 running Java 1.6.0 update 16, root can successfully run a Java program but a user can't because libjli.so supposedly can't be found. SELinux is turned off and the environment is the ...
4
votes
2answers
95 views

CentOS not detecting Intel 10G (ixgbe) interface

I have a server with CentOS 6.5 installed with 2x 1Gbps Ethernet Cards, I have added a new interface (Intel(R) 10 Gigabit PCI Express Network) but the problem. is the system is not detecting the ...
4
votes
1answer
378 views

RHEL6: Tomcat runs as unconfined Java user

I'm starting to configure RHEL6 to be a hardened Tomcat server and applying SELinux policies for access control. After installing RHEL6 and Tomcat6 (standalone, no httpd), I noticed that the Tomcat ...
4
votes
1answer
389 views

Can udev be 'restarted' without a reboot?

For the general case let's say that the virtual adapter for eth0 has been removed and replaced with another one. Either due to cloning or, more recently, a rash of MAC address conflicts. [Yes, a rash ...
4
votes
1answer
851 views

Credentials can not be delegated - Alfresco Share

I've hit a brick wall configuring Alfresco 4.0.d on Redhat 6. I'm using Kerberos authentication, it seems to be working normally, and single sign on is working on the main alfresco app itself. I've ...
4
votes
1answer
511 views

Disable colour output from /etc/init.d scripts?

On RedHat/CentOS systems, all of the service management scripts in /etc/init.d (and also run by the "service" command) produce color output. (i.e. the "[ OK ]" and "[FAILED]" strings.) How do I ...
4
votes
1answer
624 views

Red Hat/CentOS cluster compared to HeartBeat?

What are the main differences (other then UI) between RH/CentOS cluster and heartbeat? I have some experience using heartbeat, but wondered what the RH/CentOS provides, and looking at docs it seems ...
4
votes
1answer
1k views

Need to Migrate Xen DomU to VMWare ESXi - RHEL 5.3/ESXi 4.1

I've seen plenty of posts outlining the process of converting VMware Linux serves to RHEL Xen (not xenserver) but nothing much has helped me go the other way. I've tried a number of things including ...
4
votes
1answer
2k views

Red Hat Satellite vs. Ubuntu Landscape

We have some experience using Red Hat Satellite in an environment with ~120 servers. Now we're looking into deploying Ubuntu in parallel for the further growth. How does Landscape compare to ...
4
votes
1answer
100 views

Why would Puppet exclude a file resource without error?

The oddest thing is happening during this Puppet run (using Puppet Apply) and it has me perplexed. I've tried my usual channels to find solutions but I cannot find anything on the topic. I apologize ...
4
votes
1answer
625 views

chkconfig creating service symlinks with the wrong order

On RHEL 6.3, I have a system service that should be starting after postgresql and httpd (order 64 and 85, respectively), but chkconfig always places it at order 50. I tried an experiment on a CentOS ...
4
votes
2answers
2k views

How do I pass arguments from the PXE command line to a kickstart %pre, %post script?

Basically I want an ARGV like usage on the PXE command line, but I can't see any documentation to do this. basically I want to pass something like scientific-linux-6 HOSTNAME VLAN then in %pre hit ...
4
votes
2answers
909 views

Monitor load & resource usage of single process on linux (Red Hat)

Does anyone know of a way to monitor the load & resource usage of a single program. What I have is a process I'd like to know how much load it puts on the server but it's not something I can just ...
4
votes
2answers
6k views

KVM network bridge with two NICs

Greetings, I'm trying to set up bridged networking with KVM and am getting nowhere. There are docs and tutorials on the subject, but they all seem to conflict or don't provide enough info. I was ...
4
votes
4answers
2k views

How can I remove the GUI bits from a Red Hat Enterprise Linux install?

I am looking at a farm of RedHat Enterprise Linux (RHEL) 5.3 servers, which all have GNOME and Xorg installed, none of which need them. They were deployed by a 3rd party from a VM template, and I ...
4
votes
3answers
3k views

How to configure a redhat/centos/amazon linux server for 1million open tcp connections?

I've been reading the following article: http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1 More than 65536 TCP connections on Linux And wondering if there's ...
3
votes
3answers
936 views

RHEL 6.3 Upgrading OpenSSH & Apache

We just ran an external security scan from 403Labs against one of our servers (RHEL 6.3 x86_64) for PCI compliance and the results appeared to mainly dictate that we had a hand full of applications ...
3
votes
7answers
352 views

List of tools you install on your debian/red-hat server

Here in a list of tools I install after a fresh install (debian most of time): logcheck: to check the log files and generate reports apticron: send me e-mails when packages updates are available ...
3
votes
2answers
6k views

How do I install 'convert' on a linux system?

My application needs to call 'convert' - http://linux.about.com/od/commands/l/blcmdl1_convert.htm But its not present on my redhat system. How / what do I install?
3
votes
5answers
1k views

How to tell if linux disk IO is causing excessive (> 1 second) application stalls

I have a Java application performing a large volume (hundreds of MB) of continuous output (streaming plain text) to about a dozen files a ext3 SAN filesystem. Occasionally, this application pauses for ...
3
votes
3answers
108 views

Local and remote servers with different Linux distros?

I'm running a remote web server on Red Hat Enterprise Linux and want to host a local server with a copy of my LAMP web applications for in-house development. Is there any reason that I would need to ...
3
votes
4answers
13k views

Install Xvfb via yum - yum repository for Xvfb?

I am trying to install Xvfb on a RHEL 6.2 system using yum. However, all of the help that I've found says to type: yum install Xvfb or... yum install xorg-x11-server-Xvfb Which I'm sure ...
3
votes
3answers
423 views

Is there a way to build rpm's and deb's on the same system

I have a large Java enterprise application that is required to output rpm and deb packages. Currently this means that we build the application on two different boxes, one with CentOS and the other ...
3
votes
2answers
5k views

How do you only tar files in a directory based on a specific file name?

I want to create a tar ball and include only the files in the directory that start with a specific filename. For instance I have apples-x.x.x and oranges-x.x.x, and I only want to tar the files ...
3
votes
2answers
140 views

I see a dot after -rwxr-xr-x

Whenever I issue ls -al command in my server I see a dot after -rwxr-xr-x like - -rwxr-xr-x. Can anyone tell me what that means? I can't get any clue from the internet.
3
votes
2answers
547 views

sudo -i but keep current working directory

When use sudo -i I will simulate login as root, and current working directory will be jumped to /root. Is it possible not to jump and keep the working directory unchanged?
3
votes
4answers
9k views

Can I set up Fedora or Centos repos in RHEL6?

I have a RHEL6 box with no subscription to Red Hat Network. I want to install gcc using yum to resolve all the complex dependencies. Can I connect to Fedora or Centos repositories to install software? ...
3
votes
2answers
505 views

Reasoning behind RHEL's use of LVM even on a single disk install

When doing a default install of RHEL5 and higher (at least - don't recall if it has done it longer), Anaconda will setup your drives into a logical volume group - even if there is only one drive. ...
3
votes
2answers
217 views

Can read/write jobs be put in a queue?

I share a server with HAL. The server has 32 GB of memory. I rarely use more than 1GB of memory, and when I do, it is for a few minutes at a time, and I don't mind sending such jobs to the back of ...
3
votes
4answers
12k views

RHEL 6 x64: running 32 bit applications

We develop an application which currently works in 32 bit mode only. It worked fine in RHEL 5 but failed to work in RHEL 6. The reason is RHEL 6 by default is installed with 64 bit libraries only. ...
3
votes
3answers
4k views

How do I export and restore my iptables settings?

I have what appears to be weird and convoluted set of rules which work for me at the moment. Is there a way of "exporting" those and saving them to a file so that they can be restored later on in case ...
3
votes
3answers
6k views

How to “restart” particular network interface on RHEL?

In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only ...
3
votes
2answers
4k views

How to get ldapsearch on Scientific Linux?

How do I get the ldapsearch on Scientific Linux? I am trying to find the ldapsearch client for Scientific Linux but cannot find how to install the client in order to do LDAP queries.
3
votes
3answers
199 views

What is the red hat service, “pand?”

This is for RHEL 5.6. I am trying to search through the documentation from Red Hat's site and nothing is coming up about what this service is or what it does. Does anyone know what "pand" is? The ...
3
votes
4answers
130 views

SSH Access for contractors

We've recently hired an outside programmer to develop some new backend systems for us. He's requested SSH access into our webserver. We've worked with him for years and I trust him as much as any in ...
3
votes
2answers
5k views

How can I install PostgreSQL 9 on RHEL 6?

I am new to RHEL 6 but have a project where I need a postgres 9 database and I only have RHEL 6 available to me. How can I safely do this? Should I install from source or is there a package around ...
3
votes
2answers
4k views

Enforcing that passwords contain a certain mixture of characters on Red Hat Linux or CentOS

On Red Hat Linux or CentOS, how can one enforce that passwords consist of a mixture of alphabetical and numerical or special characters?
3
votes
3answers
417 views

How do I get ec2 Linux instance info while logged-in on the command-line (public dns, AMI, etc.)

I want some way of identifying which instance that I'm on when I ssh into a Linux ec2 instance. I would like to be able to uniquely identify the instance from the command-line and correlate this to ...
3
votes
1answer
864 views

Will 'yum remove mysql-server' remove the databases as well?

I need to update RHEL 5.8 from MySQL 5.1 to the new MySQL 5.5. I have installed the REMI rpm, but I get a long list of package conflicts when trying to upgrade MySQL that way. I think I need to ...
3
votes
2answers
5k views

Update CentOS to Python 2.7

What is the best way to install Python 2.7 on CentOS? All the tutorials I'm seeing are either using a third party management system or manually installing a separate binary to co-exist with Python ...
3
votes
2answers
8k views

Disable local root login, permit root login over ssh

I want to prevent the root user from logging in directly from local console on a RHEL box, but allow login from ssh. Can this be done? Thanks...