Distribution: Debian GNU/Linux 7.5 (wheezy)
iMSCP Version 1.1.14 to 1.1.15
Server Implementation: all included
LogForms: Atached
When updating the server manually or automatically, throws this error in step 21.
Distribution: Debian GNU/Linux 7.5 (wheezy)
iMSCP Version 1.1.14 to 1.1.15
Server Implementation: all included
LogForms: Atached
When updating the server manually or automatically, throws this error in step 21.
Hi,
From what I see, there is a problem in one of your zone:
Did you do some manual changes to that domain ? or maybe to the Bind template of i-MSCP ?
If not, the content of that zone will be helpfull if we want to see where the error is located.
Athar, in the spoilers are atached the bind file of arrayzone.com before and after trying the update.
BackupFile (before)
-rw-r----- 1 root imscp 5719 oct 26 13:56 arrayzone.com.db.1414328188
RunningFile (after)
-rw-r----- 1root imscp 871 oct 31 11:47 arrayzone.com.db
Before Updating:
WARN: VeryLong:
root@ns1:/etc/imscp/bind/backup# cat arrayzone.com.db.1414328188
$TTL 3H
$ORIGIN arrayzone.com.
@ IN SOA ns1.arrayzone.com. postmaster.arrayzone.com. (
2014102619; Serial
3H; Refresh
1H; Retry
2W; Expire
1H; Minimum TTL
)
@ IN NS ns1
@ IN A 37.187.18.107
ns1 IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
@ IN MX 10 mail
@ IN TXT "v=spf1 a mx -all"
@ IN SPF "v=spf1 a mx -all"
mail IN A 37.187.18.107
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; sub [multi.arrayzone.com] entry BEGIN
$ORIGIN multi.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [multi.arrayzone.com] entry ENDING
; sub [retrobunker.arrayzone.com] entry BEGIN
$ORIGIN retrobunker.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [retrobunker.arrayzone.com] entry ENDING
; sub [gameofgames.arrayzone.com] entry BEGIN
$ORIGIN gameofgames.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [gameofgames.arrayzone.com] entry ENDING
; sub [kernel.arrayzone.com] entry BEGIN
$ORIGIN kernel.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [kernel.arrayzone.com] entry ENDING
; sub [wiode.arrayzone.com] entry BEGIN
$ORIGIN wiode.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [wiode.arrayzone.com] entry ENDING
; sub [cloud.arrayzone.com] entry BEGIN
$ORIGIN cloud.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [cloud.arrayzone.com] entry ENDING
; sub [flotas.arrayzone.com] entry BEGIN
$ORIGIN flotas.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [flotas.arrayzone.com] entry ENDING
; sub [flota.arrayzone.com] entry BEGIN
$ORIGIN flota.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [flota.arrayzone.com] entry ENDING
; sub [kw.arrayzone.com] entry BEGIN
$ORIGIN kw.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [kw.arrayzone.com] entry ENDING
; sub [codiad.arrayzone.com] entry BEGIN
$ORIGIN codiad.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [codiad.arrayzone.com] entry ENDING
; sub [clase.arrayzone.com] entry BEGIN
$ORIGIN clase.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
[...] Continues..
After Updating:
root@ns1:~# cat /etc/imscp/bind/working/arrayzone.com.db
$TTL 3H
$ORIGIN arrayzone.com.
@ IN SOA ns1.arrayzone.com. postmaster.arrayzone.com. (
2014103102; Serial
3H; Refresh
1H; Retry
2W; Expire
1H; Minimum TTL
)
@ IN NS ns1
@ IN A 37.187.18.107
ns1 IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
@ IN MX 10 mail
@ IN TXT "v=spf1 a mx -all"
@ IN SPF "v=spf1 a mx -all"
mail IN A 37.187.18.107
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; sub [ftp.arrayzone.com] entry BEGIN
$ORIGIN ftp.arrayzone.com.
@ IN MX 10 mail.arrayzone.com.
@ IN TXT "v=spf1 include:arrayzone.com -all"
@ IN SPF "v=spf1 include:arrayzone.com -all"
@ IN A 37.187.18.107
www IN CNAME @
ftp IN CNAME @
; sub [ftp.arrayzone.com] entry ENDING
; sub [{SUBDOMAIN_NAME}] entry BEGIN
; sub [{SUBDOMAIN_NAME}] entry ENDING
$ORIGIN arrayzone.com.
; ctm als entries BEGIN
; ctm als entries ENDING
If i replace the "after" file with the "before" file, and i do the test command:
And if we try to go to contol panel display this error:
Hello ;
Here the problem is because you have created the ftp.arrayzone.com subdomain which result to a news DNS A resource record. This new DNS A resource record conflicts with the default ftp.arrayzone.com DNS CNAME record which is automatically added by i-MSCP. Thus, when the DNS zone file is compiled, the named-compilezone program throws an error.
To solve this problem, you must either remove this subdomain or rename it. If you want, I can fix that for you. Just give me the relevant data for access your server.
How to rename
Can you please create a ticket about this issue? I must fix that because it's really annoying.
Oh yes.
I was created the subdomain ftp but the panel don't let me delete after tell me the conflict with the name.
I'm trying to delete/rename the directory "ftp" and I can't, I can't do nothing in the directory (I will try now a few things).
Thanks a lot.
EDIT: Where exactly I have to create a ticket?
Re;
You cannot rename the subdomain directory because you have the Web folder protection enabled
Do the folllowing:
BTW: This problem about DNS records conflicts, will be fixed in next release by replacing the CNAME DNS resource records with A DNS resource records.
Ticket created: http://trac.i-mscp.net/ticket/1172
Sorry, I forget the first step.
I read in other post about chattr, but thanks to repeat it again
Maybe this help to any:
Connect to MySQL and do the changes:
Quotemysql -u root -p
use imscp;
update subdomain set subdomain_name="delete", subdomain_status="tochange" where subdomain_name="ftp";
I'm would to create the ticket now, but thanks (sorry, I'm stressed).
It seems that all work correctly, I have to test all....
A LOT OF THANKS!!