ผู้เขียน หัวข้อ: ขอความช่วยเหลือ ด่วนมากครับ  (อ่าน 8035 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ มะโหน่ง

  • Hero Member
  • *****
  • กระทู้: 583
  • Respect: 0
    • ดูรายละเอียด
    • สสอ.พรานกระต่าย กำแพงเพชร
ขอความช่วยเหลือ ด่วนมากครับ
« เมื่อ: พฤษภาคม 15, 2009, 16:31:13 PM »
0
Upgrate Structue แล้วเกิด Error ในช่วงที่กำลัง Update MySQL Lost connect จากนั้น ฐานข้อมูล ก็ เข้าใช้งานไม่ได้เลย ครับ ระบบแจ้ง Table 'xxxx' was not locked with LOCK TABLES ต้องแก้ไขไง ดี ครับ และ แย่กว่าคือ เครื่อง ที่ Backup ผม ก็ เจ้ง ไปด้วย ขอความช่วยเหลือ ด้วยครับ
สสอ.พรานกระต่าย กำแพงเพชร
้http://www.phrankratai.com
D้W = http://1.179.153.246:99

ออฟไลน์ udomchok

  • Hero Member
  • *****
  • กระทู้: 8,347
  • Respect: +589
    • ดูรายละเอียด
    • ร.พ.สมเด็จพระสังฆราช องค์ที่ 17
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #1 เมื่อ: พฤษภาคม 15, 2009, 17:15:55 PM »
0
ศึกษาแนวทางการแก้ไขจาก
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=10078.msg59265#msg59265
ทำด้วยหัวใจร.พ.สมเด็จพระสังฆราช องค์ที่ 17 อ.สองพี่น้อง จ.สุพรรณบุรี
อบรมโดย BMS Team เมื่อ พ.ย. 49 ขึ้นระบบห้องบัตรเมื่อ X'Mas 2007
2008 : X-Ray กายภาพบำบัด แพทย์แผนไทย กิจกรรมบำบัด OPD ตา
2009 : ทันตกรรม ห้องตรวจตา OPD (พยาบาลและห้องตรวจแพทย์บางห้อง)

ออฟไลน์ มะโหน่ง

  • Hero Member
  • *****
  • กระทู้: 583
  • Respect: 0
    • ดูรายละเอียด
    • สสอ.พรานกระต่าย กำแพงเพชร
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #2 เมื่อ: พฤษภาคม 15, 2009, 18:26:58 PM »
0
คือ ตอนนี้ Login ได้แต่ทำไร ไม่ได้ เลยครับ ระบบ แจ้ง ว่า
table 'xxx' was not locked with LOCK TABLE

XXX คือ ตารางที่ระบบ เรียกใช้งานครับ


OS Windows 2003 Server MySQL 5.1.28-rc-community

Error Log  มีอยู่ว่า

ช่วงแรก ๆ


InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
090405 14:35:46  InnoDB: Setting file .\ibdata1 size to 100 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
090405 14:35:48  InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 64 MB
InnoDB: Database physically writes the file full: wait...
090405 14:35:50  InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 64 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
090405 14:35:53  InnoDB: Started; log sequence number 0 0
090405 14:35:54 [Note] Event Scheduler: Loaded 0 events
090405 14:35:54 [Note] D:\HOSxP\MySQL\bin\mysqld.exe: ready for connections.
Version: '5.1.28-rc-community'  socket: ''  port: 3306  MySQL Community Server (GPL)
090405 14:58:07  InnoDB: Error: table `pangmapha`.`access_menu` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
090405 14:58:07  InnoDB: Error creating file '.\pangmapha\access_menu.ibd'.
090405 14:58:07  InnoDB: Operating system error number 80 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file '.\pangmapha\access_menu.ibd'
InnoDB: under the 'datadir' of MySQL.
090405 14:58:08  InnoDB: Error: table `pangmapha`.`accessoperation` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
090405 14:58:08  InnoDB: Error creating file '.\pangmapha\accessoperation.ibd'.
090405 14:58:08  InnoDB: Operating system error number 80 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file '.\pangmapha\accessoperation.ibd'
InnoDB: under the 'datadir' of MySQL.
090405 14:58:09  InnoDB: Error: table `pangmapha`.`active_medication` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
090405 14:58:09  InnoDB: Error creating file '.\pangmapha\active_medication.ibd'.
090405 14:58:09  InnoDB: Operating system error number 80 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file '.\pangmapha\active_medication.ibd'
InnoDB: under the 'datadir' of MySQL.
090405 14:58:09  InnoDB: Error: table `pangmapha`.`adr_cause` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
090405 14:58:09  InnoDB: Error creating file '.\pangmapha\adr_cause.ibd'.
090405 14:58:09  InnoDB: Operating system error number 80 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file '.\pangmapha\adr_cause.ibd'
InnoDB: under the 'datadir' of MySQL.
090405 14:58:10  InnoDB: Error: table `pangmapha`.`adr_continue_rechallenge` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
090405 14:58:10  InnoDB: Error creating file '.\pangmapha\adr_continue_rechallenge.ibd'.
090405 14:58:10  InnoDB: Operating system error number 80 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file '.\pangmapha\adr_continue_rechallenge.ibd'
InnoDB: under the 'datadir' of MySQL.
090405 14:58:10  InnoDB: Error: table `pangmapha`.`adr_death` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?

ช่วงหลัง ๆ

090515 14:48:24 [ERROR] Cannot find or open table pangmapha_blank/ovst from
the internal data dictionary of InnoDB though the .frm file for the
table exists. Maybe you have deleted and recreated InnoDB data
files but have forgotten to delete the corresponding .frm files
of InnoDB tables, or you have moved .frm files to another database?
or, the table contains indexes that this version of the engine
doesn't support.
See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
how you can resolve the problem.

090515 14:49:17 [ERROR] Cannot find or open table pangmapha_blank/ovst from
the internal data dictionary of InnoDB though the .frm file for the
table exists. Maybe you have deleted and recreated InnoDB data
files but have forgotten to delete the corresponding .frm files
of InnoDB tables, or you have moved .frm files to another database?
or, the table contains indexes that this version of the engine
doesn't support.
See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
how you can resolve the problem.

090515 14:55:24 [Note] D:\HOSxP\MySQL\bin\mysqld.exe: Normal shutdown

090515 14:55:24 [Note] Event Scheduler: Purging the queue. 0 events
090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 1988  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 1987  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 1961  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 400  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 372  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 367  user: 'sa'

090515 14:55:26 [Warning] D:\HOSxP\MySQL\bin\mysqld.exe: Forcing close of thread 366  user: 'sa'
สสอ.พรานกระต่าย กำแพงเพชร
้http://www.phrankratai.com
D้W = http://1.179.153.246:99

ออฟไลน์ thannawe

  • Hero Member
  • *****
  • กระทู้: 2,904
  • Respect: +8
    • ดูรายละเอียด
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #3 เมื่อ: พฤษภาคม 15, 2009, 18:43:38 PM »
0
ตามรูปครับ

 :D ;) :D ;)

เข้า Emergency mode ให้ได้ครับ
ตามลิ้งกระทู้ด้านบน
แล้วเข้า ได้ ให้ทำตามกระทู้ด้านล่าง
กิจจา ชาญธัญกรรม
นักวิชาการคอมพิวเตอร์ชำนาญการ รพ.โพธาราม จ.ราชบุรี
็HOSxP XE

ออฟไลน์ มดตานอย ครับ..

  • Hero Member
  • *****
  • กระทู้: 3,137
  • Respect: 0
    • ดูรายละเอียด
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #4 เมื่อ: พฤษภาคม 15, 2009, 18:50:40 PM »
0
ถ้าแก้ปัญหานี้ได้แล้ว    แนะนำให้ใช้

-CentOS 5.3   64  bit   + MySQL 5.1.30  64  bit   เพราะมันเสถียรกว่า windows  ครับ           






Nakhonphanom Hospital

MR.Tanoy999 ผู้ใช้งานทั่วไป
tanoy999-at-gmail-dot-com
เริ่ม  1 ตุลาคม 2549  โดย  BMS

ออฟไลน์ มดตานอย ครับ..

  • Hero Member
  • *****
  • กระทู้: 3,137
  • Respect: 0
    • ดูรายละเอียด
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #5 เมื่อ: พฤษภาคม 15, 2009, 19:03:21 PM »
0

Nakhonphanom Hospital

MR.Tanoy999 ผู้ใช้งานทั่วไป
tanoy999-at-gmail-dot-com
เริ่ม  1 ตุลาคม 2549  โดย  BMS

ออฟไลน์ มะโหน่ง

  • Hero Member
  • *****
  • กระทู้: 583
  • Respect: 0
    • ดูรายละเอียด
    • สสอ.พรานกระต่าย กำแพงเพชร
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #6 เมื่อ: พฤษภาคม 17, 2009, 08:36:40 AM »
0
ขอบคุณครับ อยู่ระหว่าง รอ Server ใหม่ อยู่ ครับ
ตอนนี้ ต้อง แก้ไข ไปก่อน พลาง ๆ ขอบคุณครับ  :-\
สสอ.พรานกระต่าย กำแพงเพชร
้http://www.phrankratai.com
D้W = http://1.179.153.246:99

ออฟไลน์ มนตรี บอยรักยุ้ยคนเดียว

  • Hero Member
  • *****
  • กระทู้: 5,369
  • Respect: +12
    • ดูรายละเอียด
    • โรงพยาบาลชุมชน ด่านมะขามเตี้ย
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #7 เมื่อ: พฤษภาคม 17, 2009, 08:47:01 AM »
0
ถ้าแก้ปัญหานี้ได้แล้ว    แนะนำให้ใช้
-CentOS 5.3   64  bit   + MySQL 5.1.30  64  bit   เพราะมันเสถียรกว่า windows  ครับ           
ผมก็แนะนำให้ใช้เหมือนกัน
linux 64  bit   + MySQL 5.1.30 หรือ
 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
CentOS 5.3   64  bit + MySQL5.1.30 XtraDB 64  bit   RAM 2 GB
ผมใช้กับ สอ.ใน อ.หนองปรือ จ.กาญจนบุรีแล้ว ก็น่าใช้นะครับ
ที่ทดสอบ มี server รอให้ทดสอบ สัปดาห์หน้า อีก 10 เครื่อง(สอ.ใน อ.ท่าม่วง จ.กาญจนบุรี)
เริ่ม11พย.2548OPD-Paperlessพร้อมHOSxPลดโลกร้อน
FF-Paperless(รพ.สค.)เริ่ม1ตค2555=100%
IPD-Lesspaper1ตค2560ระบบDmsByNeoNetwork
IPD-Paperless1พ.ค2562ระบบHOSxPXE4
ServerMTOL8.5+MDB-10.4.20,SlaveOL8.5+MDB-10.7.3
LOG=PostgreSQL11,INV=PostgreSQL11

doramon

  • บุคคลทั่วไป
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #8 เมื่อ: พฤษภาคม 17, 2009, 09:59:47 AM »
0
ตรวจสอบ  driver  D

ด้วยครับ

ว่า พื้นที่ เหลือเท่าไรครับ

doramon

  • บุคคลทั่วไป
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #9 เมื่อ: พฤษภาคม 17, 2009, 10:00:27 AM »
0
เอา  my.ini

ส่งขึ้นมาด้วยครับ


ออฟไลน์ Auing

  • Sr. Member
  • ****
  • กระทู้: 458
  • " *-* "
  • Respect: 0
    • ดูรายละเอียด
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #10 เมื่อ: พฤษภาคม 17, 2009, 10:09:42 AM »
0
ขอบคุณครับ อยู่ระหว่าง รอ Server ใหม่ อยู่ ครับ
ตอนนี้ ต้อง แก้ไข ไปก่อน พลาง ๆ ขอบคุณครับ  :-\


เป็นกำลังใจให้ครับ  .... ผมกว่าจะได้  Server  ผมได้  TV  มาดูก่อน((ท่าน  ผอ. จัดให้  เค้าบอกว่าสำคัญ)))    แต่หวังว่าที่อื่นคงไม่เหมือนผมนะครับ :'(
Santisuk Hosp
Mr.NOPHADON,>เจ้าพนักงานเครื่องคอมพิวเตอร์ชำนาญการกินเป็นพิเศษ
MSN      : auinga@hotmail.com    
Server   :   HP, Cen OS 6.4 64 bit, Ram 2 G 
Hosxp structure version    : 3.56.8.21, MariaDB 5.5.32
HOSxP Start : 13092549

ออฟไลน์ มดตานอย ครับ..

  • Hero Member
  • *****
  • กระทู้: 3,137
  • Respect: 0
    • ดูรายละเอียด
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #11 เมื่อ: พฤษภาคม 17, 2009, 22:11:34 PM »
0
ถ้าแก้ปัญหานี้ได้แล้ว    แนะนำให้ใช้
-CentOS 5.3   64  bit   + MySQL 5.1.30  64  bit   เพราะมันเสถียรกว่า windows  ครับ           
ผมก็แนะนำให้ใช้เหมือนกัน
linux 64  bit   + MySQL 5.1.30 หรือ
 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
CentOS 5.3   64  bit + MySQL5.1.30 XtraDB 64  bit   RAM 2 GB
ผมใช้กับ สอ.ใน อ.หนองปรือ จ.กาญจนบุรีแล้ว ก็น่าใช้นะครับ
ที่ทดสอบ มี server รอให้ทดสอบ สัปดาห์หน้า อีก 10 เครื่อง(สอ.ใน อ.ท่าม่วง จ.กาญจนบุรี)

สุดยอดจริงๆ พี่บอย   มีของให้ทดสอบ   เบื่อแล้วส่งมาทางนี้ด้วยนะครับ      5  5  5  5    ;D ;D ;D ;D ;D ;D


Nakhonphanom Hospital

MR.Tanoy999 ผู้ใช้งานทั่วไป
tanoy999-at-gmail-dot-com
เริ่ม  1 ตุลาคม 2549  โดย  BMS

ออฟไลน์ มะโหน่ง

  • Hero Member
  • *****
  • กระทู้: 583
  • Respect: 0
    • ดูรายละเอียด
    • สสอ.พรานกระต่าย กำแพงเพชร
Re: ขอความช่วยเหลือ ด่วนมากครับ
« ตอบกลับ #12 เมื่อ: พฤษภาคม 18, 2009, 08:45:45 AM »
0
ขอคุณครับ ตอนนี้ แก้ปัญหาได้แล้ว ครับ สาเหตุ อาจจะเกิดจาก Server ผม Ram มันน้อน ครับ
แค่ 512MB เอง ใช้มานานนมหลายปี ตอนนี้ ก้ เพียงแก้ไขให้ใช้งานได้ไปก่อนครับ เพราะว่าจะ
ได้ Server ใหม่ เดือนหน้านี้แล้วครับ ยังไง คงได้รบกวนอาจารย์ ทุกท่านอีกรอบ แล้ว มีใครใช้
FreeBSD บ้างไหม ครับ ขอบคุณครับ
สสอ.พรานกระต่าย กำแพงเพชร
้http://www.phrankratai.com
D้W = http://1.179.153.246:99