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

4
votes
2answers
983 views

mod proxy not working on apache

I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info: CentOS release 5.6 (Final) Server version: Apache/2.2.21 (Unix) Cpanel::Easy::Apache v3.7.2 ...
1
vote
4answers
17k 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" ...
1
vote
0answers
50 views

Enabling APC cache takes down website

I have a VPS running on centos 5 with 2 GB ram. I run a IP.Board forum on that server. Recently my server was hacked and I had to format the disk and start again. I was using APC cache before and it ...
0
votes
0answers
19 views

vsFTPd - not all connection succed - timeout (Centos)

I'm using Notepad++ ftp plugin to modify files on my server. Every x uploads (like 10 or 20 - its random) my upload starts and does not finish. My FTP server says Timeout. I changed vsFTPd logging ...
0
votes
0answers
14 views

Installing PostgreSQL on Centos 5

I'm following the instructions from here. I try and run yum localinstall http://yum.postgresql.org/9.4/redhat/rhel-5-i386/pgdg-centos94-9.4-1.noarch.rpm which returns the fault cannot open file... ...
1
vote
2answers
3k views

Permission denied on /proc/ some process

I am using chkroot to scan my system and it gave me permission denied error /proc/23746/fd/0: Permission denied /proc/23746/fd/1: Permission denied /proc/23746/fd/2: Permission denied ...
1
vote
1answer
22 views

Linux CentOS: A server throws weird error messages, can you speculate why?

There's a server in my company which is part of the production environment. On the server there's an ActiveMQ server running. I logged into the Active-MQ UI and tried to create a new queue. When I ...
0
votes
0answers
49 views

Installing Wireshark 1.6 on CentOS 5.7

I want to install wireshark version which is higher than 1.2 since I need to analyse the iec104 packets (only version higher than 1.2 supports this). I am using CentOS 5.7 version and it only supports ...
0
votes
0answers
31 views

pam_tally is not supporting user locking after failed attempts on CentOS

After adding the below configurations in /etc/pam.d/system-auth. The user account is not getting locked after multiple failed attempts. As per the below configuration the account should be locked ...
4
votes
5answers
9k views

How delete the content of a directory in Centos

I need to delete all the content of a folder in CentOS but not the folder itself. For example: I have a folder named "MYFOLDER" which contains subfolders FOLD_1, FOLD_2, FOLD_3, FOLD_4... etc , and ...
3
votes
1answer
41 views

Renaming files recursively and moving them inside one single directory

I have a project with 500k users in CentOS. The picture file/directory structure was setup like this (yeah... i know): user/0070/ this is the user ID / 1000, so that all users in the range of ...
0
votes
3answers
1k views

Cannot get nscd to run. DNS cache stale as a result

I'm trying to troubleshoot an issue on a MediaTemple server (running CentOS5) where the DNS cache has grown stale - I think because nscd has crashed. I've tried restarting nscd: # service nscd ...
13
votes
3answers
916 views

CentOS /dev/bus/usb structure

On my Ubuntu 12.04 when I plug in usb device, under dev directory tree usb device is added like this: /dev/bus/usb/001/001 On my CentOS 5 added like below: /dev/bus/usb/devices/2-1.4/ lsusb ...
0
votes
2answers
163 views

PHP debugging under Apache on CentOS 5.9

After upgrading a vBulletin installation, accessing any page tells me that files are missing--even though they exist in the filesystem. Based on other questions I found here, I have tried changing ...
0
votes
1answer
810 views

DirectAdmin Freetype update - the make has failed

I am trying to update my VPS today as I always do but am running into a problem with the Freetype update. While I am comfortable with the day-to-day running of my VPS, I am still learning a lot when ...
0
votes
0answers
27 views

DL160 G5 fails to boot CentOS 5.11

I'm trying to install CentOS 5.11 on DL160 G5, with 4 bays holding 3TB sized drives. The installation with default partition layout completes successfully, however on boot I get to a blinking cursor ...
1
vote
1answer
216 views

CentOS tmpfs mount doubling up?

Everytime I mount a ramdisk with the following command, I get two instead of one ramdisk? mount -t tmpfs -o size=1024M tmpfs /home/site/public_html/var/cache Mount shows no ramdisks mounted prior, ...
0
votes
2answers
937 views

Howo to get Multipath IO with Dell MD3600i into active/active setup?

I'm desperately trying to improve performance of my SAN connection. Here's what i have: [root@xnode1 dell]# multipath -ll mpath1 (36d4ae520009bd7cc0000030e4fe8230b) dm-2 DELL,MD36xxi ...
0
votes
5answers
3k views

Server high CPU load issue! ( Cpanel + CentOS 5)

Our server cpu load is high todays sometimes reaches to 560! .. We have the lastest Cpanel/whm and the kernel is update!while the load average is : Load Averages: 39.05 75.01 45.33 the apache log ...
0
votes
1answer
1k views

using tcpdump to display XML API requests without headers or ack packets

I need assistance, I am trying to use tcpdump in order to capture API requests and responses between two servers, so far I have the following command: tcpdump -iany -tpnAXs0 host xxx.xxx.xxx.xxx and ...
3
votes
1answer
509 views

Migrate CentOS VM using LVM on IDE to run with VirtIO

I'm trying to migrate existing IDE-using, LVM-based CentOS 5.2 VMs to use virtio. The symptom is a kernel panic upon boot when the system can't find any volume groups. Does anyone know how to make ...
2
votes
3answers
12k 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: ...
0
votes
1answer
33 views

Linux Centos5 lockup - possibly a memory issue?

Here is an OCR of a screenshot of a VPS hosted Centos5 64 bit Linux server that has just frozen up on me. I have now rebooted this VPS guest but would appreciate it if anyone who understands the ...
0
votes
1answer
27 views

How to config awstats to analyse .php traffics?

By default, awstats group .php traffics into a single Dynamic PHP Script file number. However, the site's pattern lies in route=??? after an index.php?, e.g.: GET ...
3
votes
3answers
437 views

ntpdate ignores my timezone

I'm trying to set up time sync on a CentOS 5.5 VDS but can't figure out why it won't update to the correct timezone. e.g. After manually setting the correct date and time when I run this: date ...
-2
votes
1answer
60 views

The requested URL /sot was not found on this server

I have a VPS (Centos 5) and want to use a file in address like this: www.domain.ir/socket.php but after entering the address I see this error: Not Found The requested URL /socket.php was not found ...
0
votes
1answer
82 views

Can RHEL5/CentOS5 be run on Intel Haswell-EP (E5-26XX V3) CPUs?

We need to upgrade the hardware on some of our CentOS 5.11 servers. From Redhat's Intel CPUs and Supported RHEL Versions page, I see that the E5-26XX V2 CPUs are supported. However, the E5-26XX V3 ...
2
votes
2answers
88 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 ...
1
vote
2answers
255 views

What is the easiest way to get XtraDB for MySQL running on CentOS 5

I'm having a lot of issues with a dedicated MySQL server and it seems like upgrading to the XtraDB version of InnoDB will probably have a positive effect, but I'm hesitant to get involved with it ...
0
votes
1answer
228 views

High CPU usage by whois | CentOs 6

I am not a server guy and currently maintaining a small server for my own needs (Development and testing). I got a notification that my Server CPU usuage is around 99% from last 3+ hours.I know that ...
1
vote
1answer
7k 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 ...
1
vote
1answer
66 views

Could not load file or assembly fastcgi-mono-server4

I am trying to host an ASP.NET Web Forms application using Mono. I have installed Mono 3.0.7 and XSP 2.10.2 from source into the /usr/bin directory. I then started the mono server with the following ...
0
votes
2answers
455 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 ...
1
vote
1answer
1k views

Sharing port 80 between Zimbra and Apache

I'm using zimbra 6 (6.0.8_GA_2661.RHEL5_20100820051652 CentOS5) on CentOS 5 server Zimbra is working fine. Now I want to host some files on Apache. I'm referring to this document on how to run ...
1
vote
1answer
97 views

yum install proftpd error

I used proftpd for years on this year. but I got an error when I update proftpd today. I am using CentOS 5.11. [root@server11 yum.repos.d]# yum install proftpd Dependencies Resolved ...
1
vote
1answer
72 views

HTTP Ports are Filtered on New Virtual IPs in LVS (Linux Virtual Server) Load Balancer

I inherited a Linux Virutal Server (LVS) load balancer on CentOS 5.10. Its been running with no issues for quite some time with no worries. Now when I add a new virutal IP (VIP), all HTTP traffic ...
0
votes
2answers
302 views

Upgrade to latest current installed version of PHP [duplicate]

I've just purchased a new VPS and they've, for some unknown reason, installed PHP version 5.3.3. I'm fine with being on version 5.3.X, but I believe the latest version is 5.3.29. I did some Googling ...
1
vote
1answer
927 views

Under what conditions will sendmail try to immediately resend a message instead of waiting for the standard requeue interval?

CentOS 5.8 | Sendmail 8.14.4 I used to think that if SendMail experienced a temporary (400-class) error during delivery, it would place the message in a deferred queue (e.g. /var/spool/mqueue) and ...
0
votes
2answers
38 views

File permission recursively for all new folders and files that gets created [closed]

I want a folder to have 777 permission and every time a new file or folder gets created inside that should have the same user and group with 777 permission. I tried the following but it does not get ...
10
votes
2answers
8k views

High disk I/O - jbd2/sda2-8 process

I have run a file server on a CentOS 5.8 final server. My only concern at the moment is what appears to be intermittent but continuous high disk I/O activity causing a general slowdown because of ...
2
votes
1answer
712 views

SHA-2 signed SSL certificate crashes apache on startup on CentOS 5.X

In preparation of the warnings that are going to start showing up in browsers when visiting SSL sites with SHA1 signed certificates, I wanted to get all of the certs that I have upgraded. Some of ...
1
vote
1answer
1k views

ShellShock - Unable to update CentOS 5.7

[user@server1 ~]$ wget http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/bash-3.2-33.el5.1.x86_64.rpm [user@server1 ~]$ sudo rpm -Uvh bash-3.2-33.el5.1.x86_64.rpm warning: ...
4
votes
2answers
13k views

How to upgrade to latest PHP, MySQL, and phpmyadmin on CentOS 5.8 (32bit)?

I have searched around on the internet and cannot find a reliable source for installing the latest versions of PHP, MySQL, and phpmyadmin on CentOS 5.8 32bit with apache. I have tried a couple times, ...
-2
votes
1answer
65 views

Configuring An Opensource Control panel to use with Tomcat 7 in linux or centos [closed]

I have a vps with cent os 5.x installed and a kloxo cp installed with it. What I need is how to configure tomcat 7.0 to use side by side by kloxo panel, for example, I can sell a jsp hosting, that ...
1
vote
3answers
13k views

How to clean up mysql installation on centos

mysql does not exist anymore but when i run yum remove mysql it says that the package is available but not marked for installation, i cannot install new mysql because of that, I need to completely ...
3
votes
2answers
7k views

Yum reports updated bash but binary still reports old version

I'm trying to update a CentOS 5 system in order to patch the bash vulnerability described in CVE-2014-6271 / RHSA-2014:1293-1, but am running into an issue. After seemingly-successfully updating bash ...
0
votes
1answer
98 views

Freshly installed CentOS does not boot from Dell's Perc H700 RAID

Installed a fresh CentOS 5.10 installation on RAID5 provided by Perc H700 Integrated RAID, however the system fails to boot. Checked the system via recovery CD, and noticed that CentOS 5.10 now uses ...
2
votes
3answers
817 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 ...
1
vote
1answer
2k views

postfix limit sending rate

hello i have this box centos 5.9 postfix 2.3.3 how i can configure postfix to send 1 message every second no matter what, i try this in main.cf with no success: default_destination_rate_delay = ...
-1
votes
1answer
126 views

Build gcc 4.1.2 from src RPM on a CentOS 5.10 [closed]

I need an advice on how to compile gcc 4.1.2 on a CentOS 5.10. The long story: I've a got a Citrix XenServer Creedence beta 1 up and running OK. It has actually CentOS 5.10 as the dom0. This can be ...