Archive for October, 2006

mysql_fix_privilege_tables doesn’t work on Plesk machines?

mysql_fix_privilege_tables doesn’t work on Plesk machines?

The reason for this upgrade script failing for Plesk machines is due to Plesk changing the mysql ‘root’ account into ‘admin’. To get the script to run successfully, you can simply open up the file /usr/bin/mysql_fix_privilege_tables and change the ‘user=”root” to user=”admin”. Then start the script passing the parameter –password=xxx where xxx is your Plesk [...]

Newly installed SSL certificates not being used on PLesk

Newly installed SSL certificates not being used on PLesk

I’ve come across this a couple of times and thought it worth adding here, so I’m more likely to remember next time. You need to comment out or delete the default Virtualhost config in this file… /etc/httpd/conf.d/ssl.conf Look for the section starting with this… VirtualHost _default_:443 This is the SWSoft knowlegdebase article that details the [...]

Count files in a directory

Count files in a directory

This will count the number of files in the current directory from a linux command line. ls -l | grep ‘^-’ | wc -l Tweet