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

some services show can't start

Plus 23.09 Development Snapshots (Retired)
5
131
27.4k
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.
  • H
    hannesclp @stephenw10
    last edited by Nov 19, 2023, 8:09 PM

    @stephenw10
    First of all thanks for your almost instant reply :-)

    @stephenw10 said in some services show can't start:

    What if you manually run: /sbin/route -n6 get 'default'

    route: route has not been found: No error: 0
    

    We do not have a default gateway IPv6 set though - we solely use IPv4 for our uplinks.

    @stephenw10 said in some services show can't start:

    What new errors do you see if you try to start the service after boot?
    Actually none in the logs at least and none in the gui as well. Do you want me to check out a certain log?

    Interesting enough is that wireguard is actually working and I can ping the wg host on the other side. Pfsense just doesn't bring up the gateway for the static routes since the wireguard service is down.

    [2.7.1-RELEASE][admin@labgate]/root: ps aux | grep php_wg
    root    63787   0.0  0.1  12752   2388  0  S+   21:07     0:00.00 grep php_wg
    [2.7.1-RELEASE][admin@labgate]/root:
    
    H 1 Reply Last reply Nov 19, 2023, 8:52 PM Reply Quote 0
    • H
      hannesclp @hannesclp
      last edited by Nov 19, 2023, 8:52 PM

      Update on the wirguard issue:

      I am pretty sure I hit bug #14613 (https://redmine.pfsense.org/issues/14613).

      The wireguard gui part is not responsive and cannot be started.

      [2.7.1-RELEASE][admin@labgate]/root: fstat /var/run/wireguardd.pid
      USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
      root     dpinger    59313   10 /var/run     57 -rw-r--r--       5 rw  /var/run/wireguardd.pid
      root     dpinger    58892   10 /var/run     57 -rw-r--r--       5 rw  /var/run/wireguardd.pid
      root     dpinger    58557   10 /var/run     57 -rw-r--r--       5 rw  /var/run/wireguardd.pid
      

      As soon as I do a

      [2.7.1-RELEASE][admin@labgate]/root: /usr/local/bin/php_wg -f /usr/local/pkg/wireguard/includes/wg_service.inc stop
      

      I can start the wireguard gui through the webinterface and php_wg is running:

      [2.7.1-RELEASE][admin@labgate]/root: ps aux | grep php_wg
      root    61681   0.0  2.3  68272  46144  -  Ss   21:47    0:00.06 php_wg: WireGuard service (php_wg)
      root    23988   0.0  0.1  12752   2392  0  S+   21:51    0:00.00 grep php_wg
      
      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Nov 20, 2023, 1:16 PM

        Ah, interesting. But you only saw this after upgrading to 2.7.1?

        This should probably be in a new thread.

        H 1 Reply Last reply Nov 20, 2023, 2:02 PM Reply Quote 0
        • H
          hannesclp @stephenw10
          last edited by Nov 20, 2023, 2:02 PM

          @stephenw10
          Actually it is a fresh install of 2.7.0 and I restored from a backup. Since I immediately updated to 2.7.1 I cannot really tell. Everything worked until the first reboot…

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Nov 20, 2023, 2:48 PM

            Ah, well it would be interesting to test that if you can. If this is a new issue in 2.7.1 it's probably not the same as the one you linked to.

            H 1 Reply Last reply Nov 20, 2023, 2:52 PM Reply Quote 0
            • H
              hannesclp @stephenw10
              last edited by Nov 20, 2023, 2:52 PM

              @stephenw10
              I will give it a try and reinstall the machine. Maybe its the same bug in 2.7.0 and 2.7.1…

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Nov 20, 2023, 3:06 PM

                It probably is. In which case we have somewhere to start digging and more data points to pin it down. Otherwise if it's a regression in 2.7.1 we need to know about it.

                H 1 Reply Last reply Nov 20, 2023, 4:19 PM Reply Quote 0
                • H
                  hannesclp @stephenw10
                  last edited by Nov 20, 2023, 4:19 PM

                  @stephenw10
                  I just checked the 2.7.0 as well. The same error occurs after it's first restart. php-wg is offline but wireguard itself seems to be working.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Nov 20, 2023, 5:03 PM

                    Ok so it likely is that same issue. You should add any notes you have there.

                    H 1 Reply Last reply Nov 20, 2023, 5:08 PM Reply Quote 0
                    • H
                      hannesclp @stephenw10
                      last edited by Nov 20, 2023, 5:08 PM

                      @stephenw10
                      Unfortunately I don't have much more to offer. If you want to have a look at the machine just pm me ;-)

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yon 0 @stephenw10
                        last edited by Dec 12, 2023, 12:31 PM

                        @stephenw10

                        pfSense-repoc
                        pfSense-repoc: failed to fetch the repo data
                        failed to read the repo data.
                        pkg-static update
                        Updating pfSense-core repository catalogue...
                        pkg-static: No SRV record found for the repo 'pfSense-core'
                        pkg-static: An error occured while fetching package
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-core/meta.txz -- pkg+:// implies SRV mirror type
                        repository pfSense-core has no meta file, using default settings
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-core/packagesite.pkg -- pkg+:// implies SRV mirror type
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-core/packagesite.txz -- pkg+:// implies SRV mirror type
                        Unable to update repository pfSense-core
                        Updating pfSense repository catalogue...
                        pkg-static: No SRV record found for the repo 'pfSense'
                        pkg-static: An error occured while fetching package
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-pfSense_plus_v23_09/meta.txz -- pkg+:// implies SRV mirror type
                        repository pfSense has no meta file, using default settings
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-pfSense_plus_v23_09/packagesite.pkg -- pkg+:// implies SRV mirror type
                        pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_amd64-pfSense_plus_v23_09/packagesite.txz -- pkg+:// implies SRV mirror type
                        Unable to update repository pfSense
                        Error updating repositories!

                        Y S 2 Replies Last reply Dec 12, 2023, 12:37 PM Reply Quote 0
                        • Y
                          yon 0 @yon 0
                          last edited by Dec 12, 2023, 12:37 PM

                          Crash report begins. Anonymous machine information:

                          amd64
                          14.0-CURRENT
                          FreeBSD 14.0-CURRENT amd64 1400094 #0 plus-RELENG_23_09-n256163-2763857e770: Wed Nov 1 21:18:24 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_09-main/obj/amd64/WrS3lKLo/var/jenkins/workspace/pfSense-Plus-snapshots-23_09-main/

                          Crash report details:

                          PHP Errors:
                          [12-Dec-2023 20:23:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:23:01 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:23:08 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:23:34 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:24:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:24:36 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:25:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:25:05 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:25:38 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:26:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:26:40 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:27:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:27:42 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:28:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:28:44 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:29:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:29:46 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:30:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:30:49 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:31:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:31:51 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:32:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:32:53 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:33:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:33:55 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:34:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:34:58 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:35:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:36:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0
                          [12-Dec-2023 20:36:00 Asia/Shanghai] PHP Fatal error: Unable to start pfSense module in Unknown on line 0

                          No FreeBSD crash data found.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator @yon 0
                            last edited by Dec 12, 2023, 2:31 PM

                            @yon-0 said in some services show can't start:

                            Updating pfSense repository catalogue...
                            pkg-static: No SRV record found for the repo 'pfSense'
                            pkg-static: An error occured while fetching package

                            This is a DNS error. Check pfSense can resolve.

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