New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

error_log: binary file matches

Started by venty, March 25, 2025, 04:41:18 PM

Previous topic - Next topic

venty

Hi,

I am using AL 9..., I get the following error message:
grep: /usr/local/cwpsrv/logs/error_log: binary file matches

What should I do?

Thanks in advance!

BR
Venty

overseer

What is the context of your question? What were you doing?

venty


overseer

Built-in CWP terminal, or SSH session? Generally, you should not be hard-coding the TERM value. Linux tries very hard to set it to a sane value depending on things like which terminal you are actually using.

You can always remove the log file:
rm -f /usr/local/cwpsrv/logs/error_log
or truncate it to zero bytes:
truncate -s0 /usr/local/cwpsrv/logs/error_log