Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
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
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Problem upgrading Netdisco (Mike Iglesias)
2. Re: Problem upgrading Netdisco (Christian Ramseyer)
3. Re: Problem upgrading Netdisco (Oliver Gorwits)
4. Re: Problem upgrading Netdisco (Mike Iglesias)
--- Begin Message ---
We have an older system running CentOS 7 and Netdisco 2.036009 (yes, it's
old). We have a newer system set up running Rocky 9 that we want to move this to.
I moved over the database and the ~netdisco directory. Following the
directions to upgrade Netdisco (~/bin/localenv cpanm --notest App::Netdisco),
I got several errors during the builds of the perl packages.
For example:
/usr/bin/perl: symbol lookup error:
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so:
undefined symbol: Perl_xs_apiversion_bootcheck
The new system has perl v5.32 on it and perl-devel is installed.
There was this complaint at the end as well:
FAIL Installing the dependencies failed: Installed version (0.082840) of
DBIx::Class is not in range '0.082841', Module 'Dancer::Plugin::Swagger' is
not installed, Module '
IO::Socket::INET6' is not installed, Installed version (3.37) of SNMP::Info is
not in range '3.95', Module 'URI::Based' is not installed
Is there a way to fix the errors or should I just blow away the older release
and do a fresh Netdisco install? We definitely want to keep the data from the
old system.
Thanks,
Mike
--- End Message ---
--- Begin Message ---
Hi Mike
On 04.03.2024 19:38, Mike Iglesias wrote:
We have an older system running CentOS 7 and Netdisco 2.036009 (yes,
it's old). We have a newer system set up running Rocky 9 that we want
to move this to.
I moved over the database and the ~netdisco directory. Following the
directions to upgrade Netdisco (~/bin/localenv cpanm --notest
App::Netdisco), I got several errors during the builds of the perl
packages.
For example:
/usr/bin/perl: symbol lookup error:
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so: undefined symbol: Perl_xs_apiversion_bootcheck
The new system has perl v5.32 on it and perl-devel is installed.
There was this complaint at the end as well:
FAIL Installing the dependencies failed: Installed version (0.082840) of
DBIx::Class is not in range '0.082841', Module 'Dancer::Plugin::Swagger'
is not installed, Module '
IO::Socket::INET6' is not installed, Installed version (3.37) of
SNMP::Info is not in range '3.95', Module 'URI::Based' is not installed
Is there a way to fix the errors or should I just blow away the older
release and do a fresh Netdisco install? We definitely want to keep the
data from the old system.
If you copy the ~netdisco/perl5 folder you'll include some compiled Perl
libraries which will not match the newer Perl on your Rocky Linux.
Exactly as you suspect, the best way is to start a fresh empty
installation with an empty database. Then you can export the old db and
load it into the new server.
Here is an older post that outlines the procedure with pg_dump and psql
restore:
<https://sourceforge.net/p/netdisco/mailman/netdisco-users/thread/CAEhoxgWR60vdUmcgJepXYeqSzyJX%2BiwE8L2Aq3MTtZMnd-fzKA%40mail.gmail.com/#msg36901745>
Additionally you'll also want to copy/paste relevant settings from
environments/deployment.yml to the new installation, these are not
contained in the database.
Good luck!
Cheers
Christian
--- End Message ---
--- Begin Message ---
Hi Mike
Just delete the perl5 directory first, then follow the instructions as if a
new install.
You will reuse the config so skip that step of course. Remember
netdisco-deploy though.
Should be up and running after.
Regards
Oliver.
On Mon, 4 Mar 2024 at 20:32, Mike Iglesias <igles...@uci.edu> wrote:
> We have an older system running CentOS 7 and Netdisco 2.036009 (yes, it's
> old). We have a newer system set up running Rocky 9 that we want to move
> this to.
>
> I moved over the database and the ~netdisco directory. Following the
> directions to upgrade Netdisco (~/bin/localenv cpanm --notest
> App::Netdisco),
> I got several errors during the builds of the perl packages.
>
> For example:
>
> /usr/bin/perl: symbol lookup error:
> /home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so:
>
> undefined symbol: Perl_xs_apiversion_bootcheck
>
> The new system has perl v5.32 on it and perl-devel is installed.
>
> There was this complaint at the end as well:
>
> FAIL Installing the dependencies failed: Installed version (0.082840) of
> DBIx::Class is not in range '0.082841', Module 'Dancer::Plugin::Swagger'
> is
> not installed, Module '
> IO::Socket::INET6' is not installed, Installed version (3.37) of
> SNMP::Info is
> not in range '3.95', Module 'URI::Based' is not installed
>
> Is there a way to fix the errors or should I just blow away the older
> release
> and do a fresh Netdisco install? We definitely want to keep the data from
> the
> old system.
>
>
> Thanks,
>
> Mike
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
--- End Message ---
--- Begin Message ---
Thanks Oliver and Christian. It's working now, at least what I can test. The
new server needs it's IP changed so it can SNMP probe the network boxes.
After a reboot I can do more testing.
Thanks again,
Mike
On 3/4/24 13:29, Oliver Gorwits wrote:
Hi Mike
Just delete the perl5 directory first, then follow the instructions as if a
new install.
You will reuse the config so skip that step of course. Remember
netdisco-deploy though.
Should be up and running after.
Regards
Oliver.
On Mon, 4 Mar 2024 at 20:32, Mike Iglesias <igles...@uci.edu
<mailto:igles...@uci.edu>> wrote:
We have an older system running CentOS 7 and Netdisco 2.036009 (yes, it's
old). We have a newer system set up running Rocky 9 that we want to move
this to.
I moved over the database and the ~netdisco directory. Following the
directions to upgrade Netdisco (~/bin/localenv cpanm --notest
App::Netdisco),
I got several errors during the builds of the perl packages.
For example:
/usr/bin/perl: symbol lookup error:
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so:
undefined symbol: Perl_xs_apiversion_bootcheck
The new system has perl v5.32 on it and perl-devel is installed.
There was this complaint at the end as well:
FAIL Installing the dependencies failed: Installed version (0.082840) of
DBIx::Class is not in range '0.082841', Module 'Dancer::Plugin::Swagger' is
not installed, Module '
IO::Socket::INET6' is not installed, Installed version (3.37) of
SNMP::Info is
not in range '3.95', Module 'URI::Based' is not installed
Is there a way to fix the errors or should I just blow away the older
release
and do a fresh Netdisco install? We definitely want to keep the data from
the
old system.
Thanks,
Mike
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
<mailto:netdisco-users@lists.sourceforge.net>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
<https://urldefense.com/v3/__https://sourceforge.net/p/netdisco/mailman/netdisco-users/__;!!CzAuKJ42GuquVTTmVmPViYEvSg!Ipw8BNiL-skniJTHJyEJ-M5_ddSUEWPXU09HXRGBBNKPMInKe6tyuRjW53PKu4FHQ-o-mmtlQOdB$>
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users