Hi all, I'm having a weird problem on a mailserver. The setup is postfix-2.1.5-3 and amavisd-new-2.1.2-5 with clamav-0.80-2.1, BitDefender-Console-Antivirus-7.0.1-3, and antivir-2.1.1-4. OS is SUSE 9.2 with all updates applied. All users can receive mail, except one person who's mail gets sent to root. For each mail a "message undelivered mail gets set to root too, with Command died with status 99: "/usr/sbin/amavis" as the only hint. From the amavis logs I see: Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) AM.CL /var/spool/amavis/amavis-client-XXr5Y7VL: <root@company.com> -> <amanda@company.com> Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) body hash: d8e8fca2dc0f896fd7cb4cb0031ba249 Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Checking: <root@company.com> -> <amanda@company.com> Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Cached virus check expired, TTL = 180 s Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) cached d8e8fca2dc0f896fd7cb4cb0031ba249 from <root@company.com> (1,0,0) Nov 29 09:41:22 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Using (Clam Antivirus - clamscan): /usr/bin/clamscan --stdout --no-summary -r /var/spool/amavis/amavis-client-XXr5Y7VL/parts Nov 29 09:41:24 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) run_av: /usr/bin/clamscan exit 0, /var/spool/amavis/amavis-client-XXr5Y7VL/parts/p001: OK Nov 29 09:41:24 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Using (H+BEDV AntiVir or CentralCommand Vexira Antivirus): /usr/bin/antivir --allfiles -noboot -nombr -rs -s -z /var/spool/amavis/amavis-client-XXr5Y7VL/parts Nov 29 09:41:25 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) run_av: /usr/bin/antivir exit 0, AntiVir / Linux Version 2.1.2-15 +gui\nCopyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.\nAll rights reserved.\n\nLoading /usr/lib/AntiVir/antivir.vdf ...\n\nVDF version: 6.28.0.94 created 28 Nov 2004\n\nAntiVir license: 149999 for Evaluation License for SuSE Linux\n\nchecking drive/path (list): /var/spool/amavis/amavis-client-XXr5Y7VL/parts\n\n------ scan results ------\n directories: ...1\n scanned files: ...1\n...alerts: ...0\n...suspicious: ...0\n...scan time: 00:00:01\n--------------------------\nThank you for using AntiVir. Nov 29 09:41:25 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Using (BitDefender): /usr/bin/bdc --all --arc --mail /var/spool/amavis/amavis-client-XXr5Y7VL/parts Nov 29 09:41:27 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) run_av: /usr/bin/bdc exit 0, BDC/Linux-Console v7.0 (build 2490) (i386) (Dec 10 2003 16:11:35)\nCopyright (C) 1996-2003 SOFTWIN SRL. All rights reserved. \n\n\n\nResults: \nFolders ...:1\nFiles ...:1\nPacked ...:0\nArchives ...:0\nInfected files :0\nSuspect files ...:0\nWarnings ...:0\nI/O errors ...:0\n Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) spam_scan: hits=-2.574 tests=ALL_TRUSTED,AWL,DNS_FROM_RFC_WHOIS Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) SPAM-TAG, <root@company.com> -> <amanda@company.com>, No, hits=-2.574 tagged_above=-2200 required=9 tests=ALL_TRUSTED, AWL, DNS_FROM_RFC_WHOIS Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) FWD via SMTP: [127.0.0.1]:10025 <root@company.com> -> <amanda@company.com> Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) AUTH not needed, user='', MTA offers '' Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) mail_via_smtp: 250 2.6.0 Ok, id=client-XXr5Y7VL, from MTA: 250 Ok: queuedas 1603F11E98 Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Passed, <root@company.com> -> <amanda@company.com>, Message-ID: <41AAD2A2.mailK7K1UA1PW@mpost.company.com>, Hits: -2.574 Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) Passed CLEAN, <root@company.com> -> <amanda@company.com>, Hits: -2.574, tag=-2200, tag2=9, kill=9, L/Y/0/0 Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) WARN: no recips left (forgot to set $forward_method=undef using milter?),250 2.6.0 Ok, id=client-XXr5Y7VL, from MTA: 250 Ok: queued as 1603F11E98 Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) mail checking ended: setreply=250 2.6.0 Ok,%20id=client-XXr5Y7VL,%20from%20MTA: %20250%20Ok:%20queued%20as%201603F11E98\nreturn_value=discard\nexit_code=99 Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) TIMING [total 6841 ms] - got data: 8 (0%), body_hash: 6 (0%), mkdir parts: 3 (0%), mime_decode: 38 (1%), get-file-type1: 27 (0%), decompose_part: 1 (0%), parts_decode: 0 (0%), AV-scan-1: 2120 (31%), AV-scan-2: 1036 (15%), AV-scan-3: 2030 (30%), spam-wb-list: 7 (0%), SA msg read: 3 (0%), SA parse: 7 (0%), SA check: 1359 (20%), update_cache: 4 (0%), fwd-connect: 30 (0%), fwd-mail-from: 5 (0%), fwd-rcpt-to: 10 (0%), write-header: 11 (0%), fwd-data: 1 (0%), fwd-data-end: 76 (1%), fwd-rundown:9 (0%), main_log_entry: 43 (1%), update_snmp: 0 (0%), unlink-1-files: 2 (0%), rmdir: 0 (0%), unlink-1-files: 1 (0%), rmdir: 0 (0%), rundown: 3 (0%) Nov 29 09:41:29 mpost /usr/sbin/amavisd[26107]: (client-XXr5Y7VL) load: 5 %, total idle 449.889 s, busy 23.596 s Postfix logs give me: Nov 29 09:41:29 mpost postfix/qmgr[25477]: 1603F11E98: from=<root@company.com>, size=895, nrcpt=1 (queue active) Nov 29 09:41:29 mpost postfix/pipe[26195]: 43D1B11E96: to=<amanda@company.com>, orig_to=<amanda>, relay=vscan, delay=7, status=bounced (Command died with status 99: "/usr/sbin/amavis") Nov 29 09:41:29 mpost postfix/local[26187]: 1603F11E98: to=<hansdp@company.com>, orig_to=<amanda@company.com>, relay=local, delay=0, status=sent (delivered to maildir) Nov 29 09:41:29 mpost postfix/qmgr[25477]: 1603F11E98: removed Nov 29 09:41:29 mpost postfix/cleanup[26167]: AB45111E97: message-id=<20041129074129.AB45111E97@mpost.company.com> Nov 29 09:41:29 mpost postfix/qmgr[25477]: AB45111E97: from=<>, size=2128, nrcpt=1 (queue active) Nov 29 09:41:29 mpost postfix/qmgr[25477]: 43D1B11E96: removed Nov 29 09:41:29 mpost postfix/local[26187]: AB45111E97: to=<hansdp@company.com>, orig_to=<root@company.com>, relay=local, delay=0, status=sent (delivered to maildir) I thought I'd make a temporary user and alias her mail to that user, but the new user had the same problem. Now I'm baffled. Anybody know what causes this? Even a simple test mail sent with mailx from command line causes this to happen. Thanks -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za
On Mon, 2004-11-29 at 06:37, Hans du Plooy wrote:
Hi all,
I'm having a weird problem on a mailserver. The setup is postfix-2.1.5-3 and amavisd-new-2.1.2-5 with clamav-0.80-2.1, BitDefender-Console-Antivirus-7.0.1-3, and antivir-2.1.1-4. OS is SUSE 9.2 with all updates applied.
All users can receive mail, except one person who's mail gets sent to root. For each mail a "message undelivered mail gets set to root too, with
Command died with status 99: "/usr/sbin/amavis"
as the only hint. From the amavis logs I see:
I thought I'd make a temporary user and alias her mail to that user, but the new user had the same problem. Now I'm baffled.
Anybody know what causes this? Even a simple test mail sent with mailx from command line causes this to happen.
Check your /etc/aliases file and you will find an alias for amanda: root as a default for the amanda backup program. Either remove it or change the user login. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
On Monday 29 November 2004 14:51, Ken Schneider wrote:
Command died with status 99: "/usr/sbin/amavis"
Check your /etc/aliases file and you will find an alias for amanda: root as a default for the amanda backup program. Either remove it or change the user login.
Thanks, that one did catch me out, but the temp user I made (amandatemp) couldn't receive either, and one more user "sten" has the same problem. The problem is that amavis dies when it receives mail for these addresses, and as a result the mail gets bounced (I'm not sure if its amavis or postfix that does that). Thanks -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za
Hi all, The problem seemed to be of my own making. After setting up mail with Yast, I noticed that the usual "content_filter" line in main.cf and relevant lines in master.cf wasn't there for amavis-new, so I added them by hand. This seemed to work at first, but later I realised that a few people wasn't receiving mail. Out of sheer desperation (and to get the MD off my back) I disabled amavis-new (by removing those lines again) so that everybody could at least receive mail. Some hours later I noticed that incoming mail was still being scanned! So my guess is that SUSE has found a different way to plug amavis-new in to Postfix. Does anybody know how? Another question, I noticed that if I send mail from the command line with mailx, it's *not* being scanned, but mail coming in from outside is. Any ideas why? -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za
Hello. I get a lot of "child process * still did not exit, sending a SIGTERM" warnings in apache2 error_log lately. I've searched google and mailing lists, but could not solve the problem. I think that apache2 is configured properly, because if I turn the server on and immediately off, everything is ok, there's no "child process" warnings. So I think there's a bug in one of the php scripts. I created a simple content management system. When I'm logged in I can add/edit/delete/... news, articles, banners... I use sessions for authentication. Could this be the problem? How and where to start debugging? Could there be problem with something else beside php or apache2? Mysql? Everything is up-to-date with YOU. I have 3 name-based vhosts. error_log: [Tue Nov 30 16:53:58 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Tue Nov 30 16:53:59 2004] [notice] Apache/2.0.49 (Linux/SuSE) configured -- resuming normal operations [Wed Dec 01 02:05:58 2004] [warn] child process 6391 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6392 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6393 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6394 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6395 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6751 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6753 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6779 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6391 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6392 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6393 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6394 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6395 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6751 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6753 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:58 2004] [warn] child process 6779 still did not exit, sending a SIGTERM [Wed Dec 01 02:05:59 2004] [notice] caught SIGTERM, shutting down [Wed Dec 01 02:14:00 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Wed Dec 01 02:14:00 2004] [notice] Apache/2.0.49 (Linux/SuSE) configured -- resuming normal operations [Wed Dec 01 02:14:08 2004] [notice] caught SIGTERM, shutting down [Wed Dec 01 02:19:26 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Wed Dec 01 02:19:26 2004] [notice] Apache/2.0.49 (Linux/SuSE) configured -- resuming normal operations
participants (3)
-
Bojan Hribernik
-
Hans du Plooy
-
Ken Schneider