Cron Problem

I always get the following message at the same time every day.

Sender:
Cron Daemon
Subject:
Cron <root@vps> run-parts /etc/cron.daily
Content:
/etc/cron.daily/logrotate:

error: iworx:prerotate or postrotate without endscript

Could anyone give me a hand to resolve this problem?
Thanks very much.

Your hosting provider has a ticket open with us. We’re checking it out now.

Socheat

I had to add “endscript” to all the iworx logrotate stanzas.
In file /etc/logrotate.d/iworx:

Before:


/home/interworx/var/log/iworx.log {
    missingok
    create 0600 iworx iworx
    postrotate
        /sbin/service iworx restart 2> /dev/null || true
}

After:


/home/interworx/var/log/iworx.log {
    missingok
    create 0600 iworx iworx
    postrotate
        /sbin/service iworx restart 2> /dev/null || true
    [B]endscript[/B]
}

-tsl-

I get this error now too for the past two days. I added “endscript” as described above.

Additionally, this error comes for two days now:

/bin/bash: line 1: 23663 Segmentation fault ./iworx.pex --hourly

What’s going on?