wamp服务器突然脱机

时间:2013-06-12 14:55:36

标签: wamp offline

我正在使用wamp服务器进行php开发。突然间,它变成了一条线。 (它说wamp服务器在线但是是红色的)

我不使用Skype。当我通过wamp服务器检查端口80时,它表示端口80是空闲的。

这是过去几个小时的访问日志。

127.0.0.1 - - [12/Jun/2013:15:32:47 +0530] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [12/Jun/2013:15:32:49 +0530] "GET /test/ HTTP/1.1" 200 7
127.0.0.1 - - [12/Jun/2013:15:32:49 +0530] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [12/Jun/2013:15:33:34 +0530] "POST /phpmyadmin/import.php HTTP/1.1" 200 100380

这是appache_error日志

[Wed Jun 12 14:19:48 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:20:35 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '[0-5]'' at line 1 for query SELECT * FROM wp_skilllist WHERE column REGEXP '[0-5]' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:20:37 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:21:04 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:21:06 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:21:46 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '^[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '^[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2
[Wed Jun 12 14:21:47 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 14:22:01 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Wed Jun 12 15:31:57 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico

Mysql错误日志

130607 10:14:46  InnoDB: Waiting for the background threads to start
130607 10:14:47 InnoDB: 1.1.8 started; log sequence number 2897277
130607 10:14:47 [Note] Server hostname (bind-address): '(null)'; port: 3306
130607 10:14:47 [Note]   - '(null)' resolves to '::';
130607 10:14:47 [Note]   - '(null)' resolves to '0.0.0.0';
130607 10:14:47 [Note] Server socket created on IP: '0.0.0.0'.
130607 10:14:49 [Note] Event Scheduler: Loaded 0 events
130607 10:14:49 [Note] wampmysqld: ready for connections.
Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
130612 15:37:34 [Note] wampmysqld: Normal shutdown

130612 15:37:34 [Note] Event Scheduler: Purging the queue. 0 events
130612 15:37:35  InnoDB: Starting shutdown...

我尝试了几种艺术品,但我没有找到解决方案。主要问题是它正常工作并且突然出错。这就是为什么我包含了错误日志。

您想了解更多信息吗? 我有什么与机器的用户权限有关吗?

请帮我纠正一下。

2 个答案:

答案 0 :(得分:0)

正如您所看到的,您有一个错误提到wp_skilllist插件,如果您禁用此插件可能会更好。我不完全确定它,但它是一个可能性,因为你的日志行符合这个脚本 照顾这一行

[Wed Jun 12 14:21:46 2013] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column REGEXP '^[0-5]+$'' at line 1 for query SELECT * FROM wp_skilllist WHERE First_name LIKE 'Menuka%' AND column REGEXP '^[0-5]+$' made by require('C:\\wamp\\www\\wordpress\\wp-blog-header.php'), require_once('C:\\wamp\\www\\wordpress\\wp-includes\\template-loader.php'), include('C:\\wamp\\www\\wordpress\\wp-content\\themes\\twentytwelve\\Skill_page.php'), test_getproducts, referer: http://localhost/wordpress/?page_id=2

有问题,你可以看到它引用'C:\ wamp \ www \ wordpress \ wp-content \ themes \ twentytwelve \ Skill_page.php',试着改变主题

答案 1 :(得分:0)

非常难过,我发现网络管理员已删除了我的计算机上的管理员权限。 一旦我让他允许我使用机器上的权限,我就可以运行wamp服务器。

如果您在网络中并且工作wamp服务器已联机,请检查您计算机上的权限。