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
2answers
6k views

Adding an existing user to a group with puppet

Is it possible to add an existing user to a group with puppet 2.7.18? We have two modules, each one defines one class : module "user" creates all users, including user foo and user bar. module ...
4
votes
5answers
2k views

Reboot fails on RHEL 6.1 after kernel update on Amazon EC2

Everytime I start a new RHEL instance, I like to perform a yum update to start with the most up-to-date system. However, everytime I try to reboot the instance after that, the instance never goes ...
4
votes
3answers
137 views

versioning system with less duplication of data

We have a homegrown config management system and we'd like to add config file versioning to it in a simple way. My first thought was svn (or similiar), but I'm concerned with creating a repo in one ...
4
votes
2answers
6k 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 ...
4
votes
2answers
226 views

Which Red Hat / CentOS updates should be applied and on what schedule?

I'm subscribed to the CentOS-announce mailing list and I've read the definitions of the various severity tags such as Critical, Important, Moderate, Low, BugFix, etc. but I'm still unclear as to what ...
4
votes
3answers
6k 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 ...
4
votes
4answers
1k views

yum claims python isn't installed

Trying to install collectd, but for some reason it claims python isn't installed: yum install collectd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install ...
4
votes
3answers
13k 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 ...
4
votes
2answers
725 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?
4
votes
6answers
8k views

Find MAC addresses in /proc or somewhere despite bonding device?

Is there a way to get the original MAC addresses for eth0 and eth1? A large array of servers have bonding interfaces managing backup switch connections and one is misbehaving. With bond0 active both ...
4
votes
2answers
2k views

VMXNET3 performance on Linux on ESX 5.0

What kind of performance can I expect from VMXNET3 adapter when running two Linux guests on the same VMware ESX private network defined between those guests? I use VMXNET3 adapter for communicating ...
4
votes
2answers
314 views

RHEL: What happens when memory starts to fail?

I'm getting ecc warnings from some server RAM. It's a pretty old machine so there isn't any warranty on these parts. If this were Windows I would expect to see BSOD. What can I expect from RH5.x?
4
votes
3answers
595 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 ...
4
votes
2answers
5k 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?
4
votes
4answers
309 views

How do I Control the Ordering of Network Interfaces?

I'm attempting to configure a machine with 3 NICs, the first two are built-in GbE controllers, the third is a 10GbE controller. Via NetworkManager, I've configured the 'first' GbE NIC (which at the ...
4
votes
2answers
203 views

Switching yum from RHEL to .. something else? [duplicate]

My various managers have decided that it's too expensive to keep paying for a subscription to the RedHat network for OS updates. Is it possible to switch to Fedora/CentOS or do I need to reinstall the ...
4
votes
1answer
172 views

Convert Oracle enterprise to redhat

Has someone converted successfully a running Oracle Enterprise Linux server to redhat enterprise and was able to register it on RHN network? Tried to install kernel from redhat, updated the rhnsd ...
4
votes
3answers
572 views

SFTP access akin to jailed shell

I have a question about creating a user with sort of jailed shell access (actually all is required of this user is an sftp access to one particular directory). Scenario is as follows - I have an ...
4
votes
1answer
274 views

`ls` causes Segmentation Fault on a specific directory

I used $HOME/.local as prefix to install some applications without root access. There is one directory inside $HOME/.local that I can't execute ls command: [tuananh@server lib]$ ls Segmentation fault ...
4
votes
1answer
842 views

Interpreting Munin graphs showing available entropy and MySQL slow queries in sync

We're experiencing performance issues on our website, and after reviewing our munin graphs, the only metrics we've found in sync are Available entropy and MySQL slow queries, with the latter ...
4
votes
3answers
2k views

Update Red Hat Enterprise Linux's Packages Only To Specific Point Release

Let's say that I have one RHEL6.2 64bit server running. Current latest version available is 6.4. Running "yum update" will update my server up to 6.4 straight away. What if I want to update only to ...
4
votes
1answer
6k views

How do you create an ssh key for the apache user on Redhat?

As the question asks, how do I generate an ssh key for the user apache on Redhat? My use case, is that we have a mercurial server running under the apache user. We also have several web servers ...
4
votes
3answers
3k views

Changing the timezone on a RHEL5/CentOS system

How do I change the timezone on a RHEL5 system? I'm reading the instructions here - http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/ But they seem very bold (altering ...
4
votes
3answers
9k views

How to Update Red Hat Enterprise Linux 5.4 using CentOS Repos

I don't have a subscription for RHEL anymore and I want to update my server. Can anyone tell me How to Update Red Hat Enterprise Linux 5.4 using CentOS Repos ?
4
votes
1answer
134 views

How can I remove “Red Hat Network Code” from the RedHat?

The question is: How can I remove "Red Hat Network Code" from the system and what this "Network Code" actually is? The background of this question is related to the RedHat subscription as according ...
4
votes
2answers
792 views

How to Increase the Size of an XFS File System?

I just created an Amazon AWS EC2 instance running RHEL7: [root@ip-10-184-161-46 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-184-161-46 ~]# And even ...
4
votes
2answers
529 views

Resizing of volumes used as VMWare NFS datastores causes Linux VM issues

We had to perform a live volume resize of an NFS datastores VMWare uses on our Netapp. All of our Windows VMs were fine after the resize. However, some of our Linux VMs had issues. Some Linux VMs ...
4
votes
1answer
672 views

Varnish does not recognize req.hash

I have Varnish 3.0.2 on Redhat and service varnish start fails after I added vcl_hash section. I did varnishd and then loaded the vcl using vcl.load vcl.load default default.vcl Message from ...
4
votes
1answer
1k views

What is the difference between the Linux and Linux LVM partition type?

Fdisk shows multiple partition types. What is the difference between choosing 83) Linux and 8e) Linux LVM? Choosing 83) Linux also works fine for using LVM, even creating a physical volume on ...
4
votes
3answers
1k views

Yum: What is the @shortname for a Package Group?

I am creating a kickstart file, and I want to install certain Package Groups in the %packages section. I prefer to install Package Groups, and therefore use the @packagegroup syntax: %packages @Base ...
4
votes
2answers
5k 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
1answer
143 views

NIC reporting as devXXXX and not ethX

We recently noticed our 10gE NIC was reporting as devXXXXX. Does anyone know why this would be given this name as opposed to ethX? Our System: The issue occurred on two separate servers. We are ...
4
votes
2answers
2k views

Linux kernel crash dump analysis: Guidelines

Note: 2.6+ Kernel Or older 2.4 Question: Generic suggested guidelines with regards to Linux kernel crash dump analysis Skills required, i.e. Kernel compilation skills etc Suggestions: ...
4
votes
1answer
129 views

SELinux: How to show all allowed rules for a type?

For an arbitrary object type, e.g. user_tmp_t, I want to know which processes are allowed to access this tag. How do I find all allow rules that reference user_tmp_t?
4
votes
1answer
640 views

Mounting a disk from SAN (RHEL 5.9)

Storage admin told me he put a 3TB drive on my server from the SAN and I was asked to mount it. The only information I know is that it's on LUN 1 and that the disk is 3TB. Multipath is setup and I ...
4
votes
2answers
627 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
10k 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
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
3answers
1k views

Linux CUPS auto re-add printer?

We have a Redhat machine (2.6.9-42.ELsmp) that runs CUPS. Once in a while, people send big files to the printer, and it gets stuck, so they restart the printer. After 300 seconds of it not responding, ...
4
votes
1answer
96 views

Practical ulimits

One of the projects I'm working on is moving certain puppet-applied ulimit settings away from "that sounds about right" to dynamically allocated based on the environment. This is for ...
4
votes
2answers
955 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
3k views

Methods for analyzing Red Hat sosreport output?

For some time (since EL 4.6), Red Hat has embedded a system report and troubleshooting tool into the operating system. The tool, sosreport, collects system information and settings and bundles it into ...
4
votes
3answers
691 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
3answers
6k views

second ip address on the same interface but on a different subnet

Is it possible in CentOS 5.7 64bit to have a second IP address on one interface (eg. eth0) - alias interface configuration - in a different subnet? Here is the original config for eth0 more ...
4
votes
1answer
401 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
18k 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
1answer
737 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
921 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
2answers
759 views

Heartbeat/DRBD failover didn't work as expected. How do I make the failover more robust?

I had a scenario where a DRBD-heartbeat set up had a failed node but did not failover. What happened was the primary node had locked up, but didn't go down directly (it was inaccessible via ssh or ...
4
votes
1answer
987 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 ...