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
1answer
380 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
1k 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
252 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 ...
2
votes
1answer
4k 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
196 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
64 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
237 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
242 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
1answer
153 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
355 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
171 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
53 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
67 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
359 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
593 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
343 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
392 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: ...
1
vote
1answer
5k 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
118 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
54 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
174 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 ...
0
votes
0answers
1k 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
254 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
73 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
75 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
734 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
146 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
929 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
3answers
655 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
277 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
234 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
218 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
113 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 ...
4
votes
2answers
196 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
894 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
2k 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
735 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
223 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
2k 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
861 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
155 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
200 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
973 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
144 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
101 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 ...