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

    Cannot connect to installer daemon

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    25 Posts 2 Posters 1.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      @mattlund said in Cannot connect to installer daemon:

      Qotom Q350G4

      It looks like that has a serial console. Have you tried using that?
      At least it would make it easy to copy/paste the logs out.

      M 1 Reply Last reply Reply Quote 0
      • M
        mattlund @stephenw10
        last edited by

        @stephenw10, sorry for the delay needed to fix a serial to USB adapter.

        I tried what you proposed but with same result see below logs from console:

        ---<<BOOT>>---
        Copyright (c) 1992-2024 The FreeBSD Project.
        Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        	The Regents of the University of California. All rights reserved.
        FreeBSD is a registered trademark of The FreeBSD Foundation.
        FreeBSD 15.0-CURRENT #0 installer-RELENG_v1_0-n256387-33bc50df25b: Thu Sep 19 15:09:47 UTC 2024
            root@freebsd:/var/jenkins/workspace/pfSense-installer-snapshots-v1_0-main/obj/amd64/S5t4JeUd/var/jenkins/workspace/pfSense-installer-snapshots-v1_0-main/sources/FreeBSD-src-installer-RELENG_v1_0/amd64.amd64/sys/pfSense-Installer amd64
        FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
        VT(efifb): resolution 800x600
        CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (2294.83-MHz K8-class CPU)
          Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45  Stepping=1
          Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
          Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
          AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
          AMD Features2=0x21<LAHF,ABM>
          Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
          Structured Extended Features3=0x9c000000<IBPB,STIBP,L1DFL,SSBD>
          XSAVE Features=0x1<XSAVEOPT>
          VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
          TSC: P-state invariant, performance statistics
        real memory  = 8589934592 (8192 MB)
        avail memory = 8182452224 (7803 MB)
        Event timer "LAPIC" quality 600
        ACPI APIC Table: <ALASKA A M I >
        FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
        FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
        random: registering fast source Intel Secure Key RNG
        random: fast provider: "Intel Secure Key RNG"
        arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
        WARNING: Bogus Interrupt Trigger Mode. Assume CONFORMS.
        WARNING: Bogus Interrupt Polarity. Assume CONFORMS
        WARNING: Bogus Interrupt Polarity. Assume CONFORMS
        ioapic0 <Version 2.0> irqs 0-39
        Launching APs: 1 2 3
        TCP_ratelimit: Is now initialized
        ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
        ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff807524f0, 0) error 1
        ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
        ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff807525a0, 0) error 1
        ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
        ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80752650, 0) error 1
        iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
        iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff80772100, 0) error 1
        iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
        iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff807721b0, 0) error 1
        iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
        iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
        module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff80772260, 0) error 1
        random: entropy device external interface
        wlan: mac acl policy registered
        kbd1 at kbdmux0
        WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0.
        efirtc0: <EFI Realtime Clock>
        efirtc0: registered as a time-of-day clock, resolution 1.000000s
        netgate0: <unknown hardware>
        smbios0: <System Management BIOS> at iomem 0xf0560-0xf057e
        smbios0: Version: 2.8, BCD Revision: 2.7
        acpi0: <ALASKA A M I >
        acpi0: Power Button (fixed)
        cpu0: <ACPI CPU> on acpi0
        hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
        Timecounter "HPET" frequency 14318180 Hz quality 950
        Event timer "HPET" frequency 14318180 Hz quality 550
        Event timer "HPET1" frequency 14318180 Hz quality 440
        Event timer "HPET2" frequency 14318180 Hz quality 440
        Event timer "HPET3" frequency 14318180 Hz quality 440
        Event timer "HPET4" frequency 14318180 Hz quality 440
        atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
        atrtc0: Warning: Couldn't map I/O.
        atrtc0: registered as a time-of-day clock, resolution 1.000000s
        Event timer "RTC" frequency 32768 Hz quality 0
        attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
        Timecounter "i8254" frequency 1193182 Hz quality 0
        Event timer "i8254" frequency 1193182 Hz quality 100
        Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
        acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
        pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
        pci0: <ACPI PCI bus> on pcib0
        vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7400000-0xf77fffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
        vgapci0: Boot video device
        hdac0: <Intel Haswell HDA Controller> mem 0xf7c14000-0xf7c17fff irq 16 at device 3.0 on pci0
        xhci0: <Intel Panther Point USB 3.0 controller> mem 0xf7c00000-0xf7c0ffff irq 21 at device 20.0 on pci0
        xhci0: 32 bytes context size, 64-bit DMA
        xhci0: Port routing mask set to 0xffffffff
        usbus0 on xhci0
        usbus0: 5.0Gbps Super Speed USB v3.0
        pci0: <simple comms> at device 22.0 (no driver attached)
        hdac1: <Intel Lynx Point-LP HDA Controller> mem 0xf7c10000-0xf7c13fff irq 22 at device 27.0 on pci0
        pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
        pci1: <ACPI PCI bus> on pcib1
        igb0: <Intel(R) I211 (Copper)> port 0xe000-0xe01f mem 0xf7b00000-0xf7b1ffff,0xf7b20000-0xf7b23fff irq 16 at device 0.0 on pci1
        igb0: NVM V0.6 imgtype1
        igb0: Using 1024 TX descriptors and 1024 RX descriptors
        igb0: Using 2 RX queues 2 TX queues
        igb0: Using MSI-X interrupts with 3 vectors
        igb0: Ethernet address: 40:62:xx:yy:zz:0e
        igb0: netmap queues/slots: TX 2/1024, RX 2/1024
        pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
        pci2: <ACPI PCI bus> on pcib2
        igb1: <Intel(R) I211 (Copper)> port 0xd000-0xd01f mem 0xf7a00000-0xf7a1ffff,0xf7a20000-0xf7a23fff irq 17 at device 0.0 on pci2
        igb1: NVM V0.6 imgtype1
        igb1: Using 1024 TX descriptors and 1024 RX descriptors
        igb1: Using 2 RX queues 2 TX queues
        igb1: Using MSI-X interrupts with 3 vectors
        igb1: Ethernet address: 40:62:xx:yy:zz:0f
        igb1: netmap queues/slots: TX 2/1024, RX 2/1024
        pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
        pci3: <ACPI PCI bus> on pcib3
        igb2: <Intel(R) I211 (Copper)> port 0xc000-0xc01f mem 0xf7900000-0xf791ffff,0xf7920000-0xf7923fff irq 18 at device 0.0 on pci3
        igb2: NVM V0.6 imgtype1
        igb2: Using 1024 TX descriptors and 1024 RX descriptors
        igb2: Using 2 RX queues 2 TX queues
        igb2: Using MSI-X interrupts with 3 vectors
        igb2: Ethernet address: 40:62:xx:yy:zz:10
        igb2: netmap queues/slots: TX 2/1024, RX 2/1024
        pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
        pci4: <ACPI PCI bus> on pcib4
        igb3: <Intel(R) I211 (Copper)> port 0xb000-0xb01f mem 0xf7800000-0xf781ffff,0xf7820000-0xf7823fff irq 19 at device 0.0 on pci4
        igb3: NVM V0.6 imgtype1
        igb3: Using 1024 TX descriptors and 1024 RX descriptors
        igb3: Using 2 RX queues 2 TX queues
        igb3: Using MSI-X interrupts with 3 vectors
        igb3: Ethernet address: 40:62:xx:yy:zz:11
        igb3: netmap queues/slots: TX 2/1024, RX 2/1024
        ehci0: <Intel Lynx Point-LP USB 2.0 controller> mem 0xf7c19000-0xf7c193ff irq 23 at device 29.0 on pci0
        usbus1: EHCI version 1.0
        usbus1 on ehci0
        usbus1: 480Mbps High Speed USB v2.0
        isab0: <PCI-ISA bridge> at device 31.0 on pci0
        isa0: <ISA bus> on isab0
        acpi_button0: <Sleep Button> on acpi0
        acpi_button1: <Power Button> on acpi0
        acpi_tz0: <Thermal Zone> on acpi0
        acpi_tz1: <Thermal Zone> on acpi0
        ns8250: UART FCR is broken
        ns8250: UART FCR is broken
        uart0: <16950 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
        ns8250: UART FCR is broken
        uart0: console (115200,n,8,1)
        ns8250: UART FCR is broken
        ns8250: UART FCR is broken
        uart1: <16950 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
        atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
        atkbd0: <AT Keyboard> irq 1 on atkbdc0
        kbd0 at atkbd0
        atkbd0: [GIANT-LOCKED]
        est0: <Enhanced SpeedStep Frequency Control> on cpu0
        Timecounter "TSC-low" frequency 1147343871 Hz quality 1000
        Timecounters tick every 1.000 msec
        hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
        hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
        pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
        hdacc1: <Realtek ALC662 rev3 HDA CODEC> at cad 0 on hdac1
        hdaa1: <Realtek ALC662 rev3 Audio Function Group> at nid 1 on hdacc1
        hdaa1: No presence detection support at nid 27
        pcm1: <Realtek ALC662 rev3 (Analog 2.0+HP/2.0)> at nid 20,27 and 24,25 on hdaa1
        ugen0.1: <Intel XHCI root HUB> at usbus0
        ugen1.1: <Intel EHCI root HUB> at usbus1
        random: unblocking device.
        uhub0Trying to mount root from ufs:/dev/ufs/pfSense_Install [ro,noatime]...
         on usbus0
        uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
        uhub1 on usbus1
        uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
        uhub0: 13 ports with 13 removable, self powered
        Root mount waiting for: usbus0 usbus1
        uhub1: 2 ports with 2 removable, self powered
        ugen0.2: <Kingston DataTraveler 3.0> at usbus0
        umass0 on uhub0
        umass0: <Kingston DataTraveler 3.0, class 0/0, rev 3.20/0.01, addr 1> on usbus0
        da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
        da0: <Kingston DataTraveler 3.0 > Removable Direct Access SPC-4 SCSI device
        da0: Serial Number E0D55EA57403F570E94B151D
        da0: 400.000MB/s transfers
        da0: 59006MB (120845300 512 byte sectors)
        da0: quirks=0x2<NO_6_BYTE>
        ugen1.2: <vendor 0x8087 product 0x8000> at usbus1
        uhub2 on uhub1
        uhub2: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.04, addr 2> on usbus1
        uhub2: 8 ports with 8 removable, self powered
        Dual Console: Video Primary, Serial Secondary
        ichsmb0: <Intel Lynx Point-LP SMBus controller> port 0xf040-0xf05f mem 0xf7c18000-0xf7c180ff irq 18 at device 31.3 on pci0
        smbus0: <System Management Bus> on ichsmb0
        lo0: link state changed to UP
        
        FreeBSD/amd64 (pfSense-install) (ttyu0)
        
        
        Welcome to pfSense!
        
        unknown hardware
        
        Please choose the appropriate terminal type for your system.
        Common console types are:
           ansi     Standard ANSI terminal
           vt100    VT100 or compatible terminal
           xterm    xterm terminal emulator (or compatible)
           cons25w  cons25w terminal
        
        Console type [vt100]: 
        

        I do not find anyting strange in the console that I notice would block the installer. Can you find anything that catches your eye?

        Thanks!

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          No nothing there looks incorrect.

          So where exactly does it fail?

          M 1 Reply Last reply Reply Quote 0
          • M
            mattlund @stephenw10
            last edited by

            @stephenw10 again sorry for the delay in responding.

            It looks like instead of bringing up the installer menu it fails for some reason.

            So the question is which states needs to be fullfilled for pfsense installer to launch the gui to choose to install?

            It brings up lo0 what is the next step in the installer process? Does the network need to be in some specfic state?

            I am out of ideas. Do you have some ideas to test?

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              @mattlund said in Cannot connect to installer daemon:

              Console type [vt100]:

              Are you able to type at that prompt? Usually you just hit return there and it should draw the menu. How are you connected to it?

              M 1 Reply Last reply Reply Quote 0
              • M
                mattlund @stephenw10
                last edited by mattlund

                @stephenw10 I am connected with console now and not display and keyboard.

                I get to the same menu that says "Cannot connect to the installer deamon" so the result from the display and keyboard is the same as from console.

                So the only way forward as I see it is to understand the list of states that needs to be fullfilled for Pfsense to not end up in the "Cannot connect to the installer deamon".
                How does it connect to the installler daemon in the first place?

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  The daemon runs locally when you boot the installer. The connection is just via a local socket.

                  The only reason it would not be able to connect is if the daemon is not running.

                  Do you see any part of the menu from the installer?

                  Your initial screenshot showed the daemon log had some entries implying it was running at least initially.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mattlund @stephenw10
                    last edited by

                    @stephenw10 I get the picture below both on console and direct connected display and keyboard. No difference.

                    daemon-connect.png

                    So I can exit this screen if i choose retry and then I land in the shell.

                    This is the output from ps-eaf:

                    root@pfSense-install:~ # ps -eaf
                     PID TT  STAT    TIME COMMAND
                    1970 u0  Is   0:00.00 TERM=vt100 login [pam] (login)
                    1972 u0  S    0:00.00 USER=root LOGNAME=root HOME=/root SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR
                    2074 u0  R+   0:00.00 LOGNAME=root PAGER=less LANG=C.UTF-8 MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR=/var/run/xdg/root ENV=/root/.shrc PWD=/root TERM=vt1
                    1851 v0- S    0:00.01 LANG=C.UTF-8 PATH=/sbin:/bin:/usr/sbin:/usr/bin DEBUG_DO=: PWD=/ DEBUG_SKIP= HOME=/ _TTY=/dev/console MM_CHARSET=UTF-8 DEBUGGING= RC_PID=23 BLOCKSIZE=K /usr/local/sbin/pfSense-installer
                    1852 v0- I    0:00.00 LANG=C.UTF-8 PATH=/sbin:/bin:/usr/sbin:/usr/bin DEBUG_DO=: PWD=/ DEBUG_SKIP= HOME=/ _TTY=/dev/console MM_CHARSET=UTF-8 DEBUGGING= RC_PID=23 BLOCKSIZE=K /bin/sh /usr/local/libexec/installer/pfSense-inst
                    1962 v0  Is   0:00.00 TERM=xterm login [pam] (login)
                    1971 v0  I    0:00.00 USER=root LOGNAME=root HOME=/root SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR
                    1975 v0  I+   0:00.00 LOGNAME=root PAGER=less LANG=C.UTF-8 MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR=/var/run/xdg/root ENV=/root/.shrc PWD=/root TERM=xte
                    1980 v0  IC+  0:00.00 LOGNAME=root LANG=C.UTF-8 PAGER=less MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR=/var/run/xdg/root ENV=/root/.shrc PWD=/root USER=roo
                    1989 v0  I+   0:00.00 LOGNAME=root LANG=C.UTF-8 PAGER=less MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR=/var/run/xdg/root ENV=/root/.shrc PWD=/root USER=roo
                    2011 v0  I+   0:00.00 LOGNAME=root LANG=C.UTF-8 PAGER=less MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_RUNTIME_DIR=/var/run/xdg/root ENV=/root/.shrc PWD=/root TERM=xte
                    1963 v1  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv1
                    1964 v2  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv2
                    1985 v3  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv3
                    1966 v4  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv4
                    1967 v5  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv5
                    1968 v6  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv6
                    1969 v7  Is+  0:00.00 TERM=xterm /usr/libexec/getty Pc ttyv7
                    root@pfSense-install:~ #
                    

                    This is the output from netstat -an:

                    root@pfSense-install:~ # netstat -an
                    Active Internet connections (including servers)
                    Proto Recv-Q Send-Q Local Address          Foreign Address        (state)    
                    tcp4       0      0 *.22                   *.*                    LISTEN     
                    tcp6       0      0 *.22                   *.*                    LISTEN     
                    tcp6       0      0 *.80                   *.*                    LISTEN     
                    tcp4       0      0 *.80                   *.*                    LISTEN     
                    tcp6       0      0 *.443                  *.*                    LISTEN     
                    tcp4       0      0 *.443                  *.*                    LISTEN     
                    tcp4       0      0 127.0.0.1.9000         *.*                    LISTEN     
                    udp4       0      0 *.514                  *.*                    
                    udp6       0      0 *.514                  *.*                    
                    Active UNIX domain sockets
                    Address          Type   Recv-Q Send-Q            Inode             Conn             Refs          Nextref Addr
                    fffff800036c0800 stream      0      0                0 fffff800039bdb00                0                0
                    fffff800039bdb00 stream      0      0                0 fffff800036c0800                0                0
                    fffff800039bdc00 stream      0      0                0                0                0                0
                    fffff80003b05900 stream      0      0                0 fffff800036c0b00                0                0
                    fffff800036c0b00 stream      0      0                0 fffff80003b05900                0                0
                    fffff800036c0a00 stream      0      0 fffff80003677540                0                0                0 /var/run/devd.pipe
                    fffff80003b05800 dgram       0      0                0 fffff80003b05700                0 fffff800039bda00
                    fffff800039bda00 dgram       0      0                0 fffff80003b05700                0 fffff800036c0d00
                    fffff800036c0d00 dgram       0      0                0 fffff80003b05700                0 fffff80003a40a00
                    fffff80003a40a00 dgram       0      0                0 fffff80003b05700                0                0
                    fffff80003b05a00 dgram       0      0 fffff8000375e8c0                0                0                0 /var/run/logpriv
                    fffff80003b05700 dgram       0      0 fffff8000375ea80                0 fffff80003b05800                0 /var/run/log
                    fffff800036c0900 seqpac      0      0 fffff800037af8c0                0                0                0 /var/run/devd.seqpacket.pipe
                    root@pfSense-install:~ #
                    

                    Last one ps-aux:

                    root@pfSense-install:~ # ps -aux
                    USER  PID  %CPU %MEM   VSZ   RSS TT  STAT STARTED     TIME COMMAND
                    root   11 400.0  0.0     0    64  -  RNL  20:19   33:12.00 [idle]
                    root    0   0.0  0.0     0   656  -  DLs  20:19    0:00.94 [kernel]
                    root    1   0.0  0.0 11348  1152  -  ILs  20:19    0:00.05 /sbin/init
                    root    2   0.0  0.0     0    64  -  WL   20:19    0:00.07 [clock]
                    root    3   0.0  0.0     0    80  -  DL   20:19    0:00.00 [crypto]
                    root    4   0.0  0.0     0    48  -  DL   20:19    0:00.07 [cam]
                    root    5   0.0  0.0     0    16  -  DL   20:19    0:00.00 [busdma]
                    root    6   0.0  0.0     0    16  -  DL   20:19    0:00.06 [pf purge]
                    root    7   0.0  0.0     0    16  -  DL   20:19    0:00.01 [rand_harvestq]
                    root    8   0.0  0.0     0    48  -  DL   20:19    0:00.01 [pagedaemon]
                    root    9   0.0  0.0     0    16  -  DL   20:19    0:00.00 [vmdaemon]
                    root   10   0.0  0.0     0    16  -  DL   20:19    0:00.00 [audit]
                    root   12   0.0  0.0     0   256  -  WL   20:19    0:00.11 [intr]
                    root   13   0.0  0.0     0    64  -  DL   20:19    0:00.00 [ng_queue]
                    root   14   0.0  0.0     0    48  -  DL   20:19    0:00.00 [geom]
                    root   15   0.0  0.0     0    16  -  DL   20:19    0:00.00 [sequencer 00]
                    root   16   0.0  0.0     0   160  -  DL   20:19    0:00.14 [usb]
                    root   17   0.0  0.0     0    16  -  DL   20:19    0:00.00 [acpi_thermal]
                    root   18   0.0  0.0     0    16  -  DL   20:19    0:00.00 [acpi_cooling1]
                    root   19   0.0  0.0     0    96  -  DL   20:19    0:00.01 [bufdaemon]
                    root   20   0.0  0.0     0    16  -  DL   20:19    0:00.00 [vnlru]
                    root   21   0.0  0.0     0    16  -  DL   20:19    0:00.00 [syncer]
                    root   22   0.0  0.0     0    16  -  DL   20:19    0:00.00 [ALQ Daemon]
                    root 1597   0.0  0.0 14616  3956  -  Ss   20:19    0:00.01 /sbin/devd
                    root 1800   0.0  0.0 13096  2896  -  Ss   20:19    0:00.01 /usr/sbin/syslogd -s
                    root 1826   0.0  0.0     0    16  -  DL   20:19    0:00.00 [md3]
                    root 1900   0.0  0.1 31824  9096  -  Is   20:19    0:00.00 nginx: master process /usr/local/sbin/nginx
                    www  1901   0.0  0.1 34384 10256  -  I    20:19    0:00.02 nginx: worker process (nginx)
                    root 1953   0.0  0.1 22820 10336  -  Is   20:19    0:00.00 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd)
                    root 1958   0.0  0.0 13144  2764  -  Is   20:19    0:00.00 /usr/sbin/cron -s
                    root 1970   0.0  0.0 13328  2992 u0  Is   20:19    0:00.00 login [pam] (login)
                    root 1972   0.0  0.0 13604  3520 u0  S    20:19    0:00.06 -sh (sh)
                    root 2104   0.0  0.0 13676  3092 u0  R+   20:27    0:00.00 ps -aux
                    root 1851   0.0  0.0 11872  1756 v0- I    20:19    0:00.01 /usr/local/sbin/pfSense-installer
                    root 1852   0.0  0.0 13604  2944 v0- I    20:19    0:00.00 /bin/sh /usr/local/libexec/installer/pfSense-installerd.sh
                    root 1962   0.0  0.0 13328  2996 v0  Is   20:19    0:00.00 login [pam] (login)
                    root 1971   0.0  0.0 13604  3348 v0  I    20:19    0:00.00 -sh (sh)
                    root 1975   0.0  0.0 13604  3264 v0  I+   20:19    0:00.00 /bin/sh /usr/local/libexec/installer/pfSense-installer.sh
                    root 1980   0.0  0.0 13200  2580 v0  IC+  20:19    0:00.00 tail -f /tmp/bsdinstall_log
                    root 1989   0.0  0.0 13200  2548 v0  I+   20:19    0:00.00 tail: system.fileargs (tail)
                    root 2011   0.0  0.0 13576  3652 v0  I+   20:19    0:00.00 /usr/bin/bsddialog --colors --backtitle Netgate Installer --title  Netgate Installer Error  --msgbox \\nCannot connect to installer daemon.\\n\\nTrying again...\\n 
                    root 1963   0.0  0.0 13068  2376 v1  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv1
                    root 1964   0.0  0.0 13068  2376 v2  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv2
                    root 1985   0.0  0.0 13068  2372 v3  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv3
                    root 1966   0.0  0.0 13068  2372 v4  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv4
                    root 1967   0.0  0.0 13068  2376 v5  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv5
                    root 1968   0.0  0.0 13068  2384 v6  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv6
                    root 1969   0.0  0.0 13068  2376 v7  Is+  20:19    0:00.00 /usr/libexec/getty Pc ttyv7
                    root@pfSense-install:~ #
                    

                    Ideas or clues from this info?

                    M 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, that's just immediately after pressing enter to select the vt100 console?

                      Check the system and installer logs for any errors that might show why it stopped.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mattlund @mattlund
                        last edited by

                        @stephenw10 I looked at the installer shell script /usr/local/libexec/installer/pfSense-installer.sh which seems to be where the installation fails if I have understood the system correctly.

                        installer_main() {
                               local _cfg_count _cfg_selected _error _i _info
                        
                               VERSION="$(get_version)"
                               [ -f "${INSTALLER_VERSION}" ] && [ -r "${INSTALLER_VERSION}" ] && \
                                   /bin/rm -f "${INSTALLER_VERSION}" 2> /dev/null
                               if [ ! -f "${INSTALLER_VERSION}" ] || \
                                   [ -w "${INSTALLER_VERSION}" ]; then
                                       echo -n "${VERSION}" > "${INSTALLER_VERSION}"
                               fi
                               if ! installer_reset; then
                                       "${BSDDIALOG}" --colors --backtitle "$(get_title)" \
                                           --title " Netgate Installer Error " \
                                           --msgbox "\nCannot connect to installer daemon.\n\nTrying again...\n" \
                                           --ok-label "Retry" 0 0
                                       # restart the Installer backend.
                                       return 22
                               fi
                        
                               if ! installer_copyright; then
                                       return 1
                               fi
                        

                        Look like it fails att if statement "if ! installer_reset; then"?!

                        installer_reset looks like a function that is sourced from the /usr/local/libexec/installer/pfSense-common in shell script /usr/local/libexec/installer/pfSense-installer.sh.

                        installer_reset() {
                                local _result _tmpfile
                        
                                _tmpfile="$(${MKTEMP})"
                                if ! "${CURL}" ${CURLFLAGS} \
                                    "${INSTALLER_URL}/reset" 2>&1 > "${_tmpfile}"; then
                                        ${RM} -f "${_tmpfile}" 2>&1 > /dev/null
                                        return 1
                                fi
                                _result=$(${GREP} -c "\"status\":\"ok\"" "${_tmpfile}")
                                ${RM} -f "${_tmpfile}" 2>&1 > /dev/null
                                if [ -z "${_result}" ] || [ "${_result}" != "1" ]; then
                                        return 1
                                fi
                        
                                return 0
                        }
                        

                        So here I am lost but it seems that some statement is not fullfilled to looks like there is an isse with the backend, or???

                        1 Reply Last reply Reply Quote 0
                        • M
                          mattlund @stephenw10
                          last edited by

                          @stephenw10 where can I find the installer logs in /var/log ?

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Yes, there and also in /var/log

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mattlund @stephenw10
                              last edited by

                              @stephenw10 here you have a example of all logs that I belive make sense.

                              daemon.log

                              root@pfSense-install:/var/log # cat daemon.log 
                              Jun 18 20:20:00 pfSense-install newsyslog[1700]: logfile first created
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: Starting
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: Version: v1.0-RC
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-init
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -M
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: unknown
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-init exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: init: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-if-up
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -i
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: igb0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-if-up exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: if_set_up: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-if-up
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -i
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: igb1
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-if-up exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: if_set_up: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-if-up
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -i
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: igb2
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-if-up exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: if_set_up: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-if-up
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -i
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: igb3
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-if-up exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: if_set_up: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: nic_addr_set: addr: 192.168.1.1/24
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-pf
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -d
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [2]: pfctl: pf not enabled
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Warning: Cannot disable the pf firewall.
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-pf exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: nic_pf_disable: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-copy-configxml
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Searching configuration backups on the installation media...
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Looking for config.xml on da0s3: 
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: [found msdos]
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: [no config.xml on da0s3]
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Could not locate a msdos partition. Done.
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Searching for configuration files in the existing disks...
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec output [1]: Could not locate an existing XML configuration. Done.
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-copy-configxml exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: cfg_copy_configxml: error: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[0]: /usr/local/libexec/installer/pfSense-ready
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[1]: -M
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: argv[2]: unknown
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: exec: /usr/local/libexec/installer/pfSense-ready exited with status: 0
                              Jun 18 20:20:01 pfSense-install pfSense-installer[1851]: ready: error: 0
                              root@pfSense-install:/var/log # 
                              

                              auth.log

                              root@pfSense-install:/var/log # cat auth.log 
                              Jun 18 20:20:00 pfSense-install newsyslog[1700]: logfile first created
                              Jun 18 20:20:02 pfSense-install sshd[1953]: Server listening on :: port 22.
                              Jun 18 20:20:02 pfSense-install sshd[1953]: Server listening on 0.0.0.0 port 22.
                              Jun 18 20:20:02 pfSense-install login[1970]: login on ttyu0 as root
                              Jun 18 20:20:02 pfSense-install login[1962]: login on ttyv0 as root
                              Jun 18 20:20:02 pfSense-install login[1981]: login on ttyv3 as root
                              root@pfSense-install:/var/log # 
                              

                              messages
                              Attached as file.
                              messages.txt

                              Can you find some clues in these logs? I do not find anything suspicus...

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Hmm, no errors shown there but the daemon log should have a lot more in it....

                                The only time I've ever seen that is after restarting the installer without rebooting. But I assume you are rebooting here between attempts?

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mattlund @stephenw10
                                  last edited by

                                  @stephenw10 yes I am rebooting between the attempts.

                                  Looks like the issue is with the pfsense-installerd.sh it should bring up a webservice which do not seem to be accessible through nginx. I get ssl issues and can not bypass that.

                                  Ideas?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Hmm, do you have a good system time? Some time ago there was a bug that caused the installer to generate a cert that was then seen as expired once ntp kicked in. That should be fixed but perhaps you're hitting some variant.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      mattlund @stephenw10
                                      last edited by

                                      @stephenw10 yes I have a good system time and date it might diff a few seconds, but that is it.

                                      More ideas?

                                      Is it possible to download an older image 2.6.x or 2.7.x just to verify if I get a different behaivour?

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Yes you can get the legacy installers for 2.7.2 here.

                                        Those definitely won't hit this because the installer code itself is completely different. But you can test upgrading to 2.8.

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mattlund @stephenw10
                                          last edited by

                                          @stephenw10 I tried to install 2.7.2 and it worked fine the install as you expected.

                                          But I hit another issue and that is firefox generates SSL_ERROR_BAD_MAC_READ when I try to connect to pfsense 2.7.2 after inital install at https://192.168.1.1.

                                          So I am not able to connect to the GUI at all. I logged in via the console to the shell and executed the command below but this did not help.

                                          pfSsh.php playback generateguicert
                                          

                                          I also tested to install Opnsense 25.1 and it just works very well. As well as FreeBSD 14.

                                          So ideas on what to test or how to resolve this situation.

                                          It is quite clear that the new pfsense 2.8 installer is not as compatible as the old 2.7.2.

                                          Any ideas or tests you can think of would be appricated since I want to run pfsense on my box.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mattlund @mattlund
                                            last edited by mattlund

                                            @stephenw10 I did some further test on SSL_ERROR_BAD_MAC_READ.
                                            I fund out that I had the same issue on a live cd of Debian 12 as well.

                                            I then ran memtest86 test suite and found out that it seems to be an issue with my RAM memory. I will exchange the RAM memory during next week and retest to install pfsense 2.7.2.

                                            I do not belive that pfsense 2.8 installation issues is caused by the RAM memory, but I will retest this as well.

                                            I will reach out here with an update and some advise from you if I am not successful in my endeavor.

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