CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL.

learn more… | top users | synonyms

2
votes
2answers
2k views

Compiling Gearman PHP Library for CentOS 5.8

I've been trying to get Gearman compiled on CentOS 5.8 all afternoon. Unfortunately I am restricted to this version of CentOS by my CTO and how he has our entire network configured. I think it's ...
2
votes
1answer
7k views

Trying to install phpmyadmin on centos - mysqli missing

Here is the error I get when trying to open my phpmyadmin directory: phpMyAdmin - Error The mysqli extension is missing. Please check your PHP configuration. I have done the steps in the following ...
2
votes
2answers
1k views

MySQL InnoDB ext3 block size

I'm looking for recommendations for ext3 filesystem block size for MySQL 5.6 using InnoDB. Running a CentOS 5.4 VM in VMware ESXi 5, VMFS 5 datastore on NetApp FibreChannel LUNs (which have 4k chunk ...
2
votes
1answer
608 views

Cloud Server Port says connection refused?

I'm playing around with using a Rackspace Cloud Server (running CentosOS 5.5) as a server for the Beanstalk Message Queue system. I'm starting Beanstalk with the command line of "Beanstalkd -d -l ip ...
2
votes
5answers
3k views

Second network card configuration not working

I have 4 servers running Centos 5. All of them have two ethernet network cards. I have configured 192.168.1.x IP addresses on their eth0 card. They are all connected to the same switch using their ...
2
votes
1answer
5k 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
9k views

How enable pdo_mysql

I am trying to install SpaceBukkit. I was wondering how I enable pdo_mysql. When trying to setup the MySQL part I get this error: The "pdo_mysql" extension is NOT loaded in your `php.ini`! Make sure ...
2
votes
3answers
935 views

Server sending out packets bigger then MTU

I have a server that I am transferring data off of. We were having some problems that were traced back to the fact that the server is sending out jumbo size frames despite the fact that ifconfig is ...
2
votes
2answers
1k views

What is the correct mail set up for multiple domains on one server?

I have a machine (centos 5) with one external ip address. On that machine I have many virtual hosts with a few different top level domain names and sub-domains under those eg. sub1.domain1.com ...
2
votes
3answers
984 views

Which services to disable on a CentOs 5.8 web/database server?

I have just setup my CentOS 5.8 64 [final] server as a webserver. Specs: 2x E5620 Intel CPU, DDR3 RAM, Hardware Adaptec RAID 10, 4x SAS drives. I have installed myself: Nginx PHP-FPM MySQL ...
2
votes
2answers
17k views

Too many Bind query (cache) denied, DNS attack?

Once Bind crashed and I did: tail -f /var/log/messages I see a massive number of logs every second. Is this a DNS attack? or is there something wrong? Sometimes I see a domain in logs like this: ...
2
votes
1answer
5k views

apxs2 is missing so I can't install Apache mod x-sendfile

I have a CentOS 5.8 server with Apache2.4 and I want to install mod x-sendfile. I've uploaded the c file to the server and according to the instructions I should run: apxs2 -cia mod_xsendfile.c I ...
2
votes
2answers
190 views

Trouble extending disk space on CentOS 5 VM

So I am trying to extend the disk space on a VM of Centos5 running cPanel. Apparently my boss says this is easy but invariably I seem to have found a problem and cant seem to get it to play ball. ...
2
votes
1answer
574 views

'ls' taking a long time to list 20 subdirectories

I have a directory (my_dir) which has 20 sub directories. Every time I run 'ls' or try to autocomplete a file name in this directory my IO usage goes to 100% and it takes very long time (10 mins) to ...
2
votes
1answer
250 views

Firewall locks me out of ssh

Just trying to make a simple script that will configure iptables to block all incoming and outgoing traffic except for ssh on default port 22 and udp on port 8888. This is what i have: #!/bin/sh # # ...
2
votes
1answer
515 views

Can't install grub, missing sda?

all. I've been struggling with this for a few hours. Can't seem to be able to install GRUB. I'm on a VPS, and what's in /dev looks weird to me: drwxr-xr-x 7 root root 1920 Sep 3 11:51 . ...
2
votes
1answer
1k views

How to create user in Centos 5.6

I have a VPS with Centos 5.6 running on it. I have WHM gui running and create users but they have to be associated with domains. In a terminal can I create a user that is not associated with a domain? ...
2
votes
3answers
256 views

What is the equivalent of packages.debian.org for CentOS?

I have a CentOS machine that is not connected directly to the internet. I need to install some packages manually. If this were Debian I would go to packages.debian.org, search for the package and ...
2
votes
2answers
2k views

Setting up vsftpd with users locked to specific directory

I setup vsftpd, and changed the chroot settings in the vsftpd.conf file. But how do I make a user able to access only /var/www/html/username_here/ I made the user with useradd, but what's next? ...
2
votes
3answers
2k views

Where to define command in nagios

I want to define new command in nagios for remote host but i can't find out where should i write this thing define command { } on remote host i have only this file vim ...
2
votes
3answers
13k views

How to fix yum install not valid release error on Centos 5

When I try to yum install anything I get: -bash-3.2# yum install strace Loading "fastestmirror" plugin Determining fastest mirrors * dag: apt.sw.be * lxlabsupdate: download.lxlabs.com * rpmforge: ...
2
votes
1answer
34 views

How would I be able to take a snapshot of a CentOS 5 server and compare it later on?

I have a consultant that was hired to install some custom software to a CentOS 5 server. After she's done, I'd like to review her changes to possibly automate or optimize them. I was thinking of: ...
2
votes
2answers
133 views

Intermittent full system hang on VM server running CentOS 5.10

CentOS 5.10 / VMWare ESX 5.1 I've got an older email server running CentOS 5.10 (with SendMail) and it's experiencing intermittent hangs wherein the system becomes completely unresponsive. During ...
2
votes
2answers
2k views

Running mysql 5.5 on centos 5.9

I installed mysql using yum install mysql-server on centos 5.9 and realized it's version 5.0. I need version 5.5 so then I did yum install mysql55-server however I couldn't find a way to start server ...
2
votes
1answer
506 views

Why is LVS dropping packets?

I am currently trying to get down to the core of a problem where my LVS-director seems to drop a packet coming from a client from time to time. We have this problem on our production systems and can ...
2
votes
1answer
69 views

Subversion update

I have a Subversion system running. It always does an post-commit update on /var/www by the following code: /usr/bin/svn update /var/www/. But, this is OK when I am working on an other server. I do a ...
2
votes
2answers
3k views

CentOS 5.8 - Can't login to tty1 as root after updates?

I've ran a yum update on my CentOS 5.8 box and now I am unable to log into the console as root. Basically what happens is I receive the login prompt, enter the correct username and password, and am ...
2
votes
1answer
125 views

Python multithreading not working on VPS server

I am running an python multithreaded application with multiple processes which scrapes data from some websites. While running on my localhost It works great, but on the vps server I am using( Centos ...
2
votes
1answer
1k views

My CentOS 5.7 server can't access the internet

I have a CentOS 5.7 server setup in my office. I have recently moved to a new router (Linksys E3200) and I don't seem to be able to access the web at all through it (git, yum etc.). All the other ...
2
votes
2answers
702 views

Centos server migrate to larger disk

I have a centos server that runs a whm/cpanel with mysql, apache, bind and email daemons. The server now has 95% of the server disk full. It is a dell poweredge 1950 with 2 spaces for SAS disks. I ...
2
votes
2answers
204 views

Yum update info from what version, to what version

Is there some simple yum command so I can know what is current and what is future version of package for updating. I now about: yum list updates But that only prints new version of packages...
2
votes
5answers
3k views

How can see what processes makes my server slow?

All my websites on my server are extremely slow or not loading at all. Even server admin (Plesk) will not load some times. There's been no changes to the sites for the last coupple of months. How ...
2
votes
3answers
941 views

arp table filling up

I have a CentOS 5 system which serves as an IPSec VPN connector between my network and a couple of remote networks. Lately it is running into this problem once or twice a day where its ARP cache gets ...
2
votes
2answers
6k views

How to mount Windows share on boot using mount.cifs and autofs/automount?

I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master: /mnt/mountpoint /etc/auto.servername I then created the file ...
2
votes
2answers
2k views

Installed php-mcrypt but it doesn't show up in phpinfo()

I'm trying to install php-mcrypt on a CentOS 5.4 but while the extensions appears to be installed, there's nothing about it when I do a phpinfo(). For example, you can see below that php-mcrypt ...
2
votes
3answers
495 views

Can I ? - Develop C/C++ in Fedora 14 using GCC 4.4 and deploy in CentOS 5.2 using GCC 4.4

My production env runs CentOS 5.2 and 5.5 versions. I have to develop a new tool using C/C++ and deploy it on this production env. I was planning to use Fedora 14 on my desktop with GCC 4.4 to do the ...
2
votes
1answer
942 views

problem while installing some python packages

There is an issue while installing some of the packages for python. They show 'No package available' message while trying to do yum install . They are these: python-psycopg, python-reportlab, ...
2
votes
2answers
56 views

What would cause ifconfig NIC frame drop counts to increase SLOWLY (90-100 frames per day)?

I have a web appliance running CentOS 5.11. It sees a fair amount of traffic (apologies, I don't have specific numbers but I know it's in use). For some reason, I'm seeing ifconfig error counts ...
2
votes
2answers
1k views

Logstash Forwarder doesn't start up with chkconfig in CentOS 5

I have set up logstash-forwarder on a CentOS 5 machine installing it from this RPM: http://download.elasticsearch.org/logstash-forwarder/packages/logstash-forwarder-0.3.1-1.x86_64.rpm When I went ...
2
votes
1answer
2k views

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact ...
2
votes
4answers
928 views

Issues installing mongodb on centos 5

I'm trying to install mongodb for my centos 5.1 server via yum. I followed the instructions of creating a .repo file in the yum folder, but it still doesnt work. here's the screenshot of the issue: ...
2
votes
3answers
543 views

CentOS VM, NTP synchronization problems

We have three CentOS 5.9 VMs on an ESX3.5 host. Because of the nature of the services we provide it is required that the NTP time is synchronized and the time is correct on all three of them. ...
2
votes
2answers
1k views

Httpd restart “Address already in use” error

I have an .rpm, which I created. In its %post part, I do some stuff, and in the end of this script, i call service httpd restart. It gives the following error: + service httpd restart Stopping httpd: ...
2
votes
2answers
2k views

Monitor or log directory permission changes?

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it ...
2
votes
1answer
735 views

How to install Percona XtraDB Cluster on x86 server?

I'm going to migrate from MySQL replication to Percona XtraDB Cluster. The problem I'm facing is one node is running on x86, and I cannot install Percona-XtraDB-Cluster-server from the Percona repo ...
2
votes
3answers
549 views

Centos how to set default permissions for specific folder

I have a centos server that one of my apps creates files in a tmp folder. The files are always created with the permissions r--r--r-- and i need all the new files in this directory to be created with ...
2
votes
3answers
933 views

SNMPD running but not listening for connections at random

OS: CentOS release 5.7 (Final) Net-SNMP: net-snmp-5.3.2.2-14.el5_7.1 (from RPM) Periodically my NMS notifies me that SNMP has gone down on this machine. The service is restored in between 10 to 30 ...
2
votes
2answers
143 views

Consolidate separate /var and swap drives back to / drive in CentOS

The genius that originally set up the web server at my company put the swap, /var, and / directories on different drive pairs. I need to some how consolidate all three into one drive for migration ...
2
votes
1answer
278 views

Tomcat Solr times out

(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr) I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080 ...
2
votes
1answer
1k views

Autofs BROWSE Mode in CentOS\RHEL

I have multiple server mounting their $HOME from a file server. On the clients I have set in /etc/sysconfig/autofs BROWSE_MODE="no" The client also mount directories from other files servers to ...