#1  
Old 23rd December 2008, 00:06
matiasCU matiasCU is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 5
Thanked 2 Times in 2 Posts
Default writeconf.php

I have more than 800 users in a domain with V. ISPConfig 2.2.26 The problem is that when I make any changes in the configuration of a user such as your password, the 800 users of the domain are set to update. There are some bugs detected?
A change of password could wrong as follows:
start
UPDATE: 57
UPDATE USER: 219
UPDATE USER: 220
UPDATE USER: 221
UPDATE USER: 222
UPDATE USER: 223
UPDATE USER: 224
UPDATE USER: 225
UPDATE USER: 226
UPDATE USER: 227
UPDATE USER: 228
UPDATE USER: 229
UPDATE USER: 230
UPDATE USER: 231
UPDATE USER: 232
UPDATE USER: 233
UPDATE USER: 234
UPDATE USER: 235
UPDATE USER: 236
.........................
.........................
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2008, 10:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Thats not a bug. Thats the way ISPConfig works as some actions need to update all users of a website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2008, 11:51
matiasCU matiasCU is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Hi Till:
Any change triggers an update to all users? For example: the change of the password?
I ask because i have many users and that is time-consuming task, each time a user changes his password, the change is not instantaneous. The delay of actions is 5 to 10 minutes.

Thanks Till.
Reply With Quote
  #4  
Old 23rd December 2008, 11:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Any change triggers an update to all users? For example: the change of the password?
Yes. Typical sites have 5 - 10 users, so this does not matter. If your server has hunbdreds of users in one site, you should consider to migrate to use ISPConfig 3 when it becomes stable as iSPConfig 3 does not use Linux system users for email.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd December 2008, 13:36
matiasCU matiasCU is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 5
Thanked 2 Times in 2 Posts
 
Default problem solved

Note: Not sure if this can cause problems in the functioning of ISPConfig.

My solution was to comment the following file lines /root/ispconfig/scripts/lib/config.lib.php

//$mod->db->query("UPDATE isp_isp_user SET status = 'u' WHERE doc_id = ".$user["doc_id"]." AND status != 'd' AND status != 'n'");
//if(!$web['web_cron']) $mod->db->query("UPDATE isp_isp_cron SET cron_active = 0, status = 'u' WHERE user_id = '".$user["doc_id"]."'");

Thanks for your help
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-Nuke and other installers danf.1979 Developers' Forum 88 2nd June 2010 19:09
ispconfig writeconf.php process "runaway" lrider General 2 23rd June 2008 17:03
writeconf.php NOT Running?? dorgan General 2 22nd February 2008 18:21


All times are GMT +2. The time now is 06:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.