heretolearn
Active Member
right now even ssh is down, usually that worked. Guess i need to wait another 4-5 hours like usually.
He is using lighttpd..
vps6.net
Those can't be peak times because server goes down one time a day and the time frame is +-15 minutes day after day. So right now i can get my site up again with 2 minutes.
phpmyadmin 3.4.10
lighttpd/1.4.29
MySQL client version: 5.0.95
[root@ ~]# /etc/init.d/mysqld restart
Stopping MySQL: [FAILED]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
It can't connect to mysql.
yum update
sh /script/upcp
mkdir /tmp/kloxo-test
cd /tmp/kloxo-test
rm -rf index*
### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1587'
### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1588'
### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1591'
### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1592'
### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1593'
wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1596'
mv index* kloxo.zip
unzip kloxo.zip
yes | cp -rf /usr/local/lxlabs/kloxo /usr/local/lxlabs/kloxo.bck
yes | cp -rf ./kloxo /usr/local/lxlabs
sh /script/cleanup
echo '[centalt]' > /etc/yum.repos.d/kloxo-centalt.repo
echo 'name=centalt - $basearch' >> /etc/yum.repos.d/kloxo-centalt.repo
echo 'baseurl=http://centos.alt*****repository/centos/5/$basearch/' >> /etc/yum.repos.d/kloxo-centalt.repo
echo 'enabled=1' >> /etc/yum.repos.d/kloxo-centalt.repo
echo 'gpgcheck=0' >> /etc/yum.repos.d/kloxo-centalt.repo
echo 'includepkgs=nginx mod_rpaf' >> /etc/yum.repos.d/kloxo-centalt.repo
sh /script/fix-chownchmod
# cd /usr/local/src
# wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
# tar xzvf mod_rpaf-0.6.tar.gz
# cd mod_rpaf-0.6
yum install httpd-devel gcc
# apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c
# vim /etc/httpd/conf/httpd.conf
LoadModule rpaf_module modules/mod_rpaf-2.0.so
# mod_rpaf Configuration
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 10.0.0.1
RPAFheader X-Forwarded-For
/etc/init.d/httpd restart
sh /script/xcache-install
So all thing you need to do is just free your cache memory once a day. I am damn sure your mysql eating a lot a of cache and it doesnt find some free space and gives you error.
So Just free your cache .