[SOLVED] logrorate error: lines must begin with a keyword or a filename (possibly in double quotes)

June 14th, 2019

TipUsing logrotate for the first time, I was baffled as to why I was receiving this error. Looking at the config file, it was clear that the filenames were there. After trying a bunch of things, I finally figured out the problem—I’d created the file under Windows and my FTP program hadn’t converted the newlines to the Unix format. A quick ‘dos2unix’ call later, and the problem was fixed.

Leave a Reply

 [login]

HTML: You can use these tags.

Please answer this simple math question: * Time limit is exhausted. Please reload the CAPTCHA.