Portupgrade -arR
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*setenv FORCE_PKG_REGISTER yes [#df928989]
* # portupgrade -r php5-5.4.13 [#abc50e7a]
とすると、php-extensions とか phpmyadmin とかもUPされます...
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg .....
** Listing the failed packages (-:ignored / *:skipped / ...
* www/php5-session (php5-session-5.4.5)
* archivers/php5-zip (php5-zip-5.3.10_1)
* security/php5-filter (php5-filter-5.3.10_1)
* archivers/php5-zlib (php5-zlib-5.4.5)
* textproc/php5-ctype (php5-ctype-5.3.10_1)
* devel/php5-json (php5-json-5.3.10_1)
* archivers/php5-bz2 (php5-bz2-5.3.10_1)
* security/php5-openssl (php5-openssl-5.3.10_1)
* graphics/php5-gd (php5-gd-5.4.5)
* converters/php5-mbstring (php5-mbstring-5.4.5)
* print/pecl-pdflib (pecl-pdflib-2.1.8_1)
root@blackcube2:/usr/local/etc/php #
ここからは、落ち穂拾い・・・
# portupgrade -r www/php5-session
# portupgrade -r php5-zip-5.3.10_1 php5-filter-5.3.10_1 ...
# portupgrade -r php5-ctype-5.3.10_1 php5-json-5.3.10_1 ...
php5-gd-5.4.5 php5-mbstring-5.4.5 pecl-pdflib-2.1.8_1
ここまでで、取り敢えずApacheは再起動可能
*portupgrade -a したらApacheが起動しなくなった [#vd5a6b6d]
cat /var/log/httpd-error.log
[Tue Jun 11 08:33:09 2013] [warn] Init: Session Cache is...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python v...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python e...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python p...
:/usr/local/lib/python2.7/:/us...
:/usr/local/lib/python2.7/lib-...
[Tue Jun 11 08:33:09 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:33:09 2013] [notice] mod_python: using mu...
PHP Warning: Module 'apc' already loaded in Unknown on ...
エラーログは、こんな感じ。errorはあるものの、おそらく起動...
/usr/local/etc/php/extensions.ini
[[http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/index.php?...
以下の2つをコメントアウトすると、Apacheは起動しますたが・...
extension=mysqli.so
: :
extension=fileinfo.so
#extension=sybase_ct.so ← これ
extension=posix.so
: :
extension=pdo_dblib.so
#extension=recode.so ← これ
extension=mbstring.so
/var/log/httpd-error.log
[Tue Jun 11 08:42:10 2013] [warn] Init: Session Cache is...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python v...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python e...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python p...
:/usr/local/lib/python2.7/pla...
:/usr/local/lib/python2.7/lib...
[Tue Jun 11 08:42:10 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:42:10 2013] [notice] mod_python: using mu...
PHP Deprecated: Comments starting with '#' are deprecat...
PHP Deprecated: Comments starting with '#' are deprecat...
[Tue Jun 11 08:42:10 2013] [notice] Digest: generating s...
[Tue Jun 11 08:42:10 2013] [notice] Digest: done
と同じようなエラーが出ているので、
portupgrade -f www/mod_python3
してから、apachectl restart
[Tue Jun 11 08:58:20 2013] [notice] SIGHUP received. At...
[Tue Jun 11 08:58:20 2013] [warn] (22)Invalid argument: ...
[Tue Jun 11 08:58:20 2013] [warn] (22)Invalid argument: ...
PHP Deprecated: Comments starting with '#' are deprecat...
PHP Deprecated: Comments starting with '#' are deprecat...
[Tue Jun 11 08:58:20 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:58:20 2013] [notice] mod_python: using mu...
[Tue Jun 11 08:58:20 2013] [notice] Digest: generating s...
[Tue Jun 11 08:58:20 2013] [notice] Digest: done
[Tue Jun 11 08:58:21 2013] [notice] Apache/2.2.24 (FreeB...
OpenSSL/0.9.8y DAV/2 configu...
で、例の、
[warn] (22)Invalid argument: Failed to enable the 'httpr...
を頂いておりますので、次回の起動時のために、
echo 'accf_http_load="YES"' >> /etc/boot/loader.conf
して、「今でしょ」のために
# kldload accf_http.ko
したら、
kldload: can't load accf_http.ko: File exists
っていわれた。(?_?)
あれ?
# kldstat
Id Refs Address Size Name
1 27 0xffffffff80200000 1323408 kernel
2 1 0xffffffff81524000 2084f8 zfs.ko
3 2 0xffffffff8172d000 5c68 opensolaris.ko
4 1 0xffffffff81733000 17d8 accf_http.ko
5 1 0xffffffff81735000 29e0 coretemp.ko
6 1 0xffffffff81739000 fec8 ipmi.ko
7 4 0xffffffff81749000 2550 smbus.ko
8 1 0xffffffff8174c000 2f38 smb.ko
9 1 0xffffffff8174f000 54e0 ichsmb.ko
985 5:36 portsdb -Uu
986 5:51 portversion -Fvl "<"
987 5:53 portupgrade -a
988 8:13 rehash
989 8:13 portversion -Fvl "<"
990 8:14 mysql_upgrade -u root -p
991 8:16 cd /usr/home/mysql
992 8:16 mysql_upgrade -u root -p
993 8:16 top
994 8:17 apachectl restart
995 8:17 top
996 8:17 cat /var/log/messages
997 8:17 cat /var/log/httpd-access.log
998 8:17 apachectl restart
999 8:18 cat /var/log/httpd-error.log
1000 8:18 reboot
1001 8:24 cd /usr/home/mysql
1002 8:24 mysql_upgrade -u root -p
1003 8:27 top
1004 8:28 cat /var/log/messages
1005 8:28 cat /var/log/console.log
1006 8:29 cat /var/log/httpd-error.log
1007 8:31 locate apache22
1008 8:31 cd /usr/ports/www/apache22
1009 8:31 make deinstall
1010 8:32 portinstall /usr/ports/www/apache22
1011 8:33 apachectl start
1012 8:33 top
1013 8:33 cat /var/log/httpd-error.log
1014 8:42 apachectl start
1015 8:42 top
1016 8:45 nslookup
1017 8:55 cat /var/log/httpd-error.log
1018 8:56 locate mod_python
1019 8:57 portupgrade -f www/mod_python3
1020 8:58 apachectl restart
1021 8:58 cat /var/log/httpd-error.log
1022 9:32 kldload accf_http.ko
1023 9:46 kld
1024 9:49 kldstat
1025 9:57 apachectl restart
1026 9:58 cat /var/log/httpd-error.log
1027 11:10 cat /var/log/httpd-error.log
1028 11:10 cat /var/log/httpd-error.log
1029 11:10 cat /var/log/httpd-error.log
1030 11:10 cat /var/log/httpd-error.log
1031 11:11 cat /var/log/httpd-error.log
1032 11:11 locate munin
1033 11:16 freebsd-update fetch
1034 11:17 freebsd-update install
1035 11:17 uname -a
1036 12:30 cat /var/log/messages
1037 17:31 history
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*setenv FORCE_PKG_REGISTER yes [#df928989]
* # portupgrade -r php5-5.4.13 [#abc50e7a]
とすると、php-extensions とか phpmyadmin とかもUPされます...
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg .....
** Listing the failed packages (-:ignored / *:skipped / ...
* www/php5-session (php5-session-5.4.5)
* archivers/php5-zip (php5-zip-5.3.10_1)
* security/php5-filter (php5-filter-5.3.10_1)
* archivers/php5-zlib (php5-zlib-5.4.5)
* textproc/php5-ctype (php5-ctype-5.3.10_1)
* devel/php5-json (php5-json-5.3.10_1)
* archivers/php5-bz2 (php5-bz2-5.3.10_1)
* security/php5-openssl (php5-openssl-5.3.10_1)
* graphics/php5-gd (php5-gd-5.4.5)
* converters/php5-mbstring (php5-mbstring-5.4.5)
* print/pecl-pdflib (pecl-pdflib-2.1.8_1)
root@blackcube2:/usr/local/etc/php #
ここからは、落ち穂拾い・・・
# portupgrade -r www/php5-session
# portupgrade -r php5-zip-5.3.10_1 php5-filter-5.3.10_1 ...
# portupgrade -r php5-ctype-5.3.10_1 php5-json-5.3.10_1 ...
php5-gd-5.4.5 php5-mbstring-5.4.5 pecl-pdflib-2.1.8_1
ここまでで、取り敢えずApacheは再起動可能
*portupgrade -a したらApacheが起動しなくなった [#vd5a6b6d]
cat /var/log/httpd-error.log
[Tue Jun 11 08:33:09 2013] [warn] Init: Session Cache is...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python v...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python e...
[Tue Jun 11 08:33:09 2013] [error] python_init: Python p...
:/usr/local/lib/python2.7/:/us...
:/usr/local/lib/python2.7/lib-...
[Tue Jun 11 08:33:09 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:33:09 2013] [notice] mod_python: using mu...
PHP Warning: Module 'apc' already loaded in Unknown on ...
エラーログは、こんな感じ。errorはあるものの、おそらく起動...
/usr/local/etc/php/extensions.ini
[[http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/index.php?...
以下の2つをコメントアウトすると、Apacheは起動しますたが・...
extension=mysqli.so
: :
extension=fileinfo.so
#extension=sybase_ct.so ← これ
extension=posix.so
: :
extension=pdo_dblib.so
#extension=recode.so ← これ
extension=mbstring.so
/var/log/httpd-error.log
[Tue Jun 11 08:42:10 2013] [warn] Init: Session Cache is...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python v...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python e...
[Tue Jun 11 08:42:10 2013] [error] python_init: Python p...
:/usr/local/lib/python2.7/pla...
:/usr/local/lib/python2.7/lib...
[Tue Jun 11 08:42:10 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:42:10 2013] [notice] mod_python: using mu...
PHP Deprecated: Comments starting with '#' are deprecat...
PHP Deprecated: Comments starting with '#' are deprecat...
[Tue Jun 11 08:42:10 2013] [notice] Digest: generating s...
[Tue Jun 11 08:42:10 2013] [notice] Digest: done
と同じようなエラーが出ているので、
portupgrade -f www/mod_python3
してから、apachectl restart
[Tue Jun 11 08:58:20 2013] [notice] SIGHUP received. At...
[Tue Jun 11 08:58:20 2013] [warn] (22)Invalid argument: ...
[Tue Jun 11 08:58:20 2013] [warn] (22)Invalid argument: ...
PHP Deprecated: Comments starting with '#' are deprecat...
PHP Deprecated: Comments starting with '#' are deprecat...
[Tue Jun 11 08:58:20 2013] [notice] mod_python: Creating...
[Tue Jun 11 08:58:20 2013] [notice] mod_python: using mu...
[Tue Jun 11 08:58:20 2013] [notice] Digest: generating s...
[Tue Jun 11 08:58:20 2013] [notice] Digest: done
[Tue Jun 11 08:58:21 2013] [notice] Apache/2.2.24 (FreeB...
OpenSSL/0.9.8y DAV/2 configu...
で、例の、
[warn] (22)Invalid argument: Failed to enable the 'httpr...
を頂いておりますので、次回の起動時のために、
echo 'accf_http_load="YES"' >> /etc/boot/loader.conf
して、「今でしょ」のために
# kldload accf_http.ko
したら、
kldload: can't load accf_http.ko: File exists
っていわれた。(?_?)
あれ?
# kldstat
Id Refs Address Size Name
1 27 0xffffffff80200000 1323408 kernel
2 1 0xffffffff81524000 2084f8 zfs.ko
3 2 0xffffffff8172d000 5c68 opensolaris.ko
4 1 0xffffffff81733000 17d8 accf_http.ko
5 1 0xffffffff81735000 29e0 coretemp.ko
6 1 0xffffffff81739000 fec8 ipmi.ko
7 4 0xffffffff81749000 2550 smbus.ko
8 1 0xffffffff8174c000 2f38 smb.ko
9 1 0xffffffff8174f000 54e0 ichsmb.ko
985 5:36 portsdb -Uu
986 5:51 portversion -Fvl "<"
987 5:53 portupgrade -a
988 8:13 rehash
989 8:13 portversion -Fvl "<"
990 8:14 mysql_upgrade -u root -p
991 8:16 cd /usr/home/mysql
992 8:16 mysql_upgrade -u root -p
993 8:16 top
994 8:17 apachectl restart
995 8:17 top
996 8:17 cat /var/log/messages
997 8:17 cat /var/log/httpd-access.log
998 8:17 apachectl restart
999 8:18 cat /var/log/httpd-error.log
1000 8:18 reboot
1001 8:24 cd /usr/home/mysql
1002 8:24 mysql_upgrade -u root -p
1003 8:27 top
1004 8:28 cat /var/log/messages
1005 8:28 cat /var/log/console.log
1006 8:29 cat /var/log/httpd-error.log
1007 8:31 locate apache22
1008 8:31 cd /usr/ports/www/apache22
1009 8:31 make deinstall
1010 8:32 portinstall /usr/ports/www/apache22
1011 8:33 apachectl start
1012 8:33 top
1013 8:33 cat /var/log/httpd-error.log
1014 8:42 apachectl start
1015 8:42 top
1016 8:45 nslookup
1017 8:55 cat /var/log/httpd-error.log
1018 8:56 locate mod_python
1019 8:57 portupgrade -f www/mod_python3
1020 8:58 apachectl restart
1021 8:58 cat /var/log/httpd-error.log
1022 9:32 kldload accf_http.ko
1023 9:46 kld
1024 9:49 kldstat
1025 9:57 apachectl restart
1026 9:58 cat /var/log/httpd-error.log
1027 11:10 cat /var/log/httpd-error.log
1028 11:10 cat /var/log/httpd-error.log
1029 11:10 cat /var/log/httpd-error.log
1030 11:10 cat /var/log/httpd-error.log
1031 11:11 cat /var/log/httpd-error.log
1032 11:11 locate munin
1033 11:16 freebsd-update fetch
1034 11:17 freebsd-update install
1035 11:17 uname -a
1036 12:30 cat /var/log/messages
1037 17:31 history
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: