Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D417611473 for ; Sat, 16 Aug 2014 01:51:13 +0000 (UTC) Received: (qmail 92703 invoked by uid 500); 16 Aug 2014 01:51:12 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 92661 invoked by uid 500); 16 Aug 2014 01:51:12 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 92649 invoked by uid 99); 16 Aug 2014 01:51:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2014 01:51:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.51] (HELO mail-pa0-f51.google.com) (209.85.220.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2014 01:50:46 +0000 Received: by mail-pa0-f51.google.com with SMTP id ey11so4406274pad.38 for ; Fri, 15 Aug 2014 18:50:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=7b01WlOkw3sa6r2GXX190++Mmp4fs/NrvTO3F7k3kes=; b=X35D0Foyd6dQ3XC0F6dfs9YxUAwSX+asFjRKRoRp+CyCwtJjcjAPk71QjA8lb9vhSN tUzFL53Nz/BOSxEBaQyscDuUiKKn8Y/5hDc7MREiYGvVXW6+v59QXMDoFv3uPIplnWnL CFCwQHpufT7/dUIL5k7k8lAZzj3KcGT/4dv8wQfZzDetYEPWKAkGdqYKH2kq/FQhCc5b Cxcn8SNXAz+Ad4oqKCacfZV4AySC3IoUlCDxN1C98HV/uWUGn/HcbmDBnEvhnXxdr5I0 t+LZq9JeMhm5KALfKYQw2fa+E6BECfRX/OfR90twY+G588b6lwNu6/SP+z652afB3/j9 exMQ== X-Gm-Message-State: ALoCoQn07iYYYn/asnJENO0Afq8b1O2ynaf+etkhNaaSiHKc79ObDKlaDRaigLgtxnQok7FvD/oW MIME-Version: 1.0 X-Received: by 10.70.46.100 with SMTP id u4mr22723388pdm.29.1408153843296; Fri, 15 Aug 2014 18:50:43 -0700 (PDT) Received: by 10.70.13.3 with HTTP; Fri, 15 Aug 2014 18:50:43 -0700 (PDT) Date: Sat, 16 Aug 2014 09:50:43 +0800 Message-ID: Subject: Password reset doesn't work, fail to acquire the lock passwdlock From: Indra Pramana To: "users@cloudstack.apache.org" , "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7bd912629e88c70500b55dc4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd912629e88c70500b55dc4 Content-Type: text/plain; charset=UTF-8 Dear all, Good day to all of you. I am using CloudStack 4.2.0 and KVM hypervisor. Suddenly our password reset function doesn't work anymore. I logged in into the virtual router and found these messages on /var/log/messages: Aug 16 01:43:04 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:05 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:06 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:07 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:08 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:09 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:11 r-2606-VM cloud: Process /opt/cloud/bin/serve_password.sh pid 3455 waiting for the lock passwdlock for another 1 second Aug 16 01:43:11 r-2606-VM cloud: fail to acquire the lock passwdlock for process /opt/cloud/bin/serve_password.sh pid 3455 after 30 seconds time out! Aug 16 01:43:11 r-2606-VM cloud: waiting for process: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 15310 0.0 0.8 4620 1088 ? S 19:53 0:00 /bin/bash /opt/cloud/bin/serve_password.sh X.X.X.X Aug 16 01:43:11 r-2606-VM cloud: Failed job detail: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND#012root 3455 0.0 0.8 4620 1084 ? S 01:42 0:00 /bin/bash /opt/cloud/bin/serve_password.sh X.X.X.Y It seems that there's some locking issues causing the password reset process to fail. I believe these are the related scripts on the VR related to the issue: /opt/cloud/bin/serve_password.sh /root/func.sh Anyone can help on how to reset the lock file and resolve the problem? Looking forward to your reply, thank you. Cheers. --047d7bd912629e88c70500b55dc4--