Author Topic: error_log: binary file matches  (Read 94 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
error_log: binary file matches
« 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

Offline
*****
Re: error_log: binary file matches
« Reply #1 on: March 25, 2025, 09:21:33 PM »
What is the context of your question? What were you doing?

Offline
***
Re: error_log: binary file matches
« Reply #2 on: March 26, 2025, 04:23:37 PM »
Hi,

please look:

https://prnt.sc/Z5LM1RrRDemt

Thanks in advance!

BR
Venty

Offline
*****
Re: error_log: binary file matches
« Reply #3 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