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

4
votes
1answer
1k 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
584 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
257 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
291 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 ...
1
vote
1answer
87 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
315 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
164 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
315 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
1k 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
598 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
704 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
80 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
778 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" ...
2
votes
1answer
531 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
556 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
843 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
4answers
3k 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 ...
3
votes
1answer
3k 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
874 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
263 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
132 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 ...
3
votes
5answers
24k 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 ...
3
votes
1answer
266 views

Can't make SELinux context types permanent with semanage

I created a new folder at /modevasive to hold my mod_evasive scripts and for the Log Directory. I'm trying to change the context type to httpd_sys_content_t so Apache can write to the folder. I did ...
8
votes
1answer
6k views

“power limit notification” clobbering on 12G Dell servers with RHEL6

Server: Poweredge r620 OS: RHEL 6.4 Kernel: 2.6.32-358.18.1.el6.x86_64 I'm experiencing application alarms in my production environment. Critical CPU hungry processes are being starved of resources ...
0
votes
1answer
90 views

cron to anacron migration process

I have a script that I want to run nightly on my lab's RHEL 5 and 6 workstations, so I'm deploying the script to each system's /etc/cron.daily/ directory and making it executable there. But some ...
1
vote
0answers
78 views

How can I get auditd on RHEL6 to dispatch forwarded messages?

Using RHEL6, I currently have audispd setup to send logs to a remote server. The remote server successfully receives the messages, and writes them to the remote audit log. My problem is, I can't seem ...
3
votes
2answers
1k views

How to detect if mount point exists from init.d script?

After a reboot, I'm executing an application from a mounted network share (autofs) using an init.d script. The script starts by waiting 30 seconds before attempting to execute the command, in order to ...
2
votes
3answers
373 views

Why is RAM usage so high on an idle server? [duplicate]

I'm investigating a server used for scientific data analysis. It's running RHEL 6.4 It has almost 200GB of RAM. It's been running very slowly for users via SSH, and after some poking around I quickly ...
1
vote
1answer
266 views

RHEL Apache: 403 Forbidden on VirtualHost

My files are all owned by apache:apache. All directories have 770 permissions and files have 660 permissions. My original virtualhost seems to be fine but the second one is getting 403 errors on all ...
3
votes
2answers
125 views

Later versions of RPMs not available through custom yum repo

I've created a custom repository following this guide. Files are being served via http (nginx). I've cd'd into the directory to create the metadata with createrepo .. I can install a package through ...
3
votes
1answer
3k views

What are the disadvantages of disabling tinker panic 0 in NTP?

We sometimes have the problem that new servers have the wrong time in the bios, so there time can be off by a month. When you suspend a VM in VMware and then unsuspend it, the time will be off too. ...
6
votes
3answers
2k views

How to make NTP work despite a high offset?

Recently I have kickstarted some servers that had their time off by a month in the bios. The time in the bios said it was a random time/date in May, while it was June. This caused NTP not to work, ...
4
votes
2answers
946 views

Dangers to giving Apache user a shell

tl;dr - What are the dangers of giving Apache a shell in /etc/passwd? I'm working on getting mod_evasive set up with Apache to fight DOS attempts. I use the DOSSystemCommand to run a script that ...
2
votes
1answer
701 views

Is there an equivalent to Debian's cli/php.ini on Redhat?

How do you configure the command line version of PHP to have different settings on a Redhat system? On Debian based systems, php has a separate command-line version config file: /etc/php5/cli. On ...
0
votes
0answers
110 views

Why does git remote repo only work as root?

I followed this description setting up a git remote git repo. This worked pretty well so far, but only when I use root@mygitserver.com:/gituserhomedir/someproject.git. When I switch to user git@... ...
1
vote
2answers
148 views

How do I allow my server to ftp to itself?

I'm on RHEL6 and I'm trying to do an auto update on wordpress but the ftp and sftp connections fail. I suspect it's at least testing the connection from within the server which is not allowed by my ...
2
votes
1answer
241 views

How to make Puppet fix SELinux types for home directories?

We are using pam_mkhomedir.so to automatically create the home directories of users logging in with SSH. There is a bug in pam_mkhomedir that sets the SELinux contexts to home_root_t instead of ...
0
votes
0answers
46 views

rubygems unavailable after optional rpms enabled

I'm using RHEL6. This morning I had a machine registered with RHN, and now I'm moving forward with a Puppet installation. I've run yum-config-manager --enable rhel-6-server-optional-rpms however, ...
10
votes
2answers
5k views

Do I need a RHEL subscription to install packages?

I'm new to RHEL. Trying to install software this morning and running into road blocks. Is it required to have a subscription to download packages via yum on RHEL? I'm coming across different sources ...
1
vote
1answer
669 views

PXE booting server in VirtualBox network configuration

I have a host machine(windows) which has a rhel6 guest running in virtual box. I want to boot my laptop through PXE server configured in this guest machine. I have configured all the necessary ...
0
votes
1answer
274 views

Can I use Puppetmaster 3.2.x with Puppet 2.7 clients?

We are using RHEL 6.2 with Puppet 2.7 on about 100 servers. I am planning to update the puppetmaster to RHEL 6.2 with Puppet 3.2. I understand that I have to rewrite a few manifests in order for the ...
-1
votes
1answer
351 views

What are the dependencies of sssd/nscd to function?

What are the dependencies of sssd to function as an LDAP-client? What are the dependencies of nscd to function as an LDAP-client? Does sssd need openldap to function as an LDAP-client? Does nscd?
0
votes
1answer
255 views

What are disadvantages of using nsswitch compat?

In my current LDAP set-up "getent passwd" shows all 600+ users that exist in the LDAP, not enumerating only the 20 LDAP-users that have permission to access this netgroup/server. This can be solved ...
0
votes
2answers
646 views

MySQL won't start: “Can't start server : Bind on unix socket: Operation not permitted”

Running a minimal Centos 6.0 build as a vagrant box, with SELINUX=permissive. Right off the bat, performing a "yum install mysql-server" and then "service mysqld start" it fails. Inside ...
0
votes
1answer
502 views

nginx repomd.xml 404 Not Found

I set up the nginx repository as specified at http://wiki.nginx.org/Install [nginx] name=nginx repo baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/ gpgcheck=0 enabled=1 When I try to ...
0
votes
1answer
91 views

Users seeing all other LDAP users on RHEL default behavior?

We are using an LDAP server with both Solaris and RHEL servers and planning to migrate more servers over to RHEL. However we have an issue with LDAP on all Red Hat servers. When we type "getent ...
4
votes
4answers
3k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gd.so' undefined symbol: gdImageWebpCtx in Unknown

We're running RHEL6 and just started getting this error when restarting php-fpm. PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gd.so' - /usr/lib64/php/modules/gd.so: ...
2
votes
1answer
178 views

Linux device names: What other non-standard storage device names are there apart from /dev/cciss

This is a question about Linux storage device names on RHEL5 and RHEL6 Most storage devices are accessible using device names /dev/sda, /dev/sdb, etc. By storage device I mean a device that could be ...
0
votes
0answers
68 views

Assistance required configuring /server-status on apache — keeps getting caught in redirects

Good Morning, I'm trying to configure server-status on my servers, so that I can connect them to Solar Winds monitoring. (No jokes, it's not my choice!) I thought that I could just drop a new .conf ...
0
votes
2answers
660 views

Should rp_filter sysctl parameter be set on bonding master or member slaves?

I have a server running RHEL6.4. I need to configure .rp_filter sysctl parameter for my server's private interconnect. This server has 2 NICs bonded together. I looked through the documentation and ...