CONTENTS


Lastmodified 2016-08-10 (水) 11:55:00


IE:このページは表示できません Crome:データを受信して​​いません

IEでは「Internet Explorer ではこのページは表示できません」と表示されます。Chromeでは「データを受信して​​いません エラー 324 (net::ERR_EMPTY_RESPONSE)となる。

原因:/usr/local/etc/php/phpextension.ini の項目が飛んだため!???

Apache22 が自動起動しなくなった

手動起動(apachectl start)は出来る。がいわゆるrebootで起動に失敗する・・・ことがある。

上手く起動出来ることもあって、以下はそのときのエラーログ。

[Mon Oct 07 06:54:12 2013] [notice] caught SIGTERM, shutting down
[Mon Oct 07 06:55:08 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Oct 07 06:55:08 2013] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Oct 07 06:55:08 2013] [notice] mod_python: using mutex_directory /tmp
[Mon Oct 07 06:55:08 2013] [error] (17)File exists: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx9482).
[Mon Oct 07 06:55:08 2013] [error] mod_python: We can probably continue, but with diminished ability to process session locks.
[Mon Oct 07 06:55:08 2013] [error] mod_python: Hint: On Linux, the problem may be the number of available semaphores, check 'sysctl kernel.sem'
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 44 in Unknown on line 0
[Mon Oct 07 06:55:11 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Oct 07 06:55:11 2013] [notice] Digest: done
[Mon Oct 07 06:55:12 2013] [notice] Apache/2.2.25 (FreeBSD) mod_python/3.3.1 Python/2.7.5 SVN/1.8.3 PHP/5.4.20 mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations

http://jfut.integ.jp/2007/06/10/mod_python-failed-to-create-global-mutex%E3%81%B8%E3%81%AE%E5%AF%BE%E5%BF%9C/

portupgrade -r php5-5.4.19 2013/10/07

FreeBSD blackcube2 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

なマシンで、

portupgrade -r php5-5.4.19

したら、Apache22 が起動しなくなった。

といういつものアレ。w

原因は、いつものアレ。なので、対処法は、

/usr/local/etc/php/extensions.ini

extension=recode.so

いつもの、こいつを削除でOK

でもなんで?

portupgrade php5-5.2.9

Affected package: php5-5.2.10
Type of problem: php5 -- Multiple security issues.
Reference: <http://portaudit.FreeBSD.org/437a68cf-b752-11de-b6eb-00e0815b8da8.html>

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.
k222# portupgrade php5-5.2.9
k222# apachectl restat
[Tue Oct 13 05:39:48 2009] [notice] SIGHUP received.  Attempting to restart
[Tue Oct 13 05:39:49 2009] [error] python_init: Python version mismatch, expected '2.5.2', found '2.5.4'.
[Tue Oct 13 05:39:49 2009] [error] python_init: Python executable found '/'.
[Tue Oct 13 05:39:49 2009] [error] python_init: Python path being used '/usr/local/lib/python25.zip:/usr/local/lib/python2.5/:/usr/local/lib/python2.5/plat-freebsd7:/usr/local/lib/python2.5/lib-tk:/usr/local/lib/python2.5/lib-dynload'.
[Tue Oct 13 05:39:49 2009] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Tue Oct 13 05:39:49 2009] [notice] mod_python: using mutex_directory /tmp
[Tue Oct 13 05:39:49 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 13 05:39:49 2009] [notice] Digest: done
[Tue Oct 13 05:39:50 2009] [notice] Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with Suhosin-Patch mod_python/3.3.1 Python/2.5.4 SVN/1.6.4 configured -- resuming normal operations
k222# portupgrade subversion-1.6.4
k222# apachectl restart
[Wed Oct 14 04:15:08 2009] [warn] module dav_module is already loaded, skipping

で、エラーの内容は変わらない

k222# portupgrade ja-trac-0.11.3

Total access 2771:本日 1:昨日 0

Counter: 2771, today: 1, yesterday: 0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS