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

    PHP ERROR: Type: 64 after upgrading to 2.4.4

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 2 Posters 2.8k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      You could check the file hash against what I have on mine:

      [2.4.4-RELEASE][admin@fw1.stevew.lan]/root: sha256 /usr/local/share/pear/XML/RPC2/Client.php
      SHA256 (/usr/local/share/pear/XML/RPC2/Client.php) = b9b71829e2632b7a70361556050661d8174b3c262f05ec4fe40b97d11ca1fa4b
      

      Steve

      1 Reply Last reply Reply Quote 0
      • M
        mcvnet
        last edited by

        Not sure if I do this correctly:

        [2.4.4-RELEASE][admin@netgate.tns4.net]/root: sha256 /usr/local/share/pear/XML/RPC2/Client.php
        sha256: /usr/local/share/pear/XML/RPC2/Client.php: No such file or directory
        [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Hmm, do you have it installed even? Try running:
          pkg info -x pear

          Steve

          1 Reply Last reply Reply Quote 0
          • M
            mcvnet
            last edited by

            Unfortunately, I do not know if it is installed.
            Here is the result:

            [2.4.4-RELEASE][admin@netgate.tns4.net]/root: pkg info -x pear
            php72-pear-1.10.5_1
            php72-pear-Auth_RADIUS-1.1.0_4
            php72-pear-Cache_Lite-1.7.16,1
            php72-pear-Crypt_CHAP-1.5.0
            php72-pear-HTTP_Request2-2.3.0,1
            php72-pear-Mail-1.4.1,1
            php72-pear-Net_Growl-2.7.0
            php72-pear-Net_IPv6-1.3.0.b2_2
            php72-pear-Net_SMTP-1.8.0
            php72-pear-Net_Socket-1.0.14
            php72-pear-Net_URL2-2.2.1
            php72-pear-XML_RPC2-1.1.3_1
            [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
            
            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, that looks the same as what I see. All good. Do you have anything in that directory:

              [2.4.4-RELEASE][admin@fw1.stevew.lan]/root: ls -ls /usr/local/share/pear/XML/RPC2
              total 108
               4 drwxr-xr-x  4 root  wheel    512 Sep 18 01:19 Backend
               8 -rw-r--r--  1 root  wheel   6877 Sep 14 12:55 Backend.php
              16 -rw-r--r--  1 root  wheel  13124 Sep 14 12:55 CachedClient.php
              16 -rw-r--r--  1 root  wheel  13438 Sep 14 12:55 CachedServer.php
              12 -rw-r--r--  1 root  wheel   9767 Sep 14 12:55 Client.php
               8 -rw-r--r--  1 root  wheel   4519 Sep 14 12:55 ClientHelper.php
              16 -rw-r--r--  1 root  wheel  12579 Sep 14 12:55 Exception.php
               4 drwxr-xr-x  4 root  wheel    512 Sep 18 01:19 Server
              16 -rw-r--r--  1 root  wheel  13853 Sep 14 12:55 Server.php
               4 drwxr-xr-x  2 root  wheel    512 Sep 18 01:19 Util
               4 -rw-r--r--  1 root  wheel   3585 Sep 14 12:55 Value.php
              

              Steve

              1 Reply Last reply Reply Quote 0
              • M
                mcvnet
                last edited by

                My directory looks empty:

                [2.4.4-RELEASE][admin@netgate.tns4.net]/root: ls -ls /usr/local/share/pear/XML/RPC2
                ls: /usr/local/share/pear/XML/RPC2: No such file or directory
                [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
                
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Anything in the directories above that?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • M
                    mcvnet
                    last edited by

                    The XML directory doesn't exist, but above it there are some files/folders:

                    [2.4.4-RELEASE][admin@netgate.tns4.net]/root: ls -ls /usr/local/share/pear/XML
                    ls: /usr/local/share/pear/XML: No such file or directory
                    [2.4.4-RELEASE][admin@netgate.tns4.net]/root: ls -ls /usr/local/share/pear
                    total 152
                     4 drwxr-xr-x   3 root  wheel    512 Sep 28 20:30 .channels
                     0 -rw-r--r--   1 root  wheel      0 Sep 28 20:30 .depdb
                     0 -rw-r--r--   1 root  wheel      0 Sep 28 20:30 .depdblock
                     0 -rw-r--r--   1 root  wheel      0 Sep 28 20:30 .filemap
                     0 -rw-r--r--   1 root  wheel      0 Sep 28 20:30 .lock
                     4 drwxr-xr-x   5 root  wheel   1024 Sep 28 20:30 .registry
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:30 Archive
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:31 Auth
                     4 drwxr-xr-x   3 root  wheel    512 Sep 28 20:31 Cache
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:30 Console
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:31 Crypt
                     4 drwxr-xr-x   3 root  wheel    512 Sep 28 20:31 HTTP
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:31 Mail
                    12 -rw-r--r--   1 root  wheel   9878 Sep 14 07:56 Mail.php
                     4 drwxr-xr-x   3 root  wheel    512 Sep 28 20:31 Net
                     4 drwxr-xr-x   2 root  wheel    512 Sep 28 20:30 OS
                     4 drwxr-xr-x  11 root  wheel   1024 Sep 28 20:30 PEAR
                    36 -rw-r--r--   1 root  wheel  35473 Sep 14 07:52 PEAR.php
                     4 drwxr-xr-x   3 root  wheel    512 Sep 28 20:30 Structures
                    20 -rw-r--r--   1 root  wheel  20288 Sep 14 07:52 System.php
                     4 drwxr-xr-x   6 root  wheel    512 Sep 28 20:31 data
                     4 drwxr-xr-x  13 root  wheel    512 Sep 28 20:31 packages
                    16 -rw-r--r--   1 root  wheel  15182 Sep 14 07:52 pearcmd.php
                     4 -rw-r--r--   1 root  wheel   1060 Sep 14 07:52 peclcmd.php
                     4 drwxr-xr-x   9 root  wheel    512 Sep 28 20:31 tests
                    [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
                    
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Ok, no idea what happened there but it can very likely be corrected by force re-installing it with:
                      pkg install -f php72-pear-XML_RPC2

                      However I strongly suggest backing up your config before you do that and making sure you have a copy of the restore image.

                      I just tested that though and it worked fine without breaking anything.

                      2.4.4-RELEASE][root@7100.stevew.lan]/root: pkg install -f php72-pear-XML_RPC2
                      Updating pfSense-core repository catalogue...
                      pfSense-core repository is up to date.
                      Updating pfSense repository catalogue...
                      pfSense repository is up to date.
                      All repositories are up to date.
                      The following 1 package(s) will be affected (of 0 checked):
                      
                      Installed packages to be REINSTALLED:
                              php72-pear-XML_RPC2-1.1.3_1 [pfSense]
                      
                      Number of packages to be reinstalled: 1
                      
                      57 KiB to be downloaded.
                      
                      Proceed with this action? [y/N]: y
                      [1/1] Fetching php72-pear-XML_RPC2-1.1.3_1.txz: 100%   57 KiB  58.6kB/s    00:01    
                      Checking integrity... done (0 conflicting)
                      [1/1] Reinstalling php72-pear-XML_RPC2-1.1.3_1...
                      [1/1] Extracting php72-pear-XML_RPC2-1.1.3_1: 100%
                      uninstall ok: channel://pear.php.net/XML_RPC2-1.1.3
                      install ok: channel://pear.php.net/XML_RPC2-1.1.3
                      

                      Steve

                      1 Reply Last reply Reply Quote 1
                      • M
                        mcvnet
                        last edited by

                        Steve, this resolved the issue.
                        Thank you very much!

                        [2.4.4-RELEASE][admin@netgate.tns4.net]/root: pkg install -f php72-pear-XML_RPC2
                        Updating pfSense-core repository catalogue...
                        pfSense-core repository is up to date.
                        Updating pfSense repository catalogue...
                        pfSense repository is up to date.
                        All repositories are up to date.
                        The following 1 package(s) will be affected (of 0 checked):
                        
                        Installed packages to be REINSTALLED:
                        	php72-pear-XML_RPC2-1.1.3_1 [pfSense]
                        
                        Number of packages to be reinstalled: 1
                        
                        57 KiB to be downloaded.
                        
                        Proceed with this action? [y/N]: y
                        [1/1] Fetching php72-pear-XML_RPC2-1.1.3_1.txz: 100%   57 KiB  58.6kB/s    00:01    
                        Checking integrity... done (0 conflicting)
                        [1/1] Reinstalling php72-pear-XML_RPC2-1.1.3_1...
                        [1/1] Extracting php72-pear-XML_RPC2-1.1.3_1: 100%
                        uninstall ok: channel://pear.php.net/XML_RPC2-1.1.3
                        install ok: channel://pear.php.net/XML_RPC2-1.1.3
                        [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
                         sha256 /usr/local/share/pear/XML/RPC2/Client.php
                        SHA256 (/usr/local/share/pear/XML/RPC2/Client.php) = b9b71829e2632b7a70361556050661d8174b3c262f05ec4fe40b97d11ca1fa4b
                        [2.4.4-RELEASE][admin@netgate.tns4.net]/root: 
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.