第一次安装,出问题了,求助

由 苦水 于 周三, 2008-06-04 18:06 提交。

开始在win服务器下测试,安装一切正常,观察了很久,决定使用Drupal,今天到Linux服务器下进行安装,安装过程一切正常,完成过后,登陆也都正常,当我点击“管理”时,问题来了。

眼前是一大堆的错误,后台根本无法显示,都是写SQL数据库的错误,麻烦大米指点迷津,小水也是初识Drupal,所以对这个完全没辙,下面是错误页面的提示:

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:132:\"MySQL server has gone away\nquery: UPDATE ks_variable SET value = 'b:1;' WHERE name = 'drupal_http_request_fails'\";s:5:\"%file\";s:71:\"/home/network05/domains/tukushui.com/public_html/includes/bootstrap.inc\";s:5:\"%line\";i:466;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:88:\"MySQL server has gone away\nquery: DELETE FROM ks_cache WHERE cid = 'variables'\";s:5:\"%file\";s:67:\"/home/network05/domains/tukushui.com/public_html/includes/cache.inc\";s:5:\"%line\";i:179;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:253:\"MySQL server has gone away\nquery: SELECT s.lid, t.translation, s.version FROM ks_locales_source s LEFT JOIN ks_locales_target t ON s.lid = t.lid AND t.language = 'zh-hans' WHERE s.source = 'view' AND s.textgroup = 'default'\";s:5:\"%file\";s:77:\"/home/network05/domains/tukushui.com/public_html/modules/locale/locale.module\";s:5:\"%line\";i:376;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:186:\"MySQL server has gone away\nquery: INSERT INTO ks_locales_source (location, source, textgroup, version) VALUES ('/admin', 'view', 'default', '6.2')\";s:5:\"%file\";s:77:\"/home/network05/domains/tukushui.com/public_html/modules/locale/locale.module\";s:5:\"%line\";i:392;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:90:\"MySQL server has gone away\nquery: DELETE FROM ks_cache WHERE cid LIKE 'locale:%'\";s:5:\"%file\";s:67:\"/home/network05/domains/tukushui.com/public_html/includes/cache.inc\";s:5:\"%line\";i:175;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:489:\"MySQL server has gone away\nquery: INSERT INTO ks_watchdog\n (uid, type, message, variables, severity, link, location, referer, hostname, timestamp)\n VALUES\n (1, 'update', 'Unable to fetch any information about available new releases and updates.', 'a:0:{}', 3, '<a href=\\"/admin/reports/updates\\">view</a>', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566)\";s:5:\"%file\";s:75:\"/home/network05/domains/tukushui.com/public_html/modules/dblog/db in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:274:\"MySQL server has gone away\nquery: SELECT s.lid, t.translation, s.version FROM ks_locales_source s LEFT JOIN ks_locales_target t ON s.lid = t.lid AND t.language = 'zh-hans' WHERE s.source = 'Drupal core update status' AND s.textgroup = 'default'\";s:5:\"%file\";s:77:\"/home/network05/domains/tukushui.com/public_html/modules/locale/locale.module\";s:5:\"%line\";i:376;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO ks_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:207:\"MySQL server has gone away\nquery: INSERT INTO ks_locales_source (location, source, textgroup, version) VALUES ('/admin', 'Drupal core update status', 'default', '6.2')\";s:5:\"%file\";s:77:\"/home/network05/domains/tukushui.com/public_html/modules/locale/locale.module\";s:5:\"%line\";i:392;}', 3, '', 'http://tukushui.com/admin', 'http://tukushui.com/', '218.20.116.55', 1212573566) in /home/network05/domains/tukushui.com/public_html/includes/database.mysqli.inc on line 128

以上只是三分之一的错误提示,下面还有一大板这样的提示,看了下,都是Warning: MySQL server has gone away query,我就不一一贴出来了
,附件中有截图

附件大小
吐苦水.png50.29 千字节

这个问题在我安装drupa

这个问题在我安装drupal的历史上未曾见到,建议排除故障顺序如下:

检查数据库是否有问题,可以修复一下;
而看看你的设定是否能正常链接到数据库;
顺便测试一下的你的http链接速度如何。

仅供参考。
--
爱吃瓜子,爱吃阳春面,爱吃韭菜炒鸡蛋。哈哈别说我是zhu

爱好飞行模拟游戏,在建网站 http://www.fsgame.org ,欢迎交流。

谢谢

数据库没问题的,我另外一个wordpress的博客正在使用,连接是完全没问题的,速度还行吧,服务器在国内。

重现此问题的办法

这个问题可以通过以下办法重现
在garland下新建一个page-node-edit.tpl.php文件,并且更新一下
6.X
问题不知如何解决

watchdog

watchdog 写入日志出现问题,是挺奇怪的,既然能安装,就不该有这种错误,难道是人品?
看有没有谁知道。

/**
*@interface: http://www.mobabel.net
*@description: 免费的手机移动字典,英汉,德汉,法汉等多种语言
*@interface: http://www.easywms.com
*@description: Web GIS World
*/

广告

你看看drupal数据库中

你看看drupal数据库中,是不是哪个数据库表出错了,表出错了就会出现这样的信息.
---------------------------
http://zhupou.cn