WAMP服务器保持黄色,尽管服务器正常运行



我今天打开我的电脑,它执行了三个意外的更新(我禁用了更新,但由于某种原因它继续更新)。现在,我的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

如果您没有实际创建过任何INNODB数据库,您可以尝试一下。

删除这3个文件,

ib_logfile0
ib_logfile1
ibdata1

重新启动MySQL服务
left click wampmanager -> MySQL -> Service -> Restart service

幸运的是,MySQL会在看到文件丢失时重新创建这些文件,就像安装后第一次启动MySQL一样。

这是错误。

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

保存并重启所有服务。

如果启动,请停止服务,删除线路并重新启动。

刚刚有这个完全相同的问题:"[ERROR] InnoDB: .ibdata1不能在读写模式下打开"。翻出这些文件:

ib_logfile0
ib_logfile1
ibdata1

被顽固的mysqld.exe进程锁定(当试图停止所有WAMP服务或退出WAMP时不会终止)。

使用Unlocker识别锁定进程和kill。重新启动WAMP,工作成功

相关内容

  • 没有找到相关文章

最新更新