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

    Service vHosts-http won't start.

    Scheduled Pinned Locked Moved pfSense Packages
    18 Posts 6 Posters 4.3k 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.
    • D
      doktornotor Banned
      last edited by

      OK, the PR has been merged. So, if you have a use for this, you can give it another try and report back.

      1 Reply Last reply Reply Quote 0
      • T
        tomekk
        last edited by

        It's working fine , please start service under  Status services

        1 Reply Last reply Reply Quote 0
        • P
          Pelle900
          last edited by

          For a complete newbie in pfsense, what do I have to do to make vHost work?
          Is the package I download the usual way in the menu updated and should work or do I have to install something manually?

          BR

          Pelle

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            @Pelle900:

            For a complete newbie in pfsense, what do I have to do to make vHost work?

            Install the package and go to Services - vHosts

            1 Reply Last reply Reply Quote 0
            • P
              Pelle900
              last edited by

              That gives the same fault as the thread starter reported.

              I will uninstall vHost and install again and see what happens else I wipe it all clean and begin from the beginning.

              I'll be back….

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Sadly, with any package using its include file referenced in the XML for install routines, you MUST reinstall it twice, or uninstall and reinstall it, otherwise the install code gets cached and the new fixes never applied. Considering the shitty state of original package, indeed wipe it all clean might be a good option if everything else fails.

                1 Reply Last reply Reply Quote 0
                • P
                  Pelle900
                  last edited by

                  It works now after reinstalling vHost again. Thanks for the fix of the plugin!

                  However, I think the text for the IP address in the vHost settings is open for misinterpretation:

                  "Required. Make sure the IP and Port combination does not conflict with the local system. example: 192.168.0.1"

                  If you see in the first post the user tried to use a new "virtual" host IP 192.168.0.2 (that is not in use in the PFSense setup) and i believe the user thought that he can create virtual IP-addresses for the web-server with the vHost plugin (the name of the plugin even can lead to an misinterpretation). I was also confused about the text and had to trial and error to understand that the IP address, in fact, should conflict with an already active IP-address as it binds to it.

                  If I now understand how this plugin works (pfsense-newbie as I am) it binds to an already existing interface and therefore a more proper text for the IP setting box could be:

                  "The IP address should correspond to any of the active IP addresses that is configured on WAN/LAN/OPT interfaces and will bind to it."

                  Maybe also the Port text should be altered to leave the IP address statement out of it for the same reason.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    I don't think the original problem is related to virtual IP in any way. The package was completely broken.

                    1 Reply Last reply Reply Quote 0
                    • P
                      professornayr
                      last edited by

                      I installed the vhosts package a couple of years ago and gave up trying to get it to work, so I uninstalled it. However, I still have a service listed under 'Status' -> 'Services' for vhosts-ssl-1. When I reinstall vhosts via the package section, a new service pops up, but I cannot get either to start. Anyone have any idea how I can remove this apparently orphaned service manually?

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by

                        Perhaps install and uninstall the updated rewritten package and see if it helps? Other than that, editing config.xml manually.

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