Wednesday, July 12, 2023

squid - The ssl_crtd helpers are crashing too rapidly or ERROR: loading file /usr/local/etc/squid/errors/en/ No such file or directory

 If you faced issues on squid in Pfsence like below and squid terminated abnormally:

1) squid - The ssl_crtd helpers are crashing too rapidly

2)  ERROR: loading file /usr/local/etc/squid/errors/en/error-details.txt': (2) No such file or directory Unable to load default error language files. Reset to backups.

You should do the next steps:

Connect to PFsense via putty and do the next commands:

1) squid - The ssl_crtd helpers are crashing too rapidly
  • move to folder - cd /var/squid/lib 
  • rename folder - mv ssl_db ssl_db_bak
  • create ssl db -  ssl_db  /usr/local/libexec/squid/security_file_certgen -c -s /var/squid/lib/ssl_db -M 4MB -b 2048
Result:
Initialization SSL db...
Done
  • and restart squid service via web panel then check.

2)  ERROR: loading file /usr/local/etc/squid/errors/en/error-details.txt': (2) No such file or directory
  • move to folder - cd /usr/local/etc/squid/errors/
  • create copy folder templates - cp -Rp templates/ en/ 
  • and restart squid service via web panel then check.
PS

No comments:

Post a Comment