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

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


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


  • Rebel Alliance Developer Netgate

    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

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

  • 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

Log in to reply