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

2
votes
2answers
2k views

CentOS 6: Can not start NFS

I am unable to start the NFS service. When starting there is no error. But the services are stopt after it. No messages at all in /var/log/messages. Same happens to rpcbind serivce. Any idea what this ...
2
votes
1answer
77 views

Centos SMTP error command not implemented

I have a vps with Centos 6.5 and postfix installed. When I want to connect to a smtp server like google or mail gun, I get the error 502 command not implemented. Can anybody help me please? This is ...
2
votes
2answers
1k views

PECL command produces long list of errors

Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, I realized 5.5 is not ...
2
votes
2answers
207 views

Exactly how much is backported into RHEL [qemu-kvm specifically]? Only security patches, or perfomance improvments too?

https://access.redhat.com/site/security/updates/backporting/?sc_cid=3093 http://froginapan.blogspot.com/2012/07/redhats-backporting-activity.html As the above two links suggest, only security patches ...
2
votes
1answer
966 views

What is “state RELATED,ESTABLISHED” in iptables? [duplicate]

2064 871K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00 0 0 DROP tcp -- * ...
2
votes
2answers
4k views

How can I find current ssh protocol version of current connection?

I connect to a linux machine (centos 6.4) ussing putty. Except from fact that I can set putty to only use one type of protocol, how can I find the current's ssh connection version (SSH1 or SSH2)?
2
votes
2answers
45 views

How can I distinguish the base packages from the rest when running rpm -qa?

I wrote a script which along other tasks connects to a remote server and pulls a list of all installed packages and installs them, Like so: echo -e "\e[36m#===# Getting list of packages to install ...
2
votes
1answer
1k views

How to Install php ssh2 in CentOS 6 powered Nginx VPS

I'm trying to install php-ssh2 on my CentOS 6 powered VPS. I'm using Nginx as web server. I want to tell you guys that I've installed php-fpm using REMI's repo. I'm not a VPS expert. While setting up ...
2
votes
2answers
8k views

How downgrade PHP 5.5 to 5.4 or 5.3 on centos6

I have server running centos 6, i recently upgraded the php on the server to version 5.5 and noticed that some of the scripts in laravel framework i use are breaking. i get this error Parse error: ...
2
votes
1answer
3k views

Use apache as a HTTPS to HTTP Proxy

I'm trying to configure Apache on Centos 6 to proxy and reverse proxy traffic to an http server of a third party provider. The setup should work like this: https://mydomain.com/proxy/ proxies all ...
2
votes
1answer
4k 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 ...
2
votes
1answer
641 views

How can I fix this Samba setup on CentOS?

I'm trying to set a Samba share in /home/share on CentOS. I do not have great experience with setting up that kind of service. I've been following guides and recommendations here and there, but ...
2
votes
4answers
7k views

apache won't start httpd service start centos 6.3

I've installed CentOS 6.3 and i run the command yum install httpd after successfully installed I've typed in the terminal service httpd start nothing happend i did opened the browser and typed ...
2
votes
2answers
122 views

Determine which apps run on startup

I have a CentOS 6 32bit VPS and I'd like to determine, How do I know which apps automatically run on startup? EDIT: I have tried chkconfig --list but I don't understand what these lines meant: ...
2
votes
1answer
674 views

CentOS and iptables Logging

I am working with some CentOS rules and would like to be able to log the dropped items from iptables out to a separate file. What is the best way to setup CentOS to log dropped iptables matches to a ...
2
votes
1answer
947 views

How can I enumerate SAS addresses/WWNs in Linux?

I have some SAS devices in a server, I would like to find out what their SAS addresses are. How can I do that in Linux? I'm using CentOS 6.
2
votes
1answer
494 views

Hotplug scripts not working xen [closed]

I am using CentOS 6.5 64 using this script to install xen on server yum install http://fedora.cu.be/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install centos-release-xen yum install xen ...
2
votes
1answer
2k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
2
votes
2answers
362 views

rsnapshot: WARNING: Some files and/or directories in / vanished during rsync operation

I once in a while get this message in my rsnapshot log, and an identical message in /var/log/messages. Unfortunately, there is no other deviation from normal output, despite loglevel 5 in ...
2
votes
4answers
205 views

Implement server-side (CentOS) measures to prevent hosted mailboxes sending bucket loads of spam

We have a number of hosted clients on one of our servers. One client in particular, which has four active mailboxes is repeatedly getting just one (and always the same one) mailbox infected so that ...
2
votes
2answers
1k views

Creating SSH key on Jenkins Master - Centos Yum Install

I have installed Jenkins on a Centos VM as I am looking at replacing Bamboo, I have it all up and running by following the install instructions. That went fine, I then wanted to spin up a Slave, I ...
2
votes
1answer
184 views

1024 connection limit on a single port

I'm running a shoutcast v1 streaming server on a CentOS box. When I start the server as root, I can stream to 1200-1300 clients without a problem. However, when I run the server as a different user ...
2
votes
2answers
163 views

What is the lowest udp source port for puppet dns queries?

On CentOS 6.4 and 6.3 I have seen puppet regularly use ports below 32768. This is contrary to the setting for kernel-assigned ports according to: cat /proc/sys/net/ipv4/ip_local_port_range 32768 ...
2
votes
1answer
143 views

Where is $HOME set in Centos 6.3

WHere is the $HOME environment variable set in Centos 6.3? I've looked in: /etc/profile /etc/profile.d/* /etc/bashrc ~/.bash_profile ~/.bashrc Also, the second to last column in /etc/passwd has ...
2
votes
2answers
2k 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 ...
2
votes
2answers
805 views

anacron screws my crontab?

My system is CentOS 6.3 , I notice my /etc/cron.daily are not executed at 4:01 AM , instead , these scripts are executed at random time . I searched and seemed it is 'anacron' that screws up my ...
2
votes
2answers
2k views

How to setup virtualhost for domain on CentOs 6.2 using apache2?

First time LAMP and domain setup on CentOs. Previous experience of this is in Ubuntu. Working on a dedicated server package of my local ISP. They installed default CentOs 6.2 and redirected my domain ...
2
votes
1answer
277 views

Which log file holds the errors that appear on the server's physical console on CentOS?

On a CentOS 6 Server, sometimes messages (errors, warnings) appear on top of the login prompt on the monitor physically attached to the server. I can't seem to find a log file (/var/log/?) that these ...
2
votes
3answers
8k views

How to Make Windows Network Visible to Linux Server Box?

Salvete! I have a machine running CentOS 6.2. In the GUI, if I click on "Network", I get a messagebox saying: "Unable to mount location - Failed to retrieve share list from server" I can ping the ...
2
votes
1answer
2k views

How can I change a partition mount to var and still boot up?

My first question here on server fault. In my haste, I set up a local server with Centos 6.2 and let the Centos installer handle the partitions. Big mistake, I know. Anyway, the only problem I have ...
2
votes
2answers
236 views

inotifywait not reacting

I have a very simple script to log when new files are created, in fact, for test purposes I told it to watch for any event. #!/bin/sh ...
2
votes
2answers
521 views

Permissions somehow block access to files in CentOS 6

A friend of mine hosts some of the websites he has built for his clients. Somehow he messed up the permissions giving all clients' websites a 403 error upon loading. When I ssh to his server and log ...
2
votes
2answers
3k views

Testing SSL performance on Nginx

I'm running nginx 1.0.0 on CentOS 6 x86_64 with stock OpenSSL. Below are results of openssl benchmarking. sh# openssl speed aes-256-cbc OpenSSL 1.0.0-fips 29 Mar 2010 built on: Sat Jun 25 04:58:15 ...
2
votes
1answer
94 views

named can not find a certain domain

I have setup named in chroot and it has been working for some days. Now it does not find a certain domain's IP: # dig arstechnica.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 ...
2
votes
1answer
459 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 ...
2
votes
1answer
2k 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 ...
2
votes
2answers
66 views

ESXI Snapshots on a CentOS VM

On reverting back to a snapshot on one of my CentOS VM's the date is obviously set back to the original snapshot date. I was wondering if anyone knew of any other changes to the server (apart from ...
2
votes
2answers
4k views

Installing CentOS 6.4 on Xen 6.0: Install hangs on “Switching to clocksource hyperv_clocksource”

When I tried to install CentOS 6.4 on a Citrix XenServer 6.0, after I hit install, the installation hangs at "Switching to clocksource hyperv_clocksource" I have installed CentOS 6.0 without this ...
2
votes
2answers
2k 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 ...
2
votes
1answer
647 views

IPTables - Rules not working

I was looking into some new rules but I can't seem to get them to work at the moment, The error i keep getting is iptables: Applying firewall rules: iptables-restore: line 36 failed and that's the ...
2
votes
2answers
1k views

Centos 6.3 - Error during filesystem check (/opt)

When I rebooted my server I got the following error: What can I do to get the server back up? I tried running lvremove /dev/vg1/snaps but get the message: File based locking initialization failed I ...
2
votes
1answer
222 views

MongoDB ReplicaSet slow read performance

I successfully basic configure my replica set, but i noticed slow read performance. I have 2 mongo servers and 1 arbiter in my replica set. All are running on Centos 6.3 minimal setup (just ...
2
votes
1answer
984 views

Centos 6, local yum repo, and multiple versions of the same rpm

I'm trying to set up a really simple local repo. I want to have a basic repo with two versions of only one rpm, so I did: mkdir /packages/x64 copy two rpms to /packages/x64 [root@repo x64]# ...
2
votes
2answers
6k 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: ...
2
votes
3answers
2k 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 ...
2
votes
3answers
7k views

CentOS qpidd default network service

I just did a clean minimal net install of Cent OS 6. I did a netstat just to see what was listening: tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1165/master tcp 0 0 0.0.0.0:5672 ...
2
votes
1answer
3k views

Nginx + uWSGI + Django performance stuck on 100rq/s

I have configured Nginx with uWSGI and Django on CentOS 6 x64 (3.06GHz i3 540, 4GB), which should easily handle 2500 rq/s but when I run ab test ( ab -n 1000 -c 100 ) performance stops at 92 - 100 ...
2
votes
3answers
4k 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 ...
2
votes
2answers
2k 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: ...
2
votes
1answer
450 views

Device eth0 does not seem to be present on new kernel with virtualization modules loaded/compiled on kernel 3.15.6

cat /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5D:02:14:22", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ...