Hello. I'm using ISPConfig 3.0.2.2. Using for about 1,5 years. There were no ploblems or bugs. But today found one big problem - when i create a new domain, ispconfig creates its .vhost file in apache folders, but it doesn't create any folder like /client*/web*/* and it doesn't create any user web* . I searched ispconfig's php scripts for folder creating commands references but not found them. I read about jobqueue file, but i don't now where it is. Can you please help me to find out a problem or point me to the way how to find out where the problem's root is? Thank you.
Thank you, Till. That's what the ispconfig's log file contains when i try to create a domain: 03.07.2012-16:26 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 03.07.2012-16:26 - DEBUG - Found 2 changes, starting update process. 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'apps_vhost_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'network_settings_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Changed Network settings 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'postfix_server_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Processed datalog_id 4040 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'apps_vhost_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'network_settings_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Changed Network settings 03.07.2012-16:26 - DEBUG - Call function 'update' in plugin 'postfix_server_plugin' raised by event 'server_update'. 03.07.2012-16:26 - DEBUG - Processed datalog_id 4041 03.07.2012-16:26 - DEBUG - Call function 'restartHttpd' in module 'web_module'. 03.07.2012-16:26 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 03.07.2012-16:27 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 03.07.2012-16:27 - DEBUG - Found 1 changes, starting update process. 03.07.2012-16:27 - DEBUG - Call function 'ssl' in plugin 'apache2_plugin' raised by event 'web_domain_insert'. 03.07.2012-16:27 - DEBUG - Call function 'insert' in plugin 'apache2_plugin' raised by event 'web_domain_insert'. 03.07.2012-16:27 - DEBUG - Creating Symlink: ln -s /var/log/ispconfig/httpd/12312312312.com /var/www/clients/client1/web242/log 03.07.2012-16:27 - DEBUG - Creating Symlink: ln -s /var/www/clients/client1/web242/ /var/www/12312312312.com 03.07.2012-16:27 - DEBUG - Creating Symlink: ln -s /var/www/clients/client1/web242/ /var/www/clients/client1/12312312312.com 03.07.2012-16:27 - DEBUG - Adding the user: web242 03.07.2012-16:27 - DEBUG - exec: chown -R web242:client1 /var/www/clients/client1/web242 03.07.2012-16:27 - DEBUG - exec: chown web242:client1 /var/www/clients/client1/web242 03.07.2012-16:27 - DEBUG - exec: chmod 751 /var/www/clients/client1/web242/ 03.07.2012-16:27 - DEBUG - exec: chmod 751 /var/www/clients/client1/web242/* 03.07.2012-16:27 - DEBUG - exec: chmod 710 /var/www/clients/client1/web242/web 03.07.2012-16:27 - DEBUG - exec: chmod 777 /var/www/clients/client1/web242/tmp 03.07.2012-16:27 - DEBUG - exec: usermod --groups sshusers web242 03.07.2012-16:27 - DEBUG - exec: chown web242:client1 /var/www/clients/client1/web242 03.07.2012-16:27 - DEBUG - exec: chown web242:client1 /var/www/clients/client1/web242/log/error.log 03.07.2012-16:27 - DEBUG - Disable SSL for: 03.07.2012-16:27 - DEBUG - Creating fastcgi starter script directory: /var/www/php-fcgi-scripts/web242/ 03.07.2012-16:27 - DEBUG - Creating fastcgi starter script: /var/www/php-fcgi-scripts/web242/.php-fcgi-starter 03.07.2012-16:27 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/12312312312.com.vhost 03.07.2012-16:27 - DEBUG - Creating the symlink: /etc/apache2/sites-enabled/12312312312.com.vhost => /etc/apache2/sites-available/12312312312.com.vhost 03.07.2012-16:27 - DEBUG - Processed datalog_id 4042 03.07.2012-16:27 - DEBUG - Call function 'restartHttpd' in module 'web_module'. Directory /var/www/clients/client1/web242/ was not created, user web242 was not created, so all the the upper commands were not executed successfully. By the way - fastcgi starter script also was not created. What is the problem could be?
problem eliminated That was security misunderstanding - system function were disabled in cli's php.ini . Thank you.
You can sfely disable system and exec in the cgi and pache2 php.ini files but in the cli php.ini file it must be enabled. Disabling shell functions for shell scripts does not make much sense anyway.