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
233 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
914 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
161 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
208 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
1k 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
147 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
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 ...
-1
votes
1answer
93 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
8k 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
211 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
172 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
128 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'] ...
2
votes
3answers
826 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 ...
1
vote
1answer
172 views

Can't Send Large Messages Using Sendmail CentOS 5

I have recently replaced a Fedora Core 3 server with one running CentOS 5 for the purposes of a mail relay in a DMZ. My problem is that when the server is sending messages to a particular remote ...
0
votes
3answers
2k 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 ...
1
vote
0answers
67 views

Need to Upgrade PCRE version

We have project firststepspreschool.in, currently it's running a shared server, we required FFmpeg for this project, so we have made the plan to switch over on VPS server. we have hosted domain VPS ...
0
votes
1answer
464 views

Error when install Wordpress with mariadb “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”

rpm -e --nodeps mysql-libs yum install MariaDB-server The above command helped me to install mariadb, also installed Wordpress. This was a great help. My problem now is when I reboot the server or ...
2
votes
2answers
880 views

What is the correct mail set up for multiple domains on one server?

I have a machine (centos 5) with one external ip address. On that machine I have many virtual hosts with a few different top level domain names and sub-domains under those eg. sub1.domain1.com ...
0
votes
1answer
266 views

apache redirect htacess on error 500

Im trying to redirect on Error 500 , but its not happening. .htaccess file ErrorDocument 500 /custom.php custom.php just has a echo '<h1>ERROR OCCURED </h1>'; should I configure ...
-1
votes
3answers
2k views

upgrade centos apache to httpd-2.2.23

A security vulnerability was found in Apache in April 2012 that is a PCI compliance issue: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0883 I have always kept my servers (CentOS) up to ...
2
votes
3answers
874 views

Which services to disable on a CentOs 5.8 web/database server?

I have just setup my CentOS 5.8 64 [final] server as a webserver. Specs: 2x E5620 Intel CPU, DDR3 RAM, Hardware Adaptec RAID 10, 4x SAS drives. I have installed myself: Nginx PHP-FPM MySQL ...
2
votes
2answers
2k views

Compiling Gearman PHP Library for CentOS 5.8

I've been trying to get Gearman compiled on CentOS 5.8 all afternoon. Unfortunately I am restricted to this version of CentOS by my CTO and how he has our entire network configured. I think it's ...
0
votes
2answers
490 views

crontab: command not found in CentOS

I tried to setup a cron job in my new CentOS VPS server over SSH. I typed in the command crontab -e and I got the following error message:- -bash: anacrontab: command not found Any idea how I can ...
0
votes
1answer
101 views

403 Error when accessing vhost directive

I'm having some troubles with setting up my webserver (Centos 5.8). It's a brand new server and I'm trying to set a vhost to the following dir: /home/exo/public_html However whenever I restart ...
0
votes
1answer
381 views

Could not evaluate: certificate verify failed while using ssl proxy

One of our machines was recently put behind an SSL proxy and since then I can't connect to puppet with "Could not evaluate: certificate verify failed." I have checked that the dates match, ...
0
votes
1answer
5k views

Adding root certificate to CentOS 5

Recently one of my machines was put behind a proxy meaning some programs I had working no longer do. When i try to do "openssl s_client -showcerts -connect remoteserver:remoteport" it presents me ...
2
votes
2answers
15k views

Too many Bind query (cache) denied, DNS attack?

Once Bind crashed and I did: tail -f /var/log/messages I see a massive number of logs every second. Is this a DNS attack? or is there something wrong? Sometimes I see a domain in logs like this: ...
1
vote
0answers
135 views

How to make all of my IPs works in HyperVM XEN?

I've installed HyperVM on CentOS 5.8 final to make XEN VPS. I have 5 IPs, and added them to an IPPool. They are from *.123 to *.126. But when I add Virtual machines, just the first one (which indicate ...
5
votes
3answers
4k views

Clear / Flush cached memory [duplicate]

I have a small VPS with 6GB RAM hosting a couple of websites. Recently I have noticed that my cached memory size is quite high - see below: Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.1%id, 0.0%wa, ...
2
votes
1answer
4k views

apxs2 is missing so I can't install Apache mod x-sendfile

I have a CentOS 5.8 server with Apache2.4 and I want to install mod x-sendfile. I've uploaded the c file to the server and according to the instructions I should run: apxs2 -cia mod_xsendfile.c I ...
1
vote
2answers
244 views

Install gettext-0.17-1.el5.i386.rpm on CentOS 5.8 i386 gives “/usr/bin/python is needed” error

I've removed yum by mistake. So, now I'm installing all the dependencies needed by yum manually. One of those is gettext-0.17-1.el5.i386.rpm and when I try to install it gives the following error, ...
2
votes
1answer
11k views

Linux service --status-all shows “Firewall is stopped.” what service does firewall refer to?

I have a development server with the lamp stack running CentOS: [Prompt]# cat /etc/redhat-release CentOS release 5.8 (Final) [Prompt]# cat /proc/version Linux version 2.6.18-308.16.1.el5xen ...
2
votes
2answers
1k views

Monitor or log directory permission changes?

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it ...
3
votes
1answer
137 views

Is it possible to migrate CentOS from (Mac) VMware Fusion into (Cisco VPS) VMWare ESXi?

Is there any solution to clone CentOS (full mirror) from Mac VMware fusion to VMWare ESXi on Cisco VPS server?
0
votes
1answer
371 views

/tmp always gets full even after resize

I have a cPanel Server with 4GB of Ram and 4GB of /tmp space. I always get this error: Will this cause slow performance? and can I delete everything? Drive Critical: /tmp (/var/tmp) is 95% full ...
0
votes
1answer
519 views

Yum package conflict between different architectures

I have a machine running CentOS 5.5 I want to upgrade to the newest 5.x release. It's tripping over freetype. Freetype has both an i386 and an x86_64 version installed. This is normal, but the x86_64 ...
0
votes
1answer
805 views

Can't access PHP files through mod_userdir when suPHP is installed

After installing suPHP using DirectAdmin custombuild I can't access my PHP files with mod_userdir. e.g. http://ip/~user That's what I did: cd /usr/local/directadmin mv custombuild custombuild.old ...
0
votes
1answer
257 views

Mysql process taking all the memory

When I checked my process on VPS, I can see 18 instance of mysql running. What could be wrong? 1780 mysql 15 0 876M 142M 6744 S 0.0 8.1 0:00.51 /usr/libexec/mysqld --basedir=/usr ...
1
vote
1answer
926 views

trying to allow domain admins access in apache

I am trying to authenticate domain admins through apache and it is not working. Error i get is as follows [Mon Sep 24 14:54:45 2012] [debug] src/mod_auth_kerb.c(1432): [client 172.16.0.85] ...
2
votes
1answer
67 views

Subversion update

I have a Subversion system running. It always does an post-commit update on /var/www by the following code: /usr/bin/svn update /var/www/. But, this is OK when I am working on an other server. I do a ...
1
vote
1answer
110 views

Stunnel delaying boot

My stunnel implementation works fine when the network is plugged in but it takes an awful amount of time, which delays the whole boot process, when there is no network connected to the machine. As ...
3
votes
1answer
477 views

Troubleshooting “connection reset” error on my linux server

I fervently hope someone here can help me with the problem I am experiencing. I am a programmer, and I have very little understanding of linux sysadmin terminology/concepts. I am attempting to ...
1
vote
1answer
636 views

CentOS Web Server is very slow

I have a local Web Server (running CentOS 5.5) that hosts an intranet for my company. The server itself runs fine, and the web pages are servered, but it is very, very slow. I find myselft having to ...
2
votes
3answers
385 views

Should I continue using CentOS 5.3?

Our small company has rented a remote machine some 3 year ago. The machine is used as a company server, runs our email, web, source code repository, bugtracker, forum, wiki, etc. OS is linux CentOS ...
0
votes
1answer
118 views

trouble in install mod_ssl

I make some trouble in install mod_ssl on my centos5.5. when I type: yum install mod_ssl Some wrong happened for: Loaded plugins: fastestmirror Determining fastest mirrors addons ...
3
votes
1answer
67 views

Re-packaging commercial software into RPM packages

The situation is this - I have a small CentOS 5 "cluster" (currently 7 machines, but potential for more) which run a commercially available software package that's distributed essentially in tarball ...
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 ...