First of all check which FTP is using the Cpanel proftpd or pureftpd
If it is using the proftpd, do the folowing to fix the 530 error
1. First of all try the /scripts/ftpupdate
2. grep /etc/proftpd/passwd.vhosts (here is the domain username)
3. If it is not present there then grep /etc/proftpd/
4. Check details and cat >> /etc/proftpd/passwd.vhosts
5. Paste the main ftp account details in this file
6. /scripts/restartsrv_ftpserver
Note: please be careful in doing it. If you have specified cat > /etc/proftpd/passwd.vhosts, it w
ill overwrite the whole content.
If it is pureftpd:
Do the above 6 steps
7. Sometimes you need to rum "/usr/sbin/pure-uploadscript -B -r /usr/local/bin/ftpfilter" also
Monday, 22 September 2008
Saturday, 20 September 2008
Installing MySQL from Source
Get the source code
and if you want some more engines
Then:
path could also be:
Also run :
/usr/local/bin/mysql_install_db /usr/local/bin/mysqld_safe &
Dont forget to change the admin password :
mysqladmin -u root -p password 'new-password'
On Linux/CentOS/RedHat :
1. Copy mysql.server.sh from the src directory /support-files to /etc/init.d and rename it to mysqld 2. Enter it into the startup scripts :
chkconfig –add mysqld chkconfig mysqld on
3. Edit the /etc/init.d/mysqld script so that the correct parameters (basedir , datadir, etc) are filled in and run the script to test it
4. Start and stop the service with : service mysqld stop service mysqld start
tar -xzf mysql-5.0.XX.tar.gz
% cd mysql-5.0*
% ./configure
--enable-thread-safe-client
--with-big-tables
--with-fast-mutexes
--with-extra-charsets=all
--with-innodb
and if you want some more engines
--with-archive-storage-engine
--with-blackhole-storage-engine
--with-csv-storage-engine
--with-example-storage-engine
--with-federated-storage-engine
% make
% make install
Then:
chown -R mysql /usr/local/mysql/var
chmod -R 755 /usr/local/mysql/var
path could also be:
chown -R mysql /usr/local/var/
chmod -R 755 /usr/local/var
Also run :
/usr/local/bin/mysql_install_db /usr/local/bin/mysqld_safe &
Dont forget to change the admin password :
mysqladmin -u root -p password 'new-password'
On Linux/CentOS/RedHat :
1. Copy mysql.server.sh from the src directory /support-files to /etc/init.d and rename it to mysqld 2. Enter it into the startup scripts :
chkconfig –add mysqld chkconfig mysqld on
3. Edit the /etc/init.d/mysqld script so that the correct parameters (basedir , datadir, etc) are filled in and run the script to test it
4. Start and stop the service with : service mysqld stop service mysqld start
Wednesday, 10 September 2008
Setting Google site map generator script for domain
You can setup the Google sitemap generator script in the domain using the help of following URL:
The config.xml file should be edited according to the need of the customer domain. All steps are
specified in the URL. The python version should be 2.2 or above.
https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
The config.xml file should be edited according to the need of the customer domain. All steps are
specified in the URL. The python version should be 2.2 or above.
https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
Subscribe to:
Posts (Atom)