Well, in part we will see if you get this and I get the return.
I JUST launched my new mail server after a few miscues. Actually the OS is Redsleeve6, which is the arm port of Centos 6, and perhaps some of my problems may come down to porting problems. But first, it may be that despite my testing, I missed something in the configurations.
First clamd problems:
Nov 19 08:09:54 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:10:15 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:11:13 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:11:35 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:12:33 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:12:54 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:14:07 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts
Then amavis problems:
08:08:42 z9m9z amavis[18599]: (18599-05) Checking: dkz-30wwFhmC [85.214.87.163] u-boot-bounces@lists.denx.de -> rgm@htt-consult.com Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n" Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!)ClamAV-clamd av-scanner FAILED: CODE(0x29d9e28) unexpected , output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n" at (eval 100) line 594. Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!!)WARN: all primary virus scanners failed, considering backups
But is seems others are working?
Anyway, a mailserver change is always painful....
-----Original Message----- From: Robert Moskowitz Sent: Wednesday, November 19, 2014 8:36
Well, in part we will see if you get this and I get the return.
I JUST launched my new mail server after a few miscues. Actually the OS is Redsleeve6, which is the arm port of Centos 6, and perhaps
Can you reproduce in a VM on normal Centos 6 with the same config files and package names (and versions)?
some of my problems may come down to porting problems. But first, it may be that despite my testing, I missed something in the configurations.
First clamd problems:
Nov 19 08:09:54 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:10:15 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:11:13 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:11:35 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:12:33 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:12:54 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:14:07 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts
Then amavis problems:
08:08:42 z9m9z amavis[18599]: (18599-05) Checking: dkz-30wwFhmC [85.214.87.163] u-boot-bounces@lists.denx.de -> rgm@htt-consult.com Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n" Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!)ClamAV-clamd av-scanner FAILED: CODE(0x29d9e28) unexpected , output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n" at (eval 100) line 594. Nov 19 08:08:43 z9m9z amavis[18599]: (18599-05) (!!)WARN: all primary virus scanners failed, considering backups
But is seems others are working?
Anyway, a mailserver change is always painful....
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
On Wed, Nov 19, 2014 at 7:36 AM, Robert Moskowitz rgm@htt-consult.com wrote:
output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n"
Ownership or selinux problem?
On 11/19/2014 10:35 AM, Les Mikesell wrote:
On Wed, Nov 19, 2014 at 7:36 AM, Robert Moskowitz rgm@htt-consult.com wrote:
output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n"
Ownership or selinux problem?
Unfortunately no selinux on RSEL. has to do, in part, with it being a port to armv5, eventhough I run it on armv7.
I looked at the permissions and from /var/spool/amavisd it is owned by amavis:amavis
On Wed, Nov 19, 2014 at 10:42 AM, Robert Moskowitz rgm@htt-consult.com wrote:
On 11/19/2014 10:35 AM, Les Mikesell wrote:
On Wed, Nov 19, 2014 at 7:36 AM, Robert Moskowitz rgm@htt-consult.com wrote:
output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n"
Ownership or selinux problem?
Unfortunately no selinux on RSEL. has to do, in part, with it being a port to armv5, eventhough I run it on armv7.
I looked at the permissions and from /var/spool/amavisd it is owned by amavis:amavis
Without selinux, permission errors are usually pretty straightforward - that is, if something logs a 'permission denied', it means exactly that. I could be anywhere up the path, or the program accessing it might not have the uid you expect, though.
On 11/19/2014 12:12 PM, Les Mikesell wrote:
On Wed, Nov 19, 2014 at 10:42 AM, Robert Moskowitz rgm@htt-consult.com wrote:
On 11/19/2014 10:35 AM, Les Mikesell wrote:
On Wed, Nov 19, 2014 at 7:36 AM, Robert Moskowitz rgm@htt-consult.com wrote:
output="/var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts: lstat() failed: Permission denied. ERROR\n"
Ownership or selinux problem?
Unfortunately no selinux on RSEL. has to do, in part, with it being a port to armv5, eventhough I run it on armv7.
I looked at the permissions and from /var/spool/amavisd it is owned by amavis:amavis
Without selinux, permission errors are usually pretty straightforward
- that is, if something logs a 'permission denied', it means exactly
that. I could be anywhere up the path, or the program accessing it might not have the uid you expect, though.
It was permissions. I had added clam to the amavis group:
gpasswd -a clam amavis
But not given the group permissions to the directory. First did:
chmod g+rx /var/spool/amavisd/tmp
But was still getting the error so I went up a level:
chmod g+rx /var/spool/amavisd
and no longer getting the error.
I **AM** making good notes on all of this. Perhaps I will someday put them up in Centos docs...
On Thu, Nov 20, 2014 at 9:32 AM, Robert Moskowitz rgm@htt-consult.com wrote:
Without selinux, permission errors are usually pretty straightforward
- that is, if something logs a 'permission denied', it means exactly
that. I could be anywhere up the path, or the program accessing it might not have the uid you expect, though.
It was permissions. I had added clam to the amavis group:
gpasswd -a clam amavis
But not given the group permissions to the directory. First did:
chmod g+rx /var/spool/amavisd/tmp
But was still getting the error so I went up a level:
chmod g+rx /var/spool/amavisd
and no longer getting the error.
I **AM** making good notes on all of this. Perhaps I will someday put them up in Centos docs...
It would be even nicer if the packages that are likely to need to access each other's files/sockets in the course of mail delivery had a common group and appropriate permissions. I haven't set up a mail server for a while, but used to have the same issues with sendmail/mimedefang/clamav.