Hello there, I'm have some trouble trying to configure the server using a VPS from OVH. When I try to start the service amavisd I get the error: [root@vpsXXXXXX ~]# systemctl status amavisd amavisd.service - Amavisd-new is an interface between MTA and content checkers. Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled) Active: failed (Result: start-limit) since Fri 2015-04-10 10:55:42 CEST; 28min ago Docs: http://www.ijs.si/software/amavisd/#doc Process: 12396 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=227/NO_NEW_PRIVILEGES) Apr 10 10:55:41 vpsXXXXXX.ovh.net systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. Apr 10 10:55:41 vpsXXXXXX.ovh.net systemd[1]: Unit amavisd.service entered failed state. Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: amavisd.service holdoff time over, scheduling restart. Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers.... Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers.... Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: amavisd.service start request repeated too quickly, refusing to start. Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. Apr 10 10:55:42 vpsXXXXXX.ovh.net systemd[1]: Unit amavisd.service entered failed state. [root@vpsXXXXXX ~]# It's possible to have any help? Thanks
[root@vpsXXXXXX ~]# free total used free shared buff/cache available Mem: 1048576 532780 306296 11220 209500 432278 Swap: 131072 0 131072 [root@vpsXXXXXX ~]# I forgot to say, It's missing the last step, installing ispconfig 3, all other services are on.
It might be that your vps is just out of ram, so it cant start amavis. Please post the output of: cat /proc/user_beancounters
[root@vpsXXXXXX ~]# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 154101: kmemsize 35379784 46465024 9223372036854775807 9223372036854775807 0 lockedpages 0 8 262144 262144 0 privvmpages 365344 394537 9223372036854775807 9223372036854775807 0 shmpages 2805 3141 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 106 126 9223372036854775807 9223372036854775807 0 physpages 154276 216608 0 262144 0 vmguarpages 0 0 294912 9223372036854775807 0 oomguarpages 136204 142911 262144 9223372036854775807 0 numtcpsock 27 29 9223372036854775807 9223372036854775807 0 numflock 7 29 9223372036854775807 9223372036854775807 0 numpty 1 1 9223372036854775807 9223372036854775807 0 numsiginfo 0 15 9223372036854775807 9223372036854775807 0 tcpsndbuf 473192 508072 9223372036854775807 9223372036854775807 0 tcprcvbuf 442368 475136 9223372036854775807 9223372036854775807 0 othersockbuf 269728 308176 9223372036854775807 9223372036854775807 0 dgramrcvbuf 0 279040 9223372036854775807 9223372036854775807 0 numothersock 171 187 500 500 0 dcachesize 5920749 17147524 9223372036854775807 9223372036854775807 0 numfile 2049 2360 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numiptent 303 303 9223372036854775807 9223372036854775807 0 You have new mail in /var/spool/mail/root [root@vpsXXXXXX ~]# If you can't read it right, I can try change the format.
It is ok like that, the relevenat column is the last one and if this is 0 in all lines, then no vm limits were reached. Ok, so thats not the issue here. Pleasetry to restart amavisd and then check the /var/log/maillog file if you have any amavis errors at the end of the file.
I can't find /var/log/maillog . I found an empty file in /var/log/mailman/error. Do I need to change this variable "$mydomain = 'example.com';" inside /etc/amavisd/amavisd.conf ?