Navigation

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

    PHP errors on accessing box via ssh on NanoBSD

    2.0-RC Snapshot Feedback and Problems - RETIRED
    4
    14
    4068
    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.
    • J
      jlepthien last edited by

      Hi there,

      after updating to the latest snap of 1/8 today I saw the following error appear.
      When connecting via ssh I see the following warnings above the menu:

      PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/spl.so' - /usr/local/lib/php/20060613/spl.so: Shared object has no run-time symbol table in Unknown on line 0
      PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol "spl_ce_Countable" in Unknown on line 0
      PHP Warning:  Cannot load module 'PDO' because required module 'spl' is not loaded in Unknown on line 0
      
      

      Anyone knows why this is?

      Thanks

      1 Reply Last reply Reply Quote 0
      • P
        ppomes last edited by

        @jlepthien:

        Anyone knows why this is?

        Thanks

        Hi,

        I got a similar message:

        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.so.7" in Unknown on line 0

        This happened after uninstalling squid.

        Hum.. Package removal seems to cause some dynamic linking problems…

        Pierre

        1 Reply Last reply Reply Quote 0
        • J
          jlepthien last edited by

          Problem gone for me with snap from 1/10…

          1 Reply Last reply Reply Quote 0
          • P
            ppomes last edited by

            @jlepthien:

            Problem gone for me with snap from 1/10…

            Hi !

            Yes, because snapshot upgrade re-installs missing files.

            An issue is opened in redmine : http://redmine.pfsense.org/issues/875

            Thanks,
            Pierre

            1 Reply Last reply Reply Quote 0
            • J
              jlepthien last edited by

              Now I had this again with the newest snap of 1/10. Slightly different:

              PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/pdo.so' - /usr/local/lib/php/20060613/pdo.so: Shared object has no run-time symbol table in Unknown on line 0
              

              I havn't got installed squid though. Only avahi, shellcmd, backup, rrd summary, unbound and nmap are installed…

              1 Reply Last reply Reply Quote 0
              • ?
                Guest last edited by

                I have the same problem with the last snapshot (Wed Jan 19 22:20:59 EST 2011 )

                PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mbstring.so' - /usr/local/lib/php/20060613/mbstring.so: Shared object has no run-time symbol table in Unknown on line 0

                1 Reply Last reply Reply Quote 0
                • jimp
                  jimp Rebel Alliance Developer Netgate last edited by

                  What packages do you have installed?

                  I've updated a couple VMs to today's snapshot and I have mbstring.so and it's the same date/time as the other files, on both amd64 and i386.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    Guest last edited by

                    I have only 2 packages installed:
                    Backup
                    blinkled

                    1 Reply Last reply Reply Quote 0
                    • jimp
                      jimp Rebel Alliance Developer Netgate last edited by

                      Hmm. Neither of those would have done anything with PHP dependencies.

                      Is this still happening for you on current snapshots?

                      1 Reply Last reply Reply Quote 0
                      • J
                        jlepthien last edited by

                        Problem vanished long time ago. At least for me…

                        Also have Backup in my package list...

                        1 Reply Last reply Reply Quote 0
                        • jimp
                          jimp Rebel Alliance Developer Netgate last edited by

                          I installed those two packages and updated and I still see no errors.

                          Must be something local doing it, might need to reflash the card as a test.

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest last edited by

                            @jimp:

                            Hmm. Neither of those would have done anything with PHP dependencies.

                            Is this still happening for you on current snapshots?

                            Problem solved for me with the last snapshot (Sun Jan 23 11:28:32 EST 2011 )
                            PS = unexpectedly it removed snort… Not a big problem, i will re-install it ;)

                            Thanks for now

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest last edited by

                              Ooops, again error on shell with version built on Mon Feb 7 01:59:11 EST 2011

                              [root@simons kernel26]# ssh root@10.0.0.1                                                                                                                                         
                              Password:                                                                                                                                                                         
                              /libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.2 required by /usr/local/bin/php not defined

                              Packages installed:
                              blinkled
                              Backup
                              snort

                              And than, when i update to the new snapshot i can't see snort. I must re-install mysql-client and than re-install snort again from web

                              1 Reply Last reply Reply Quote 0
                              • jimp
                                jimp Rebel Alliance Developer Netgate last edited by

                                That error is likely from removing and reinstalling snort. If the package upgrade worked as expected, it would probably be fine. But since snort doesn't install cleanly, it bombs.

                                Once the maintainer of the snort package fixes the problems there, it the errors will probably stop.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Products

                                • Platform Overview
                                • TNSR
                                • pfSense
                                • Appliances

                                Services

                                • Training
                                • Professional Services

                                Support

                                • Subscription Plans
                                • Contact Support
                                • Product Lifecycle
                                • Documentation

                                News

                                • Media Coverage
                                • Press
                                • Events

                                Resources

                                • Blog
                                • FAQ
                                • Find a Partner
                                • Resource Library
                                • Security Information

                                Company

                                • About Us
                                • Careers
                                • Partners
                                • Contact Us
                                • Legal
                                Our Mission

                                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                Subscribe to our Newsletter

                                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                © 2021 Rubicon Communications, LLC | Privacy Policy