ispCP - Board - Support
Problems with Domains/Subdomains - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Problems with Domains/Subdomains (/thread-648.html)



RE: Problems with Domains/Subdomains - grungy - 09-21-2007 12:46 AM

Just for you to know if you get a error
Code:
get_tag() | ERROR: '; sub [{SUB_NAME}] entry BEGIN. ' ne '; sub [{SUB_NAME}] entry END. ', '; sub [{SUB_NAME}] entry BEGIN. ' or '; sub [{SUB_NAME}] entry END. ' missing in src !

this means you have a problem with generating bind files, in my case since I modified my db_e.tpl - dns template this could be the problem...

My subdomain entries in dns files do not get generated...[/code]


RE: Problems with Domains/Subdomains - joximu - 09-21-2007 02:32 AM

do you have actual tpl-files?

they have changed - at least some months ago...:-)

/Joximu


RE: Problems with Domains/Subdomains - grungy - 09-21-2007 02:49 AM

joximu Wrote:do you have actual tpl-files?

they have changed - at least some months ago...:-)

/Joximu


This is my TPL:


Code:
$TTL 86400
@    IN    SOA    ns1.MY_OWN_HOST.ws. root.MY_OWN_HOST.ws. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
            {TIMESTAMP}
; dmn [{DMN_NAME}] timestamp entry END.
            8H
            2H
            4W
            1D
)
        IN    NS    ns1.MY_OWN_HOST.ws.
        IN    NS    ns2.MY_OWN_HOST.ws.
        IN    MX    10 mail.{DMN_NAME}.

{DMN_NAME}.    IN    A    {DMN_IP}
{DMN_NAME}.    IN    TXT    "v=spf1 a mx ip4:MY_IP1 ip4:MY_IP2 ~all"
ns1.MY_OWN_HOST.ws        IN    A    MY_IP1
ns2.MY_OWN_HOST.ws        IN    A    MY_IP2
mail        IN    A    {BASE_SERVER_IP}
files        IN    A    {BASE_SERVER_IP}
pma        IN    A    {BASE_SERVER_IP}
webmail        IN    A    {BASE_SERVER_IP}
cp        IN    A    {BASE_SERVER_IP}
localhost    IN    A    127.0.0.1
www        CNAME    {DMN_NAME}.
ftp        CNAME    {DMN_NAME}.
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.



RE: Problems with Domains/Subdomains - joximu - 09-21-2007 02:57 AM

a newline at the end?

/J


RE: Problems with Domains/Subdomains - grungy - 09-21-2007 03:08 AM

joximu Wrote:a newline at the end?

/J

nope


RE: Problems with Domains/Subdomains - joximu - 09-21-2007 03:09 AM

try it :-)


RE: Problems with Domains/Subdomains - grungy - 09-21-2007 03:14 AM

It is fixed now, I copied the content, deleted the file from shell, and from shell created the file again and pasted it....before it gave me some message - converted from DOS format bla bla


RE: Problems with Domains/Subdomains - joximu - 09-21-2007 03:16 AM

I think the newline at the end is important otherwise the engine scripts cannot recognize the last line.

/Joximu