I need create user chroot, The install follow tutorial (perfect server (debian 6)) but user create chroot not log, if I change to none, user log but view all file system. after change ispconfig to log in debug mode, and execute manualy server.sh the result is this: Code: 10.08.2011-09:34 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 10.08.2011-09:34 - DEBUG - Found 1 changes, starting update process. 10.08.2011-09:34 - DEBUG - Unable to register function 'insert' from plugin 'mailman_plugin' for event 'mail_mailinglist_insert' 10.08.2011-09:34 - DEBUG - Unable to register function 'update' from plugin 'mailman_plugin' for event 'mail_mailinglist_update' 10.08.2011-09:34 - DEBUG - Unable to register function 'delete' from plugin 'mailman_plugin' for event 'mail_mailinglist_delete' 10.08.2011-09:34 - DEBUG - Calling function 'insert' from plugin 'shelluser_base_plugin' raised by event 'shell_user_insert'. 10.08.2011-09:34 - DEBUG - Executed command: useradd -d /var/www/clients/client2/web2 -g client2 -o -p \$1\$3Q0NH5ue\$T38qmk3VkuQ3xcIHgwVOm. -s /bin/bash -u 5005 cortesias_teste 10.08.2011-09:34 - DEBUG - Added shelluser: cortesias_teste 10.08.2011-09:34 - DEBUG - Disabling shelluser temporarily: usermod -s /bin/false -L cortesias_teste 10.08.2011-09:34 - DEBUG - Calling function 'insert' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_insert'. 10.08.2011-09:34 - DEBUG - exec: chmod 755 /var/www/clients/client2/web2 10.08.2011-09:34 - DEBUG - exec: chown root:root /var/www/clients/client2/web2 usermod : nenhuma mudança 10.08.2011-09:34 - DEBUG - Added jailkit user to chroot with command: /usr/local/ispconfig/server/scripts/create_jailkit_user.sh cortesias_teste /var/www/clients/client2/web2 /home/cortesias_teste /bin/bash web2 /home/web2 10.08.2011-09:34 - DEBUG - Added created jailkit user home in : /var/www/clients/client2/web2/home/cortesias_teste PHP Warning: mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 270 10.08.2011-09:34 - DEBUG - Added created jailkit parent user home in : /var/www/clients/client2/web2/home/web2 10.08.2011-09:34 - DEBUG - exec: chmod 755 /var/www/clients/client2/web2 10.08.2011-09:34 - DEBUG - exec: chown root:root /var/www/clients/client2/web2 10.08.2011-09:34 - DEBUG - Jailkit Plugin -> insert username:cortesias_teste 10.08.2011-09:34 - DEBUG - Processed datalog_id 285 10.08.2011-09:34 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock and log into /ispconfig/cron.log is Code: mkdir: é impossÃ*vel criar o diretório "/var/www/clients/client2/web2/var": Arquivo existe mkdir: é impossÃ*vel criar o diretório "/var/www/clients/client2/web2/var/run": Arquivo existe cat: /root/.ssh/authorized_keys: Arquivo ou diretório não encontrado usermod : nenhuma mudança PHP Warning: mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 270 PHP Warning: mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 276 usermod : o usuário corteria_teste está logado no momento
Which ispconfig version do you use? According to the log, it seems that you use a developer release from SVN. SVN Versions are untested and can be broken, so this might be the reason for your problems.
I use 3.0.3.3 and I try svn version but in all version have same error and jailkit i test, 2.11, 2.12, 2.13 and 2.14
The SVN version might have broken your setup now, please do not use svn versions on production systems. First delete all websites that you created in ispconfig and wait afew minutes so that the sites and users get deleted from your system. Then uninstall ispconfig by downloading the ispconfig 3.0.3.3 tar.gz and executing the uninstall.php script. Then reinstall ispconfig 3.0.3.3 from tar.gz. Install only the jailkit version mentioned in the perfect setup guide as this is the one that is tested and known to work in that configuration.
All data will get lost on a uninstall. I thought this is a dev system or new system as you installed a unstable developer release of ispconfig on it. If the syetm is in production, we will try to have to debug the problem. But there is no guarantee that the system will work stable with a svn version. as you see in the debug output, there are quite a few errors which result from the svn release.
work perfectly... I extract database info, backup clients dir, uninstall, reinstall and all system ok. Thanks