Article ID: 111535, created on Jun 24, 2011, last review on Mar 16, 2016

  • Applies to:
  • Plesk 10.1 for Linux/Unix

Symptoms

When trying to change hosting settings for the domain from Control Panel (any current setting), the following error occurs:

PHP Notice: Undefined index:
Line: 819
File: /usr/local/psa/admin/plib/SysUser.php
Stack Trace:
#0 Smb_Exception_Syntax::handleError(8, Undefined index: , /usr/local/psa/admin/plib/SysUser.php, 819, Array ([oldValues] => Array ([id] => 118,[login] => springvalley,[home] => /var/www/vhosts/springvalleymutual.com,[shell] => /bin/false,[quota] => 0,[account_id] => 235,[mapped_to] => ),[newUser] => ,[shell_options] => Array ([/bin/false] => Array ([name] => Forbidden,[empty] => 1,[chrooted] => ),[/bin/sh] => Array ([name] => /bin/sh,[empty] => ,[chrooted] => ),[/bin/bash] => Array ([name] => /bin/bash,[empty] => ,[chrooted] => ),[/sbin/nologin] => Array ([name] => /sbin/nologin,[empty] => 1,[chrooted] => ),[/bin/tcsh] => Array ([name] => /bin/tcsh,[empty] => ,[chrooted] => ),[/bin/csh] => Array ([name] => /bin/csh,[empty] => ,[chrooted] => ),[/bin/ksh] => Array ([name] => /bin/ksh,[empty] => ,[chrooted] => ),[/usr/local/psa/bin/chrootsh] => Array ([name] => /bin/bash (chrooted),[empty] => ,[chrooted] => 1),[/bin/rbash] => Array ([name] => /bin/rbash,[empty] => ,[chrooted] => )),[isCurrentShellChrooted] => ,[isOldShellChrooted] => ,[currentCrontabShell] => ,[isCurrentCrontabShellChrooted] => ,[oldCrontabShell] => )) called at [/usr/local/psa/admin/plib/SysUser.php:819]
#1 SysUser->_updateChrootedShell(Array ([id] => 118,[login] => springvalley,[home] => /var/www/vhosts/springvalleymutual.com,[shell] => /bin/false,[quota] => 0,[account_id] => 235,[mapped_to] => ), ) called at [/usr/local/psa/admin/plib/SysUser.php:779]
#2 SysUser->_updateUnix() called at [/usr/local/psa/admin/plib/SysUser.php:1096]
#3 SysUser->update() called at [/usr/local/psa/admin/plib/PHostingManager.php:808]
#4 PHostingManager->updateSysUser() called at [/usr/local/psa/admin/plib/PHostingManager.php:508]
#5 PHostingManager->transactionalUpdate(Transaction_Rollback Object ([] => Array ()))
...
Warning: Releasing semaphore 17 in request cleanup in Unknown on line 0

Things to try

1. Turn off your display_errors in /usr/local/psa/admin/conf/php.ini as a workaround. This could resolve your issue.
2. Change the crontab_secure_shell_compatibility_mode in the psa.misc table to false
mysql> select * from misc where param = 'crontab_secure_shell_compatibility_mode';
	+-----------------------------------------+------+
	| param                                   | val  |
	+-----------------------------------------+------+
	| crontab_secure_shell_compatibility_mode | true |
	+-----------------------------------------+------+
	1 row in set (0.00 sec)
mysql> replace into misc(param, val) values('crontab_secure_shell_compatibility_mode', 'false');
Query OK, 1 row affected (0.01 sec)

3. Use the attached SysUser.php file to replace the original file (make sure you create a SysUser.php.orig backup file first) in /usr/local/psa/admin/plib/. Make sure it has the correct set of permissions:

[root@plesk10 ~]# ls -la /usr/local/psa/admin/plib/SysUser.php
-rw-r--r-- 1 root root 41263 Mar 31 11:02 /usr/local/psa/admin/plib/SysUser.php

Attachments

def31538ba607bde27398f48ab5956be a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF