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
0answers
94 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
477 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
362 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
152 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 ...
4
votes
1answer
4k 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. ...
7
votes
3answers
3k 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
1k 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
759 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
117 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
177 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
324 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
50 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, ...
11
votes
2answers
7k 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
749 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
320 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
436 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
302 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
740 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
568 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
97 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
200 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
70 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
788 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
1k 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
9k 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
196 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
2k 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
692 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
148 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
268 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
285 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
945 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
968 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
3answers
2k 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
98 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
169 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
414 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
3k 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
286 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
137 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 ...
4
votes
3answers
6k 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 ...
0
votes
1answer
157 views

Adding an interface-specific gateway

Desired result: Assign an interface-specific gateway in the circumstance that are also receiving general DHCP-supplied gateway settings. Current situation: Interface-specific gateway setting is not ...
1
vote
4answers
8k 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 ...
2
votes
2answers
473 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
400 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 ...
9
votes
3answers
9k 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 ...
1
vote
2answers
806 views

RHEL6: Specify Rescue Method from initrd append options

I have a PXE menu configuration that I'm working on. It incorporates the RHEL6 Rescue option in order to perform repairs after booting from the network. The Rescue boot environment asks three basic ...
-4
votes
1answer
426 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 ...