php errors with latest snapshots



  • H
    Hugovsky 23 minutes ago

    Hi. I'm having lots of php errors.

    2.4.4-DEVELOPMENT (amd64)
    built on Thu Jul 12 08:51:04 EDT 2018
    FreeBSD 11.2-RELEASE

    Intel(R) Atom(TM) CPU C2558 @ 2.40GHz
    Packages installed:
    freeradius3 -> working normally
    haproxy -> not working(waiting for new version)
    pfBlockerNG -> can't use top lists. dnsbl working. Errors bellow.
    suricata -> working normally.

    errors:

    Filter Reload

    There were error(s) loading the rules: /tmp/rules.debug:249: macro 'pfB_DNSBLIP' not defined - The line in question reads [249]: block return quick on { igb1.160 igb1.120 igb1.170 igb1.150 igb1.130 igb2.140 enc0 } inet from any to $pfB_DNSBLIP tracker 1770007940 label "USER_RULE: pfB_DNSBLIP auto rule"
    @ 2018-07-12 22:06:19
    There were error(s) loading the rules: /tmp/rules.debug:249: macro 'pfB_DNSBLIP' not defined - The line in question reads [249]: block return quick on { igb1.160 igb1.120 igb1.170 igb1.150 igb1.130 igb2.140 enc0 } inet from any to $pfB_DNSBLIP tracker 1770007940 label "USER_RULE: pfB_DNSBLIP auto rule"
    @ 2018-07-12 22:06:26
    

    PHP errors

    PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 2796, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2796
    Stack trace:
    #0 /usr/local/pkg/haproxy/haproxy.inc(1640): use_frontend_as_unixsocket('Frontend_SNI_DM...')
    #1 /usr/local/pkg/haproxy/haproxy.inc(2223): haproxy_writeconf('/var/etc/haprox...')
    #2 /usr/local/pkg/haproxy/haproxy.inc(592): haproxy_check_run(1)
    #3 /etc/inc/pkg-utils.inc(748) : eval()'d code(1): haproxy_custom_php_install_command()
    #4 /etc/inc/pkg-utils.inc(748): eval()
    #5 /etc/inc/pkg-utils.inc(835): eval_once('haproxy_custom_...')
    #6 /etc/rc.packages(74): install_package_xml('haproxy')
    #7 {main}
    thrown @ 2018-07-12 22:10:19
    PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 4087, Message: Uncaught Error: Cannot unset string offsets in /usr/local/pkg/pfblockerng/pfblockerng.inc:4087
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng.php(393): sync_package_pfblockerng('cron')
    #1 /usr/local/www/pfblockerng/pfblockerng.php(71): pfblockerng_sync_cron()
    #2 {main}
    thrown @ 2018-07-13 00:03:32
    

    Is it normal? seems I can't update thru GUI either. I'm suspecting my disk may be bad. Could it be related?

    EDIT: ZFS problems seem to be this error.



  • Solved by using -devel packages.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy