Hi
I'm struggling with a port upgrade on a FreeBSD server. I'm following advice that I found on the web:
/usr/ports/UPDATING contains notes about updating ports that require special procedures. Always, yes always, read this file
for special notes before updating ports.
Upon browsing to http://www.freshports.org/lang/php5/ and scroll down to: Notes from UPDATING;
the most recent entry is: 2012-05-16
Advice:
Only entries that have been added since the last time you updated ports are relevant. If you remember when that was, great!
Otherwise, the most recent file in /var/db/pkg can give you a rough idea:
I do a quick check:
So looks like I'm fine to go ahead...
after 20 min say, the terminal reports:
and if I browse to my site, all I see in the browser is:
Error establishing a database connection
that's it, I can't see anything?
Back to my terminal and:
My site is down and holy moly -it seems Ive f*^&$% up somewhere?
help
I'm struggling with a port upgrade on a FreeBSD server. I'm following advice that I found on the web:
/usr/ports/UPDATING contains notes about updating ports that require special procedures. Always, yes always, read this file
for special notes before updating ports.
Upon browsing to http://www.freshports.org/lang/php5/ and scroll down to: Notes from UPDATING;
the most recent entry is: 2012-05-16
Advice:
Only entries that have been added since the last time you updated ports are relevant. If you remember when that was, great!
Otherwise, the most recent file in /var/db/pkg can give you a rough idea:
I do a quick check:
# ls -ltr /var/db/pkg | tail -n1
Code:
drwxr-xr-x 2 root wheel 512 Jul 21 12:00 php5-zlib-5.4.4_1
# portupgrade -a
after 20 min say, the terminal reports:
Code:
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! textproc/libxml2 (libxml2-2.7.8_3) (unknown build error)
! databases/sqlite3 (sqlite3-3.7.13) (unknown build error)
! ports-mgmt/portupgrade (portupgrade-2.4.9.5,2) (unknown build error)
* lang/php5 (php5-5.4.4)
* textproc/php5-dom (php5-dom-5.4.4)
* textproc/php5-xmlreader (php5-xmlreader-5.4.4)
* archivers/php5-zlib (php5-zlib-5.4.4_1)
* databases/php5-pdo (php5-pdo-5.4.4)
* security/php5-hash (php5-hash-5.4.4)
* archivers/php5-phar (php5-phar-5.4.4)
* textproc/php5-xml (php5-xml-5.4.4)
* devel/php5-json (php5-json-5.4.4)
* security/php5-filter (php5-filter-5.4.4)
* databases/php5-mysqli (php5-mysqli-5.4.4)
* databases/php5-sqlite3 (php5-sqlite3-5.4.4)
* devel/php5-tokenizer (php5-tokenizer-5.4.4)
* archivers/php5-zip (php5-zip-5.4.4)
* sysutils/php5-posix (php5-posix-5.4.4)
* textproc/php5-xmlwriter (php5-xmlwriter-5.4.4)
* www/php5-session (php5-session-5.4.4)
* graphics/php5-gd (php5-gd-5.4.4)
* databases/php5-mysql (php5-mysql-5.4.4)
* databases/php5-pdo_sqlite (php5-pdo_sqlite-5.4.4)
* ftp/php5-curl (php5-curl-5.4.4)
* textproc/php5-ctype (php5-ctype-5.4.4)
* converters/php5-iconv (php5-iconv-5.4.4)
* textproc/php5-simplexml (php5-simplexml-5.4.4)
Error establishing a database connection
that's it, I can't see anything?
Back to my terminal and:
# pkg_version -v
Code:
libxml2-2.7.8_3 < needs updating (port has 2.7.8_5)
php5-5.4.4 < needs updating (port has 5.4.7)
php5-ctype-5.4.4 < needs updating (port has 5.4.7)
php5-curl-5.4.4 < needs updating (port has 5.4.7)
php5-dom-5.4.4 < needs updating (port has 5.4.7)
php5-filter-5.4.4 < needs updating (port has 5.4.7)
php5-gd-5.4.4 < needs updating (port has 5.4.7)
php5-hash-5.4.4 < needs updating (port has 5.4.7)
php5-iconv-5.4.4 < needs updating (port has 5.4.7)
php5-json-5.4.4 < needs updating (port has 5.4.7)
php5-mysql-5.4.4 < needs updating (port has 5.4.7)
php5-mysqli-5.4.4 < needs updating (port has 5.4.7)
php5-pdo-5.4.4 < needs updating (port has 5.4.7)
php5-pdo_sqlite-5.4.4 < needs updating (port has 5.4.7)
php5-phar-5.4.4 < needs updating (port has 5.4.7)
php5-posix-5.4.4 < needs updating (port has 5.4.7)
php5-session-5.4.4 < needs updating (port has 5.4.7)
php5-simplexml-5.4.4 < needs updating (port has 5.4.7)
php5-sqlite3-5.4.4 < needs updating (port has 5.4.7)
php5-tokenizer-5.4.4 < needs updating (port has 5.4.7)
php5-xml-5.4.4 < needs updating (port has 5.4.7)
php5-xmlreader-5.4.4 < needs updating (port has 5.4.7)
php5-xmlwriter-5.4.4 < needs updating (port has 5.4.7)
php5-zip-5.4.4 < needs updating (port has 5.4.7)
php5-zlib-5.4.4_1 < needs updating (port has 5.4.7)
portupgrade-2.4.9.5,2 < needs updating (port has 2.4.10.2,2)
sqlite3-3.7.13 < needs updating (port has 3.7.14.1)
My site is down and holy moly -it seems Ive f*^&$% up somewhere?
help