Reconfigure sometimes failes on starting policyd-weight service

  • Sometimes when using imscp-reconfigure -adnv i get this error:

    Code
    1. [ERROR] main::setupDbTasks: Plugin::PolicydWeight::enable: Could not restart the policyd-weight service: iMSCP::Provider::Service::Sysvinit::_exec: Job for policyd-weight.service failed because the control process exited with error code. See "systemctl status policyd-weight.service" and "journalctl -xe" for details. at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Service.pm line 206.


    journalctl -xe:

    Code
    1. policyd-weight[30264]: master: bind 12525: IO::Socket::INET: Address already in use Address already in use at /usr/sbin/policyd-weight line 1052.


    The weird thing is that this does not happen all the time; most of the time i can reconfigure without a problem but the sometimes this happens. Any ideas?



    i-mscp 1.3.5
    policyd-weight 0.1.15.2-11
    policyd-weight plugin 1.1.0

  • This is clearly not a bug in i-MSCP, nor in the plugin. You should report it to Ubuntu team ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206