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

    Vhosts won't start in 2.0 RC1 (even in May 9 2011 snapshot)

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 3.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.
    • G
      geckox
      last edited by

      I installed a straight install of PF2 RC1 amd64 (pfSense-2.0-RC1-amd64-20110226-1807.iso.gz) and installed the vhosts package. I setup a basic vhosts entry and tried starting the service, but it won't start.

      I modified the vhosts.conf file in accordance with (http://forum.pfsense.org/index.php?topic=33957.0) but that didn't fix the problem. Here is what I get when I try to track down the problem.

      #cat /var/log/lighttpd.error.log

      2011-05-09 14:41:20: (log.c.166) server started
      2011-05-09 14:41:20: (mod_fastcgi.c.1104) the fastcgi-backend /usr/local/php5/php-cgi failed to start:
      2011-05-09 14:41:20: (mod_fastcgi.c.1108) child exited with status 1 /usr/local/php5/php-cgi
      2011-05-09 14:41:20: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
      If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
      2011-05-09 14:41:20: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
      2011-05-09 14:41:20: (server.c.938) Configuration of plugins failed. Going down.

      #/usr/local/php5/php-cgi

      /libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: unsupported file layout

      Upgrading to the May 9, 2011 snapshot did not change anything in regards to this problem.

      Is there a problem with the amd64 build? Anyone have ideas on what  would cause the libxml2.so.5 file to be bad? I didn't change it.

      Thanks.

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

        Some package must have installed the 32-bit version of that library.

        You can double check by running:

        file /usr/local/lib/libxml2.so.5
        

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • G
          geckox
          last edited by

          It appears to be 64-bit to me:

          #file /usr/local/lib/libxml2.so.5

          /usr/local/lib/libxml2.so.5: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped

          When I reinstall with the 32-bit version of pfSense by installing 1.2.3 and upgrading to the 2.0 RC1 May 10 snapshot, I am able to start the service, so it seems to be a problem with just the 64-bit version.

          1 Reply Last reply Reply Quote 0
          • N
            nassman
            last edited by

            file /usr/local/lib/libxml2.so.5
            /usr/local/lib/libxml2.so.5: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped

            service not running

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