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

    LightSquid Segmentation fault access.log

    Scheduled Pinned Locked Moved pfSense Packages
    16 Posts 2 Posters 5.1k 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.
    • marcellocM
      marcelloc
      last edited by

      If your squid can log usernames, then reports will show username.

      what you get on access.log squid file?

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • R
        raphtelecom
        last edited by

        Thank you for your response as fast.

        In my configuration file sarg.conf I put access log that goes into the / var / squid / log /
        where I find my file and access.log, cache.log and clog.core.

        I type the command to clog access.log to see if that has in it but its telling me "Segmentation fault (core dumped)".

        I've never been able to open this file even with several re-installation.
        I have over 1 gig of RAM.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          @raphtelecom:

          I've never been able to open this file even with several re-installation.

          with access.log you need to tail it instead of loading it to memory.

          do on console/ssh

          tail -f /var/squid/logs/access.log

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • R
            raphtelecom
            last edited by

            I log on and log off as user and it does absolutely nothing happens in my access.log file … I tested with the command tail-f access.log. I will review my configuration sarg.conf ?!

            EDIT : I was asleep, I have two access log. The first / usr / local / etc / sarg / access.log which is not helpful and did I tell you that it was written there. The second / usr / local / squid / var / logs / access.log / access.log works and I wrote my ip address in the report. I must exchange it for the username.

            I changed : And I have in reports my computer names instead of IP address (DNS name) when I put my option resolve_ip yes / no option and not to user_ip yes / no to no, I only have IP addresses

            TAG:  resolve_ip yes/no

            Convert ip address to dns name

            sarg -n

            resolve_ip yes

            TAG:  user_ip yes/no

            Use Ip Address instead userid in reports.

            sarg -p

            user_ip no

            1 Reply Last reply Reply Quote 0
            • R
              raphtelecom
              last edited by

              Do you have an idea to help me for my userid in sarg report, it would be appreciated

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                @raphtelecom:

                Do you have an idea to help me for my userid in sarg report, it would be appreciated

                check how users are logged on squid access.log file and select username or domain/username on sarg user tab.

                save changes and check realtime log for users instead of ip addresses.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • R
                  raphtelecom
                  last edited by

                  I have ip address in my access.log

                  sarg2.jpg
                  sarg2.jpg_thumb
                  sarg3.jpg
                  sarg3.jpg_thumb
                  ![raphael.rdltelecom - Status Sarg Realtime - Google Chrome.jpg](/public/imported_attachments/1/raphael.rdltelecom - Status Sarg Realtime - Google Chrome.jpg)
                  ![raphael.rdltelecom - Status Sarg Realtime - Google Chrome.jpg_thumb](/public/imported_attachments/1/raphael.rdltelecom - Status Sarg Realtime - Google Chrome.jpg_thumb)

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    Sarg and lightsquid will show only info that are on squid logs.

                    Look for squid auth configs tutorials to have username logged on access files first.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • R
                      raphtelecom
                      last edited by

                      Is that my problem may be that I have checked the transparent proxy

                      1 Reply Last reply Reply Quote 0
                      • marcellocM
                        marcelloc
                        last edited by

                        @raphtelecom:

                        Is that my problem may be that I have checked the transparent proxy

                        transparent proxy does not authenticate users.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • R
                          raphtelecom
                          last edited by

                          This is probably the cause of my problems, how to redigirer then my requests for port 80 on my proxy.

                          thank

                          1 Reply Last reply Reply Quote 0
                          • marcellocM
                            marcelloc
                            last edited by

                            Use WPAD/PAC proxy scripts, you can configure it on dhcp and/or dns

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • R
                              raphtelecom
                              last edited by

                              Does he have an easier way to get an authentication UserID in my reports ?

                              Thanks

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