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

Should I continue using CentOS 5.3?

Our small company has rented a remote machine some 3 year ago. The machine is used as a company server, runs our email, web, source code repository, bugtracker, forum, wiki, etc. OS is linux CentOS ...
2
votes
4answers
36k views

How do I change my locale to UTF-8 in CentOS?

Here's the output of locale: LANG=zh_CN.GBK LC_CTYPE="zh_CN.GBK" LC_NUMERIC="zh_CN.GBK" LC_TIME="zh_CN.GBK" LC_COLLATE="zh_CN.GBK" LC_MONETARY="zh_CN.GBK" LC_MESSAGES="zh_CN.GBK" LC_PAPER="zh_CN.GBK" ...
2
votes
1answer
20k views

Enable PHP DOM extension on centOS 5.5 without recompiling

I'm trying to install the Google Data PHP Library, and the install checker is telling me that DOM isn't installed. After some googling it appeared that I needed to install php-xml, but that was ...
2
votes
2answers
1k views

Linux process swap usage is greater than the overall system swap usage

I have a strange problem that when I run top command it shows that some processes are using around 1.5GB of swap space but then the overall usage of the system swap is way to less to something around ...
2
votes
2answers
11k views

Apache 2 Symbolic link not allowed or link target not accessible

My apache server runs as user foo. I have some Rails applications in /home/foo/app1 /home/foo/app2. Each of them has an vhost <VirtualHost *:80> ServerName app1.foobar.com ServerAlias ...
2
votes
3answers
635 views

One SSL Certificate for multiple sites - CentOs 5 Apache 2.2

Can I use a single certificate for two domains which are hosted on the same VPS that is using one IP address?
2
votes
6answers
12k views

Can't get Apache 2.2.21 to compile with OpenSSL support

Alright -- having a bad couple days here compiling Apache 2.2.21 on CentOS 5.7 with the following configure commands: ./configure --enable-ssl=shared --with-ssl=/usr/local/openssl I've compiled ...
2
votes
3answers
1k views

Centos 5 service command

My vendor send me a server with Centos5 installed. They have setup the machine to directly login with root account. With the root account logined, i can run command like this: service httpd restart ...
2
votes
1answer
4k views

What does this kernel error mean and how should I respond?

The following except is taken from the logwatch of a production LAMP web server I'm about to inherit. It is a dedicated Dell server running CentOS 5 with RAID 1 across two 1TB drives. I have little ...
2
votes
2answers
2k 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 sub2....
2
votes
1answer
35k views

Linux service --status-all shows “Firewall is stopped.” what service does firewall refer to?

I have a development server with the lamp stack running CentOS: [Prompt]# cat /etc/redhat-release CentOS release 5.8 (Final) [Prompt]# cat /proc/version Linux version 2.6.18-308.16.1.el5xen (...
2
votes
2answers
3k views

How to run unprivileged scripts from rc.local at system boot?

I've set up my /etc/rc.local to start some services using a couple of scripts to bring my system up on reboot. One script runs as root and starts nginx, mysql, php etc... and works fine. The other ...
2
votes
3answers
9k views

Rsync Throttle Upload Bandwidth --bwlimit=KBPS

I am looking to throttle the upload speed of my file transfers during an rsync process. Does --bwlimit=KBPS mean it sets the internet transfer speed, or the hard drive disk write speed? --bwlimit=...
2
votes
2answers
332 views

VSFTPD - Linux (CentOS 5) - Making a single dir FTP root

I have a VPS running CentOS5 with Apache 2.2 and mySQL, as well as VSFTPD for ftp. The user liam is a system user. I want to make the /home/html directory the ftp root for the liam user, so that when ...
2
votes
3answers
340 views

Magento CE PCI Compliance

We are currently trying to achieve PCI compliance using Trustwave's vulnerability scanner. The Magento version is 1.5.1.0, running on CentOS 5. We am down to the last issue according to the PCI ...
2
votes
5answers
5k 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
3answers
9k views

How to create RPM for 32-bit arch from a 64-bit arch server?

Our production server is running CentOS5 64-bit arch. Because there are no RPM available currently for SQLite latest version (v3.7.3), I created RPM using rpmbuild the very first time by following ...
2
votes
2answers
6k views

Setting up two NICs on two separate LANs provides error

I wish I had found this before starting in, but it's too late for that... I am running CentOS 5.5. I started following this guide for setting up two NICs on different networks. Everything was ...
2
votes
2answers
185 views

CentOS 5 extremely slow when is running a download

When my server is downloading a file or executing other IO operations the other server functions become extremely slow (almost locked). Even other functions that do not use the network. When a ...
2
votes
2answers
20k 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
3k 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
4answers
11k views

imuxsock messages in syslog and system becomes unresponsive

I am getting such messages in syslog. rsyslogd-2177: imuxsock lost 21869 messages from pid 3418 due to rate-limiting rsyslogd-2177: imuxsock begins to drop messages from pid 3427 due to rate-limiting ...
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
9k 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
2k 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
5answers
5k 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
12k views

how to Install easy_install Via yum on Linux CentOS Server

please tell me how to Install easy_install Via yum on Linux CentOS Server i tried that in panel command center yum install python-setuptools output.... epel: mirrors.tummy.com * base: ...
2
votes
1answer
692 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
2answers
3k 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
3answers
1k 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
23k 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
9k 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
204 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
884 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
275 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
634 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
2k 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
298 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
3k 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
17k 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
87 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
462 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
1answer
3k views

How to use a different version of python duing NPM install?

Salam (means Hello) :) I have terminal access to a VPS running centos 5.9 and default python 2.4.3 installed. I also installed python 2.7.3 via these commands: (I used make altinstall instead of make ...
2
votes
1answer
785 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
4answers
1k views

Linux high load with ImageMagick convert utility and server freezes (blktrack output attached)

I'm using ImageMagick to convert a JPG to TIF file, and I'm using the limit options for Imagemagick as below: /usr/bin/convert -limit memory 256 -limit map 512 subjectfile.jpg -colorspace Gray -depth ...
2
votes
1answer
6k views

How to restart udevd on RH/CentOS system?

For udevd there is no init.d script and manual page is not indicating how to restart it either. The process is holding a deleted file (lsof shows) and I need to release it by restarting udevd. How to ...
2
votes
1answer
73 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
4k 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
151 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 5....
2
votes
1answer
2k 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 ...