CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

learn more… | top users | synonyms

3
votes
2answers
2k views

How to limit connection speed

I am on CentOS 6.4 and am using Plesk v11.5.30 although this doesn't necessarily need to be done via plesk. I am looking to limit the connection speed to a specific website. However the only options ...
3
votes
3answers
809 views

Forward secrecy in Nginx (CentOS6)

I am trying to enable Forward secrecy in CentOS with nginx webserver. What I have tried I have read some tutorials and seems like we should have nginx, openssl latest versions to enable it. So I had ...
3
votes
2answers
2k views

Can I use the worker MPM with mod_php?

After reading this answer, I decided to change httpd's MPM on my server to worker. But while editing /etc/sysconfig/httpd, I noticed this comment: # The default processing model (MPM) is the process-...
3
votes
1answer
176 views

puppet inserts two lines as one into a configuration file

I've created the next Puppet manifest file: node 'puppetmaster' { package { "screen": ensure => "installed"} $enhancers = [ "pixman","pixman-devel","libXfont","tigervnc-server" ] ...
3
votes
1answer
6k views

Explain CentOS 5 vs. CentOS 6 - why are releases not sequential?

I was confused about why my new server had CentOS 5.9 installed on it, when CentOS 6.3 is available. But CentOS 5.9, it turns out, is actually the latest release. Why are 5.x versions being released ...
3
votes
3answers
5k views

How to reduce the SATA link speed of drive in CentOS?

How do I make CentOS run SATA drives at 3Gb/s at boot? Background: I'm having an issue with a motherboard that claims to support 6Gb/s SATA transfer speeds, but when using 4 drives on it, in a ...
3
votes
2answers
10k views

CentOS 6 WiFi using NetworkManager and Without GUI tools

I am using CentOS 6, trying desperately to get Wifi working via a ifcfg-wlan0 file and fudging with /etc/wpa_supplicant/wpa_supplicant.conf. I do not have an X server, so I do not want to use the GUI ...
3
votes
2answers
4k views

TCP Messages Merged?

I have an application that sends 100 of 186-byte (excluding headers) TCP messages back to back without gap from host A to host B. I ran tcpdump to capture the packets on host A (where the sender is), ...
3
votes
2answers
73 views

Remote SSH login blocked without local Gnome login

I installed CentOS 6.7 from the full install media on a desktop machine at home. sshd has been reconfigured for private key authentication only. When I go to log in via SSH from my laptop (OS X ...
3
votes
1answer
10k views

xz compression not available - yum error on centos [closed]

I want to update my php to new version. Dealing with this source: https://webtatic.com/packages/php56/#comment-139854 And now I can't use yum commands. Anytime when I'm trying install something or ...
3
votes
1answer
186 views

How to keep specific old kernels around after a yum update

I know that in CentOS 6.x, you can put the following line in /etc/yum.conf which tells yum to keep the last N kernels (by default this is set to five): installonly_limit=5 However, there are cases ...
3
votes
2answers
5k views

Incrond running but not executing commands CentOS 6.4

I have copied this question over here from StackOverflow... I have installed incron from the EPEL repository (0.5.9) (before you ask; YES, I also tried downloading the source and compiling locally (0....
3
votes
1answer
262 views

Unable to access NTPD server except on loopback address Centos 6

I can only get results from: ntpq -p localhost or ntpq -p 127.0.0.1 If, from the same server, I try it as either the external IP address or domain name then it times out with no response. ntpq -p ...
3
votes
3answers
410 views

Yum update notification when logging on to CentOS server remotely

I have 3 CentOS 6.3 Virtual Servers that I manage. I have them all set-up and configured, but am notoriously bad with remembering to run yum update on them from time to time. Is there anyway that I ...
3
votes
2answers
3k views

rpmbuild on CentOS 6.3 64-bit - broken dependencies

I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server. Here is the spec file: Name: test-fms Version: 1.0 Release: 1%{?dist} Summary: my FMS Package ...
3
votes
2answers
10k views

A lot of TCP: time wait bucket table overflow in CentOS 6

we have the following output from dmesg: __ratelimit: 33491 callbacks suppressed TCP: time wait bucket table overflow TCP: time wait bucket table overflow TCP: time wait bucket table overflow TCP: ...
3
votes
3answers
469 views

IPTables Config to Drop/Reject IPs based on attempts

I was reading over some of CentOS's documentation in regards to securing SSH and I noticed there was a rule you could implement in IPTables to DROP IP's that attempt to access your SSH port based on a ...
3
votes
3answers
3k views

Exim on Centos - Configuring gmail smtp

I want to set up Exim to send the mails through my gmail (actually my domains google apps). I have added the router, transport and authenticator. Specifically: gmail_route: driver = manualroute ...
3
votes
1answer
2k views

How to replace QEMU binary with newer version for libvirt live snapshots

This is my first post, so please be gentle. :) My CentOS 6.5 box has a QEMU binary that does not support live external snapshots. This is the command I attempt on the virsh CLI, and its output: ...
3
votes
2answers
175 views

How to disable/delete network manager

I'm on CentOS 6.4 64 bit in rescue mode and network manager keeps overwriting my resolv.conf and the command chkconfig is "unknown" so how do I disable/delete network manager?
3
votes
2answers
4k views

Changing memory allocator to Jemalloc Centos 6

After reading this blog post about the impact of memory allocators like jemalloc on highly threaded applications, I wanted to test things on a larger scale on some of our cluster of servers. We run ...
3
votes
1answer
1k views

log4cxx for CentOS 6

I'm new to CentOS (regular Ubuntu user, but used Slackware and Gentoo a long time ago), and I'm trying to create a package for some software that depends on log4cxx. Unfortunately, there isn't a ...
3
votes
3answers
742 views

Nagios Hardening

I've been trying to look into hardening Nagios (if there is such a thing...), but haven't found anything too definitive on what to do or guidance on what to even look at. I'm wary to keep Nagios ...
3
votes
1answer
2k views

How do I change permissions and ownership after git-pull, to match folder?

The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
3
votes
2answers
1k views

iptables-save fails to write to file

I can run iptables-save and dump output to stdout but if I redirect to a file - the file is empty: [root@nhd-vlx2 tmp]# iptables-save # Generated by iptables-save v1.4.7 on Sun Dec 18 15:11:...
3
votes
3answers
6k views

Compiling realtime kernel from RHEL 6 MRG sources on CentOS 6

I'm trying to compile kernel-rt-2.6.33.9-rt31.75.el6rt.src.rpm from RHEL6 MRG source RPMs on Centos 6 x86_64 system. It's first time I'm doing this, so I did research on how to do this properly. From ...
3
votes
1answer
870 views

Where do I find USEFUL official documentation for LDAP authentication on Centos/RHEL 6?

Does it exist any official installation documentation about how to setup an LDAP server that I can connect my clients to with authconfig. I'm will be Centos 6 and RHEL 6.1. What I can find is this. ...
3
votes
1answer
579 views

Unable to allow users access to SVN repo, what could be the cause?

I've installed a SVN server and configured a repository inside it. It is accessible by Apache. I've allowed access to 3 users, here are the repository conf files: [root@afdev conf]# egrep -v '^#' * ...
3
votes
2answers
935 views

How can I keep important VMs in memory without disabling swap?

VM Host -> Xenon E5-2440 w/ 48G mem... Everything runs CentOS6.5 (2.6.32-431) I have 4 guest VMs running each w/ 2G of memory. Their disk images are local files. The host machine is also running a ...
3
votes
1answer
56 views

Unable to browse to apache service, Service is running

Summary I have a very peculiar problem. I am not able to open the "It Works!" page after installing a fresh server with apache. I am able to ssh to the box (from outside the network). Apache seems to ...
3
votes
1answer
3k views

RSA server certificate CommonName (CN) `MYSERVER' does NOT match server name

I just launched a new website and installed a certificate on it and I started getting the following error messages in the ssl_erro_log: [Fri Jun 21 15:24:53 2013] [warn] RSA server certificate is a ...
3
votes
2answers
577 views

Centos kdump hangs up

Trying kdump on CentOS 6.3. On VMWare everything is fine and on oops crash kernel is loaded and vmcore created. On phisical machine I see oops message, but crash kernel is not started. I used ...
3
votes
1answer
1k views

vsftpd - Allow access certain user only from certain IP range

I am using CentOS 6 (64bit) and have VSFTPD installed. I have two different users for vsftpd: privateuser and publicuser. I need to configure that only privateuser can login to the ftp server from ...
3
votes
1answer
329 views

Sync virtual machine hostname to displayName in VMware ESXi 5.1

How can I read the paramater called displayName in the .vmx file or "Virtual Machine Name" in vSphere Client from within the VM. If this is possible with vmtoolsd I haven't found it yet. Situation:...
3
votes
1answer
3k views

httpd, vsftpd and the annoying selinux

I have a CentOS 6.3 installed with httpd running and vsftpd but I am unable to balance permission between the user able to upload over ftp and their website working. What I do: I create a user with ...
3
votes
2answers
19k views

How to add interface alias on RHEL6 or CentOS6 with NetworkManager?

How to add a network interface alias (for example eth0:0) on CentOS6 or RHEL6 in the "correct" way that is through NetworkManager without NM_CONTROLLED=no. And this has to be done without GUI. Thank ...
3
votes
2answers
2k views

How can I make a CentOS 6 AWS AMI from a loopback?

I am able to make a Centos 5.x AMI by following steps similar to those outlined here: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-loopback-s3-linux.html and detailed here: ...
3
votes
2answers
526 views

General Protection Fault error on Centos 6 while executing a python script

I have a python(fabric) script running on a centos 6 box that parses configuration files and daemonizes MRTG process and dumps rrd files a folder in a shared file system. All goes well but midway to ...
3
votes
2answers
2k views

windows vnc via ssh to kvm guest - connection failed

I've a headless CentOS6 running KVM and I want to configure a guest via vnc. The problem is my working machine is Win7. I created a guest using command: sudo virt-install --name=c6-64 --disk path=/...
3
votes
1answer
1k views

What is fastest way to copy a sparse file? What method results in the smallest file?

BACKGROUND: I'm copying a sparse qcow2 VM image that is 200GB in size, but has 16GB of allocated blocks. I've tried various methods to copy this sparse file within the same server and have some ...
3
votes
2answers
7k views

vsftpd - The data connection could not be established: EHOSTUNREACH - No route to host

I have a VPS running vsftpd v3.0.2 on CentOS 6.4. When I try to connect to my ftp server I get the error: The data connection could not be established: EHOSTUNREACH - No route to host The console ...
3
votes
1answer
730 views

Kickstart partitioning with ext4 in autopart mode?

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file? The default filesystem type with autopart directive used is ext3, which ...
3
votes
1answer
2k views

supervisor.con on centos 6 [closed]

I installed supervisor using easy_install, however, the conf file seems to be missing, and I really wanted to have a base to start my configuration. Does anyone know where can I find this file or an ...
3
votes
1answer
3k views

Installing Centos 6 using virt-install over SSH with no graphics - beginner

I have a Centos 6 box with virtualised CPUs that is ready for installing a virtual OSs. I am installing remotely over SSH and my Centos 6 box has no GUI (no GNOME etc) so it's purely command line. ...
3
votes
1answer
196 views

Server Unresponsive with Spike in Multicast Packets Received

I got a server from UbiquityServers about a week ago, I installed a simple Apache server and it just serves up images. The server is under very little load because it simply is an origin server behind ...
3
votes
0answers
41 views

SMB3 on centos fluctuating read/write speeds

I recently got two 10GbE cards and have been testing a SMB share from centos 6.4 with it as the SMB server. The SMB client end is a Mac and I don't seem to be maximizing the network speed because it ...
3
votes
0answers
146 views

SSH - 1s hang at “Entering interactive session” (Not DNS; possibly SELinux related)

I'm having an issue on CentOS 6.7 where SSH logins are 1s more than any non-6.7 machines on this network (e.g. 7.2, 5.11). Running debugging on the client side showed the hang at "Entering interactive ...
3
votes
2answers
688 views

Redis: Error moving temp DB file on the final destination: Operation not permitted

I have a nodeBB install which relies on Redis as the data store. Its just a test install at the moment while I iron out any problems. The Redis instance stayed up for a few days but then fell over ...
3
votes
0answers
74 views

Low Entropy on Container

I am thinking my entropy level may be low? cat /proc/sys/kernel/random/entropy_avail I am around 132-178 on average. pool size is default 4096 (this is a container on a virtualizer by the way) I ...
3
votes
0answers
23 views

Linux: What is the right way to configure the HOSTNAME directive in /etc/sysconfig/network? [duplicate]

There's a (quiet) argument between me and my boss in regard to the right way to configure HOSTNAME directive in /etc/sysconfig/network file: As far as I know, in the HOSTNAME directive you should ...