Upgraded from 2.3 to 2.3.1
-
i wonder if i can try to reinstall the upgrade Manually once im able to get to the machine if that would fix everything?
-
Same gettext error? That's core to PHP itself, not sure how you could end up without it. Check your /usr/local/etc/php/extensions.ini file, its contents should be:
extension=bcmath.so extension=bz2.so extension=ctype.so extension=curl.so extension=dom.so extension=filter.so extension=gettext.so extension=hash.so extension=json.so extension=ldap.so extension=mbstring.so extension=mcrypt.so extension=openssl.so extension=pcntl.so extension=pdo.so extension=pdo_sqlite.so extension=pfSense.so extension=posix.so extension=radius.so extension=readline.so extension=rrd.so extension=session.so extension=shmop.so extension=simplexml.so extension=sockets.so extension=sqlite3.so extension=ssh2.so extension=suhosin.so extension=sysvmsg.so extension=sysvsem.so extension=sysvshm.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlwriter.so extension=zlib.so extension=zmq.so zend_extension=/usr/local/lib/php/20131226/opcache.so zend_extension=/usr/local/lib/php/20131226/xdebug.so
Then if you run "file /usr/local/lib/php/20131226/gettext.so" you should get:
# file /usr/local/lib/php/20131226/gettext.so /usr/local/lib/php/20131226/gettext.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped
-
@cmb:
Same gettext error? That's core to PHP itself, not sure how you could end up without it. Check your /usr/local/etc/php/extensions.ini file, its contents should be:
extension=bcmath.so extension=bz2.so extension=ctype.so extension=curl.so extension=dom.so extension=filter.so extension=gettext.so extension=hash.so extension=json.so extension=ldap.so extension=mbstring.so extension=mcrypt.so extension=openssl.so extension=pcntl.so extension=pdo.so extension=pdo_sqlite.so extension=pfSense.so extension=posix.so extension=radius.so extension=readline.so extension=rrd.so extension=session.so extension=shmop.so extension=simplexml.so extension=sockets.so extension=sqlite3.so extension=ssh2.so extension=suhosin.so extension=sysvmsg.so extension=sysvsem.so extension=sysvshm.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlwriter.so extension=zlib.so extension=zmq.so zend_extension=/usr/local/lib/php/20131226/opcache.so zend_extension=/usr/local/lib/php/20131226/xdebug.so
Then if you run "file /usr/local/lib/php/20131226/gettext.so" you should get:
# file /usr/local/lib/php/20131226/gettext.so /usr/local/lib/php/20131226/gettext.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped
i can do all this from the console correct?
-
Correct, option 8 at the console (or same via SSH if you have that enabled).
-
ok i got into console and its saying its missing this file.
Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 >>> Starting php-fpm Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 Fatal error: Call to undefined function gettext() in /etc/inc/rrd.inc on line 60
-
ok i got into console and its saying its missing this file.
Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 >>> Starting php-fpm Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gettext.so' - Shared object "libintl.so.8" not found, required by "gettext.so" in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/rrd.so' - Shared object "libintl.so.8" not found, required by "librrd.so.4" in Unknown on line 0 Fatal error: Call to undefined function gettext() in /etc/inc/rrd.inc on line 60
Anyone Helo ?
-
These are free community forums. They do have paid support if you need more immediate responses.
-
That's the problem. You should have a /usr/local/lib/libintl.so.8 file. Not have that file?
Removing and reinstalling all of PHP might fix that.
pkg delete -f php56\* pkg install php56\*
-
@cmb:
That's the problem. You should have a /usr/local/lib/libintl.so.8 file. Not have that file?
Removing and reinstalling all of PHP might fix that.
pkg delete -f php56\* pkg install php56\*
Same problem here, but it was a clean 2.3.1 install that upgraded to 2.3.1 update 1… A reboot later and I couldn't get into the web interface or out on the internet through the pfsense machine.
Bringing up the console I saw the same PHP errors.
I'm not looking for help to recover from this problem (lost interest in pfSense due to this issue). I just wanted to leave feedback that there is a problem that devs should look into.
This happened in a Hyper-V VM running on Windows Server 2012 R2 so should be easy for anyone that cares to see if they can replicate it.
-
I had the exact same issue going to 2.3.3_1. I think the root cause of this issue is a sector errors that I saw in the console when it boot up. This is how it looked:
ls -l /usr/local/lib/libintl*
-rw-r–r-- 1 root wheel 0 Apr 19 21:59 /usr/local/lib/libintl.a
lrwxr-xr-x 1 root wheel 0 Apr 19 21:59 /usr/local/lib/libintl.so ->
lrwxr-xr-x 1 root wheel 0 Apr 19 21:59 /usr/local/lib/libintl.so.8 ->
-rw-r--r-- 1 root wheel 0 Apr 19 21:59 /usr/local/lib/libintl.so.8.1.5
lrwxr-xr-x 1 root wheel 0 Apr 19 21:59 /usr/local/lib/libintl.so.9 ->Notice the size. luckily I had another pfsense installed with the same version, so I grabbed the libintl.so.8.1.5 from there.