====== 您 Instance 的管理页面 ======
===== 使用您的管理页面 =====
您可以透过 Gandi 网站中 Instance 的控制皮肤来使用管理接口或是直接跳到链接: ''xxxxxx.admin.dc0.gpaas.net''( xxxxxx 请取代为实际的唯一 instance 号码 )。
您将会看到账号(账号一样是数字),与密码,是您在创建 Instance 时设置的。
您将会看到如下截屏类似的画面:
{{ en:simple:instance-admin.gif }}
您可以依照您的需求来修改。想知道如何客制化您的需求,请到 [[zh:simple:administration_of_your_instance:customize|这里]].
===== 可用的消息 =====
==== 查看日志档(Log) ====
您可以查看日志纪录档来确认您网站中发生的错误。
可查阅的日志档有:
=== Apache 日志档: ===
* error.log: 包含了 Apache 服务器的相关错误。建议定期检查这些日志以发现可能的设置错误问题( ".htaccess" 中错误的指向, 遗失首页档等等)。
=== PHP 日志档: ===
* "admin-error.log": PHP 在管理资源中运行的错误消息。
* "fpm.log": 相关的 PHP 日志。如果 PHP 多线程的数量超过最大限制,会被纪录在这个日志档。
* ''www-error.log'':PHP 在公开资源中运行的消息。
=== MySQL (Database) 日志档: ===
* ''error.log'': MySQL 服务器的相关日志档。您可以看到那一个数据表损坏并且已修复。
* ''slow-queries.log'': 您可以在这边看到运行时间过长的纪录。您可以从此得知哪些数据表被长时间锁定。
==== 了解日志档 ====
日志档时间会使用默认值。
=== Apache 日志档 ===
[Thu Jun 14 12:08:45.199853 2012] [mpm_event:notice] [pid 186:tid 3557842618176] AH00489: Apache/2.4.1 (Unix) configured -- resuming normal operations
[Thu Jun 14 12:08:45.199869 2012] [core:notice] [pid 186:tid 3557842618176] AH00094: Command line: '/usr/sbin/apache2 -d /srv/data/.config/apache -f /srv/data/.config/apache/apache2.conf -D lamp0-1'
[Thu Jun 14 15:08:45.213486 2012] [mpm_event:notice] [pid 186:tid
这些日志档说明了网页服务器曾经被重新启动过。
=== PHP 日志档 ===
^ ''[08-Jun-2012 12:56:29] WARNING: [pool www] server reached max_children setting (x), consider raising it'' |
当 PHP-FPM 已经达到 PHP 多线程的最大数量,则会出现此警告。最大数量的多线程限制在每一个 Instance 的条约中(规格 S: 2, 规格 M: 4, 规格 L: 8 ...)。如果这个错误常常发生,您应该要考虑增加您 Simple Hosting 的规格。[pool www] 表示运行在您 Instance 的公开资源,[pool admin] 则是管理资源。
^ ''[05-Jun-2012 09:08:36] WARNING: [pool admin] 'user' directive is ignored when FPM is not running as root'' |
这个消息不是错误并且可以忽略。
=== MySQL logs ===
120614 16:09:59 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.6
120614 16:09:59 InnoDB: Initializing buffer pool, size = 8.0M
120614 16:09:59 InnoDB: Completed initialization of buffer pool
120614 16:09:59 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
120614 16:09:59 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
120614 16:10:00 InnoDB Plugin 1.0.17 started; log sequence number 2657932
120614 16:10:00 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.61-2' socket: '/srv/run/mysqld/mysqld.sock' port: 0 (Debian)
表示 MySQL 已经被重开。
120614 16:04:45 [ERROR] /usr/sbin/mysqld: Table './wp/wp_comments' is marked as crashed and should be repaired
120614 16:04:45 [Warning] Checking table: './wp/wp_comments'
120614 16:04:45 [ERROR] /usr/sbin/mysqld: Table './wp/wp_links' is marked as crashed and should be repaired
120614 16:04:45 [Warning] Checking table: './wp/wp_links'
120614 16:04:45 [ERROR] /usr/sbin/mysqld: Table './wp/wp_options' is marked as crashed and should be repaired
120614 16:04:45 [Warning] Checking table: './wp/wp_options'
在 MySQL 启动期间,数据表已经被检查完毕; 如果数据表有损毁,MySQL 会自动尝试修复它。