Forums

Resolved
0 votes
I need help, I have trouble with squid logs, reports filtering and proxy are not generated

When monitoring web traffic in squid I get this error

"tail: it can not be opened «/var/log/squid/access.log» to read: There is no such file or directory"

before if you could do
Wednesday, October 19 2016, 03:47 PM

Location [ View Larger Map ]

http://maps.googleapis.com/maps/api/staticmap?center=14.6349149,-90.5068824&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|14.6349149,-90.5068824
Share this post:
Responses (4)
  • Accepted Answer

    Wednesday, October 19 2016, 06:20 PM - #Permalink
    Resolved
    0 votes
    If you're trying to pipe into grep it should be
    | grep
    but you'd want something after grep which is what you are grep'ing for.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 19 2016, 06:14 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Can you try creating the file:
    touch /var/log/squid/access.log
    chown squid:squid /var/log/squid/access.log
    Then restart the proxy.


    Thanks for the support and indications

    I made the changes indicated but not functioning

    I made the following process:

    - Remove the proxy web module
    - Reinstall the web proxy module
    - Restore backup
    - Make the changes indicated

    the indicated solution it worked

    I can supervise web traffic for just a moment because I generated the following error

    tail: Can not open '/ grep' (attached image)

    can you help me please
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 19 2016, 06:01 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Can you try creating the file:
    touch /var/log/squid/access.log
    chown squid:squid /var/log/squid/access.log
    Then restart the proxy.


    Thanks for your support and indications

    I made the changes, but it did not work.

    I did the following:

    - Uninstalling Web proxy module
    - Installation Web proxy module
    - Restore backup

    Make the changes indicated and no longer generates the error

    I get the following error message (attached image)
    tail: Can not open '/ grep'
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 19 2016, 04:20 PM - #Permalink
    Resolved
    0 votes
    Can you try creating the file:
    touch /var/log/squid/access.log
    chown squid:squid /var/log/squid/access.log
    Then restart the proxy.
    Like
    1
    The reply is currently minimized Show
Your Reply