2

Snow Leopard で MAMP を実行しようとしています。サーバーは緑色で動作していますが、ブラウザにアクセスするたびに、多かれ少なかれChromeから「おっと」メッセージが表示されます. 私は問題が何であるか理解できませんか?

私の apache_error.log では、次のようになります。

[Sun Dec 02 14:03:40 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 02 14:03:40 2012] [notice] Digest: done
[Sun Dec 02 14:03:40 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Sun Dec 02 14:14:12 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 14:14:13 2012] [notice] Digest: generating secret for digest authentication...    
[Sun Dec 02 14:14:13 2012] [notice] Digest: done
[Sun Dec 02 14:14:13 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Sun Dec 02 14:27:55 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 14:43:56 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 02 14:43:56 2012] [notice] Digest: done
[Sun Dec 02 14:43:56 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Sun Dec 02 15:04:14 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 15:04:18 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 02 15:04:18 2012] [notice] Digest: done
[Sun Dec 02 15:04:18 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Sun Dec 02 15:04:24 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 15:04:27 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 02 15:04:27 2012] [notice] Digest: done
[Sun Dec 02 15:04:27 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations

mysql_error_log.err は次のとおりです。

121202 15:04:27 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
121202 15:04:27 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive.  This means that you can corrupt a MyISAM table by accessing it with different cases. You should consider changing lower_case_table_names to 1 or 2
121202 15:04:27 [Warning] One can only use the --user switch if running as root

121202 15:04:27 [Note] Plugin 'FEDERATED' is disabled.
121202 15:04:27 InnoDB: The InnoDB memory heap is disabled
121202 15:04:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121202 15:04:27 InnoDB: Compressed tables use zlib 1.2.3
121202 15:04:27 InnoDB: Initializing buffer pool, size = 128.0M
121202 15:04:27 InnoDB: Completed initialization of buffer pool
121202 15:04:27 InnoDB: highest supported file format is Barracuda.
121202 15:04:27 InnoDB: 1.1.8 started; log sequence number 1595675
121202 15:04:27 [Note] Server hostname (bind-address): '0.0.0.0'; port: 8889
121202 15:04:27 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
121202 15:04:27 [Note] Server socket created on IP: '0.0.0.0'.
121202 15:04:27 [Note] Event Scheduler: Loaded 0 events
121202 15:04:27 [Note] /Applications/MAMP/Library/bin/mysqld: ready for connections.
Version: '5.5.25'  socket: '/Applications/MAMP/tmp/mysql/mysql.sock'  port: 8889  Source distribution

何か助けはありますか?

4

1 に答える 1

2

あなたの Hosts ファイルは空だと言ったので、コンピューターが「localhost」が何であるかを知らないようです。以下を追加してみてください(これを正確にコピーしてください):

127.0.0.1   localhost

255.255.255.255 broadcasthost
::1             localhost 
fe80::1%lo0 localhost

その後、かなりMAMPして再起動します。それが役立つかどうかを確認してください。

于 2012-12-02T20:30:36.203 に答える