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

    404 NOT FOUND!!!

    Scheduled Pinned Locked Moved webGUI
    15 Posts 9 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.
    • K
      kuyaMacoy
      last edited by

      Same problem, after i clear my squid cache. (var/squid/cache)
      Then 404 not found appear. Please help

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

        Same pfSense version?

        Every page in the gui?

        Steve

        1 Reply Last reply Reply Quote 0
        • K
          kuyaMacoy
          last edited by

          Yes sir, when i try to access my web gui (192.168.200.30) it says 404 nit found, but i have internet. Pls help

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            Reboot via console (telnet/ssh or serial)

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

              Every page is showing 404?

              That seems unlikely to be a missing page then. Clearing the squidcache is the only thing you did?

              Do you have ssh or console access? If so reboot from there as suggested.

              Steve

              1 Reply Last reply Reply Quote 0
              • X
                xalex1977
                last edited by xalex1977

                Hi,
                I have the same problem, pfsense version 2.1.4,
                webgui error 404 - not found

                I deleted the cache with the command:
                cd /var/squid/cache, rm -rf *??

                help !!!

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  @xalex1977 said in 404 NOT FOUND!!!:

                  help !!!

                  The one and only guy that still uses pfSense 2.1.4 today, that must be you. So you're the expert.
                  (no expert ? then upgrade to the actual version 2.4.4-p2 as of today, or at least 2.3.5 if you you are 4x8 bit bound - your problem will be solved, as are dozens of security issues. Big bonus : forum help will be useful again for you)

                  Some general help, valid for any web server/browser errors :
                  Check the web server log for any 'request' errors.
                  I don't want to be the silly guy, but if you use an old version, did you kept the documentation of the old version ?
                  If not : see here how to check logs on pfSense manually https://docs.netgate.com/pfsense/en/latest/monitoring/working-with-binary-circular-logs-clog.html using the console access.
                  Hit the F12 key on your keyboard and check what file your browser is loading.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xalex1977
                    last edited by

                    @xalex1977 said in 404 NOT FOUND!!!:

                    cd /var/squid/cache, rm -rf *

                    I solved !!!
                    with the help of the forum user I checked in: /usr/local/www and it was empty, I copied the files from a full backup and now it works

                    I had run the command: cd/var/squid/cache, rm -rf *
                    from webgui "Execute Shell command" and has deleted /usr/local/www not /var/squid/cache

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • X
                      xalex1977 @Gertjan
                      last edited by

                      @gertjan

                      I can not update the version because it is modified with samba 3 and active directory authentication;
                      we have the login with the space between name and surname and samba 4 it does not seem to support
                      Thanks

                      GrimsonG 1 Reply Last reply Reply Quote 0
                      • GrimsonG
                        Grimson Banned @xalex1977
                        last edited by

                        @xalex1977 said in 404 NOT FOUND!!!:

                        I can not update the version because it is modified with samba 3 and active directory authentication;

                        Then you are a certified moron and should not be in charge of a firewall. Running such an old build with countless security issues is borderline criminal and should be a reason to get fired.

                        1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @xalex1977
                          last edited by

                          👋

                          @xalex1977 said in 404 NOT FOUND!!!:

                          from webgui "Execute Shell command"

                          Dangerous commands, like

                          rm -rf ....
                          

                          should not be executed from the from webgui "Execute Shell command".
                          Never.
                          Period.

                          What happened is this :
                          You executed

                          cd/var/squid/cache
                          

                          I presume you know what this does.

                          But when the GUI get back the result of that command - it shows nothing, the 'command' sessions (a shell command session) it is closed, and it environnement is destroyed.

                          Then you launch your rm -rf .. command.
                          This command will be executed on the 'place' where the web-shell is launched. As you have found out yourself : /usr/local/www/ the GUI web root.

                          You should have done this :

                          rm -rf /var/squid/cache/*
                          

                          But, again, don't. Use the console access for this. It's far more saver.

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 0
                          • chrismacmahonC
                            chrismacmahon
                            last edited by

                            I'm going to lock this thread.

                            Yes you need to update, the sooner the better; your perimeter defense is old, insecure, and out of date.

                            Need help fast? Our support is available 24/7 https://www.netgate.com/support/

                            Do Not PM For Help!

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