Php Error Password Plugin Unable To Execute
date ] [ thread ] [ subject ] [ author ] Hello, I Install roundcubemail using EPEL repository: # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm # yum install roundcubemail I have the following settings: CentOS 6.4 Apache 2.2.15 PHP 5.3.3 MySQL 5.1.69 Roundcube Webmail 0.9.5 Plugin password 3.2 Users are not saved in the database, are stored in the operating system: /etc/passwd /etc/shadow cat /etc/roundcubemail/main.inc.php $rcmail_config['default_host'] = 'domain.com'; $rcmail_config['plugins'] = array(password); cat /usr/share/roundcubemail/plugins/password/config.inc.php $rcmail_config['password_driver'] = 'chpasswd'; cat /etc/sudoers apache ALL=NOPASSWD: /usr/sbin/chpasswd When I try to save the password change displays the message: an error has occurred, it can not save the new password cat /var/log/roundcubemail/errors PHP Error: Password plugin: Unable to execute sudo /usr/sbin/chpasswd 2> /dev/null in /usr/share/roundcubemail/plugins/password/drivers/chpasswd.php on line 32 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=) please help to find the error Daniel Lopez Previous message: [RCU] Testing Roundcube 1.0.x Next message: [RCU] Order of folders cluttered Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the users mailing list
for changing password 9 posts / 0 new Log in or register to post comments Last post #1 Wed, 12/30/2009 - 07:51 RedKnot Roundcube plugin for changing password See http://trac.roundcube.net/ticket/1486398 Log in or register to post comments #2 Sat, 03/27/2010 - 11:22 jonkristian Awesome, I've been looking for this. However it doesn't work for me. I have roundcube installed in one location, and have my users login with username.domain and password. Log in http://lists.roundcube.net/pipermail/users/2014-May/010483.html or register to post comments #3 Sat, 03/27/2010 - 14:05 RedKnot Please explain what is going wrong, do you have any error messages? Log in or register to post comments #4 Sat, 03/27/2010 - 15:43 jonkristian From roundcube i get: Could not save new password In the error log of roundcube https://www.virtualmin.com/node/12837 i see this: [27-Mar-2010 18:01:07 +0100]: PHP Error: Password plugin: Unable to execute /home/domain.com/public_html/plugins/password/drivers/chgvirtualminpasswd in /home/domain.com/public_html/plugins/password/drivers/virtualmin.php on line 0 (POST /?_task=settings&_action=plugin.password-save?_task=&_action=) Log in or register to post comments #5 Mon, 03/29/2010 - 13:27 RedKnot Make sure the file permissions are correct -r-sr-x--- Log in or register to post comments #6 Mon, 03/29/2010 - 18:00 jonkristian Yes, been going through all the steps at least 10 times, so it's not that either:/ Although the file is red when it's chmod'ed that way, i did also test with full permissions. I am interested to know what it extracts from $_SESSION['username'] If it's the login name that people enter, that would be username.domain i don't understand: $domain = substr(strrchr($username, "@"), 1); That line looks like it's searching for @ and grabs whatever is behind it, but if the username variable only has username.domain it won't work. Log in or register to post comme
Install Roundcube plugin - Change Password 34 posts / 0 new Log in or register to post comments Last post #1 Fri, 09/21/2012 - 04:01 keith Problem Install Roundcube plugin - Change Password All, I am trying to install change password plugin to https://www.virtualmin.com/node/23427 roundcube but it does not work. The error log show DB Error: MDB2 Error: not found Query: _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT update_passwd('........', '.........')] [Native code: 1305] [Native message: FUNCTION https://github.com/roundcube/roundcubemail/blob/master/plugins/password/drivers/virtualmin.php abc_roundcube.update_passwd does not exist] in /home/abc/public_html/webmail/program/include/rcube_mdb2.php on line 727 (POST /webmail/?_task=settings&_action=plugin.password-save?_task=&_action=) Anyone can help me to solve. thanks Keith Log in or register to post comments #2 Fri, 09/21/2012 - 15:58 andreychek Howdy, Note that we php error didn't actually write that particular plugin. However, I sat down recently, and tinkered with it a bit to get it up and running. It actually works quite well! I wrote up instructions on how to get it working, those are attached to this post. Log in or register to post comments #3 Fri, 09/21/2012 - 21:33 (Reply to #2) keith Thanks for reply but i cannot access the link and show access denied! php error password Thank Keith Log in or register to post comments #4 Fri, 09/21/2012 - 22:48 (Reply to #3) andreychek Durn! Okay, I attached them to the post above :-) Let us know how those work for you! Log in or register to post comments #5 Sat, 09/22/2012 - 12:18 (Reply to #4) keith Thank you so much and write the step. I tried but still no lucky. It show below error on log. PHP Error: Password plugin: Unable to execute /home/abc/public_html/webmail/plugins/password/helpers/chgvirtualminpasswd in /home/abc/public_html/webmail/plugins/password/drivers/virtualmin.php on line 73 (POST /webmail/?_task=settings&_action=plugin.password-save?_task=&_action=) any ideal of this error. thanks Keith Log in or register to post comments #6 Thu, 08/14/2014 - 15:21 (Reply to #5) chucky2183 Hi I have the same mistake. But if i print in virtualmin.php i get this. modify-user --domain localhost --user user_domain --pass newpass I try in console with this ./chgvirtualminpasswd modify-user --domain localhost --user user_domain --pass newpass and get this "Virtual server localhost does not exist Modifies a mail, FTP or database user in a Virtualmin domain. virtualmin modify-user --domain domain.name" I try with another domain in console and works!! Where i have to change to take my domain and not localhost? Thanks Regards Log in or register to post comments #7 Wed, 11/05/2014 - 17:00 (Reply to #6) pdropi For Those who are having problems
Sign in Pricing Blog Support Search GitHub This repository Watch 192 Star 1,893 Fork 761 roundcube/roundcubemail Code Issues 183 Pull requests 30 Projects 0 Wiki Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags dev-fontawesome dev-layouts dev-zenmode master release-0.6 release-0.7 release-0.8 release-0.9-canned-responses release-0.9-kolab-ucs release-0.9-ldap-groups release-0.9 release-1.0 release-1.1 release-1.2 Nothing to show v1.0-rc v1.0-beta v0.9.5 v0.9.4 v0.9.3 v0.9.2 v0.9.1 v0.9.0 v0.9-rc2 v0.9-rc v0.9-beta v0.8.7 v0.8.6 v0.8.5 v0.8.4 v0.8.3 v0.8.2 v0.8.1 v0.8.0 v0.8-rc v0.8-beta v0.7.4 v0.7.3 v0.7.2 v0.7.1 v0.7 v0.7-beta2 v0.7-beta1 v0.6 v0.6-rc v0.6-beta v0.5@4408 v0.5.4@5065 v0.5.4@5062 v0.5.4 v0.5.3@4832 v0.5.3 v0.5.2@4679 v0.5.2 v0.5.1@4518 v0.5.1 v0.5 v0.5-rc@4349 v0.5-rc v0.5-beta@4347 v0.5-beta v0.4.2@4050 v0.4.2 v0.4.1@4045 v0.4.1 v0.4-beta@3548 v0.4-beta v0.3.1@3081 v0.3.1 v0.3-stable@2921 v0.3-stable v0.3-rc1 v0.3-beta@2799 v0.3-beta v0.2.2@2495 v0.2.2@2481 v0.2.2 v0.2.1@2348 v0.2.1 v0.2-stable@2204 v0.2-stable v0.2-beta@1878 v0.2-beta@1877 v0.2-beta v0.2-alpha@1499 v0.2-alpha v0.1.1@1258 v0.1.1 v0.1-stable@1183 v0.1-stable v0.1-rc2@900 v0.1-rc2 v0.1-rc1@582 v0.1-rc1 v0.1-beta2 1.2.2 1.2.1 1.2.0 1.2-rc 1.2-beta 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.1-rc 1.1-beta 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 Nothing to show Find file Copy path roundcubemail/plugins/password/drivers/virtualmin.php Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 95 lines (86 sloc) 3.23 KB