Mail error from newsyslog!

Status
Not open for further replies.

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
175
Hello,
this night FreeNAS 8.0.1 RC1 sent me two mails from "Cron <root@nas> newsyslog":

Code:
newsyslog: execl(`/usr/bin/bzip2 -f /var/log/maillog.0'): Exec format error
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero status (1)


Could you please explain what does it mean?

Also bzip2 give me the folllowing error:
Code:
[root@nas] ~# /usr/bin/bzip2 
gqmP: not found
¹½.,6³ßÝMýK)6ÚrNUWž*êœYˆ‰qÆÐ÷ïOI¨éwÞêÀ´Å1ßÜu6˜þS{ÇiÖ*Ye<²fü\[Ñë8lé+{vyâ5/”|Š¬p’DîYQ_Æñ1áXÓ¬VÁ2
                                                                                               üIþ«kþéÐyôgÊéÙŒ$œŸ¦3§xqh‚9³d*ª‘ÓÚ´Ús%.22Hµº„»¸éºÆ7¥Ç*1ËtÓ ü•67ÇæBm†Å¤“¾ÛÊl¦
#Œ”çÐmÞõ‚N7vövÃ~ÌŒ€)шZ+-4e)|Y,: not found://‹>p^7»î«¦
9ñÃ: not found
/usr/bin/bzip2: 4: Syntax error: "(" unexpected


Thank you.
Lucas
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Lucas,

It looks like a bug. There's a syntax error with this part, the quotation marks don't match.
`/usr/bin/bzip2 -f /var/log/maillog.0'

and also with this, the quotation marks don't match:

`bzip2 -f /var/log/maillog.0'

So bzip is trying to use an invalid file.
 

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
175
Well, thanks for reply protosd,
btw, since I believe it's not a critical error so I can ignore it.

And regarding bzip2 execution error?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
No, I don't think it's critical, just a problem in generating the email report. The bzip2 execution error is also a result of the syntax error with the quotation marks.
 
Status
Not open for further replies.
Top