Red Hat Enterprise Linux version 6 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as ...

learn more… | top users | synonyms

0
votes
0answers
65 views

Red Hat Network API connection

I'm creating a perl script that connects to the RHN, however I seem to be struggling. The code I have is this: #!/usr/bin/perl use Frontier::Client; my $HOST = 'xmlrpc.rhn.redhat.com'; my $client ...
1
vote
2answers
708 views

Redhat resize Partition

First off, I'm an absolute newbie in Linux, but I've been tasked to automate the process of resizing a partition on RHEL 6.5. The server resides as a virtual machine in VMWare, and we are trying to ...
0
votes
2answers
117 views

What is the alternate command for “kudzu” in RHEL6?

I used "kudzu" command in RHEL5 for scanning new devices connected to the server. But i am getting "command not found" error when I try the same in RHEL6. What is the alternative command for scanning ...
2
votes
1answer
942 views

Why is Linux kdump not writing to /var/crash?

It's happened again! I have 4 servers which are crashing periodically, and there is no information printed to the system logs or the serial console. In addition, the Linux kdump service isn't writing ...
0
votes
1answer
172 views

Telnet Postfix on 25 connect but doesn't return any banner

I have configured postfix on RHEL 6.4 and I can connect to postfix on 25 port but no banners return and ehlo doesn't work either. I have uncommented the smtpd_banner line and here it how looks. ...
3
votes
2answers
410 views

What is the difference between “su --command” and “su --session-command”?

Running # su - oliver --command bash gives a shell but also prints the warning bash: no job control in this shell, and indeed Ctrl+Z and fg/bg don't work in that shell. Running # su - oliver ...
0
votes
1answer
386 views

Permissions denied on apache rewrite module virtual host configuration

All of a sudden I keep getting "Permissions denied" on apache 2 virtualhost once we moved it to its own conf file. I have tried all the suggestions I have found here but none work. Please can someone ...
0
votes
1answer
113 views

Linux/RHEL6: Sending output to console and returning to a prompt

I'm disabling Ctrl-Alt-Del on a RHEL6 server and enabling Alt-SysRq. In the /etc/init/control-alt-delete.conf file I have commented out the exec /sbin/shutdown -r now "Control-Alt-Delete pressed" ...
2
votes
2answers
82 views

Is it possible to persist selinux port statements across reboots?

Currently we need to run something like this every time we start up: /usr/sbin/semanage port -a -t memcache_port_t -p tcp ${special-snowflake-port} It would be great if we could persist this across ...
0
votes
1answer
870 views

SSH hangs after authentication

When logging in to one of my servers over ssh, it just hangs after authentication. This is the output on the client with -v. OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading ...
-1
votes
1answer
267 views

RHEL 6.5 / Updating MySQL [closed]

Currently running RHEL 6.5 and need to update to MySQL 5.5.36. Currently it has MySQL 5.1.73 installed. The Software Collections repo has been added. I performed a yum update and it does not show me ...
1
vote
1answer
726 views

Account Lockout with pam_faillock in RHEL6

Previously, I asked about using pam_tally2 under RHEL6. I would like to pose this question and answer to document the recommended use of pam_faillock over pam_tally2 for the same function; What is ...
0
votes
1answer
428 views

Windows 7 with Direct Access and bridging a connection to a local RHEL VM

My company provided laptop is a Windows 7 machine configured to Microsoft Direct Access on the domain controller so that even remotely it will always be available on the domain without having to ...
1
vote
1answer
438 views

RHEL 6 NetworkManager and secondary IP addresses

I've got two hosts running the same release of RHEL (6.4). I've been given eight IP addresses to put onto one NIC in each host. On host A, I manually created ifcfg-eth0, ifcfg-etho:1, ifcfg-etho:2, ...
3
votes
1answer
320 views

RHEL 6 iSCSI LUNs

I have a RHEL system set up as an iSCSI target with 2 luns shared out via one target via the following configuration in /etc/tgt/targets.conf (which I built following the commented out examples in ...
0
votes
1answer
737 views

JBoss EAP 6.2 on RHEL 6: ./bin/init.d/jboss-as-standalone.sh hangs while calling via SSH

I'm using jboss-as-standalone.sh to manage JBoss EAP standalone as a service. I can start/stop the service with "service jboss-as-standalone.sh start/stop" while I'm on a terminal. But I would like ...
5
votes
2answers
640 views

Anaconda kickstart and rootpw option

I've tried a few different methods of generating an encrypted password on SL 6.5, but nothing seems to work for me. I'm not finding any errors anywhere in the various /var/log/anaconda* files, but I ...
1
vote
1answer
56 views

Deploying Ruby Applications In Air Gap (No Internet Access) Network

The current network setup at my job has made it difficult to deploy Ruby web applications. We are running our production RHEL servers in an air gap network with no access to the public internet. My ...
6
votes
1answer
137 views

RHEL6 Keeping 1 old kernel and security

I have my RHEL 5&6 servers set to keep 1 old kernel after updates, I do this in case I need to recover the system for any number of reasons. My question is related to security of the system when ...
2
votes
0answers
590 views

kickstart unattended install of OEL 6.5 always asks to check media

My configuration is as follows: Hyper-V 2012 R2 Host Oracle Enterprise Linux 6.5 VM Guest being installed from an iso attached to the VM. I created a kickstart file that I have on a NFS share and ...
4
votes
2answers
682 views

packets sent on virtual IP don't hit iptables rule

I have a virtual interface eth1:3 with IP address 222.192.124.3, I have set up an iptables rule to log packets coming on that interface using the interface's IP (I know iptables doesn't care about ...
1
vote
2answers
66 views

RHEL 6, Mounting Network Storage at Boot

I have multiple network folders that need to be accessed by RHEL machine for a server program. The issue is everytime the server gets rebooted all the mounts get erased. How can I make it so the ...
1
vote
0answers
71 views

Unable to access disks in rhel 6.5

I work for a biology lab. We recently bought a new microscope that produces an enormous amount of data - it is simply not feasible to store it on a desktop. So, we bought a storage server - the idea ...
1
vote
0answers
134 views

VSFTPD won't allow upload to mounted (Shared) Directory. RHEL6

I'm trying to configure VSFTPD, for each user to have a PublicFTP directory, since all users are chrooted, but they still need a central FTP dir. I've created this directory in each of the local ...
0
votes
1answer
28 views

Linux Hard link permissions show r/w/x for owner/user/group but user unable to execute

I have a hard link to a service script in /etc/init.d/ that points to a shell script (bash). The permissions show owner, user and group permissions to be rwx for everyone. However, when I run the ...
0
votes
0answers
474 views

pam_tally2 being called before Password entry

Based on the suggestion given in: Account Lockout with pam_tally2 in RHEL6 I have come to a working configuration, wherein account is getting locked out after 3 failed logins. Catch is that ...
4
votes
1answer
599 views

How can I force sudo to accept a user's AD password on RHEL6

In our environment we do not join Linux boxes to the Microsoft Domain. We do however setup Kerberos. This allows us to log into the boxes using our AD credentials as long as there is a local account ...
0
votes
2answers
302 views

rbash to limit user to its home directory closes sftp connection

Server: Red Hat Enterprise Linux Server release 6.5 (Santiago) Using openssh-server to allow sftp connexions. I'm trying to limit users to their own personal home directory. So i modified ...
2
votes
2answers
220 views

Linux: ps/htop show processes running for hundreds or thousands of days though host just rebooted

RHEL 6.3 We just rebooted last night and I have many many processes showing they have been running FOREVER. Examples: root 11 2 99 Feb23 ? 212429-04:31:07 [kworker/0:1] root ...
0
votes
1answer
193 views

Identifying RHEL disk other than by UUID in /etc/fstab for Disaster Recovery from another site

For our disaster recovery setup there is a set of disk which are replicated from our production site to the disaster site. On the production site the RHEL servers have /boot filesystem setup on disks ...
0
votes
0answers
445 views

dmar: DRHD: handling fault status reg Errors in /var/log/messages

We have One HP Enclosure Gen8 and this server on Bay11 is giving alot of these messages and one second it drops connections and other second it start working. Rest of servers in this enclosure are ...
2
votes
0answers
24 views

Specialized access control for directories in RedHat 6?

I have a requirement where I want to set permissions for a directory so that the directory owner (user/group) would be able to create files inside the directory and modify them, but won't be able to ...
1
vote
1answer
48 views

Growing a raid 1 with mdadm

I have a RHEL 6.5 box in which I have recently added two partitions to the a raid 1. It took the the disks without any incidents but I am not able to resize the raid itself. The output of cat ...
0
votes
0answers
254 views

cifs mount not working using fstab on RHEL6

I had a line in my fstab file that until this morning allowed me to read and write to a windows share (dummy IP address is shown below) //111.111.1.111/ecc /mnt/nas2 cifs ...
0
votes
0answers
107 views

uploadprogress.so is installed, but does not appear in phpinfo

I'm on RHEL6 (Red Hat Enterprise Linux Server release 6.5 (Santiago)), but I've upgraded PHP to version 5.4.16. I've downloaded and installed the PECL uploadprogress library version 1.0.3.1 that is ...
1
vote
1answer
189 views

Breaking off /tmp using LVM

I've recently been put in charge of a RHEL6 server running our NMS. I don't know much about Linux filesystem administration. What I'm needing to do is create a partition for /tmp, instead of having it ...
1
vote
3answers
716 views

php-snmp php-devel php-mbstring Dependency Issues RHEL 6

I apologize if this is answered, I may just not know what exactly to search for. I am attempting to install Cacti on RHEL6 and have hit a wall trying to install these three package: php-snmp ...
0
votes
0answers
413 views

Install libxml2.8 on RHEL 6

I want to install the software TinyOWS on a RHEL 6 server. I followed the instructions: $ wget http://download.osgeo.org/mapserver/tinyows-1.1.0.tar.bz2 $ tar xvjf tinyows-1.1.0.tar.bz2 $ cd ...
2
votes
2answers
586 views

Hyper-V 'standalone' (on baremetal) with RHEL/CentOS 6.x guest VM

My exposure to virtualization has been limited to Virtualbox &VMware-player on Desktops, and to VMWare ESXi &KVM on Linux server, and exclusively with Linux guests (RHEL/CentOS). So please ...
-1
votes
1answer
74 views

migrate to centos vs. add centos repository [closed]

I have installed Redhat Enterprise Linux 6.2, and I don't want to buy its subscription, I want to use the centos's repository. I found an article that teach me how to migrate to centos 6 from rhel 6, ...
0
votes
1answer
506 views

brctl addbr and bonding not working for CentOS6 if IPv6 is disabled

I set up a CentOS6-XEN4-Server according to these instructions. Now I want to set up bridges - first manually: brctl addbr test - but this fails with: "add Bridge failed: Package not installed" ...
1
vote
1answer
401 views

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I ...
2
votes
1answer
322 views

RHEL SELinux context differs between matchpathcon and restorecon

I am using RHEL 6.3 and I experiment a strange behavior with matchpathcon and restorecon SELinux commands. For a specific file, I have defined a context with semanage fcontext. Then, matchpathcon ...
1
vote
1answer
619 views

RHEL6 Upstart: Flow of Events During Reboot

I have a situation where a RHEL 6.4 server is sending TERM and KILL signals too quickly, before applications and databases have had a chance to gracefully stop. It seems that Upstart is handing ...
2
votes
3answers
2k views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...
2
votes
1answer
2k views

How to configure the bridge over bonding in RHEL 6.4 Server?

Has installed a system (rhel-server-6.4-x86_64-dvd.iso). KVM over which set. The host machine and the guest-machine assigned its own IP-address, configured for this bridge br0. Everything works. Now ...
1
vote
2answers
649 views

How to configure ssh tunneling with Putty between two RHEL servers?

I'm trying to allow ssh access from a remote RHEL server to a local RHEL box via Win/Putty gateway. Basically, I'd like to be able to do 'ssh localhost -p 512' on a remote server so that it would ...
3
votes
2answers
196 views

Managing Python versions with environment-modules

I'm trying to configure a RHEL6 server to allow multiple users to run multiple versions of Python, multiple versions of various python modules, and multiple versions of various other programs (e.g. ...
-1
votes
1answer
94 views

Redirect all incoming traffic

I have a RHEL6.4 httpd VirtualHost that I want to use to forward inbound traffic like so: Any incorrect host names in requests will redirected correctly to my SERVER_NAME AND Any non-port-443 ...
1
vote
5answers
14k views

How do I install the main repositories for RHEL6

We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is ...