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
3answers
192 views

Is it necessary to disable root account on linux servers?

I am planning to deploy some CentOS linux servers and I've read many articles that suggested to disabled root account. I am just wondering is that necessary? If not, what's the best security policy?
2
votes
2answers
2k views

Installing lighttpd on CentOS 6.3 yum 404 errors

I have a CentOS 6.3 x86_64 server and I am trying to install lighttpd. I have installed the EPEL repo on the server using the following: rpm -Uvh ...
2
votes
3answers
1k views

Create an image of a CentOS system

I provide a server (and site) to a client via Rackspace Cloud Hosting, and my client wants to now host the entire thing within his own account. Since it's not possible to just transfer the ...
2
votes
1answer
3k views

CentOS6 - Apache2 working but when installing / enabling SSL, server won't start because of permissions error

I'm attempting to install Apache with SSL on CentOS6 to use as a development server. I've been following the directions posted here to get SSL working: http://wiki.centos.org/HowTos/Https (Note: ...
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
107 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
2k 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
218 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
1k 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
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
2k 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
9k 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
4k 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
660 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
8k 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
3k views

How to uninstall git installed from the source? [closed]

I installed the git using this article. Now I want to uninstall the git. How to do it?
2
votes
2answers
123 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
683 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
522 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
401 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
217 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
2k 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
196 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
165 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
150 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
827 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
291 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
3k 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
238 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
523 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
107 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
2answers
2k 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 ...
2
votes
1answer
555 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
3k 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
3answers
6k views

Update from PHP 5.3 to 5.4 on CentOS 6.3 while keeping Plesk

I need to update the servers PHP version, but when I try to remove the old php to install the new PHP 5.4 via yum it wants to remove the whole plesk suite which I want to keep. I followed this guide ...
2
votes
1answer
689 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
225 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
1k 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 ...