Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: janet on May 05, 2008, 03:28:40 PM
-
Hi
I had egroupware installed in an ibay called egroupware.
After backing up, I deleted the ibay, and installed the same version (1.4.002) to /opt/egroupware as per
http://wiki.contribs.org/Egroupware
Then I adjusted the header.inc.php to point at the old db in /var/lib/mysql
Everything is working fine with egroupware except I now get a email message every 5 minutes, that has references to files in the old ibay location.
I cannot find the source of this message even after looking in /etc/cron.XX
There was one egroupware cron job in there but I removed that.
I have stopped and restarted crond.
If I stop crond the message stops.
Can someone suggest where this message is originating from
Thanks
Hi. This is the qmail-send program at mydomain.org
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<www@server.mydomain.org>:
Recipient unknown
--- Below this line is a copy of the message.
Return-Path: <root@mydomain.org>
Received: (qmail 9436 invoked by alias); 5 May 2008 12:25:01 -0000
Delivered-To: alias-localdelivery-www@mydomain.org
Received: (qmail 9433 invoked by uid 102); 5 May 2008 12:25:01 -0000
Date: 5 May 2008 12:25:01 -0000
Message-ID: <20080505122501.9432.qmail@mydomain.org>
From: root@mydomain.org(Cron Daemon)
To: www@mydomain.org
Subject: Cron <www@server> php -qC /home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php default
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/e-smith>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=www>
X-Cron-Env: <USER=www>
No input file specified.
-
Did you already try to grep your /etc/cron* files and folders for the executed filename like so:
grep -iR '/home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php' /etc/cron*
Did you have a look at the /var/log/messages file? Perhaps there might be a clue in there...
-
cactus
grep -iR '/home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php' /etc/cron*
I had already manually search/read all the cron files, but when I run the above command there is no output, so nothing is found.
Did you have a look at the /var/log/messages file?
Nothing related to those messages
I looked at /var/log/cron and see this entry every 5 minutes
May 6 00:25:01 server crond[15227]: (www) CMD (php -qC /home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php default)
If I type at the command prompt
php -qC /home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php
or as little as
php -qC /home
I get
No input file specified.
It does seem to be a cron job, as disabling crond stops the messages, but I just can't see where it's coming from.
-
It does seem to be a cron job, as disabling crond stops the messages, but I just can't see where it's coming from.
Try running:
crontab -u www -l
-
Thank's Charlie
crontab -u www -l
That command gives:
*/5 * * * * php -qC /home/e-smith/files/ibays/egroupware/html/phpgwapi/cron/asyncservices.php default
So that's looks like the source, but where is it hiding ?
-
So that's looks like the source, but where is it hiding ?
No idea, but the man pages suggest a way to remove it, although I do not know if this is the proper way, but judging from them this should prompt you for removal of crontab jobs owned by the user www:
crontab -u www -r -i
-
cactus
crontab -u www -r -i
When I run that, it asks to delete www's crontab
I answer y
Then when I do
crontab -u www -l
I get
no crontab for www
I have just waited for the next scheduled 5 minute message, but it did not happen, so problem appears fixed.
Thank you very much both Charlie & cactus, as usual both very helpful
Learn something every day !