Erratic behavior when changing passwords user from Panel

Discussion in 'Installation/Configuration' started by matiasCU, Mar 11, 2009.

  1. matiasCU

    matiasCU Member

    I need to create a link for users to change their password directly from your webmail. I don't have access from Internet to port 81, it is not possible to to access the following link: http://www.domain.tld:81/mailuser.
    Therefore, using the Remote Framework, I created a function that updates the password.
    The function seemed to work sometimes. But after reviewing the behavior I've noticed that not only my function, the panel itself has an erratic behavior when changing passwords.
    Looking at the log in /home/admispconfig/ISPConfig/ispconfig.log can see that sometimes triggers the command Signalfile Set: update and sometimes not.
    This is an example of a correct update:
    11.03.2009 - 18:14:10 => INFO - Signalfile Set: update

    11.03.2009 - 18:14:13 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 259: setquota -g web14 0 0 0 0 -a &> /dev/nul

    l

    11.03.2009 - 18:14:13 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 260: setquota -T -g web14 604800 604800 -a &>

    /dev/null

    11.03.2009 - 18:14:13 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 279: Connected successfully

    11.03.2009 - 18:14:13 => INFO - USER:

    domain.tld_myuser:x:10772:10057:myuser:/var/www/web14/user/domain.tld_myuser:/dev/null

    11.03.2009 - 18:14:13 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig

    /isp/conf/forward.master /var/www/web14/user/domain.tld_myuser/.forward

    11.03.2009 - 18:14:14 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/l

    ocal-host-names /etc/postfix/local-host-names~

    11.03.2009 - 18:14:21 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/v

    irtusertable /etc/postfix/virtusertable~

    11.03.2009 - 18:14:21 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/pos

    tfix/virtusertable

    11.03.2009 - 18:14:21 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1266: cp -fr /etc/apache2/vhosts/Vhosts_ispco

    nfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~

    11.03.2009 - 18:14:22 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2057: cp -fr /etc/proftpd_ispconfig.conf /etc

    /proftpd_ispconfig.conf~


    However sometimes when a password change again ISPConfig seems to be aware and do not write anything in your log.
    Someone knows how to fix it?
    Thank you very much!!!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the same happens if you use the ispconfig interface and not your script?
     
  3. matiasCU

    matiasCU Member

    Hi Till. Yes, happens too when I use the interface.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Never seen this problem on the servers we maintain. Maybe the ispconfig daemon was not running on your server at that time, in this case the update is run when the daemon is started again.
     

Share This Page