You may Receive the below error while accessing Pure-ftpd in Kloxo VPS.
Error:
/usr/sbin/pure-ftpd -A -c50 -B -C8 -D -fftp -H -I15 -lpam -L10000:8 -m4 -s -U133:022 -u500 -i -Oclf:/var/log/pureftpd.log -k99 -Z
or
ECONNREFUSED - Connection refused by server
Solution:
# chkconfig pure-ftpd on
# /etc/init.d/xinetd restart
# yum downgrade pure-ftpd
# /script/upcp
# /script/cleanup
That's fixed my issue.
Friday, 22 March 2013
Monday, 4 March 2013
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Error while starting nginx
]# /etc/init.d/nginx restart
Stopping nginx: [FAILED]
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
Solution:
# fuser -k 80/tcp
# /etc/init.d/nginx restart
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
Thats it !!
How to install eAccelerator on CentOS
Download eAccelerator :
# wget http://downloads.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%200.9.6.1/eaccelerator-0.9.6.1.zip
# unzip eaccelerator-0.9.6.1.zip
# cd eaccelerator-0.9.6.1
# /usr/local/bin/phpize
or
# phpize
If you are getting below error while using the command "phpize" , then you need to install the missing package.
-bash: phpize: command not found
On php 5.2
# yum install php-devel
On php 5.3
# yum install php53-devel
# ./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config
or
# ./configure
# make
# make install
Grep the php.ini file
# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/etc/php5/cgi
Loaded Configuration File => /usr/local/etc/php5/cgi/php.ini
Open php.ini file
# vi /usr/local/etc/php5/cgi/php.ini
Add the below line at the end of the php.ini file.
extension="eaccelerator.so"
Restart the Apache
# /etc/init.d/httpd restart
Check whether eAcceleartor has installed or not
# php -v
PHP 5.3.22 (cli) (built: Feb 23 2013 23:45:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
Thats it !!
# wget http://downloads.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%200.9.6.1/eaccelerator-0.9.6.1.zip
# unzip eaccelerator-0.9.6.1.zip
# cd eaccelerator-0.9.6.1
# /usr/local/bin/phpize
or
# phpize
If you are getting below error while using the command "phpize" , then you need to install the missing package.
-bash: phpize: command not found
On php 5.2
# yum install php-devel
On php 5.3
# yum install php53-devel
# ./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config
or
# ./configure
# make
# make install
Grep the php.ini file
# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/etc/php5/cgi
Loaded Configuration File => /usr/local/etc/php5/cgi/php.ini
Open php.ini file
# vi /usr/local/etc/php5/cgi/php.ini
Add the below line at the end of the php.ini file.
extension="eaccelerator.so"
Restart the Apache
# /etc/init.d/httpd restart
Check whether eAcceleartor has installed or not
# php -v
PHP 5.3.22 (cli) (built: Feb 23 2013 23:45:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
Thats it !!
Subscribe to:
Posts (Atom)