Captive portal crashes randomly



  • Hi everyone,

    Version (latest version) : 2.0.2-RELEASE (i386) - FreeBSD 8.1-RELEASE-p13
    Platform : nanobsd (4g)

    I'm faced to an issue with pfsense's Captive Portal. Actually, it crashes randomly and when I check Systems Log i can see that :

    php[61207]: /status_services.php: The command '/usr/local/sbin/lighttpd -f /var/etc/lighty-CaptivePortal-SSL.conf' returned exit code '255', the output was '2013-03-06 09:06:55: (network.c.385) can't bind to port: 8001 Address already in use'

    Any suggestions ?

    Thanks in advance.



  • fastcgi crashing problem, upgrade to 2.0.3 for fix.
    http://forum.pfsense.org/index.php?topic=58203.15



  • Thanks for the reply,

    I tried to install the following upgrade from pfsense console : pfSense-2.0.3-PRERELEASE-4g-i386-nanobsd_vga-20130228-1415.img.gz

    But I encounter this message this time…. :

    **Continuing upgrade…

    One moment please...

    Broadcast Message from root@rwpfsense.localdomain
            (no tty) at 10:28 CET...

    NanoBSD Firmware upgrade in progress...

    Broadcast Message from root@rwpfsense.localdomain
            (no tty) at 10:28 CET...

    Installing /root/firmware.tgz.

    Broadcast Message from root@rwpfsense.localdomain
            (no tty) at 10:28 CET...

    Upgrade failed.  Please check the system log file for more information**

    If I check Systems logs i notice this :

    php: : New alert found: Upgrade failed due to the upgrade image being larger than the partition that is configured on disk. Halting. Size on disk: 1885 < Size of new image: 3805

    Though, i've checked my filesystem using df -h

    Filesystem          Size    Used  Avail Capacity  Mounted on
    /dev/ufs/pfsense1    1.8G    220M    1.4G    13%    /
    devfs                1.0K    1.0K      0B  100%    /dev
    /dev/md0              38M    1.6M    34M    5%    /tmp
    /dev/md1              58M    15M    38M    28%    /var
    /dev/ufs/cf          49M    1.8M    44M    4%    /cf
    devfs                1.0K    1.0K      0B  100%    /var/dhcpd/dev

    Any idea ?



  • you tried to upgrade a 4GB nanobsd version on a 2GB nanobsd version ?



  • Yes I chose the 4G version because my platform version is the following :

    nanobsd (4g)

    Should I try with the 2G version ?



  • I think you chose a "fresh install" image
    @supportGE:

    I tried to install the following upgrade from pfsense console : pfSense-2.0.3-PRERELEASE-4g-i386-nanobsd_vga-20130228-1415.img.gz

    rather than an UPDATE image:



  • You were right wallabybob, I wasn't using the correct image.

    SOLVED


Log in to reply