Saturday, February 12, 2011

mysqld ไม่สามารถใช้งานได้ แต่ status ก็ไม่ตาย ใครเคยเจอบ้าง

แบบอยู่ๆ ทุกเว็บก็ connect mysqld ไม่ได้ แต่พอ ssh เข้าไปเช็ค [root@server root]# service mysqld status mysqld (pid 22214) is running... ผมแก้แค่ [root@server root]# kill -9 22214 มันก็ใช้งานได้เลยนะครับ โดยเปลี่ยน pid [root@server root]# service mysqld status mysqld (pid 22548) is running... แต่ปัญหาคือต้องมาค่อย kill มันนะครับเลยไม่รู้สาเหตุว่าทำไมอยู่ๆมันถึงทำงานไม่ได้นะครับ มีใครเคยเจอบ้างไหมครับ ใช้ linux + plesk นะครับ ขอบคุณครับ เช็ค log มันขึ้นแบบนี้นะครับจาก /var/log/mysqld.log [root@server log]# cat mysqld.log.1 A mysqld process already exists at  Sat May 3 20:02:28 ICT 2008 080503 20:02:55  mysqld ended 080503 20:05:27  mysqld started 080503 20:05:28  InnoDB: Out of memory in additional memory pool. InnoDB: InnoDB will start allocating memory from the...

Friday, February 11, 2011

mysqld dead but subsys locked โขว์แบบนี้ ติดตั้งแต่ kloxo อย่างเดียว เกิดจากอะไร

ysqld dead but subsys locked โขว์แบบนี้ ติดตั้งแต่ kloxo อย่างเดียว เกิดจากอะไร ยังไม่ได้ใส่เว็บเลย ต้องทำอะไรที่ไม่ให้เป็นบ่อยๆครับ Quote100811 13:29:40  mysqld started 100811 13:29:40  InnoDB: Started; log sequence number 0 71442 100811 13:29:40 [Note] /usr/libexec/mysqld: ready for connections. Version: '5.0.91'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution 100812 11:59:03 [Note] /usr/libexec/mysqld: Normal shutdown 100812 11:59:03  InnoDB: Starting shutdown... 100812 11:59:04  InnoDB: Shutdown completed; log sequence number 0 71452 100812 11:59:04 [Note] /usr/libexec/mysqld: Shutdown complete 100812 11:59:04  mysqld ended 100812 12:01:12  mysqld started 100812 12:01:13  InnoDB: Started; log sequence number 0...

Thursday, February 10, 2011

Alert: Could Not Connect to Database: The error has been logged. Please contact the administrator....

I ssh to server with root roles and change mysql root password. When I login to localhost:7777 with user admin and create new database, I get error below: Quote:Alert: Could Not Connect to Database: The error has been logged. Please contact the administrator.... Old database still work. How to fix it? ======================================== Home (admin)/Servers/Server Home (localhost)/Database/Admins and change the password to the one u provided over ssh i'm not much a linux guy but have learned that ssh with root can make me a lot of problems (probably cause i'm not a linux guy --------------------------------------------------------------------------- try Home (admin)/Servers/Server Home (localhost)/Database/Admins and change the password to the one u provided over ssh i'm...

Saturday, February 5, 2011

Kloxo อัพไฟล์แล้ว Alert: file_exists_not_owned แก้ยังไง

 อัพไฟล์ zip ผ่านทาง File Manager ของ Kloxo แต่ Alert: file_exists_not_owned [/home/admin/mydomain.net/test//xxxxxxxt.zip] แก้ยังไงครับ  ================================================ Alert: file_exists_not_owned [__path_customer_root/admin//love4m.com/forum/smilies.php] Looks like ownership problems @unix. Get into the SSH --> to that directory cd love4m.com/forum then chown user:apache * -R user:apache = unix_username : unix_groupname -R means that it will reset ownership permissions. The user = the name of that unix account. If you have a different configuration of permissions and ownerships, then you need to identify the ownership of other files in that directory and change user = that_name and groupname. Once in my case, the username did not exists for...

 
Design by Laikeng | Bloggerized by Storesu - sutoday | Court