Current time: 11-15-2024, 08:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
Update script fails @ BIND config
Author Message
2called-chaos Offline
Junior Member
*

Posts: 18
Joined: Sep 2008
Reputation: 0
Post: #1
Update script fails @ BIND config
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:
   

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


Have somebody an idea?


Regards,

Chaos
07-11-2010 07:18 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Update script fails @ BIND config
double entry in named.conf ?
07-12-2010 08:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
2called-chaos Offline
Junior Member
*

Posts: 18
Joined: Sep 2008
Reputation: 0
Post: #3
RE: Update script fails @ BIND config
(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.
(This post was last modified: 07-12-2010 09:44 AM by 2called-chaos.)
07-12-2010 09:43 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: Update script fails @ BIND config
Enable debug in /etc/ispcp/ispcp.conf and restart the update Smile
07-12-2010 03:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
2called-chaos Offline
Junior Member
*

Posts: 18
Joined: Sep 2008
Reputation: 0
Post: #5
RE: Update script fails @ BIND config
(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
07-12-2010 06:21 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #6
RE: Update script fails @ BIND config
(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.
07-12-2010 06:58 PM
Quote this message in a reply
2called-chaos Offline
Junior Member
*

Posts: 18
Joined: Sep 2008
Reputation: 0
Post: #7
RE: Update script fails @ BIND config
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
07-12-2010 07:29 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #8
RE: Update script fails @ BIND config
(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
07-12-2010 11:47 PM
Quote this message in a reply
2called-chaos Offline
Junior Member
*

Posts: 18
Joined: Sep 2008
Reputation: 0
Post: #9
RE: Update script fails @ BIND config
Thank you very much! I made exactly what you say and it works!

Again: Thanks!


Chaos
07-13-2010 12:21 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #10
RE: Update script fails @ BIND config
Go to http://isp-control.net/forum/reputation.php?uid=147 to thank me Wink and please, mark this thread as resolved.

Best regards ;
07-13-2010 12:22 AM
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)