Posted by Jonathan Adjei under
LAMP ,
PleskNo Comments
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 admin account’s password.
/usr/bin/mysql_fix_privilege_tables --password=xxx Super
Posted by Jonathan Adjei under
LAMP ,
PleskNo Comments
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 solution.
Posted by Jonathan Adjei under
LAMPNo Comments
This will count the number of files in the current directory from a linux command line.
ls -l | grep '^-' | wc -l