Control Web Panel

WebPanel => Problems on other RedHat linux servers => Topic started by: venty on March 25, 2025, 04:41:18 PM

Title: error_log: binary file matches
Post by: venty on March 25, 2025, 04:41:18 PM
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
Title: Re: error_log: binary file matches
Post by: overseer on March 25, 2025, 09:21:33 PM
What is the context of your question? What were you doing?
Title: Re: error_log: binary file matches
Post by: venty on March 26, 2025, 04:23:37 PM
Hi,

please look:

https://prnt.sc/Z5LM1RrRDemt

Thanks in advance!

BR
Venty
Title: Re: error_log: binary file matches
Post by: overseer on March 26, 2025, 09:24:50 PM
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:
Code: [Select]
rm -f /usr/local/cwpsrv/logs/error_logor truncate it to zero bytes:
Code: [Select]
truncate -s0 /usr/local/cwpsrv/logs/error_log