Hello I'm getting the following email from cron every 10 minutes for 2 days now and can't seem to find the solution here in the forum:
/usr/lib/opcenter/virtualhosting/MailQueueCleaner: line 17: 6361 Segmentation fault /usr/sbin/chroot $siteroot /usr/sbin/sendmail -q
The number '6361' changes in every email I receive.
My MailQueueCleaner file looks like the following:
#!/bin/sh
#
# This scripts makes sure that mail that got stuck in the mail queues
# of virtual domains gets sent. It is supposed to be called once an
# hour or so.
#
SITES=`/usr/local/bin/sitelookup -a site_root`
SITERETVAL=$?
if [ $SITERETVAL -eq 0 ]; then
for siteroot in $SITES
do
if [ -d $siteroot/var/spool/mqueue -a -x $siteroot/usr/sbin/sendmail ]; then
/usr/sbin/chroot $siteroot /usr/sbin/sendmail -q
fi
done
fi
Somebody please give me a clue where to look first, I have cleaned out mailq files, restarted httpd but to no avail.
What could be wrong please? I'm desperate. Thanks.