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
2answers
696 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
207 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
106 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
16k 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
210 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 ...
7
votes
1answer
5k 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
76 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
66 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
755 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
293 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
147 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
101 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
2k 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
1k 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
819 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
630 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
102 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
125 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
173 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
44 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
3k 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
536 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
209 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
263 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
178 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
64 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
551 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
431 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
66 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
2k 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
155 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
65 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
548 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
828 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 ...
6
votes
3answers
6k 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
139 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
1k 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
501 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
134 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
199 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
227 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 - ...
3
votes
1answer
515 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
618 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
1k 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
89 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
133 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 ...
-4
votes
1answer
301 views

Downgrade Openssh on RHEL6 [closed]

Is it ok to downgrade openssh from 5.3 to 4.3 in rhel6 as we are facing compatibility issue between openssh 3.1 client and openssh 5.3 server(SCP file transfer hangs). Please we cannot upgrade ...
2
votes
4answers
2k views

How to make RHEL have persistent local hdd name?

I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux(RHEL)6.4. Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving ...
1
vote
1answer
228 views

Solaris SMF to Upstart on RHEL6

I am planning a migration from Solaris/x86 to RHEL6. Part of this migration will be migrating services from SMF to the RHEL6 equivalent, which appears to be upstart. While init.d scripts still seem to ...
0
votes
1answer
121 views

ip6tables TPROXY not working

I have a problem, I need to have to run a java program on a port < 1024. authbind and jsvc are no alternatives, it is simply decided not to use. But using ip6tables -t mangle -A PREROUTING -p ...