• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error While Creating a Domain

K

kumarrbt

Guest
When I try to add a domain, I'm getting some error message. Please find the attached bmp file. Any Idea what was wrong?

Any help is really appreciated.
 
Picture uploads on this forum are disabled. You will need to put the BMP on your site and post a link to it, so forum members can see the error and possibly assist.
 
Here is the error URL: http://webpages.charter.net/kumar/plesk-error.bmp

Please advise what went wrong? It used to work well before. This error is showing up only for past few days. I had kayako installed on this server and I'm having problem since then. i'm not sure if this is related or not.

When I cd'ed to: /var/named directory, i didnt see any other subdirectories. i see only named.ca file. Did Kayako screwed up something? I checked with them, they say they had many installations running with plesk, they themselves run on plesk and they dont see that as a problem. It might be co-incidental.

Your suggestions are highly appreciated.
 
On all the RedHat type systems, there should be the /var/named/run-root/ directory structure, this is where Plesk stores all of the named/bind files. See if you can restore the directory structure from a backup.
 
I have around 10 servers with Redhat ES 3.0 running. I checked in other servers too, but I didnt see any run-root directory. Any suggestions are appreciated. Unfortunately, i didnt backup this server :(
 
can anybody post the contents of run-root directory. Is this something I can create manually?

Please advise.
 
The structure is easy to manually create, but you don't want to manually type the individual domain zone files. The following dir listings are from a RH dedicated (not a VPS, not ES3) server and I have omitted the actual zone files list since the exact files would be server specific.

Code:
[b]# ll /var/named
drwxrwxrwx    4 named    named        4096 Jul  8  2005 .
drwxr-xr-x   33 root     root         4096 Sep 28 01:46 ..
drwxrwxrwx    6 root     root         4096 Jul  8  2005 run-root

# ll /var/named/run-root/
drwxrwxrwx    6 root     root         4096 Jul  8  2005 .
drwxrwxrwx    4 named    named        4096 Jul  8  2005 ..
drwxrwxrwx    2 named    named        4096 Dec 30 20:31 etc
drwxrwxrwx    2 named    named        4096 May 24  2005 include
drwxrwxrwx    3 named    named        4096 Dec 30 20:31 var

# ll /var/named/run-root/etc
drwxrwxrwx    2 named    named        4096 Dec 30 20:31 .
drwxrwxrwx    6 root     root         4096 Jul  8  2005 ..
-r--r--r--    1 named    named        1017 May 31  2005 localtime
-rw-r--r--    1 root     root         9016 Dec 30 20:31 named.conf
-r--r--r--    1 named    named        3471 Aug 21  2003 named.conf.default
-r--r--r--    1 named    named        3471 Nov 23  2004 named.conf.upgrader_saved
-r--r--r--    1 named    named         480 Jan 23  2002 rndc.conf
-r--r--r--    1 named    named        1199 Jun 15  2001 rndc.conf.sample

# ll /var/named/run-root/include
drwxrwxrwx    2 named    named        4096 May 24  2005 .
drwxrwxrwx    6 root     root         4096 Jul  8  2005 ..
(this directory is not on all Plesk servers, may be related to PSA Power Toys)

# ll /var/named/run-root/var
(this directory contains the actual domain zone files in addition to the following directory)
drwxrwxrwx    3 named    named        4096 May 31  2005 run
(and may also contain additional zone files similar to the following)
-rw-r--r--    1 root     root          287 Dec 30 19:32 xx.yy.zz.in-addr.arpa
-rw-r--r--    1 root     root          287 Dec 30 19:32 ww.xx.yy.zz.in-addr.arpa

# ll /var/named/run-root/var/run
drwxrwxrwx    3 named    named        4096 May 31  2005 .
drwxrwxrwx    3 named    named        4096 Dec 30 20:31 ..
drwxrwxrwx    2 root     root         4096 Jan  9 00:39 named

# ll /var/named/run-root/var/run/named
drwxrwxrwx    2 root     root         4096 Jan  9 00:39 .
drwxrwxrwx    3 named    named        4096 May 31  2005 ..
-rw-r--r--    1 named    named           5 Jan  9 00:39 named.pid[/b]

Once the directory structure is created, you can try toggling each domain's DNS off/on to see if it recreates the zone files, or write a script to rebuild the zone files to a standard template (not ideal either)

Backups, backups, backups....
 
Back
Top