IPv6 in Plesk


I read a post 2 weeks ago here about a way of include ipv6 in plesk in a “persistent” way. I made exactly what the post says and it works. Now I can publish my IPv6 addresses.

Then I saw that my backups stop working with the error in /opt/psa/PMM/sessions/SOME_DATE_HOUR/migration.result:

<?xml version="1.0" encoding="UTF-8"?>
  <execution-result status="error">
    <object name="backup" type="backupowner">
      <message severity="error" code="msgtext">The dump have been invalidated by check-dump operation</message>
    </object>
    <object name="backup" type="backupowner">
      <message severity="error" code="msgtext">Runtime error: The check dump failed with code &#39;1&#39;. The dump can contain invalid data! at /opt/psa/admin/bin/plesk_agent_manager line 638.
</message>
    </object>
  </execution-result>

I found that the backup xml has a DTD and it’s validated after backup. This DTD is at /opt/psa/PMM/plesk.dtd. The patch is here:

--- plesk.dtd.old	2009-10-29 15:09:19.000000000 -0200
+++ plesk.dtd	2009-10-29 14:58:47.000000000 -0200
@@ -316,7 +316,7 @@
      dst: destination record
      opt: optional record (MX priority and PTR subnet) -->
 <!ATTLIST dnsrec
-    type (A|NS|MX|CNAME|PTR|TXT|master|SRV) #REQUIRED
+    type (A|AAAA|NS|MX|CNAME|PTR|TXT|master|SRV) #REQUIRED
     src	 CDATA                   #REQUIRED
     dst  CDATA                   #IMPLIED
     opt  CDATA                   #IMPLIED
--- plesk.xsd.old	2009-10-29 15:18:20.000000000 -0200
+++ plesk.xsd	2009-10-29 15:17:34.000000000 -0200
@@ -1818,6 +1818,7 @@
 				<xs:simpleType>
 					<xs:restriction base="xs:token">
 						<xs:enumeration value="A"/>
+						<xs:enumeration value="AAAA"/>
 						<xs:enumeration value="NS"/>
 						<xs:enumeration value="MX"/>
 						<xs:enumeration value="CNAME"/>
--- restore-specification.xsd.old	2009-10-29 15:18:27.000000000 -0200
+++ restore-specification.xsd	2009-10-29 15:18:01.000000000 -0200
@@ -1814,6 +1814,7 @@
 				<xs:simpleType>
 					<xs:restriction base="xs:token">
 						<xs:enumeration value="A"/>
+						<xs:enumeration value="AAAA"/>
 						<xs:enumeration value="NS"/>
 						<xs:enumeration value="MX"/>
 						<xs:enumeration value="CNAME"/>

I hope this helps some of you that are trying to implement ipv6 in your servers.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Nenhum comentário ainda.

Deixe um comentário

(obrigatório)

(obrigatório)


Get Adobe Flash playerPlugin by wpburn.com wordpress themes
multifarious