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
64 views

Possible to re-enable IPv6 without rebooting?

I have a machine running CentOS 5.8. IPv6 was disabled by creating a file /etc/modprobe.d/disable-ipv6 with the following contents: options ipv6 disable=1 Removing the file and rebooting the ...
2
votes
1answer
188 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 ...
2
votes
1answer
368 views

Centos 5.8 cant get past login screen

I think I've messed up my system. I've been using KDE for a while. Recently, I tried to install a software called gnome-connection manager. I downloaded the deb package, converted it to rpm using ...
1
vote
1answer
288 views

postfix limit sending rate

hello i have this box centos 5.9 postfix 2.3.3 how i can configure postfix to send 1 message every second no matter what, i try this in main.cf with no success: default_destination_rate_delay = ...
1
vote
1answer
83 views

Near 100% disk usage, df and du show very different results, lsof not the answer

The issue is that my CentOS 5.8 machine is telling me that I am nearly out of disk space when I am pretty confident this is not the case. I've done a fair amount of researching on this issue and have ...
1
vote
1answer
208 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 ...
1
vote
1answer
46 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 ...
1
vote
1answer
118 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
616 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 ...
1
vote
1answer
216 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 ...
1
vote
1answer
301 views

CentOS 5 kickstart requesting .discinfo in incrementing disc# folders

I am attempting to PXE boot a CentOS 5 installation and it is hanging at anaconda start without errors. I can see on the web server side that it is requesting the same .discinfo file over and over ...
1
vote
1answer
291 views

Subversion Installation Error on CentOS 5.8

I am trying to install subversion on centos 5.8 usingyum install subversion and it is throwing the error below. ..... .... Total size: 7.3 M Is this ok [y/N]: y Downloading Packages: ...
1
vote
1answer
196 views

pgpool shm_exit(0)

I'm trying to set up pgpool-II on centos-5.4 For whatever reason pgpool-II fails silently when I try to start it up. I can't seem to find a log file in the default /tmp dir or in /var/log. Can anyone ...
1
vote
1answer
143 views

Why servers error log states lots of file doesn't exist, but files are accessible and website works well

we migrated our website onto VPS server (CentOS 5.6 + Plesk 9.5), everything works nice, but one strange thing that i noticed in Plesk, is error_log file, most of the time it filled up with hundreds ...
1
vote
1answer
256 views

sendmail: deny all, allow only matched recipients

Warning: Total Sendmail noob here. Is there anyway to restrict sendmail so that it can only send mail to specific email addresses, either by list or pattern (preferred) Ideally I'd like to be able ...
1
vote
1answer
172 views

openvz node with only one vps

I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap). I run: vzsplit -n 1 -f vps1 -s 0 and have this setup: Configuration file generated by ...
1
vote
1answer
121 views

Stop script execution under apache user

My vhost server's users are allowed to access only their directories, but today i was under attack someone uploaded files by user apache in folder /tmp and executed files. How can i stop upload by ...
0
votes
1answer
47 views

Wordpress site has repeated PHP out of memory error despite increasing PHP memory limit and confirming no RLimitMEM

Nearly every 4 minutes, I'm seeing the following out of memory error in the php error log: 01-Jul-2014 21:50:03 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to ...
0
votes
1answer
127 views

Enabling HugePage support in CentOS

I'm trying to tune JVM performance by adding +UseLargePages parameter. As it threw error, I figured that it's not supported in my OS. I'm using CentOS (5.10) -- Linux 2.6.16.33-xenU 64 bit ...
0
votes
1answer
55 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
1answer
246 views

installing XtraBackup with libmysqlclient.so.18

Current situation I'd like to install XtraBackup on my VPS (Centos 5) where my main database is running. During the rpm install it told me that it misses a dependency called perl(DBD::mysql). When I ...
0
votes
1answer
350 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 Here's how I found out what was going on: $ sudo service ...
0
votes
1answer
294 views

vsftpd can not jail users using chroot

This is making me go crazy. I am trying to block a user nathan to his home directory and not allowing him to crowse around. I read all the articles but chroot is not working for me. I have this in my ...
0
votes
1answer
139 views

Apache httpd + FreeTDS hangs until restarted

Every so often requests to a Linux server (say, linux.example.org) where the web app (Django) pulls in data from a SQL Server database via FreeTDS will hang. Requests on other servers pointing to the ...
0
votes
1answer
50 views

Warning messages while building Apache server

I am building Apache server 2.4.6 from source and am not sure about a few warning messages I received during the rpm build process. The build completes OK and everything seems fine..BTW, this is on ...
0
votes
1answer
77 views

A subdomain not loading

On my newserver i set up a subdomain patientslife.linf.in. But when i try to set up another subdomain pmr.linf.in it shows the page The connection was reset in Mozilla and No data received in chrome. ...
0
votes
1answer
192 views

PPTP connection gets terminated after I try to do a speedtest

my connection to pptp gets terminated when I try to do a speedtest on speedtest.net I have a vps account with centos 5 installed. It uses openvz for virtualization. on /var/logs/messages the error ...
0
votes
1answer
57 views

Setup a preview subdomain when creating a new account in WHM

Running WHM on CENTOS 5.9 x86_64 virtuozzo VPS. When I create a new account, for example "example.com", I'm wanting to enable a "preview" feature which will allow the user to view the contents of ...
0
votes
1answer
654 views

DirectAdmin Freetype update - the make has failed

I am trying to update my VPS today as I always do but am running into a problem with the Freetype update. While I am comfortable with the day-to-day running of my VPS, I am still learning a lot when ...
0
votes
1answer
88 views

RVM Not Finding Library

I am running CentOS 5.9 and installed RVM on it. However, whenever I run rvm requirements or rvm install 1.9.3, I get: --> Processing Dependency: libyaml-0.so.1()(64bit) for package: libyaml-devel ...
0
votes
1answer
264 views

High Load Average, low CPU and Memory Usage and minimum wait time for IO Operation (5%)

I have a VPS with the OS centos 5.7, and it is behaving very weirdly. My VPS is located on a 2-core machine. For a 2-core machine, the load average I can see is very high, as evident when I use the ...
0
votes
1answer
406 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 ...
0
votes
1answer
190 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() ...
0
votes
1answer
120 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 ...
0
votes
1answer
98 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 ...
0
votes
1answer
764 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 ...
0
votes
1answer
163 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 ...
0
votes
1answer
177 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 ...
0
votes
1answer
672 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 ...
0
votes
1answer
284 views

How do I troubleshoot a session saving issue on my Media Temple CentOS VPS?

My website won't save PHP sessions properly, I originally posted on it in SO, but it's increasingly looking like a server issue. So, I figured I would re-phrase the question here. Why would this PHP ...
0
votes
1answer
255 views

VSFTPD (CentOS 5)

I can create (mkdir) folder & upload (put) file into "/home/my_ftp_folder" thru terminal, but I don't know why I can't remove folder, remove file I uploaded.
0
votes
1answer
135 views

dhcp demon faild to start

I am trying to setup dhcp demon in my CentOS machine. But whenever I start dhcpd, it fails. I don't know the reason. Here is the /etc/dhcpd.conf file. ddns-update-style none; allow bootp; subnet ...
0
votes
0answers
553 views

Centos 5.5 - Smartctl/hdparm strange behavior with both HDDs

I found out one of our servers was down today due to a HDD failure. The only thing I could see on console the was: scsi 0:0:0:0: rejecting I/O to dead device. This server has 2 HDDs with a software ...
0
votes
0answers
89 views

Request timeouts but server load is almost zero

I have a dedicated server with several virtual hosts on it (CentosOS 5). Most of content is served via lighttpd and just some via apache. The problem is that, while apache is working perfectly well, ...
0
votes
0answers
149 views

managing multiple instances in postfix

i have a CENT OS 5.5 64 bit mail server.I want my main postfix mta to relay mails sent or received to multiple postfix instances, the other postfix instances will perform the mail sending and ...
0
votes
0answers
278 views

portsentry on centos keeps restarting over and over

I have been doing some hardening on a new server [ centos 5.7 final ] i also have logwatch and seem to be getting these strange logs Commands Run: User root: /sbin/service portsentry restart ...
0
votes
0answers
34 views

Including and writing to different user accounts.. Linux, Cent OS, cPanel

Heres the basics: we've just switched host we only have 2 sites hosted on this server, no one but me has access on our other host, we could include and write server wide, for example: ...
0
votes
0answers
1k views

PHP cannot execute shell commands (CentOS 5.6, PHP 5.3.3)

Title says it all; I cannot run shell commands properly from PHP (CGI). Most commands (pwd and my own program) end with an exit code of 1 (permission denied). The command ls ends with an exit code of ...
0
votes
0answers
93 views

Magento Stopped Running

I am running magento in a dedicated server.But magento stopped running suddenly.Error log shows PCRE extension does not support UTF8,So i installed pcre after following this tutorial Still website ...
0
votes
0answers
529 views

vpnc: configuration response rejected: (ISAKMP_N_ATTRIBUTES_NOT_SUPPORTED)(13)

I have Centos 5 installed on my laptop. Using wireless. not LAN. I've configured VPNC on it.. Created also two .conf files: a.conf and b.conf a.conf is contacting to one company. b.conf to another ...