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

1
vote
1answer
295 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
2answers
656 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
559 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
190 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
118 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
61 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
4k 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
112 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 ...
6
votes
1answer
2k 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
37 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
52 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
1answer
255 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
157 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
86 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
65 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
966 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
186 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
460 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
347 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
75 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
78 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
99 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
36 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, ...
8
votes
1answer
503 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
289 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
0answers
19 views

Multiple certificates on the OpenLDAP server

We are using OpenLDAP in our server environment with MD5 certificates. I wonder if it's possible to add a certificate that uses SHA-256/512 encryption instead. This way we can use both MD5 and ...
0
votes
1answer
105 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
164 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
85 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
1answer
51 views

Unchangeable xscreensaver configuration?

I have a requirement that all desktops lock after a certain amount of time. However, all of our users have the possibility of using different DEs or windowing systems, so I went to xscreensaver as a ...
0
votes
2answers
286 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
302 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
53 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 ...
3
votes
4answers
905 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
102 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
62 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
355 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 ...
0
votes
1answer
514 views

Moving from nslcd to sssd on Red Hat to solve NSS MD5 issue

I have a problem with the latest version of Red Hat, nss/nscd does not accept MD5 certificates. Because of recommendations I am replacing nscd with sssd with this howto ...
5
votes
3answers
3k views

How come all LDAP users are shown with getent passwd?

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 I type "getent ...
0
votes
2answers
105 views

how to configure default gateway

On a RHEL6 server I added a 2nd nic and have configured it to use a static ip on a different subnet. $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric ...
0
votes
1answer
634 views

NFS not working on bonded NFS interface - mount.nfs: No such device

We have an error message when trying to mount NFS on a RHEL server. NFS works fine on all our other servers, but not on 2 freshly kickstarted servers with the error "mount.nfs: No such device". ...
0
votes
2answers
319 views

I'm unable to use rpmbuild to build nagios-3.5.0 RPM @RHEL6

I'm unable to build RPM w/ nagios 3.5.0 (last one that worked for me was 3.2.3): # md5sum nagios-3.5.0.tar.gz aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz # rpmbuild -tb nagios-3.5.0.tar.gz ...
-4
votes
1answer
125 views

Linux File that lost it's attribute displaying only “??????” [closed]

In my Redhat Linux 6 I have a very strange file that doesn't leave the system no matter how I delete it "web.process" CANNOT BE DELETED. It's in /opt/folder/web/tmp/default/web.process This ...
2
votes
2answers
150 views

Best practices in keeping older versions of RHEL secure?

We are running RHN Satellite and RHEL 6.3 servers with a frozen RHEL 6.3-channel. What are the best practices in keeping older RHEL 6.3-servers secure? It is important that: We do not get new ...
2
votes
1answer
177 views

Find out limits of other user

On CentOS 6.4 / 64 bit - how to find the limits of the user "nobody"? Because I can not just su - nobody and call ulimit -a: # id nobody uid=99(nobody) gid=99(nobody) groups=99(nobody) # su - ...
2
votes
1answer
253 views

Why is ATLAS not detected on RHEL when I try a SciPy installation through pip?

I'm using RHEL6, Python 2.6.6, and trying to install SciPy through pip. [user@server ~]$ sudo pip install scipy <snip> atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ...
0
votes
1answer
264 views

Choosing bonding mode between RHEL server and two separate switches

I have one RHEL 6 server with two NIC ports (each Port is connected to different switch). I need to create bonded interface from those two physical ports. Which bonding mode should I use? I don't ...
1
vote
2answers
478 views

Home directories created with wrong Selinux context

[root@tst-01 home]# ls -Z drwxr-xr-x. ujjain users system_u:object_r:home_root_t:s0 ujjain drwxr-xr-x. johndoe users system_u:object_r:home_root_t:s0 johndoe The selinux ...
0
votes
1answer
77 views

How can I make the root logical volume smaller without problems and downtime?

[root@tst-01 puppet]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert lvhome vg00 -wi-ao 2.00g lvroot vg00 -wi-ao 38.75g lvswap vg00 -wi-ao 4.00g lvtmp vg00 -wi-ao ...
4
votes
1answer
99 views

How to prevent installation of incompatible rpm packages

I have two rpm packages wich should not get installed together. After googling around i assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What ...