ispCP - Board - Support
Update script fails @ BIND config - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Update script fails @ BIND config (/thread-11161.html)

Pages: 1 2


Update script fails @ BIND config - 2called-chaos - 07-11-2010 07:18 PM

Hello all together Smile

I just want to update my ispCP 1.0.3 to 1.0.5 and followed the tutorial in the documentation.

But in the last step I've got an error message in the installer/updater script:
[attachment=1358]

I have absolutely no idea what it could be :-/


Have somebody an idea?


Regards,

Chaos


RE: Update script fails @ BIND config - ZooL - 07-12-2010 08:17 AM

double entry in named.conf ?


RE: Update script fails @ BIND config - 2called-chaos - 07-12-2010 09:43 AM

(07-12-2010 08:17 AM)ZooL Wrote:  double entry in named.conf ?

Thanks dude!
That's the content of /etc/bind/named.conf and I can't see anything twice :S

Code:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
    type hint;
    file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
    type master;
    file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
    type master;
    file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
    type master;
    file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
    type master;
    file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

// bind Data BEGIN.

// dmn [conf.d1-1.xxxxxx.de] cfg entry BEGIN.
zone "conf.d1-1.xxxxxx.de" {
    type    master;
    file    "/var/cache/bind/conf.d1-1.xxxxxx.de.db";
    notify    YES;
};
// dmn [conf.d1-1.xxxxxx.de] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.



RE: Update script fails @ BIND config - gOOvER - 07-12-2010 03:27 PM

Enable debug in /etc/ispcp/ispcp.conf and restart the update Smile


RE: Update script fails @ BIND config - 2called-chaos - 07-12-2010 06:21 PM

(07-12-2010 03:27 PM)gOOvER Wrote:  Enable debug in /etc/ispcp/ispcp.conf and restart the update Smile

Ohh I didn't seen this option, why it is at the bottom of the whole configuration file? -_-

But finally I've got the error but don't know how to fix:
Quote:DEBUG: push_el() sub_name: get_file(), msg: ERROR: File '/etc/ispcp/bind/working/conf.xxxxxxx.de.db' does not exist !


Thanks so far,

Chaos


RE: Update script fails @ BIND config - Nuxwin - 07-12-2010 06:58 PM

(07-12-2010 08:17 AM)ZooL Wrote:  double entry in named.conf ?

Hello Zool ;

This bug still exits for update path 1.0.3 (working state) to 1.0.5 ? If yes, please create a new ticket.

Thank.
(07-12-2010 06:21 PM)2called-chaos Wrote:  
(07-12-2010 03:27 PM)gOOvER Wrote:  Enable debug in /etc/ispcp/ispcp.conf and restart the update Smile

Ohh I didn't seen this option, why it is at the bottom of the whole configuration file? -_-

But finally I've got the error but don't know how to fix:
Quote:DEBUG: push_el() sub_name: get_file(), msg: ERROR: File '/etc/ispcp/bind/working/conf.xxxxxxx.de.db' does not exist !


Thanks so far,

Chaos

Hello ;

First, your bind configuration file is very strange. You have only one domain ?

About the error, it's simple, the update script can't retrieve the working bind configuration file into the /etc/ispcp/bind/working directory.


RE: Update script fails @ BIND config - 2called-chaos - 07-12-2010 07:29 PM

Hmm I changed the domain one time, and this file wasn't renamed but I now done this manually. The update script finishs without any exception but if I try to open the configuration panel I've got this:
Quote:Config variable 'TOOLS_ROOT_DIR' is missing!
Please contact your system administrator

The customers site work properly...


You made my day!

Chaos


RE: Update script fails @ BIND config - Nuxwin - 07-12-2010 11:47 PM

(07-12-2010 07:29 PM)2called-chaos Wrote:  if I try to open the configuration panel I've got this:
Quote:Config variable 'TOOLS_ROOT_DIR' is missing!
Please contact your system administrator


Re ;

That surely because you have not updated the /etc/ispcp/ispcp.conf file correctly or because you have not copied all the ispCP 1.0.5 directories/files into / during your update.

In this file you should have an entry like this:

Code:
TOOLS_ROOT_DIR = /var/www/ispcp/engine/tools

I recommends to you to do the following steps to solve your problem :

1. Move your /etc/ispcp/ispcp.conf to /etc/ispcp/ispcp.old.conf
2. Put the new ispcp.conf file from the ispCP archive (latest stable 1.0.5) into your /etc/ispcp directory (don't forget to apply good permissions and to take the correct file according your distribution)
3. Rerun the /var/www/ispcp/engine/setup/ispcp-update script

Best Regards


RE: Update script fails @ BIND config - 2called-chaos - 07-13-2010 12:21 AM

Thank you very much! I made exactly what you say and it works!

Again: Thanks!


Chaos


RE: Update script fails @ BIND config - Nuxwin - 07-13-2010 12:22 AM

Go to http://isp-control.net/forum/reputation.php?uid=147 to thank me Wink and please, mark this thread as resolved.

Best regards ;