Archive for January, 2009

Jan
12

Fix for Mysql failed to start for Virtuozzo VPS.

by admin, under Virtaul Private Server

Here is a Fix for the Mysql failed to start for a Virtual Private Server.  The error that you get is as follows:

-bash-2.00# /etc/init.d/mysql start
Starting MySQL/etc/init.d/mysql: line 364: kill: (1151) - No such process
ERROR!
touch: cannot touch `/var/lock/subsys/mysql’: Disk quota exceeded

To fix this you need to check the Inodes on your VPS and increase the Inodes.

Then restart the mysql service by using the following command:

/scripts/restartsrv_mysql

Jan
12

Install vsftpd on a VPS

by admin, under Virtaul Private Server

First lets understand what is vsftpd ?

VSFTPD stands for Very Secure FTP Deamon. It is a very light and secure FTP Deamon written from the ground up keeping security in mind.

vsftpd supports anonymous and non-anonymous FTP, Bandwidth limiting, PAM authentication, and Linux sendfile() facility.

Now lets install it for you VPS Hosting.

First we need to log into the Virtual Private Server with the root login details. Then you need to go to the folder /usr/local/src/ with command:

cd /usr/local/src/

Then we need download the latest version of vsftpd using the following command:

wget ftp://vsftpd.beasts.org/users/cevans…d-2.0.5.tar.gz

After the download is complete we need to untar the file with the following command:

tar -zxvf vsftpd-2.0.5.tar.gz

Then go to the directory vsftpd-2.0.5 and make the the file:

cd vsftpd-2.0.5
make

As soon as we make the file we need to execute the file:

make install
cp vsftpd.conf /etc

After this we need to edit the config file:

vi /etc/vsftpd.conf

You need to disable the anonymous logins and enable local login by making changes at the bottom of the file add listen=YES

Then save the config file and start vsftpd service and enable it at start up with the following command:

/usr/local/sbin/vsftpd
chkconfig vsftpd on

Linux VPS Hosting || Windows VPS Hosting || Proudly Hosted By Bodhost UK || Sitemap