
4th April 2012, 19:42
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Problem with adding clients and website
Hi,
When I create one client, I can see that he has been created but nothing is created in /etc/passwd.
It's the same for the sites. everything is in dbispconfig > web_domain database, but nothing is created on the server in the /var/www/clients folder...
I search in the ispconfig logfile but nothing interesting here.
When I execute /usr/local/ispconfig/server/server.sh nothing appears.
I just find one interesting error in /var/log/apache2/error.log :
script '/usr/local/ispconfig/interface/web/dashboard/client_list.php' not found or unable to stat, referer: http:/site:8080/index.php
Is anybody got an idea?
Thanks in advance!!
|

4th April 2012, 20:52
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
In fact, I have a client_list.php in the subfolder /usr/local/ispconfig/interface/web/client that I copy in the /usr/local/ispconfig/interface/web
There are no changes, I don't have the error message anymore but the client or the website don't be add in /etc/passwd
|

5th April 2012, 08:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
The client_list.php file is not related in any way to accounts in /etc/passwd. Clients in ispconfig are a virtual construct to organize records in mysql, they have nothing to do with your system configuration and when you add a client, no config files get and shall be written. So if your only problem is that nothing changes in /etc/passwd when you add a client, then your server is working properly.
A user is added to /etc/passwd when you add a website or when you add a ssh user burt not when you add a client.
Quote:
|
script '/usr/local/ispconfig/interface/web/dashboard/client_list.php' not found or unable to stat, referer: http:/site:8080/index.php
|
There was never a file with that name in that folder in ispconfig. Your system code must be customized somehow.
Quote:
|
In fact, I have a client_list.php in the subfolder /usr/local/ispconfig/interface/web/client that I copy in the /usr/local/ispconfig/interface/web
|
The file client_list.php must be in the folder /usr/local/ispconfig/interface/web/client, copying it to any other folder makes no sense.
If you like to know why your server process cant write changes, then please follow the debugging instructions from ISPconfig FAQ:
http://www.faqforge.com/linux/debugg...-of-a-failure/
Before you do that, undo all changes that you made like copying ispconfig files to other locations etc. as such changes will make ispconfig to fail.
|

5th April 2012, 13:20
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Hello,
Thanks for your reply but also when I add a website nothing new appear in the file /etc/passwd.
I have already seen the topic about the debugging mode and run the command /usr/local/ispconfig/server/server.sh but nothing happen.
Furthermore, I don't have the server.sh cron job, I have to had it or it normally add with the update of ispconfig.
Thanks
|

5th April 2012, 13:24
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
|
I have already seen the topic about the debugging mode and run the command /usr/local/ispconfig/server/server.sh but nothing happen.
|
Did you follow all instructions incl. to enable debug mode first for the affected node?
Quote:
|
Furthermore, I don't have the server.sh cron job, I have to had it or it normally add with the update of ispconfig.
|
Then ispconfig is not fully installed on your server or someone must have deleted entries from root crontab as ispconfig can not configure your server without it. Please post the output of:
crontab -l
|

5th April 2012, 13:41
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
In fact, I was in warning mode so I change it to debug mode.
Here is my output of crontab -L :
* * * * * /mnt/muh/y2kupdate >/dev/null 2>&1
I'm sorry I don't know well IspConfig.
To launch the command /usr/local/ispconfig/server/server.sh what I have to save if there is a bug? Can I automatically backup my Ispconfig or I need to save my etc folder or any others?
Thanks Till
|

5th April 2012, 14:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Al ispconfig cronjobs are missing, maybe they got deleted as you adeed the "* * * * * /mnt/muh/y2kupdate >/dev/null 2>&1" cronjob.
Quote:
|
To launch the command /usr/local/ispconfig/server/server.sh what I have to save if there is a bug?
|
Post the exact output that you get on the screen when you run this command as root.
|

5th April 2012, 14:22
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Hello,
Here is the output :
/usr/local/ispconfig/server/server.sh
05.04.2012-12:17 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
05.04.2012-12:17 - DEBUG - Found 2 changes, starting update process.
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Changed Network settings
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Processed datalog_id 756
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Changed Network settings
05.04.2012-12:17 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
05.04.2012-12:17 - DEBUG - Processed datalog_id 757
05.04.2012-12:17 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
05.04.2012-12:17 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
I do it a second time :
/usr/local/ispconfig/server/server.sh
05.04.2012-12:19 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
05.04.2012-12:19 - DEBUG - No Updated records found, starting only the core.
05.04.2012-12:19 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
|

5th April 2012, 14:54
|
|
Member
|
|
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I add a new client and website.
Before execute /usr/local/ispconfig/server/server.sh, nothing appear in /etc/passwd but after running this command the website has been adding!!
And here was the output :
lea:~# /usr/local/ispconfig/server/server.sh
05.04.2012-12:29 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
05.04.2012-12:29 - DEBUG - Found 15 changes, starting update process.
05.04.2012-12:29 - DEBUG - Calling function 'client_delete' from plugin 'apache2_plugin' raised by event 'client_delete'.
05.04.2012-12:29 - DEBUG - Removed client directory: /var/www/clients/client36
05.04.2012-12:29 - DEBUG - exec: groupdel client36
groupdel: cannot remove user's primary group.
05.04.2012-12:29 - DEBUG - Removed group client36
05.04.2012-12:29 - DEBUG - Processed datalog_id 758
05.04.2012-12:29 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Removing symlink: /etc/apache2/sites-enabled/100-qsdqsd.fr.vhost->/etc/apache2/sites-available/qsdqsd.fr.vhost
05.04.2012-12:29 - DEBUG - Removing vhost file: /etc/apache2/sites-available/qsdqsd.fr.vhost
05.04.2012-12:29 - DEBUG - Removing website: /var/www/clients/client36/web55
05.04.2012-12:29 - DEBUG - Removing symlink: /var/www/qsdqsd.fr
05.04.2012-12:29 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/qsdqsd.fr
05.04.2012-12:29 - DEBUG - Processed datalog_id 759
05.04.2012-12:29 - DEBUG - Calling function 'client_delete' from plugin 'apache2_plugin' raised by event 'client_delete'.
05.04.2012-12:29 - DEBUG - Removed client directory: /var/www/clients/client38
05.04.2012-12:29 - DEBUG - exec: groupdel client38
groupdel: cannot remove user's primary group.
05.04.2012-12:29 - DEBUG - Removed group client38
05.04.2012-12:29 - DEBUG - Processed datalog_id 760
05.04.2012-12:29 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Removing symlink: /etc/apache2/sites-enabled/100-fdsfds.fr.vhost->/etc/apache2/sites-available/fdsfds.fr.vhost
05.04.2012-12:29 - DEBUG - Removing vhost file: /etc/apache2/sites-available/fdsfds.fr.vhost
05.04.2012-12:29 - DEBUG - Removing website: /var/www/clients/client38/web56
05.04.2012-12:29 - DEBUG - Removing symlink: /var/www/fdsfds.fr
05.04.2012-12:29 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/fdsfds.fr
05.04.2012-12:29 - DEBUG - Processed datalog_id 761
05.04.2012-12:29 - DEBUG - Processed datalog_id 762
05.04.2012-12:29 - DEBUG - Processed datalog_id 763
05.04.2012-12:29 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
05.04.2012-12:29 - DEBUG - Calling function 'insert' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
05.04.2012-12:29 - DEBUG - Adding the group: client37
05.04.2012-12:29 - DEBUG - Adding the user: web57
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/log/ispconfig/httpd/fdsdfsdf.pto /var/www/clients/client37/web57/log
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/www/clients/client37/web57/ /var/www/fdsdfsdf.pto
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/www/clients/client37/web57/ /var/www/clients/client0/fdsdfsdf.pto
05.04.2012-12:29 - DEBUG - exec: chown -R web57:client37 /var/www/clients/client37/web57/web
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/web
05.04.2012-12:29 - DEBUG - exec: chmod 751 /var/www/clients/client37/web57
05.04.2012-12:29 - DEBUG - exec: chmod 751 /var/www/clients/client37/web57/*
05.04.2012-12:29 - DEBUG - exec: chmod 710 /var/www/clients/client37/web57/web
05.04.2012-12:29 - DEBUG - exec: chmod 777 /var/www/clients/client37/web57/tmp
05.04.2012-12:29 - DEBUG - exec: chmod 755 /var/www/clients/client37/web57/log
05.04.2012-12:29 - DEBUG - exec: usermod --groups sshusers web57
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/cgi-bin
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/log
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/ssl
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/tmp
05.04.2012-12:29 - DEBUG - exec: chown -R web57:client37 /var/www/clients/client37/web57/web
05.04.2012-12:29 - DEBUG - exec: chown web57:client37 /var/www/clients/client37/web57/log/error.log
05.04.2012-12:29 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/fdsdfsdf.pto.vhost
05.04.2012-12:29 - DEBUG - Creating symlink: /etc/apache2/sites-enabled/100-fdsdfsdf.pto.vhost->/etc/apache2/sites-available/fdsdfsdf.pto.vhost
05.04.2012-12:29 - DEBUG - Apache status is: 1
05.04.2012-12:29 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
05.04.2012-12:29 - DEBUG - Apache online status after restart is: 1
05.04.2012-12:29 - DEBUG - Processed datalog_id 764
05.04.2012-12:29 - DEBUG - Calling function 'client_delete' from plugin 'apache2_plugin' raised by event 'client_delete'.
05.04.2012-12:29 - DEBUG - Removed client directory: /var/www/clients/client37
05.04.2012-12:29 - DEBUG - exec: groupdel client37
groupdel: cannot remove user's primary group.
05.04.2012-12:29 - DEBUG - Removed group client37
05.04.2012-12:29 - DEBUG - Processed datalog_id 765
05.04.2012-12:29 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'.
05.04.2012-12:29 - DEBUG - Removing symlink: /etc/apache2/sites-enabled/100-fdsdfsdf.pto.vhost->/etc/apache2/sites-available/fdsdfsdf.pto.vhost
05.04.2012-12:29 - DEBUG - Removing vhost file: /etc/apache2/sites-available/fdsdfsdf.pto.vhost
05.04.2012-12:29 - DEBUG - Removing website: /var/www/clients/client37/web57
05.04.2012-12:29 - DEBUG - Removing symlink: /var/www/fdsdfsdf.pto
05.04.2012-12:29 - DEBUG - Removing symlink: /var/www/clients/client0/fdsdfsdf.pto
05.04.2012-12:29 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/fdsdfsdf.pto
05.04.2012-12:29 - DEBUG - Processed datalog_id 766
05.04.2012-12:29 - DEBUG - Calling function 'client_delete' from plugin 'apache2_plugin' raised by event 'client_delete'.
05.04.2012-12:29 - DEBUG - exec: groupdel client39
groupdel: group client39 does not exist
05.04.2012-12:29 - DEBUG - Removed group client39
05.04.2012-12:29 - DEBUG - Processed datalog_id 767
05.04.2012-12:29 - DEBUG - Processed datalog_id 768
05.04.2012-12:29 - DEBUG - Processed datalog_id 769
05.04.2012-12:29 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
05.04.2012-12:29 - DEBUG - Calling function 'insert' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
05.04.2012-12:29 - DEBUG - Adding the group: client40
05.04.2012-12:29 - DEBUG - Adding the user: web58
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/log/ispconfig/httpd/site.pro /var/www/clients/client40/web58/log
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/www/clients/client40/web58/ /var/www/site.pro
05.04.2012-12:29 - DEBUG - Creating symlink: ln -s /var/www/clients/client40/web58/ /var/www/clients/client40/site.pro
05.04.2012-12:29 - DEBUG - exec: chown -R web58:client40 /var/www/clients/client40/web58/web
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/web
05.04.2012-12:29 - DEBUG - exec: chmod 751 /var/www/clients/client40/web58
05.04.2012-12:29 - DEBUG - exec: chmod 751 /var/www/clients/client40/web58/*
05.04.2012-12:29 - DEBUG - exec: chmod 710 /var/www/clients/client40/web58/web
05.04.2012-12:29 - DEBUG - exec: chmod 777 /var/www/clients/client40/web58/tmp
05.04.2012-12:29 - DEBUG - exec: chmod 755 /var/www/clients/client40/web58/log
05.04.2012-12:29 - DEBUG - exec: usermod --groups sshusers web58
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/cgi-bin
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/log
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/ssl
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/tmp
05.04.2012-12:29 - DEBUG - exec: chown -R web58:client40 /var/www/clients/client40/web58/web
05.04.2012-12:29 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/log/error.log
05.04.2012-12:29 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/site.pro.vhost
05.04.2012-12:29 - DEBUG - Creating symlink: /etc/apache2/sites-enabled/100-site.pro.vhost->/etc/apache2/sites-available/site.pro.vhost
05.04.2012-12:29 - DEBUG - Apache status is: 1
05.04.2012-12:29 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
05.04.2012-12:30 - DEBUG - Apache online status after restart is: 1
05.04.2012-12:30 - DEBUG - Processed datalog_id 770
05.04.2012-12:30 - DEBUG - Processed datalog_id 771
05.04.2012-12:30 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
05.04.2012-12:30 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
05.04.2012-12:30 - DEBUG - exec: chmod 751 /var/www/clients/client40/web58
05.04.2012-12:30 - DEBUG - exec: chmod 751 /var/www/clients/client40/web58/*
05.04.2012-12:30 - DEBUG - exec: chmod 710 /var/www/clients/client40/web58/web
05.04.2012-12:30 - DEBUG - exec: chmod 777 /var/www/clients/client40/web58/tmp
05.04.2012-12:30 - DEBUG - exec: chmod 755 /var/www/clients/client40/web58/log
05.04.2012-12:30 - DEBUG - exec: usermod --groups sshusers web58
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/cgi-bin
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/log
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/ssl
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/tmp
05.04.2012-12:30 - DEBUG - exec: chown -R web58:client40 /var/www/clients/client40/web58/web
05.04.2012-12:30 - DEBUG - exec: chown web58:client40 /var/www/clients/client40/web58/log/error.log
05.04.2012-12:30 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/site.pro.vhost
05.04.2012-12:30 - DEBUG - Apache status is: 1
05.04.2012-12:30 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
05.04.2012-12:30 - DEBUG - Apache online status after restart is: 1
05.04.2012-12:30 - DEBUG - Processed datalog_id 772
05.04.2012-12:30 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
05.04.2012-12:30 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
|

5th April 2012, 15:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Ok, so everything is fine in your server except that you deleted the cron entries. Edit the root crontab with the command:
crontab -e
and add the following twolines:
Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 11:31.
|
|
Recent comments
19 hours 37 min ago
21 hours 26 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 21 hours ago
2 days 11 hours ago
2 days 11 hours ago
2 days 16 hours ago
2 days 23 hours ago