Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squid error #2234

Open
SerhiiZahuba opened this issue Jul 15, 2024 · 9 comments
Open

Squid error #2234

SerhiiZahuba opened this issue Jul 15, 2024 · 9 comments
Assignees
Milestone

Comments

@SerhiiZahuba
Copy link

After I turn on the antivirus and restart the services, my squid service does not work. My host has 18 GB of RAM.

Please help

image

@ra-at-diladele-com
Copy link
Contributor

Good day, I have just re-tried enabling the eCAP av on our test servers and do not see any error directly. Please could you:

  • apt update && apt upgrade && reboot the server
  • see if there are any erros in in UI/Av/ClamAV and Freshclam logs.

You can cc to support@diladele.com too.

@ra-at-diladele-com
Copy link
Contributor

Also the error seem to be from squid, not ecap - please see what is in the /var/log/squid/cache.log - any obvious errors? You can send it to support@diladele.com (at least several hundreds last lines).

@ra-at-diladele-com ra-at-diladele-com self-assigned this Jul 15, 2024
@ra-at-diladele-com ra-at-diladele-com added this to the 9.3 Next milestone Jul 15, 2024
@SerhiiZahuba
Copy link
Author

log.log

my log,

the problem is only when I turn on the antivirus

  • I am using your image for vmware
  • I tried to do
    apt update && apt upgrade && reboot the server

@ra-at-diladele-com
Copy link
Contributor

The error seems to be related to the opening of the listening sockets on port 3128.

  • so may it be you have another process listening on port 3128 in addition to squid?
  • may it be you have customized the listening IP address in UI/Squid/Settings/Networks and the machine now has a different IP?
/// check FD after clientHttp[s]ConnectionOpened, adjust HttpSockets as needed
static bool
OpenedHttpSocket(const Comm::ConnectionPointer &c, const Ipc::FdNoteId portType)
{
    if (!Comm::IsConnOpen(c)) {
        Must(NHttpSockets > 0); // we tried to open some
        --NHttpSockets; // there will be fewer sockets than planned
        Must(HttpSockets[NHttpSockets] < 0); // no extra fds received

        if (!NHttpSockets) // we could not open any listen sockets at all
            fatalf("Unable to open %s",FdNote(portType));

        return false;
    }
    return true;
}

@SerhiiZahuba
Copy link
Author

In the UI/Squid/Settings/Networks settings, I tried to leave the field empty or write the server IP - it didn't help. At the time of restart service, I checked port 3128 - it is not busy.

image

@ra-at-diladele-com
Copy link
Contributor

Could you send me the UI/Dashboard/Tools/Export/backup (check support checkbox) to support@diladele.com?

@SerhiiZahuba
Copy link
Author

Sent to you by mail in the subject of letter "2234"

@SerhiiZahuba
Copy link
Author

Your mail server does not accept archives.
image

I have sent an email with a link to a file exchange.

@ra-at-diladele-com
Copy link
Contributor

Replied on support@ - lets keep the intermediate conversation there and only add findings here later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants