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

    What webserver does pfSense 1.2.3 use? I need to see the error logs

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 4 Posters 5.7k 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.
    • Cry HavokC
      Cry Havok
      last edited by

      Yes, it just restarts the web interface.  All routing is handled in the kernel, not userspace.

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

        There is something wrong with the logs. First file doesn't have anything but one line in it. The second file is huge but has only symbol charecters. There is gotta be some other log related to the web server program that can point me to errors, start, stop, browsing access, ssl error, etc….just like apache and httpd does on CentOS. Can someone point me to that please or tell me if my logs are corrupted somehow?

        /var/log/lighttpd.error.log (Size  49):
        2010-11-02 17:59:05: (log.c.172) server started

        /var/log/lighttpd.log (Size  65535):
        �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

        I mean do the logs get rotated or deleted somehow? I have done few restarted in the past three months and I see only one restart in the lighttpd.error.log and the lighttpd.log is definitely not a language I have learned in school.

        Thansk

        1 Reply Last reply Reply Quote 0
        • Cry HavokC
          Cry Havok
          last edited by

          ISTR that's pretty normal.  You may need to check them via the GUI once you restart it - you should find more on the forum.

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

            Thanks for the input.

            Where exactly on the GUI are you talking about?

            But also the GUI should be taking it's logs from a raw file, shouldn't it?

            Thanks

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              You can also view the logs from the command line, just remember that all pfSense logs are circular logs.  Here are the details for viewing the logs:

              http://doc.pfsense.org/index.php/Why_can%27t_I_view_view_log_files_with_cat/grep/etc%3F_%28clog%29

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

                Thanks but link is broken. Petty, that lots of the documentation has it's links contents removed with text like "the documentation was unreliable; refer to pfsense book"

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  "Refer to the book" is excellent advice.  Its definitely the definitive source of documentation for pfSense.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @torontob:

                    Thanks but link is broken. Petty, that lots of the documentation has it's links contents removed with text like "the documentation was unreliable; refer to pfsense book"

                    (a) That link is not broken. It works fine. Your browser may not have followed it properly. Try: this link.
                    (b) No content was removed from the Wiki like that. We may say to refer to the book, but we did not cut valid, working text from the public docs for that purpose. The revision history for every wiki page is intact, you can check for yourself.

                    If content was removed it was removed because the information was incorrect. It was not removed to increase book sales.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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

                      I guess I was missing a ) at the end of the URL with the first link click for some reason. It works. Thanks

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

                        Here is what I got using clog - basically not working:

                        [root@151-redbox.local]/var/log(20): clog lighttpd.log 
                        [1.2.3-RELEASE]                                                   
                        ```                                                                                          [root@151-
                        
                        While the file size is more than one line why do I get only one line?
                        redbox.local]/var/log(21): ls -la
                        total 1584
                        drwxr-xr-x  2 root  wheel    512 Nov  8 00:20 .
                        drwxr-xr-x  12 root  wheel    512 Nov  8 00:20 ..
                        -rw–-----  1 root  wheel  65535 Nov  9 00:31 dhcpd.log
                        -rw-r--r--  1 root  wheel    4278 Nov  8 00:19 dmesg.boot
                        -rw-------  1 root  wheel  512144 Nov  9 00:31 filter.log
                        -rw-r--r--  1 root  wheel  65535 Nov  8 00:19 ipsec.log
                        -rw-r--r--  1 root  wheel      28 Nov  9 00:28 lastlog
                        -rw-r--r--  1 root  wheel      98 Nov  9 00:16 lighttpd.error.log
                        -rw-r--r--  1 root  wheel  65535 Nov  8 00:19 lighttpd.log
                        -rw-r--r--  1 root  wheel  65535 Nov  8 00:19 ntpd.log
                        -rw-r--r--  1 root  wheel  65535 Nov  8 23:29 openvpn.log
                        -rw-------  1 root  wheel  65535 Nov  8 00:19 portalauth.log
                        -rw-------  1 root  wheel  65535 Nov  8 00:19 slbd.log
                        -rw-------  1 root  wheel  512144 Nov  9 00:29 system.log
                        -rw-------  1 root  wheel    1500 Nov  9 00:16 userlog
                        -rw-------  1 root  wheel  65535 Nov  8 00:19 vpn.log
                        [1.2.3-RELEASE]                                                                                                                                            [root@151-redbox.local]/var/log(22):
                        
                        Thanks
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.