Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Upgraded from 2.3 to 2.3.1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    15 Posts 5 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cmb
      last edited by

      Did it maybe not reboot after the upgrade? In that case, rebooting it from the console probably would bring it back.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jjackson524
        last edited by

        alright i will try that i will have to call my wife and tell her to reset the server.  thank you for the reply i will get back with you

        1 Reply Last reply Reply Quote 0
        • J Offline
          jjackson524
          last edited by

          @cmb:

          Did it maybe not reboot after the upgrade? In that case, rebooting it from the console probably would bring it back.

          rebooting did not fix anything at all

          1 Reply Last reply Reply Quote 0
          • J Offline
            jjackson524
            last edited by

            what can i do from this point on ?

            1 Reply Last reply Reply Quote 0
            • J Offline
              jjackson524
              last edited by

              i wonder if i can try to reinstall the upgrade Manually once im able to get to the machine if that would fix everything?

              1 Reply Last reply Reply Quote 0
              • C Offline
                cmb
                last edited by

                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
                
                
                1 Reply Last reply Reply Quote 0
                • J Offline
                  jjackson524
                  last edited by

                  @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?

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cmb
                    last edited by

                    Correct, option 8 at the console (or same via SSH if you have that enabled).

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jjackson524
                      last edited by

                      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
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jjackson524
                        last edited by

                        @jjackson524:

                        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 ?

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          Harvy66
                          last edited by

                          These are free community forums. They do have paid support if you need more immediate responses.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cmb
                            last edited by

                            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\*
                            
                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              meowmeow
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                bananosky
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.