W
WebDork
Guest
Just in case anyone else has encountered similar...
I have been trying to optimise my box. When I went to bed all seemed fine, when I woke up and tried to enter PLESK admin I got:
I think I was playing with my.cnf last. I have tried different my.cnf to fix but no luck. Here is current content in case it is relevant.
I tried to reload PLESK via the /var/lib/psa/dump but when I restored
these again there seems to be lots of tables missing.
I think the problem is MyISAM / InnoDB. When I look at the database in phpmyadmin it seems a mess of the two.
Any ideas greatly appreciated.
I have been trying to optimise my box. When I went to bed all seemed fine, when I woke up and tried to enter PLESK admin I got:
ERROR: Unable to query: Can't open file: 'sessions.ibd' (errno: 1) 0: /usr/local/psa/admin/plib/common_func.php3:203 psaerror(string "Unable to query: Can't open file: 'sessions.ibd' (errno: 1)") 1: /usr/local/psa/admin/plib/class.Session.php:363 db_query(string "select * from sessions where sess_id="28pf9dra2iom87kc8f01530oi4" and click_time >= NOW() - INTERVAL 1800 SECOND") 2: /usr/local/psa/admin/plib/class.Session.php:302 Session->isExpired() 3: /usr/local/psa/admin/auto_prepend/auth.php3:170 Session->init(string "203.217.37.142")
I think I was playing with my.cnf last. I have tried different my.cnf to fix but no luck. Here is current content in case it is relevant.
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
#skip-locking
#skip-innodb
skip-grant-tables
innodb_data_file_path=ibdata1:10M:autoextend
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=200
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=128
key_buffer=8M
join_buffer=1M
max_allowed_packet=8M
table_cache=1024
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=4
myisam_sort_buffer_size=32M
#log-bin
server-id=1
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=8M
[mysql]
no-auto-rehash
#safe-updates
[isamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=8M
write_buffer=8M
[myisamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=8M
write_buffer=8M
[mysqlhotcopy]
interactive-timeout
I tried to reload PLESK via the /var/lib/psa/dump but when I restored
these again there seems to be lots of tables missing.
I think the problem is MyISAM / InnoDB. When I look at the database in phpmyadmin it seems a mess of the two.
Any ideas greatly appreciated.