0
votes
0answers
25 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
49 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
0answers
161 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
vote
1answer
123 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
181 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 ...
6
votes
1answer
97 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
97 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 ...
0
votes
2answers
71 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 ...
0
votes
1answer
74 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
254 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
21 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
votes
1answer
54 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, ...
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
62 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
1answer
988 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
193 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, ...
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
108 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 ...
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
52 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
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 ...
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
360 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
515 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
1answer
638 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
322 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 ...
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 ...
1
vote
2answers
482 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 ...
1
vote
1answer
154 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 ...
4
votes
3answers
2k views

Understanding RedHat's recommended tuned profiles

We are going to roll out tuned (and numad) on ~1000 servers, the majority of them being VMware servers either on NetApp or 3Par storage. According to RedHats documentation we should choose the ...
1
vote
4answers
2k views

UNEXPECTED INCONSITENCY run fsck manually redhat

I erroneously restarted my server before completing a filesystem resize. Here's the command that ran successfully before restarting: lvresize -L -400GB /dev/mapper/vg_yavin-lv_home At boot, I get ...
1
vote
2answers
127 views

Reallocate Storage in Red Hat 6

Is it possible to (safely) reallocate storage space in /home to the root filesystem? $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_yavin-lv_root 50G 35G ...
0
votes
2answers
150 views

rm: cannot lstat `cd1/Linux/nic/UBUNTU11_64/âââ\033\nwâ·.αÃo': Input/output error

am trying to delete folder in My rhel machine , but is giving error like rm: cannot lstat `cd1/Linux/nic/UBUNTU11_64/âââ\033\nwâ·.αÃo': Input/output error folder permissions are rwx to all ...
7
votes
3answers
3k views

RHEL 6.4: Mode 1 channel bonding not failing over

I'm running RHEL 6.4, kernel-2.6.32-358.el6.i686, on an HP ML 350 G5 with two onboard Broadcom NetXtreme II BCM5708 1000Base-T NICs. My goal is to channel bond the two interfaces into a mode=1 ...
-5
votes
1answer
257 views

What are equivalent parameters of adduser debian command in RHEL6? [closed]

None of this options doesn't exist in RHEL6. /usr/sbin/adduser --disabled-login --gecos 'GitLab' git What is equivalent parameters for disabling account (no locking, it's different) and adding ...
2
votes
4answers
764 views

Server freezes while installing Redhat Enterprise Linux Server 6

We've tried both the first options Install or upgrade an existing system Install system with basic video driver When trying option #1, it gets to a screen that has a solid cursor about halfway ...
2
votes
1answer
151 views

varnishncsa does not show any output

I have varnsih setup on my RHEL6.x. While the varnish, varnishlog and varnishstats show proper data varnisncsa does not log any data even when run without any options defined. I have lsofed all the ...
0
votes
1answer
2k views

What is the difference between init 6 and reboot on Red Hat / RHEL / CentOS?

In Linux, the init 6 command gracefully reboots the system running all the K* shutdown scripts first, before rebooting. The reboot command does a very quick reboot. It doesn’t execute any ...
1
vote
2answers
91 views

How can you prompt for the EULA in Kickstart?

I am trying to modify a Kickstart script so that it does not auto-accept the EULA (which it seems to skip right now.)
1
vote
1answer
122 views

Apache forces Cache-Control: private automatically for HTTPS requests

I'm trying to get browsers to cache assets over HTTPS. I am using MD5 fingerprinting method to allow long-term caching and I have this part working OK. What doesn't work is setting the Cache-Control ...
1
vote
2answers
541 views

Why is raid-check using so little io bandwidth?

Just out of curiosity, we have a RHEL server running software RAID. There's a cronjob which kicks off a raid data check every so often to check the consistency of the array. From my understanding, the ...
0
votes
1answer
197 views

Linux/RHEL Server Down with “xinetd” Alerts?

Suddenly one of my RHEL 6 Server [VM] (serving Apache on it also) went down and when i rebooted it, i saw several of following /var/log/messages as latest before it went down: May 4 08:16:37 ...
1
vote
0answers
106 views

Xvfb on RHEL6 - can't find the package

This looks like an already discussed subject, but, I can't find any solution for it, so, I gonna try it again. I look some questions and try all the given solutions, with no success. I tried to ...
3
votes
1answer
241 views

Keep RHEL at a particular minor revision level? [duplicate]

I'm working with a large database platform (Or#&%@) that requires a specific revision level of Red Hat Enterprise Linux. In this case, it needs EL6.2 in order to retain support and compatibility ...
0
votes
0answers
78 views

Logrotate 'nocompress' not honoured

Using RHEL6.1 & logrotate 3.7.8-12. I'm able to use logrotate & rotate my files. What I don't want is compression. For some reason, even after specifying 'nocompress', some files are getting ...
0
votes
0answers
202 views

Upgrade PCRE to v8 on Red Hat 6.3

The latest version of PCRE available in the Red Hat Enterprise Linux 6.3 repo is v7.8 and the latest version of PHP available is 5.3.3, compiled against that external PCRE v7.8 library. (PHP normally ...
-1
votes
1answer
632 views

updates-testing repo for CentOS 6?

What is the equivalent CentOS 6 repo for the updates-testing repo of RHEL/Fedora? I am trying to follow the node.js installation instructions here and am having trouble figuring out what repo to add ...