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

9
votes
3answers
7k views

Cent OS: How do I turn off or reduce memory overcommitment, and is it safe to do it?

From time to time "my" server stalls because it runs out of both memory and swap space. (it keeps responding to ping but nothing more than that, not even ssh). I'm told linux does memory ...
0
votes
1answer
3k views

Checking Hard Disk Health on HP P410 RAID Card

How can I regularly check health of HDDs on a HP DL180 with P410 RAID Card on a live system? hpacucli is installed, however, could not see any options for this feature. Using CentOS, 64-bit. Thanks ...
0
votes
1answer
69 views

Volume group not created

I have a Professional XXL with 2x 1TB HDDs (1TB RAID) server from velia.net and i want to create a volume group in it but when first i create pv it's showing. [root@xen17 ~]# pvcreate ...
0
votes
1answer
886 views

CentOS 5: is %wa too high or optimal?

i have question about waiting for HDD. I'm not sure what is optimal %wa. Server running browser game, i know that there is a lot hdd writing but im not sure what is optimal %wa. Server running 8 ...
2
votes
1answer
753 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 ...
0
votes
2answers
2k views

sshd[4344]: error: ssh_selinux_setup_pty: security_compute_relabel: Invalid argument?

OpenSSH_5.8p1, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 selinux-policy-2.4.6-338.el5 pam-0.99.6.2-12.el5 SELinux is running in permissive mode: # sestatus SELinux status: enabled ...
1
vote
1answer
368 views

assign a USB to KVM virtual machine centos 5.8

can any one advice how to assign a USB to a guest based on KVM and host is centos 5.8 64-bit ? when i tried with gui using virt-manager -> add physical device-> usb i got all usb like null despite ...
3
votes
1answer
6k views

Explain CentOS 5 vs. CentOS 6 - why are releases not sequential?

I was confused about why my new server had CentOS 5.9 installed on it, when CentOS 6.3 is available. But CentOS 5.9, it turns out, is actually the latest release. Why are 5.x versions being released ...
0
votes
1answer
960 views

Server not responding to pings on external interface

I'm sure this is an easy routing question, but I've been banging my head over it for hours now. Centos 5. eth1 private. 10.0.0.12/24 gw 10.0.0.1 eth0 public 216.234.x.x gw 216.234.x.x route command ...
-2
votes
1answer
76 views

Linux Server HDD Corrupted

Today I put my forum offline just before scheduled Cpanel backup. An hour later when I checked it says DATABASE error occured(or whatever the database error was) I logged into SSH and perform reboot. ...
0
votes
1answer
588 views

PHP curl showing wrong version

Hi I have been trying to get Curl with SSL support on CentOS 5.9 server . I have in the process updated php to 5.4.11 using the remi repo. The system is running plesk and when I do I look at phpinfo() ...
-1
votes
2answers
401 views

IP board not working on my new vps [closed]

my invision power board is not working on my new vps but it working on my old hosting provider's server. ERROR: Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
2answers
579 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
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 ...
1
vote
0answers
206 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 ...
1
vote
1answer
3k 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
84 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
71 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
579 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 ...
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 ...
0
votes
1answer
530 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
758 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: ...
2
votes
2answers
19k 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
155 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
2answers
345 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
2k 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 ...
1
vote
0answers
2k 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
335 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 ...
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 ...
0
votes
1answer
129 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
2k 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
329 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
2k 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 ...
2
votes
3answers
2k 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
355 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 ...
0
votes
1answer
474 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 ...
5
votes
2answers
536 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
2k 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: ...
2
votes
2answers
7k 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 ...
14
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
322 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 ...
3
votes
2answers
4k 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 ...
1
vote
1answer
1k 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
209 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
2k 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
254 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
2k 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
176 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 ...
-1
votes
2answers
57 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 ...
-1
votes
1answer
111 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 ...