Change PW of mail user doesn't work

  • Hello,
    ## i-MSCP version info
    BuildDate = 20160626
    Version = 1.3.0
    CodeName = Horner
    # Distro info
    DISTRO_ID = debian
    DISTRO_CODENAME = jessie
    DISTRO_RELEASE = 8.5
    # Servers
    # Please, do not change these parameters manually
    # Run the i-MSCP installer as follow:
    # imscp-autoinstall -dr servers
    FRONTEND_SERVER = nginx
    SQL_SERVER = mysql_5.5
    PO_SERVER = dovecot
    NAMED_SERVER = external_server
    HTTPD_SERVER = apache_php_fpm
    FTPD_SERVER = proftpd
    MTA_SERVER = postfix
    PHP_SERVER = php5


    I am using IMSCP 1.3.0 php-fpm since months on Debian Jessie 8.5/6.
    No problems so far, except...
    A user tried to change his mail password.
    After that, imscp.mail_users.status stays in tochange for hours


    Icons of other users are correct:




    Changed manually status of tochange to ok, all is ok!


    User can login with newly created pw.



    Any hints where to look in log files why it stays stuck?



    Greetings


    Peter

    i-MSCP 1.5.1 + patches - debian stretch (latest) - DebugBar 1.1.2 - LetsEncrypt 3.5.0 - Mailman 2.0.4 - RoundcubePlugins 2.0.1

  • Hello,


    Try to change a mail password again and if the status stay on tochange, run the following command manually:


    Code
    1. # perl /var/www/imscp/engine/imscp-rqst-mngr -v


    and post us the full output.

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

  • Code
    1. [DEBUG] iMSCP::Bootstrapper::boot: Booting backend....
    2. [DEBUG] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf file
    3. [DEBUG] iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp.lock

    and blocking...

    i-MSCP 1.5.1 + patches - debian stretch (latest) - DebugBar 1.1.2 - LetsEncrypt 3.5.0 - Mailman 2.0.4 - RoundcubePlugins 2.0.1

  • and blocking...

    Surely because you have another i-MSCP running process. Check the processes table.

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

  • Yesterday evening it was:

    Code
    1. root 478 0.0 0.0 12664 1668 pts/3 S+ 17:10 0:00 grep imscproot 2634 0.0 0.0 4336 812 ? Ss 12:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 2639 0.0 0.0 60440 14556 ? SN 12:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 10692 0.0 0.0 4336 756 ? Ss 13:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 10693 0.0 0.0 60456 14564 ? SN 13:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 15093 0.0 0.0 4336 808 ? Ss 15:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 15094 0.0 0.0 60456 14472 ? SN 15:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 18430 0.0 0.0 4336 764 ? Ss 14:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 18431 0.0 0.0 60440 14472 ? SN 14:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 19480 0.0 0.0 4336 800 ? Ss 10:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 19484 0.0 0.1 166864 21652 ? SN 10:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 19493 0.0 0.1 72208 18484 ? SN 10:00 0:00 perl /var/www/imscp/engine/imscp-rqst-mngrroot 22895 0.0 0.0 4336 760 ? Ss 16:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 22896 0.0 0.0 60440 14484 ? SN 16:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 27223 0.0 0.0 4336 720 ? Ss 11:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 27224 0.0 0.0 60440 14508 ? SN 11:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 30729 0.0 0.0 4336 708 ? Ss 17:00 0:00 /bin/sh -c nice -n 15 ionice -c2 -n5 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl > /dev/null 2>&1root 30730 0.0 0.0 60456 14624 ? SN 17:00 0:00 perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.plroot 31910 0.0 0.0 4216 1060 ? S 17:07 0:00 /var/www/imscp/daemon/imscp_daemon -b /var/www/imscp/engine/imscp-rqst-mngr -p /var/run/imscp_daemon.pidroot 32592 0.1 0.1 72924 19316 pts/4 S+ 17:08 0:00 perl /var/www/imscp/engine/imscp-rqst-mngr -v


    Now it is:



    I do not have so many letsencrypt domains (only 13). Don't know whether this is related?!


    So, how to start that pw change test again. With services imscp* stopped or....
    thx
    Peter

    i-MSCP 1.5.1 + patches - debian stretch (latest) - DebugBar 1.1.2 - LetsEncrypt 3.5.0 - Mailman 2.0.4 - RoundcubePlugins 2.0.1

  • @Heppi


    That look like a bug in the LetsEncrypt plugin cron task for pending tasks. Normally, there shouldn't more than one process of this cron task.


    Can I access the server?

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

  • How do you want to do it?
    ssh?

    i-MSCP 1.5.1 + patches - debian stretch (latest) - DebugBar 1.1.2 - LetsEncrypt 3.5.0 - Mailman 2.0.4 - RoundcubePlugins 2.0.1

  • @Heppi


    Bug found. The i-MSCP bootstrapper library try to acquire a lock on /tmp/imscp.lock unless if the nolock attribute is set to yes. The problem is that the plugin cron job set the nolock attribute with the value 1. This is not supported by i-MSCP versions older than 1.3.6.



    You should update to latest i-MSCP version.

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

  • @Heppi


    Yes, I'll just fix your cron tasks for letsencrypt and kill the remaining processes.

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

  • Mail is out


    Update added to ToDo List ;-)

    i-MSCP 1.5.1 + patches - debian stretch (latest) - DebugBar 1.1.2 - LetsEncrypt 3.5.0 - Mailman 2.0.4 - RoundcubePlugins 2.0.1