J
justinrossetti
Guest
I just changed my /etc/my.cnf (mysql database config file)
from the default
to
by first stoping mysql with "/etc/rc.d/init.d/mysqld stop", then changing the file, the starting mysql with "/etc/rc.d/init.d/mysqld start"
now I get the errors:
https://mysite:8443/login.php3?previous_page=index
and when I try to restart PSA i get the error:
how do I have plesk use these new innodb files without using a backup or re-configuring my old plesk?
thanks!
from the default
to
Code:
# Data files must be able to hold your data and indexes.
# Make sure that you have enough free disk space.
innodb_data_file_path = ibdata1:200M:autoextend
#
# Set buffer pool size to 50-80% of your computer's memory
set-variable = innodb_buffer_pool_size=256M
set-variable = innodb_additional_mem_pool_size=100M
#
# Set the log file size to about 25% of the buffer pool size
set-variable = innodb_log_file_size=100M
set-variable = innodb_log_buffer_size=50M
#
innodb_flush_log_at_trx_commit=1
by first stoping mysql with "/etc/rc.d/init.d/mysqld stop", then changing the file, the starting mysql with "/etc/rc.d/init.d/mysqld start"
now I get the errors:
https://mysite:8443/login.php3?previous_page=index
Code:
ERROR: Unable to query: Can't open file: 'misc.InnoDB'. (errno: 1) 0: /usr/local/psa/admin/plib/common_func.php3:203 psaerror(string "Unable to query: Can't open file: 'misc.InnoDB'. (errno: 1)") 1: /usr/local/psa/admin/plib/common_func.php3:390 db_query(string "select param, val from misc") 2: /usr/local/psa/admin/plib/class.Session.php:113 get_param(string "login_timeout") 3: /usr/local/psa/admin/auto_prepend/auth.php3:139 Session->Session()
and when I try to restart PSA i get the error:
Code:
[root@z mysql]# service psa stop1
/usr/local/psa/admin/bin/httpsdctl stop: httpd stopped
Stopping Plesk: [ OK ]
[root@z mysql]# service psa start
Unable to fetch SpamAssassin config from database: Can't open file: 'sa_conf.InnoDB'. (errno: 1)
Starting psa-spamassassin service: [FAILED]
ERROR 1016 at line 1: Can't open file: 'DomainServices.InnoDB'. (errno: 1)
ERROR 1016 at line 1: Can't open file: 'sessions.InnoDB'. (errno: 1)
Mysql error: Can't open file: 'key_history.InnoDB'. (errno: 1)
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
/usr/local/psa/admin/bin/httpsdctl start: httpd started
Starting Plesk: [ OK ]
how do I have plesk use these new innodb files without using a backup or re-configuring my old plesk?
thanks!