Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Problem with Netdisco device discovery ([email protected])
--- Begin Message ---
Hi Oliver, maybe I should close out this thread.  I think I have got 
Netdisco working successfully again.  After restoring the /home/netdisco 
folder back to a few days ago (still after the error that started this all 
appeared), I was able to get in to Netdisco but all the discovery jobs 
were failing.  In desperation, I did the following as the netdisco user 
and now everything seems to be working again.  I still don't know why the 
first problem occurred on only one device and later on a second device 
(Modification of a read-only value attempted at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm
 
line 223.). 

rm -rf perl5
curl -L https://cpanmin.us/ | perl - --notest --local-lib ~/perl5 
App::Netdisco
ln -sf ~/perl5/bin/{localenv,netdisco-*} ~/bin/
~/bin/netdisco-deploy
~/bin/netdisco-web restart
~/bin/netdisco-backend restart

to take care of errors remaining in logs
~/bin/localenv cpanm App::NetdiscoX::Web::Plugin::RANCID
~/bin/localenv cpanm List::Util
~/bin/localenv cpanm App::Netdisco::Core::Discover
~/bin/localenv cpanm --notest App::Netdisco
ln -sf ~/perl5/bin/{localenv,netdisco-*} ~/bin/
~/bin/netdisco-deploy
~/bin/netdisco-web restart
~/bin/netdisco-backend restart


-- 
Ted Buchanan
Computer/Network Analyst - Vincennes University
[email protected]



From:   Oliver Gorwits <[email protected]>
To:     [email protected]
Date:   02/04/2018 04:28 PM
Subject:        Re: [Netdisco] Problem with Netdisco device discovery



Hi Ted

I have not seen this error before, and at first glance it is within the 
Net::DNS distribution, which is one of Netdisco's dependencies, rather 
than Netdisco itself.

Let's make sure you have the latest version. Please run:

~netdisco/perl5/bin/localenv cpanm Net::DNS

And then try to discover the device again?

regards,
oliver.

On 2018-01-22 19:40, [email protected] wrote:
> I am running Netdisco on CentOS 6.9 fully updated and recently had an
> error appear when trying to discover a newly configured device on the
> network. I say "newly configured device" since it is possible (I can
> not confirm) that this switch was on the network and in Netdisco
> previously.
> Netdisco details are here:
> Software Version
> App::Netdisco 2.38.28
> SNMP::Info 3.39
> DB Schema 46
> PostgreSQL 8.4.20
> Perl 5.10.1
> 
> When performing a discover on the device IP address, the process fails
> and the error below appears. This is actually copied from the
> Undiscovered Neighbors report so Netdisco does correctly identify the
> device.
> id: dh-231-2960S type: cisco WS-C2960S-48FPS-L Modification of a
> read-only value attempted at
> 
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm
> line 223.
> 
> Any assistance in troubleshooting/correcting this problem is greatly
> appreciated.
> 
>  --
>  Ted Buchanan
>  Computer/Network Analyst - Vincennes University
>  [email protected]
> 
------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to