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
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
173 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
1answer
259 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
386 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
468 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
4k views

How do I install HP CentOS repo's

I have been searching for the answer but unable to find any instructions that work for me. I want to install the HP CentOS repo for my new ML310e Gen8 Server to I can setup the insight management ...
3
votes
1answer
3k views

where does rpm install custom gpg keys?

Where does CentOS/RHEL 6 store custom gpg keys? I thought /etc/pki/rpm-gpg but I installed nginx's key but unable to find it. I see it was imported properly but where is it? wget ...
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
173 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
719 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 ...
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
2answers
3k views

How do I add olcAuditLogConfig to openldap on Centos 6

Regarding to 'man slapo-auditlog' I should just need to add the following. dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: ...
3
votes
1answer
865 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
2k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
3
votes
1answer
554 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
865 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
55 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
542 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
321 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. ...
3
votes
1answer
2k 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
509 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 ...
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
6k 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
693 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
191 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
27 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
125 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
585 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
68 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 ...
3
votes
0answers
113 views

Centos 6.6 ignores inittab – always boots to runlevel 3

Well, like the title says, I have inittab set to id:5:initdefault but it always boots to runlevel 3 (as confirmed by "runlevel" and "who -r") Typing 'init 5' brings the GUI up. Also, appending '5' ...
3
votes
0answers
2k views

Unable to change vm.max_map_count for elasticsearch

Prehistory I have elasticsearch and SugarCRM7 running on CentOS 6.5. Every day I face the same problem: java outOfMemory error. That happens because of small vm.max_map_count value, 65530 only when ...
3
votes
1answer
284 views

SE Linux - can't change SELinux booleans with sudo

I think this is the correct place to put this, rather than in StackOverflow Either way, we have a CentOS 6.6 server. SElinux isn't allowing us to enable httpd_can_sendmail I've tried this.... sudo ...
3
votes
1answer
5k views

Putty: Incoming Packet was garbled on decryption

I am unable to connect to my server on my local network (VM). I have multiple servers I am able to connect to. When I try to putty into the server, I get the message Incoming Packet was garbled on ...
3
votes
1answer
2k views

Where is the “Server Settings” Menu?

Salvete! I just installed CentOS 6 on a new box, and am looking for the "Server Settings" menu in order to configure SAMBA. I have a menu for System, and therein lie "Preferences" and ...
2
votes
3answers
786 views

Is It a Bad Idea to Install the OS GUI on a Server That Will Host Asterisk?

We have a server onto which we plan to install CentOS 6.2. The server will host Asterisk for our office, but is not a webserver. If we install the minimal installation for CentOS - that is, no GUI ...