![]() |
[IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Announcements (/forum-6.html) +--- Thread: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch (/thread-9117.html) |
[IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - Nuxwin - 01-07-2010 11:26 AM Dear ispCP users ; An important bug exists in IspCP, affecting only 1.0.3 and 1.0.3-1 releases. The bug is related to the generation of Bind's main configuration file (named.conf). On affected systems, either upgrading the system or deleting a domain/alias results in an incorrect bind configuration file. This issue can be solved by applying the following fix: Important note: Users of the aforementioned IspCP's affected versions are urged to apply the following fix to prevent any further problems. Example for Debian: 1. Stop ispCP daemon: Code: # /etc/init.d/ispcp_daemon stop 2. Replacement of affected files: Code: # cd /var/www/ispcp/engine - ispcp-als-mngr - ispcp-dmn-mngr - ispcp_common_methods.pl 3. Fixing permissions Code: # sh /var/www/ispcp/engine/setup/set-engine-permissions.sh 4. Deleting old files: Code: # rm /etc/ispcp/bind/backup/named.conf.system 5. Reinstalling bind9: Code: # /etc/init.d/bind9 stop 6. Save new named.conf: Code: # cp /etc/bind/named.conf /etc/ispcp/bind/backup/named.conf.system 7. Reset the working file: Code: # cp -f /etc/ispcp/bind/named.conf /etc/ispcp/bind/working/ 8. Run ispcp-update script to rebuild production files: Code: # cd /var/www/ispcp/engine/setup Cheers ; Updated: - Added forgotten file (ispcp_common_methods.pl). - Fixed some mistakes in procedure. RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - bulkmania - 01-07-2010 05:24 PM After this pach, all the domains in status are heaving this; Quote:get_tag() | ERROR: Undefined intput data, bt: |// dmn [{DMN_NAME}] cfg entry BEGIN. and all domains are pointing now to the ispcp login page. what is wrong now, i must mention that in 1.03 everithing workd fine (regarding this) until this patch. RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - Nuxwin - 01-07-2010 06:14 PM Hello ; Not worry, I'll check the patch. 10 minutes please. Ok, it's my fault. I'll provide new patch. Sorry. Edit: Fixed. I've forgot one file. @bulkmania: Please, retry the procedure and after, go to your panel --> 'admin/ispcp_debugger.php' page. For all errors, set the status to 'change' and perform daemon request. Cheers ; RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - fulltilt - 01-07-2010 08:41 PM thanks for bind patch :-) I have edited my named.conf manually and replace the files from the patch ... Is it realy necessary to reinstall bind9 and run perl ispcp-update? RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - Nuxwin - 01-07-2010 08:49 PM Hello ; As you want. If a problem occur, you can always follow this procedure. Cheers ; RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - robbo007 - 01-07-2010 11:56 PM Hello all, I'm about to upgrade from 1.0.0.0 to 1.0.0.3-1. Will this error my bind? Will I need to apply the patch after? Thanks, Rob RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - Nuxwin - 01-07-2010 11:58 PM Hello ; Yes Cheers ; RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - aseques - 01-08-2010 12:32 AM Are you planning to release a 1.0.3.2 with this fixes? I'm in the process of migrating a server from 1.0.0 and I might wait. thanks RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - bulkmania - 01-08-2010 12:56 AM nope, is not working, is running the page untill time-out ? maybe the problem is another, cause al the panel is with problems since upgrade to 1.03. BTW, there is a easy way to roll back the upgrade ? RE: [IMPORTANT] ispCP - Bind9 - Doubles entries/headers patch - theprincy - 01-08-2010 12:59 AM (01-07-2010 11:26 AM)nuxwin Wrote: 8. Run ispcp-update script to rebuild production files: Stopping Services:......... [done] ispCP main configuration file Loading old ispCP configuration file: [done] Update ispCP configuration file: [done] ispCP database Update ispCP database schema:Use of uninitialized value $cfg{"CMD_PHP"} in concatenation (.) or string at ispcp-update line 439. [failed] FATAL: An error was occured during update process! Correct it and re-run this program. s.o : debian lenny ispc : night version day 02-01-2010 |