Anonymous_User Absent Member.
Absent Member.
464 views

eDir upgrade to 888 fails

I just performed an upgrade from eDirectory 8.8.7 Patch 3 to eDirectory
8.8.8, and NDS is refusing to start. The upgrade appeared to run fine,
except that it failed to install google-perftools. The relevant snip
from nds-install.log:

--------------------------------------------------------------------
package perftools is not installed
package google-perftools is not installed
2017-09-21
09:38:49-04:00(Check-package-Existence)pkg=google-perftools,pkg_exists=0
2017-09-21 09:38:49-04:00
2017-09-21 09:38:49-04:00(Version,pkg_src_getter) pkg=google-perftools,
pkg_src=google-perftools*.rpm, version=1.8.1, release=7
2017-09-21 09:38:49-04:00(install
pkg)pkg=/opt/eDir888_tmp/setup/google-perftools-1.8.1-7.2.x86_64.rpm,pkgname=google-perftools
package google-perftools is not installed
package google-perftools is not installed
Preparing...
##################################################
file /usr/bin/pprof from install of google-perftools-1.8.1-7.2.x86_64
conflicts with file from package pprof-2.0-11.el6.3.noarch
file /usr/share/man/man1/pprof.1.gz from install of
google-perftools-1.8.1-7.2.x86_64 conflicts with file from package
pprof-2.0-11.el6.3.noarch
2017-09-21 09:38:50-04:00%%% Unable to install
/opt/eDir888_tmp/setup/google-perftools-1.8.1-7.2.x86_64.rpm , Exiting...
---------------------------------------------------------------------
The install appeared to be successful otherwise, but when I tried to
start eDirectory, it said "eDirectory is not listening on the TCP port /
is not listening on the TLS port." I rebooted the server -- same result.

In the ndsd.log file, I see this:

---------------------------------------------------------------------
About to start NetIQ eDirectory server on host: <server FQDN>
Path of NetIQ eDirectory configuration file:
/etc/opt/novell/eDirectory/conf/nds.conf
NCPShim Init failed, error -601
Started NetIQ eDirectory server on host: <server FQDN>
---------------------------------------------------------------------

What should I be checking?


Thanks
Labels (1)
0 Likes
10 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: eDir upgrade to 888 fails

I presume you are using Red Hat's Linux distribution instead of SLES.

See TID# 7016400

https://www.novell.com/support/kb/doc.php?id=7016400


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: eDir upgrade to 888 fails

ab,

> I presume you are using Red Hat's Linux distribution instead of SLES.
>
> See TID# 7016400
>
> https://www.novell.com/support/kb/doc.php?id=7016400
>
>


Following that TID, I issued:

yum remove pprof
rpm -Uhv ./google-perftools-<version>

This succeeded, but when I then re-ran nds-install as instructed, I got
"eDirectory 8.8.8 is already installed." Is there an option to force
nds-install to run again, or do I need to inspect all the relevant RPMs
and manually install any that are missing?

Thanks


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: eDir upgrade to 888 fails


>
> Following that TID, I issued:
>
> yum remove pprof
> rpm -Uhv ./google-perftools-<version>
>
> This succeeded, but when I then re-ran nds-install as instructed, I got
> "eDirectory 8.8.8 is already installed."  Is there an option to force
> nds-install to run again, or do I need to inspect all the relevant RPMs
> and manually install any that are missing?
>


As a last resort, I suppose I can just replace this failed system with
the snapshot I took right before beginning the upgrade...


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: eDir upgrade to 888 fails

I think there is a force option, yes. You could also try to use the
nds-uninstall script to pull out the RPMs, then put it back. Before you
do that, backup your NICI/eDirectory information so you have a valid
bakup, e.g. with something like ndsrc.pl (CoolSolution) or just your
favorite 'tar' commands (called by ndsrc.pl).

Search for "force" on this documentation page:

https://www.netiq.com/documentation/edir88/edirin88/data/b4u5j6y.html

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: eDir upgrade to 888 fails

ab,

> I think there is a force option, yes. You could also try to use the
> nds-uninstall script to pull out the RPMs, then put it back. Before you
> do that, backup your NICI/eDirectory information so you have a valid
> bakup, e.g. with something like ndsrc.pl (CoolSolution) or just your
> favorite 'tar' commands (called by ndsrc.pl).
>
> Search for "force" on this documentation page:
>
> https://www.netiq.com/documentation/edir88/edirin88/data/b4u5j6y.html
>

I backed up my configuration using ndsrc.pl, ran nds-uninstall, then
nds-install. When eDirectory came up after that, it still said "not
listening on the TCP port." I then ran ndsconfig upgrade and it looks
good.


Thanks


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: eDir upgrade to 888 fails

Great news! Thank-you for posting back your results.

One tiny note about where you mentioned using a snapshot. eDirectory does
not like having snapshots taken at runtime, and even if you stop
eDirectory and then restore a snapshot you can do terrible things to a
tree by turning that thing on and having it talk to the rest of the tree
with out-of-date information. The same applies with any bacukp of
eDirectory, including the ndsrc.pl archives, so just be careful with that.
In this case your problem was with the binaries (vs. the data) so fixing
the binaries was the better way to go, so thanks for taking the time to do
that.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: eDir upgrade to 888 fails

ab,

> Great news! Thank-you for posting back your results.
>
> One tiny note about where you mentioned using a snapshot. eDirectory does
> not like having snapshots taken at runtime, and even if you stop
> eDirectory and then restore a snapshot you can do terrible things to a
> tree by turning that thing on and having it talk to the rest of the tree
> with out-of-date information. The same applies with any bacukp of
> eDirectory, including the ndsrc.pl archives, so just be careful with that.
> In this case your problem was with the binaries (vs. the data) so fixing
> the binaries was the better way to go, so thanks for taking the time to do
> that.
>

I thought the risk was low, given that I removed all replicas from this
server before beginning the upgrade. Not true?


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: eDir upgrade to 888 fails

Ah, I may have overlooked that detail if you included it, and that is true
IF the backup/snapshot also had no replicas, though a box without replicas
could still potentially have obituaries, and those could be inconsistent
no, but again, small risk, and fairly easy to cleanup.

Just to be clear, removing replicas before doing the upgrade helps with
being able to restore the DIB grabbed after the replicas are removed, but
removing replicas and then needing to restore a DIB, or revert to a
snapshot, from before the replicas are removed would also be a disaster
(not applicable to you, but I'm mentioning this in case others stumble
upon this in the future and miss the details). The important thing is
that the replica-less DIB is the same one before and after the restore.

Thanks for clarifying your environment; I think your assessment was correct.


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: eDir upgrade to 888 fails

On 21/09/17 15:17, Doug wrote:

> I just performed an upgrade from eDirectory 8.8.7 Patch 3 to eDirectory
> 8.8.8, and NDS is refusing to start.  The upgrade appeared to run fine,
> except that it failed to install google-perftools. The relevant snip
> from nds-install.log:
>
> --------------------------------------------------------------------
> package perftools is not installed
> package google-perftools is not installed
> 2017-09-21
> 09:38:49-04:00(Check-package-Existence)pkg=google-perftools,pkg_exists=0
> 2017-09-21 09:38:49-04:00
> 2017-09-21 09:38:49-04:00(Version,pkg_src_getter) pkg=google-perftools,
> pkg_src=google-perftools*.rpm, version=1.8.1, release=7
> 2017-09-21 09:38:49-04:00(install
> pkg)pkg=/opt/eDir888_tmp/setup/google-perftools-1.8.1-7.2.x86_64.rpm,pkgname=google-perftools
>
> package google-perftools is not installed
> package google-perftools is not installed
> Preparing... ##################################################
>     file /usr/bin/pprof from install of
> google-perftools-1.8.1-7.2.x86_64 conflicts with file from package
> pprof-2.0-11.el6.3.noarch
>     file /usr/share/man/man1/pprof.1.gz from install of
> google-perftools-1.8.1-7.2.x86_64 conflicts with file from package
> pprof-2.0-11.el6.3.noarch
> 2017-09-21 09:38:50-04:00%%% Unable to install
> /opt/eDir888_tmp/setup/google-perftools-1.8.1-7.2.x86_64.rpm , Exiting...
> ---------------------------------------------------------------------
> The install appeared to be successful otherwise, but when I tried to
> start eDirectory, it said "eDirectory is not listening on the TCP port /
> is not listening on the TLS port."  I rebooted the server -- same result.
>
> In the ndsd.log file, I see this:
>
> ---------------------------------------------------------------------
> About to start NetIQ eDirectory server on host:  <server FQDN>
> Path of NetIQ eDirectory configuration file:
> /etc/opt/novell/eDirectory/conf/nds.conf
> NCPShim Init failed, error -601
> Started NetIQ eDirectory server on host:  <server FQDN>
> ---------------------------------------------------------------------
>
> What should I be checking?


Is this on Red Hat Enterprise Linux? If so, which version?

HTH.
--
Simon
Micro Focus Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: eDir upgrade to 888 fails

Simon Flood,
>
> Is this on Red Hat Enterprise Linux? If so, which version?
>


<kicking myself for omitting this important detail>
It's RHEL 6.9 (Santiago).



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.