Anonymous_User Absent Member.
Absent Member.
2994 views

Need to recreate DNS / DHCP from Scratch

We have an environment with 2 NetWare 6.5 servers and one OES2 server

I do not have all the information on changes as I was brought in post
changes. I do know that DNS and LDAP were both misbehaving due to
'tweaking' here and there.

DNS appeared to be working, but while looking at environment for next
steps of project, we found DNS was not behaving properly.

Loading Named.nlm gives:
***********************
Starting eDirectory integrated Novell DNS Server...
Critical :Unable to read locator reference from NCP server
Critical: eDirectory Login failed with error -10
Critical: Failed to load RRS of a zone with error -10
Critical: Unable to read locator reference from NCP server
Critical: Unable to read locator reference from NCP server
Error: Error occured while updating the IP list of the DNS server
object
Critical: Unable to read locator reference from NCP server
error: Unable to get Journal Log attribute or SOA sr. no. with error
25
Loading the configuration and zone data completed.
DNS Server running.
***********************
Services are not running.

Did a DNIPINST -F, if I put in the current context, I get:
***********************
Locator object already exists and is not re-created.
Group object already exists and is not re-created
RootServerInfo zone object already exists and is not re-created.
***********************

I then tried to create a new OU and put a fresh setup into that OU
***********************
Specified context services for Locator object is invalid.
Specified context Services for Group object is invalid
Specified context services for RootServerInfo zone object is invalid.
***********************

Loading DHCPSRVR Gives:
***********************
Server-5.70-1: Loading Initiated at <TimeStamp>
Server-5.70-77: None of the configured DHCP SErver objects contain a
NCP server reference for the file server that is attemtping to load
DHCPSRVR.nlm
Server-5.70-67: DHCPSRVER is ready for remote Access support at
<TimeStamp>
No LAN based IP address assignment is possible
***********************

I keep reading, don't use the -r, but since I am going in circles, was
wondering if that is my next step. Since I can't seem to fix it,
would this let me restart from scratch?

Also, what objects need to be deleted / modified to help facilitate a
do over?

I have been trolling the DNS-DHCP newsgroup for the past 3 days and
cannot find any solutions that I have not tried or verified.

Not sure what I am missing.

Any direction would be appreciated.

Jim
Labels (1)
0 Likes
5 Replies
phxazcraig Absent Member.
Absent Member.

Re: Need to recreate DNS / DHCP from Scratch

First off, are you trying to do either DNS or DHCP on the Linux server?
It will (in my opinion) be easier to set up and troubleshoot if only on
the NetWare servers.

Second, the locator object should not be needed for DNS, only for DHCP.

Third, there are two different locator objects, one for NetWare, one
for OES Linux.

Fourth, if you look in your tree and see two locator objects (of the
same type), it's likely to cause issues.

Fifth, if you can back up your entries (DHCP) to a text file, you can
reasonably expect to be able to delete the whole setup, and then
restore those entries from the file. Same with DNS.

On the DNS side, there are a number of objects that link together, with
server attributes pointing to them. If somehow you got duplicated
objects in the tree, I guess you could be assigning zones to a server
object, but the server itself never seeing those assignments because it
is looking at something the management console isn't showing.

My gut feeling here is that if it were me, I'd first be poking through
the tree and the server attributes to see what is there and what is the
server pointing at, and then I'd be inclined to backup to database,
delete/recreate and restore.

Craig Johnson
Novell Support Connection SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Need to recreate DNS / DHCP from Scratch

Craig,

Appreciate your quick response. I have put my responses inline for
your review.

On Fri, 19 Jun 2009 17:09:56 GMT, Craig Johnson
<craigsj@ix.netcom.com> wrote:

>First off, are you trying to do either DNS or DHCP on the Linux server?
>It will (in my opinion) be easier to set up and troubleshoot if only on
>the NetWare servers.
>

Troubleshooting for NetWare only is fine. Once working, I can look
to move it. Has not been setup on OES, so we just need to remember it
as part of the environment, but not a server to put these services on
right now.


>Second, the locator object should not be needed for DNS, only for DHCP.
>

Agreed, just can't figure out why the DHCP is hosed also. Since some
of the objects and tools do appear to service both, I was treating
this as a single issue.

>Third, there are two different locator objects, one for NetWare, one
>for OES Linux.

Originally, had not tried to setup DNS or DHCP on Linux.

>
>Fourth, if you look in your tree and see two locator objects (of the
>same type), it's likely to cause issues.

Search of the tree only found the one I knew about.

>
>Fifth, if you can back up your entries (DHCP) to a text file, you can
>reasonably expect to be able to delete the whole setup, and then
>restore those entries from the file. Same with DNS.


Have the information. Recreation would be fine. That is why I was
asking about the DNIPINST -R

>
>On the DNS side, there are a number of objects that link together, with
>server attributes pointing to them. If somehow you got duplicated
>objects in the tree, I guess you could be assigning zones to a server
>object, but the server itself never seeing those assignments because it
>is looking at something the management console isn't showing.


>My gut feeling here is that if it were me, I'd first be poking through
>the tree and the server attributes to see what is there and what is the
>server pointing at, and then I'd be inclined to backup to database,
>delete/recreate and restore.


Any suggestions on a way to do this? I have gone through each as had
been suggested in the TID 7002316.
>
>Craig Johnson
>Novell Support Connection SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Need to recreate DNS / DHCP from Scratch

Reviewing everything again, I realized I had one more test that I had
not completed. I built a fresh bare W/S with only ConsoleOne, and
DNSDHCP Manager Installed.

In additon to the object problems, it looks like we had tool problems
which may be part of why I couldn't reconfigure. I am still concerned
about the DNIPINST -F not working, but don't know how to nail down.

I hate, "it works, but I don't know why".

We APPEAR to be functional. I believe we still are having schema
problems, but will let this run over the weekend, and see if I need to
dig deeper.

Thanks again for your input.

Jim



On Fri, 19 Jun 2009 17:30:42 GMT, Jim R <Novell@TheRomeos.org> wrote:

>Craig,
>
>Appreciate your quick response. I have put my responses inline for
>your review.
>
>On Fri, 19 Jun 2009 17:09:56 GMT, Craig Johnson
><craigsj@ix.netcom.com> wrote:
>
>>First off, are you trying to do either DNS or DHCP on the Linux server?
>>It will (in my opinion) be easier to set up and troubleshoot if only on
>>the NetWare servers.
>>

>Troubleshooting for NetWare only is fine. Once working, I can look
>to move it. Has not been setup on OES, so we just need to remember it
>as part of the environment, but not a server to put these services on
>right now.
>
>
>>Second, the locator object should not be needed for DNS, only for DHCP.
>>

>Agreed, just can't figure out why the DHCP is hosed also. Since some
>of the objects and tools do appear to service both, I was treating
>this as a single issue.
>
>>Third, there are two different locator objects, one for NetWare, one
>>for OES Linux.

>Originally, had not tried to setup DNS or DHCP on Linux.
>
>>
>>Fourth, if you look in your tree and see two locator objects (of the
>>same type), it's likely to cause issues.

>Search of the tree only found the one I knew about.
>
>>
>>Fifth, if you can back up your entries (DHCP) to a text file, you can
>>reasonably expect to be able to delete the whole setup, and then
>>restore those entries from the file. Same with DNS.

>
>Have the information. Recreation would be fine. That is why I was
>asking about the DNIPINST -R
>
>>
>>On the DNS side, there are a number of objects that link together, with
>>server attributes pointing to them. If somehow you got duplicated
>>objects in the tree, I guess you could be assigning zones to a server
>>object, but the server itself never seeing those assignments because it
>>is looking at something the management console isn't showing.

>
>>My gut feeling here is that if it were me, I'd first be poking through
>>the tree and the server attributes to see what is there and what is the
>>server pointing at, and then I'd be inclined to backup to database,
>>delete/recreate and restore.

>
>Any suggestions on a way to do this? I have gone through each as had
>been suggested in the TID 7002316.
>>
>>Craig Johnson
>>Novell Support Connection SysOp

0 Likes
phxazcraig Absent Member.
Absent Member.

Re: Need to recreate DNS / DHCP from Scratch

In article <q3in35pvcsrp119278glt96v1dqt79tcs5@4ax.com>, Jim R wrote:
> >Second, the locator object should not be needed for DNS, only for DHCP.
> >

> Agreed, just can't figure out why the DHCP is hosed also. Since some
> of the objects and tools do appear to service both, I was treating
> this as a single issue.


Rats - I miswrote - it is DHCP that uses the Locator object, DNS no longer
does. So you would expect to see DHCP issues, but not DNS issues.
>
> >Third, there are two different locator objects, one for NetWare, one
> >for OES Linux.

> Originally, had not tried to setup DNS or DHCP on Linux.
>

Good, that simplifies things.
> >
> >Fourth, if you look in your tree and see two locator objects (of the
> >same type), it's likely to cause issues.

> Search of the tree only found the one I knew about.
>

OK.
> >
> >Fifth, if you can back up your entries (DHCP) to a text file, you can
> >reasonably expect to be able to delete the whole setup, and then
> >restore those entries from the file. Same with DNS.

>
> Have the information. Recreation would be fine. That is why I was
> asking about the DNIPINST -R


That should only be necessary (if then) for DHCP issues. But you could
manually delete objects in eDir and recreate them with DNIPINST -f without
the risk of some of the -R actions.
>


> Any suggestions on a way to do this? I have gone through each as had
> been suggested in the TID 7002316.


Well, one really easy thing to try is to delete the DNS server object in
the DNS/DHCP management utility and recreate it. Then reassign the DNS
zones and see if it loads OK.

Craig Johnson
Novell Support Connection SysOp

0 Likes
phxazcraig Absent Member.
Absent Member.

Re: Need to recreate DNS / DHCP from Scratch

In article <2gsn35hiitif9a76fhoatu6uacvkscfp1q@4ax.com>, Jim R wrote:
> We APPEAR to be functional. I believe we still are having schema
> problems, but will let this run over the weekend, and see if I need to
> dig deeper.
>

You could try some DSTRACE options to look for schema issues,
remove/replace replicas, etc.

Craig Johnson
Novell Support Connection SysOp

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.