Help - Search - Members - Calendar
Full Version: MailQueueCleaner Error
The Planet Forums > System Administration > DNS Hosting
humba
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.
TMX
Which OS/CP?

-Bob
humba
Hi Bob, its RH 7.3 / Ensim 3.1.12-7

My apologies for posting in the 'HOW-TOs', I was looking at the MailScanner thread and posted a new one there.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.