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
303 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 ...
1
vote
0answers
169 views

Is there a tool to do packet mirroring in CentOS 5.9?

I know iptables + xtables can do it in more recent versions using the TEE target supplied by the xtables-addon package for iptables. However, the kernel in CentOS 5.9 is 2.6.18 and this version is not ...
0
votes
1answer
1k views

OpenLDAP: pwdChangedTime attribute isn't created after changing the password?

I'm going to integrate the check_mk's Multisite with OpenLDAP. After configuring the LDAP connector, I get the following error when opening the "Users & Contacts" page: Error executing sync hook ...
0
votes
1answer
49 views

An SPF setup example

To set up SPF for an OpenEMM server (emm.example.com.sg) for the site: domain: example.com.sg web server: www.example.com.sg EMM server: emm.example.com.sg (say, ip: 201.202.203.204) The ...
0
votes
1answer
66 views

User permission restriction

I am using CentOS 5.5. I would like to control user that can access granting application. User can't use any application or any resource (e.g calculator, default application of normal user)that isn't ...
1
vote
0answers
330 views

OpenVPN server won't start (CentOS 5)

I am trying to setup a VPN server on 1&1 VPS. I was able to install OpenVPN-AS more or less as instructed; separately, I have checked and cat /dev/net/tun/ yields cat: /dev/net/tun: File ...
1
vote
4answers
528 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 ...
0
votes
1answer
297 views

CentOS server high load and server freezes

My server seems to get sudden high loads within second and when I run dmesg, following logs appear: INFO: task auditd:2185 blocked for more than 120 seconds. "echo 0 > ...
1
vote
2answers
364 views

100% - /tmp help needed

few hours back i receievd message from directadmin Warning: The disk usage for one or more of your partitions is running low so i checked in directadmin and noticed this message Subject: Warning: ...
0
votes
1answer
4k 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 ...
0
votes
1answer
115 views

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

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 ...
1
vote
1answer
51 views

Apache lags when loading recently changed files

I have a basic CentOS server running Apache that I use for website development and testing. Whenever I make changes to a file, like a 'javascript' file, and then reload my webpage, usually the server ...
2
votes
2answers
160 views

Dhcrelay init.d script runs improperly

I am trying to use dhcrealy on a CentOs 5 kernel which have kernel version 3.5.3. I configured /etc/sysconfig/dhcrelay file like that dhcrelay -i eth1 192.168.0.1 While dhcrealy is stopped, I ...
1
vote
6answers
1k views

ssh publickey doesn't work

UPDATE: I've solved this strange problem by simply restart sshd. However, I'm still wondering why, because I didn't change any configs since the server started. I have 2 servers, one installed CentOS ...
0
votes
0answers
947 views

Logwatch configured for nginx with custom log format gives empty output

Problem I have configured logwatch (CentOS 5.8, x64) to include nginx, using this as a guideline and using the Apache and nginx documentation on log formats. The problem is, that I'm using a specific ...
0
votes
2answers
247 views

Cant find the php-fpm config

I cant find the php-fpm config file on my server. I tried to make an php-fpm.conf file in /etc/php.d/ folder, but it doesn't get included. Its not in these locations either: /etc/php-fpm.conf file or ...
1
vote
1answer
2k 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 ...
0
votes
0answers
72 views

gmond not logging data intermittently

We have made a same setup for 10 boxes via pupet. All boxes are using centos 5.6 except one running Centos 5.8. All boxes have the same gmond.conf. A snippet of conf udp_send_channel { ...
0
votes
1answer
70 views

Setting up a bind server and can't find the zone file

I am trying to set up a bind server. My named.conf file has the following lines ... options{ ... directory "/var/named"; ... }; ... zone "sly.net"{ type master; file ...
6
votes
2answers
625 views

ntlm_auth - can login in AD with both old and new passwords

I have problem with AD and ntlm_auth. I use the following command, to query the AD server for checking the user existence: ntlm_auth --use-cached-creds --username=SOME_USER --password=SOME_PASS ...
1
vote
1answer
128 views

procmail recipe to filter email to multiple folders

Currently my procmail recipes are as below: FROM_=`formail -c -x"From "| awk '{ print $1 }'` SUBJ_=`formail -c -x"Subject:" | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` :0 *^Subject:.*(60) { :0 ...
1
vote
1answer
721 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 file on Apache. I'm referring ...
2
votes
2answers
510 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 ...
4
votes
2answers
267 views

High Server Load cannot figure out why [closed]

My server is currently running CentOS 5.2, with WHM 11.34. Currently, we're at 6.43 to 12 for a load average. The sites that we're hosting are taking a lot time to respond and resolve. top doesn't ...
1
vote
1answer
221 views

Yum installing wrong MySQL version on CentOS 5 (Amazon)

I'm having trouble with a CentOS server running on AWS. This is CentOS 5.6 i386 from RightImage, but the problem was the same on all RightScale AMIs. When issuing the following command: yum install ...
0
votes
1answer
197 views

Block IP address for certain time period

I have created a php script which generally counts how many times an IP address accessed our site more than x number of times within 1 minute. Afterwards I created a shell script top ban those ip ...
0
votes
1answer
102 views

linux server frozen after yum update

Updated today with yum update: qmail-scanner x86_64 1:2.10-8.el5.art atomic 349 k tortixd x86_64 2.2.23-8.el5.art asl-3.0 1.1 M tortixd-mod_ssl no errors but after 15 minutes the servers started to ...
3
votes
2answers
165 views

Apache not booting, no error messages

Apache isn't booting on our production server (all of a sudden) and there are no error messages. Can anyone help me fix this or help me start debugging? init.d fails: /etc/init.d/httpd restart ...
2
votes
2answers
798 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: ...
-3
votes
2answers
1k views

Patch command not found [closed]

I tried to apply patch to my file with following command patch -p0 < foo.patch I got the following output bash: patch: command not found I have Centos 5.x server. Please guide what ...
12
votes
3answers
651 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
201 views

IP bases access control list script

I would like to setup ACL (python script or any ready made Centos compatible scipt) & limit rate for all IP addresses, who are hitting the site very frequently. For example crawlers, bots (except ...
1
vote
2answers
1k views

Auto restart server if virtual memory is too low

There are quite number of software running on my server: httpd, varnish, mysql, memcache, java.. Each of them is using a part of the virtual memory and varnish was configured to be allocated 3GB of ...
0
votes
1answer
806 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 ...
1
vote
0answers
148 views

Disk cache (write back) disables automatically

some days ago I discovered (using Munin) that my server had high iowait times. The reason was that write cache was disabled. I enabled it using hdparm -W1 /dev/sda but after some time (ramdonly) it ...
1
vote
1answer
1k views

Setup SFTP vsftpd on Centos 5 with chroot

I would to like to restrict a user to certain directory(ies) but also allow to use SFTP for transfer. I looked at the answers provided to similar questions at: How do I setup SFTP for sites without ...
0
votes
1answer
191 views

How to log kernel panics without KVM

My server is crashing and I can't find an answer why. It all started after my datacenter upgrade RAM from 16 GB to 32 GB. I also found such logs in dmesg - they've started to show itself just before ...
0
votes
1answer
887 views

How can I confirm if my CentOS server supports multiple CPUs?

CentOS 5.8 | VMWare I've got a server running a hardened version of CentOS 5.8. I've been using a single CPU on it and am planning to add another (via vmware). When I run uname, I see SMP which ...
3
votes
3answers
142 views

one 16K random read I/O issues 2 scsi I/O (16K and 4K) requests in linux

I noticed weird issue when benchmarking random read I/O for files in linux (2.6.18). The Benchmarking program is my own program and it simply keeps reading 16KB of a file from a random offset. I ...
0
votes
0answers
100 views

How to get uncaught PHP errors from fcgi server

My web hosting company recently replaced suPHP with fcgi on my dedicated server because I needed opcode functionality. Since then I see loads of 500 errors in apache error and php error log is empty. ...
-1
votes
2answers
54 views

How to configure apache2 from source with php from repo?

I'm asking this question out of my curiosity. Is there anyway around to configure apache2 with the php that had been install through yum? Or vice versa? Because based on my self experiences and ...
0
votes
0answers
40 views

SSL issue with emails

OK, so I have somebody hosting a site on my CentOS 5.8 Plesk 11 control panel. He has a EV SSL which is validating the site fine however he has failed the PCI check because it is saying his email ...
-1
votes
1answer
83 views

Postfix mail server monitoring commands [duplicate]

Possible Duplicate: Monitoring postfix mail throughput I would like to monitor postfix mail server. I currently setup this mail server on centos 5.5. Is there anyway to monitor about ...
10
votes
2answers
6k 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
191 views

PHP 5.2.10 lost json and mcrypt - Parallels Small Business Panel v10.2.0_build102100709.06 os_CentOS 5

I updated my PHP from 5.1 to 5.2 a few months ago. Since then I noticed I don't have mcrypt. I tried everything I could too install it. Yum install...added to /etc/php.d/mcrypt.so etc. but nothing ...
-1
votes
3answers
91 views

Will the data be deleted when resizing a partition [closed]

I'm planning to resize one of the server partition from 40GB to 1900GB. The current partition has files on it while the space to be added is unallocated. Will my existing files be deleted? Any help ...
-1
votes
1answer
162 views

centos 5.6, virtual on Vsphere

suddenly my virtual centos server (5.6 on VMWare-VSphere) is not working... It started with the url not responding, nor the ip. (NO HTTP response, no ping). When I entered on the server via ssh to ...
1
vote
0answers
121 views

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] ...
0
votes
0answers
93 views

Java won't install

# rpm -ivh jre-7u6-linux-x64.rpm Preparing... ########################################### [100%] package jre-1.7.0_06-fcs.x86_64 is already installed But I also get: # rpm -e ...
2
votes
3answers
680 views

nagios wrongly reports packet loss

Lately, on my nagios 3.2.3 install (CentOS5, monitoring ~ 300 hosts, 1150 services) has sdtarted to occasionally report high packet loss on 50-60 hosts at a time. Problem is it's bogus. Manual runs of ...