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

-1
votes
0answers
56 views

apache on centos 5 cannot allocate memory [closed]

Every day on my server I have a pb memory when I control error_log I have: [Sun May 10 05:18:02 2015] [notice] Digest: generating secret for digest authentication ... [Sun May 10 05:18:02 2015] ...
1
vote
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 ...
2
votes
1answer
100 views

Overwriting phpMyAdmin

I am using Centos 5.5 and had phpMyAdmin version 2.11.11 installed. I couldn't find a way to update it, so what I did was do a manual download, backed up /usr/share/phpmyadmin, then replaced that ...
1
vote
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 ...
2
votes
2answers
2k views

How to install latest version of imagick on centos 5.8 64bit using bash

How can I download and install latest version of imagick on centos 5.8 64bit using bash for php 5.4. >yum info php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * ...
0
votes
1answer
40 views

Can't connect to MySQL server on '198.211.37.xx'

For last couple of days I have tried many things to solve Can't connect to MySQL server. I would like to describe everything that I did so far. Create a mysql user and GRANT ALL Privileges. Bind ...
4
votes
2answers
5k views

Determine which guest is running on XEN: HVM or PV guest

I'm working with a Xen host which is installed XenServer from Citrix by someone. He already installed a lot of CentOS 5.2 guests on the host. I wonder how to check those guests to know they are PV ...
0
votes
1answer
21 views

Wrong date/time in dmesg

we have this strange issue. We use perl script for human-readable time-stamp in dmesg (taken from http://linuxaria.com/article/how-to-make-dmesg-timestamp-human-readable) and I also tried this one ( ...
0
votes
1answer
24 views

Can I install subversion client in Centos 5 for offline installation?

My Centos Version is : LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release ...
3
votes
2answers
4k views

How to make permanent changes to iptables of CentOS 5.5

I want to make an iptable rule permanent so if the server is rebooted I won't have to add the rule again. Specifically a rule I have related to nginx being reverse proxy of apache. iptables -t nat ...
1
vote
1answer
285 views

Domain names timing out after VPS IP change

I rent a CentOS 5 VPS from a UK-based provider, with DirectAdmin also installed. On Thursday night, they carried out planned maintenance to changed the two IPs I had been assigned to two new ones. On ...
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 ...
11
votes
4answers
43k 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 ...
1
vote
2answers
353 views

qemu-kvm fail to boot Centos 5.3 after Kernel update at the host (feodra)

After updating Fedora 18 to kernel 3.9.x (current 3.9.4), I can no longer boot my Centos 5 guest OS. When I try to boot, the process halt at start and the CPU core work at 100%. If I boot Fedroa ...
2
votes
4answers
4k 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 ...
0
votes
1answer
149 views

How to build from source on CentOS 5.9?

I'm building iptraf-ng on CentOS 5.9 and running into the following errors: src/packet.c: In function ‘packet_process’: src/packet.c:322: error: ‘ETH_P_QINQ1’ undeclared (first use in this function) ...
3
votes
1answer
93 views

How can I confirm if my vmxnet driver is installed on my CentOS server?

I have an appliance running CentOS 5.x on VMWare ESX. Quite recently I upgraded it to a newer version of CentOS (still in 5.x) and I noticed that the network card wouldn't initialize. If I run ...
0
votes
1answer
59 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 ...
0
votes
5answers
3k views

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

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 ...
15
votes
4answers
1k 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
1answer
33 views

How to tell what is blocking internet (download) on cloud server

Background: My employer is using a cloud-based database server through a service called Rackspace. This server is accessed by our other servers via ssh. Our network admins are unreachable for the next ...
0
votes
1answer
164 views

Linode - Centos 5.5 -

I rather foolishly undertook to install a control panel on a Linode. I opted to use CentOs 5.5 (either ordinary or 64 bit) but I am like a monkey playing a reward game... I have some idea of what I ...
0
votes
1answer
135 views

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

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
40 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: ...
3
votes
0answers
47 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
314 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
103 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
22 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 ...
1
vote
0answers
34 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
76 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
133 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 ...
1
vote
4answers
21k 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
89 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
152 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
122 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... ...
2
votes
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 ...
0
votes
1answer
64 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
98 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
99 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 ...
5
votes
5answers
13k 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
53 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
262 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
99 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
225 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
1k 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 ...
3
votes
1answer
727 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
14k 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
34 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
50 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 ...