CONTENTS
Lastmodified 2015-08-28 (金) 06:30:53
freebsd-update -r 9.3-RELEASE upgrade
root@piano2nd:/root # freebsd-update -r 9.3-RELEASE upgrade Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 9.1-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base world/games world/lib32 The following components of FreeBSD do not seem to be installed: src/src world/doc Does this look reasonable (y/n)? y Fetching metadata signature for 9.3-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 9.1-RELEASE for merging... done. Preparing to download files... done. Fetching 10146 patches.....10....20....30....40....50....60....70....80....90....100....110 snip .10100....10110....10120....10130....10140... done. Applying patches... done. Fetching 974 files... Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/mail/mailer.conf Press Enter to edit this file in vi and resolve the conflicts manually... To install the downloaded upgrades, run "/usr/sbin/freebsd-update install". root@piano2nd:/root # /usr/sbin/freebsd-update install Installing updates...
993 10:12 freebsd-update install 994 10:12 mkdir -p /usr/src/crypto/openssl/crypto/ 995 10:13 mkdir -p /usr/src/crypto/openssl/doc/ssl/ 996 10:13 mkdir -p /usr/src/crypto/openssl/test/ 997 10:13 mkdir -p /usr/src/secure/lib/libssl/man/ 998 10:13 freebsd-update fetch 999 10:18 freebsd-update install 1000 10:18 reboot
reboot
root@piano2nd:/root # freebsd-update install Installing updates... Completing this upgrade requires removing old shared object files. Please rebuild all installed 3rd party software (e.g., programs installed from the ports tree) and then run "/usr/sbin/freebsd-update install" again to finish installing updates. root@piano2nd:/root #
をしようと思うが、そのまえに、念のため
portsnap fetch && portsnap extract
しておくことにした。
/etc/make.conf には、既に
WITH_PKGNG= yes
とあるので、
root@piano2nd:~ # pkg update -f Updating repository catalogue Fetching meta.txz: 100% of 968 B Fetching digests.txz: 100% of 2 MB Fetching packagesite.txz: 100% of 5 MB Adding new entries: 100% Incremental update completed, 24243 packages processed: 0 packages updated, 0 removed and 24243 added.
http://www.ekesete.net/log/?p=7398
案の定、アパッチが起動しなくなる。ので、
/usr/local/etc/php/extension.ini の中の、
extension=pcntl.so extension=gettext.so #extension=sybase_ct.so ←これをコメントアウトすると、起動OK extension=dba.so extension=iconv.so
last pid: 45205; load averages: 0.00, 0.11, 0.12 up 0+00:55:49 11:15:17 38 processes: 1 running, 37 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 99M Active, 412M Inact, 159M Wired, 22M Cache, 95M Buf, 269M Free Swap: 4096M Total, 792K Used, 4095M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1434 root 1 20 0 74532K 4456K select 1 0:01 0.00% sshd 1441 root 1 20 0 22956K 2256K select 0 0:01 0.00% screen 8090 www 1 20 0 327M 19520K kqread 1 0:00 0.00% httpd 1431 www 1 20 0 327M 20104K lockf 0 0:00 0.00% httpd 1439 www 1 20 0 327M 20056K lockf 0 0:00 0.00% httpd 8091 www 1 20 0 327M 19596K lockf 0 0:00 0.00% httpd 1238 root 1 20 0 323M 16508K select 0 0:00 0.00% httpd 1433 www 1 20 0 327M 19420K lockf 0 0:00 0.00% httpd 8629 www 1 20 0 327M 20160K lockf 0 0:00 0.00% httpd 1429 www 1 20 0 327M 20008K lockf 0 0:00 0.00% httpd 8632 www 1 20 0 327M 20036K lockf 0 0:00 0.00% httpd 486 bind 5 20 0 84784K 33908K kqread 1 0:00 0.00% named 1432 www 1 20 0 327M 20044K lockf 0 0:00 0.00% httpd 12128 www 1 20 0 327M 19440K lockf 0 0:00 0.00% httpd 559 root 1 20 0 22264K 2960K select 1 0:00 0.00% ntpd 1442 root 1 20 0 17568K 3296K pause 1 0:00 0.00% csh 1176 root 1 20 0 74532K 4452K select 0 0:00 0.00% sshd 394 root 1 20 0 12088K 1460K select 1 0:00 0.00% syslogd 1437 root 1 20 0 17568K 2980K pause 0 0:00 0.00% csh 1311 root 1 34 0 17568K 2104K pause 1 0:00 0.00% csh 644 root 1 20 0 14612K 1812K kqread 0 0:00 0.00% master 1440 root 1 20 0 22956K 1968K pause 1 0:00 0.00% screen 1256 root 1 20 0 14184K 1460K nanslp 0 0:00 0.00% cron 646 postfix 1 20 0 14612K 1904K kqread 1 0:00 0.00% qmgr 645 postfix 1 20 0 14612K 1824K kqread 1 0:00 0.00% pickup 1328 root 1 20 0 36440K 3472K select 1 0:00 0.00% sftp-server 45205 root 1 20 0 18668K 2340K CPU0 0 0:00 0.00% top 297 root 1 20 0 10376K 4084K select 0 0:00 0.00% devd 1159 root 1 22 0 49272K 3976K select 0 0:00 0.00% sshd 1349 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1354 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1356 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1350 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1351 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1355 root 1 52 0 12088K 1344K ttyin 1 0:00 0.00% getty 1353 root 1 52 0 12088K 1340K ttyin 1 0:00 0.00% getty 1352 root 1 52 0 12088K 1340K ttyin 0 0:00 0.00% getty 131 root 1 52 0 9956K 1212K pause 0 0:00 0.00% adjkerntz
php -v するとコアはくので、/usr/local/etc/php/extension.ini の
#extension=recode.so
とすると、OK
# php -v PHP Deprecated: Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 61 in Unknown on line 0 Created directory: /var/net-snmp Created directory: /var/net-snmp/mib_indexes PHP 5.4.42 (cli) (built: Jul 9 2015 17:00:02) (DEBUG) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Total access 1962:本日 1:昨日 0