WUI 2.3 - CARP Failure?



  • Hi,

    i become this message on my CARP Dashboard to report this..
    CARP is running and works.

    Crash report begins.  Anonymous machine information:
    
    amd64
    10.3-RELEASE
    FreeBSD 10.3-RELEASE #13 eac8329(RELENG_2_3): Wed Apr  6 06:20:01 CDT 2016     root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    PHP Errors:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:04 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:05 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   1\. {main}() /etc/rc.carpmaster:0
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpmaster:60
    [10-Apr-2016 09:19:05 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:19 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:19 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:19 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    [10-Apr-2016 09:19:19 Etc/UTC] PHP Stack trace:
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   1\. {main}() /etc/rc.carpbackup:0
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   2\. notify_via_growl() /etc/rc.carpbackup:60
    [10-Apr-2016 09:19:19 Etc/UTC] PHP   3\. dns_get_record() /etc/inc/notices.inc:431
    
    

    Sven



  • What do you have for the "IP address" in System->Advanced, Notifications, Growl section?
    Note: It can be a valid DNS name.

    The code tries to do a DNS lookup of the name using dns_get_record(), first to an IPv4 address then to an IPv6 address. If that fails, then PHP emits a warning (unfortunately). I can get the crash report from Diag->Command Prompt by doing:

    $x = dns_get_record("junk.inf.org", DNS_A);
    var_dump($x);
    

    If the name translates to an IPv6 address only, then I can see that it would emit a warning for the attempt at looking for an IPv4 address. But then go on to happily find the IPv6 address.



  • okay thank you!
    i dont no why but my settings was crahed.. I have never configured this but the "disable growl" was unchecked and the IP was 'admin'  :o
    I have checked the disable box and all is fine :)



  • @cremesk:

    i dont no why but my settings was crahed.. I have never configured this but the "disable growl" was unchecked and the IP was 'admin'  :o

    That might have come from a Browser that has login data saved for your pfSense gateway. I.e. if you save the login for the pfSense GW in Safari on iOS and edit Dynamic DNS entries, it might auto-fill the Username/Password of your Provider with your pfSense GWs login.



  • @athurdent:

    @cremesk:

    i dont no why but my settings was crahed.. I have never configured this but the "disable growl" was unchecked and the IP was 'admin'  :o

    That might have come from a Browser that has login data saved for your pfSense gateway. I.e. if you save the login for the pfSense GW in Safari on iOS and edit Dynamic DNS entries, it might auto-fill the Username/Password of your Provider with your pfSense GWs login.

    I use Linux Fedora23 with Firefox45.. i think this is the same scenario.

    WebGUI Login Autocomplete
    [unchecked] Enable webConfigurator login autocomplete
    When this is checked, login credentials for the webConfigurator may be saved by the browser. While convenient, some security standards require this to be disabled. Check this box to enable autocomplete on the login form so that browsers will prompt to save credentials (NOTE: Some browsers do not respect this option).