amavisd error in ovh vps centos 7

Discussion in 'ISPConfig 3 Priority Support' started by luisdaniel, Apr 10, 2015.

  1. luisdaniel

    luisdaniel New Member

    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:
    [[email protected] ~]# 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.
    [[email protected] ~]#​

    It's possible to have any help?
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    How much ram does the vps has?
     
  3. luisdaniel

    luisdaniel New Member

    [[email protected] ~]# free
    total used free shared buff/cache available
    Mem: 1048576 532780 306296 11220 209500 432278
    Swap: 131072 0 131072
    [[email protected] ~]#

    I forgot to say, It's missing the last step, installing ispconfig 3, all other services are on.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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
     
  5. luisdaniel

    luisdaniel New Member

    [[email protected] ~]# 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
    [[email protected] ~]#

    If you can't read it right, I can try change the format.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. luisdaniel

    luisdaniel New Member

    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 ?
     
    Last edited: Apr 10, 2015
  8. luisdaniel

    luisdaniel New Member

    I switched to debian servers and works smoothly. So, I don't waste more time with centOS.
     

Share This Page