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

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 ...
4
votes
2answers
1k 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 ...
0
votes
1answer
129 views

Plesk 11 / Cents5, how do IP's on multiple ranges work [on hold]

I have a plesk 11 setup running centos5 and i'm a little confused by something. On the server I have 2 ips from 2 different ranges. They are public IP's pingable from the outside world and working ...
2
votes
1answer
25 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: ...
9
votes
4answers
38k views

How to save and exit crontab -e?

How to save and exit crontab -e? i tried every method listed here and none works, i have a centos 5, vi comes by default with yum and i installed nano Solved just changed the default editor export ...
3
votes
0answers
29 views

date command displays different time

I have one centos 5.8 Linux server. I am experiencing a bit strange issue and figured out it is something with system time. When I check date command, outputs are really strange. Here is example: ...
0
votes
2answers
242 views

Error when restarting postfix

When I have restarting the postfix server I am facing the below error :: postfix-out/master[1714]: fatal: open lock file pid/master.pid: cannot create file exclusively: Permission denied I having a ...
2
votes
2answers
33 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 ...
0
votes
2answers
13 views

Replicating My Production Environment

I have a CentOS production server that I am currently doing my development on (I know this is awful) I'm bringing on some new developers and I want to set up appropriate development, staging and ...
15
votes
3answers
992 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 ...
1
vote
0answers
15 views

Rollout approach for centOS/RHEL linux servers to achieve centralised authentication through AD

We have 3 environments testing develop and production each having more than 40 Linux servers. Need to establish centralized authentication through AD for all these environment. Which is the best ...
0
votes
1answer
27 views

nfs mount passwordless login

Setup: OS : CentOS5 node 1 : 172.16.1.1 sandbox1.local node 2 : 172.16.1.2 sandbox2.local The nodes have the hostnames in the hots file. Pinging to each other works fine. Problem: My home is ...
1
vote
0answers
87 views

200 OK blank page setting up Wordpress on restore test VM

I'm testing a partial backup of a frankly rather outdated (legacy, what can you do?) CentOS/Apache/MySQL/PHP/Wordpress server by restoring to a VM with a fresh copy of the relevant packages. After ...
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 ...
0
votes
0answers
28 views

init: Id “2” respawning too fast

I've just updated a CentOS 5.10 box to 5.11 with all the latest patches and rebooted. Following the reboot I'm now getting the below error message every few minutes: init: Id "2" respawning too ...
1
vote
4answers
18k 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
70 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
47 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
56 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
40 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
68 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
51 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
10k 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
46 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
2answers
203 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
0answers
46 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
220 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
960 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 ...
3
votes
1answer
567 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
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: ...
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
32 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
443 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
103 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
134 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
114 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
351 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 ...
2
votes
1answer
8k 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
108 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 ...
1
vote
2answers
810 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
111 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
95 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
507 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
940 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
40 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
9k 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 ...