Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

12/15/2011

How to Solve NO_PUBKEY 07DC563D1F41B907

 This error appere when use command #apt-get update

W: GPG error: http://www.debian-multimedia.org squeeze Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
To solve this problem we need user  to install the package debian-keyring
# apt-get install debian-keyring
and then execute this command:
# gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -

8/09/2010

Mysql Error : Table is marked as crashed and should be repaired

"Table xxx is marked as crashed and should be repaired"
ให้ทำดังนี้
1. ไปยังพื้นที่จัดเก็บ Database File คือ /var/lib/mysql
2. แล้วเข้าไปใน Directory ของ Database นั้นๆ เช่น xxx เป็นต้น
3. ใช้คำสั่ง myisamchk xxx.MYI เพื่อตรวจสอบ (xxx คือชื่อ Database ตัวที่มีปัญหา)
4. หากพบปัญหา ลองใช้คำสั่ง myisamchk -r xxx.MYI เพื่อพยายาม recovery เป็นอันดับแรก[http://dev.mysql.com/doc/refman/5.1/en/myisamchk.html ]

7/13/2010

Mysql Error

ERROR 1206: The total number of locks exceeds the lock table size

แก้ config ใน my.cnf
[mysqld]
innodb_buffer_pool_size=256M

http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size