1 Replies - 2387 Views - Last Post: 22 August 2017 - 06:00 AM Rate Topic: -----

#1 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 203
  • View blog
  • Posts: 1,731
  • Joined: 13-March 10

Error when grepping

Posted 22 August 2017 - 04:53 AM

Hi,

I am trying to grep a continuous stream with the following command:

tail -f myLog.log | grep "Submitting"

but i am getting the following error:

tail: unrecognised file system type 0x53464846 for ‘myLog.log’. please report this to [email protected] reverting to polling.

However, when i checked for coreutils i have the latest version installed:

"coreutils is already the newest version."

Does anybody know how i can get over this issue and grep a continuous stream. I am using Bash on Ubuntu on Windows btw.

Any help would be appreciated.

Is This A Good Question/Topic? 0
  • +

Replies To: Error when grepping

#2 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6552
  • View blog
  • Posts: 30,682
  • Joined: 10-May 07

Re: Error when grepping

Posted 22 August 2017 - 06:00 AM

Is the log file rolling? Try using capital F.

When a log system rolls the log files, the new file has a pointer that is no longer the original, so the tail dies. The option of capital F allows the tail to continue by switching to the new log file.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1