我今天打开了我的电脑,它执行了三次意外更新(我禁用了更新,但由于某种原因它继续更新)。现在,我的wampserver将启动并将基本正常运行,但图标拒绝更改为绿色。我不知道为什么会这样做,我担心它可能会产生负面影响。
在其他地方找不到它。很抱歉缺乏细节,我真的不知道问题甚至可能是什么。
修改
我清除了我的apache错误日志并重新启动了服务器。启动服务器给了我这个:
[Wed Mar 12 16:48:50.672813 2014] [mpm_winnt:notice] [pid 4540:tid 564] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Wed Mar 12 16:48:50.672813 2014] [mpm_winnt:notice] [pid 4540:tid 564] AH00456: Server built: Feb 22 2013 22:08:37
[Wed Mar 12 16:48:50.672813 2014] [core:notice] [pid 4540:tid 564] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Wed Mar 12 16:48:50.674815 2014] [mpm_winnt:notice] [pid 4540:tid 564] AH00418: Parent: Created child process 716
[Wed Mar 12 16:48:51.206356 2014] [mpm_winnt:notice] [pid 716:tid 508] AH00354: Child: Starting 150 worker threads.
有人可以向我解释这意味着什么吗?说实话似乎很正常,所以我不确定这一切意味着什么。
修改
这是我的mysql日志,这看起来有问题..
2014-03-12 16:52:57 8772 [Note] Plugin 'FEDERATED' is disabled.
2014-03-12 16:52:57 8772 [Note] InnoDB: The InnoDB memory heap is disabled
2014-03-12 16:52:57 8772 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-03-12 16:52:57 8772 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-03-12 16:52:57 8772 [Note] InnoDB: Not using CPU crc32 instructions
2014-03-12 16:52:57 8772 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-03-12 16:52:57 8772 [Note] InnoDB: Completed initialization of buffer pool
2014-03-12 16:52:57 8772 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write mode
2014-03-12 16:52:57 8772 [ERROR] InnoDB: The system tablespace must be writable!
2014-03-12 16:52:57 8772 [ERROR] Plugin 'InnoDB' init function returned error.
2014-03-12 16:52:57 8772 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2014-03-12 16:52:57 8772 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-03-12 16:52:57 8772 [ERROR] Aborting
2014-03-12 16:52:57 8772 [Note] Binlog end
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'partition'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_METRICS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_CMP'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'INNODB_TRX'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'BLACKHOLE'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'ARCHIVE'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'MRG_MYISAM'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'MyISAM'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'MEMORY'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'CSV'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'sha256_password'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'mysql_old_password'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'mysql_native_password'
2014-03-12 16:52:57 8772 [Note] Shutting down plugin 'binlog'
2014-03-12 16:52:57 8772 [Note] wampmysqld: Shutdown complete
答案 0 :(得分:1)
如果您还没有真正创建任何INNODB数据库,可以试试这个。
删除这3个文件,
ib_logfile0
ib_logfile1
ibdata1
通过
重启MySQL服务left click wampmanager -> MySQL -> Service -> Restart service
幸运的是,当MySQL看到它们丢失时会重新创建这些文件,就像它在安装后第一次启动MySQL时一样。
答案 1 :(得分:0)
这是错误。
2014-03-12 16:52:57 8772 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write mode
如果您没有移动任何mysql数据文件夹,请执行以下操作
左键单击wamp图标> Mysql>的my.ini
在文件末尾写
innodb_force_recovery = 2
保存并重新启动所有服务。如果它启动,请停止服务,删除该行并重新启动。
答案 2 :(得分:0)
刚才有同样的问题:“[ERROR] InnoDB:。\ ibdata1无法在读写模式下打开”。原来这些文件:
ib_logfile0
ib_logfile1
ibdata1
被一个顽固的mysqld.exe进程锁定(在尝试停止所有WAMP服务或退出WAMP时不会终止。)
使用Unlocker来识别锁定进程并终止。重启WAMP,工作成功。