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. Netdisco2 Perl Segfaults After OS Upgrade (Mitch Todd)
   2. Re: Netdisco2 Perl Segfaults After OS Upgrade (Caines, Max)
--- Begin Message ---
I've updated a Ubuntu box running Netdisco2, and any attempt to run
netdisco-web, netdisco-daemon, etc all fail on a segmentation fault. In
fact, anything perl that I try to run as netdisco will result in a
segfault, including cpan. This happens if and only f I run them as
netdisco; other users have no issues with perl. Obviously, this is a perl
issue local to the netdisco account and not a problem with Netdisco itself,
but I was wondering if anyone has run into an issue like this before, and
the most efficient way to fix the problem. This is what I see when the
netdisco user tries to run netdisco-web, netdisco-daemon, and cpan with
debug turned on:

netdisco@thismachine:~$ perl -d ~/bin/netdisco-web start

Loading DB routines from perl5db.pl version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 23.
        require List/Util.pm called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm
line 23
        require Scalar/Util.pm called at /usr/share/perl/5.26/File/Temp.pm
line 17
        File::Temp::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require File/Temp.pm called at
/home/netdisco/perl5/lib/perl5/Path/Class/Dir.pm line 14
        Path::Class::Dir::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require Path/Class/Dir.pm called at
/home/netdisco/perl5/lib/perl5/Path/Class/File.pm line 8
        Path::Class::File::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require Path/Class/File.pm called at
/home/netdisco/perl5/lib/perl5/Path/Class.pm line 17
        Path::Class::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require Path/Class.pm called at /home/netdisco/bin/netdisco-web
line 31
        main::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
Aborted (core dumped)

netdisco@thismachine:~$ perl -d ~/bin/netdisco-daemon start

Loading DB routines from perl5db.pl version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 23.
        require List/Util.pm called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm
line 23
        require Scalar/Util.pm called at (eval
5)[/usr/share/perl/5.26/File/Copy.pm:18] line 1
        eval ' require Scalar::Util; require overload; 1 ' called at
/usr/share/perl/5.26/File/Copy.pm line 18
        require File/Copy.pm called at /home/netdisco/bin/netdisco-daemon
line 11
        main::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
Aborted (core dumped)

netdisco@thismachine:~$ perl -d /usr/bin/cpan

Loading DB routines from perl5db.pl version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 23.
        require List/Util.pm called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm
line 23
        require Scalar/Util.pm called at /usr/share/perl/5.26/File/Find.pm
line 804
        eval {...} called at /usr/share/perl/5.26/File/Find.pm line 804
        require File/Find.pm called at
/usr/share/perl/5.26/CPAN/CacheMgr.pm line 8
        CPAN::CacheMgr::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require CPAN/CacheMgr.pm called at /usr/share/perl/5.26/CPAN.pm
line 23
        CPAN::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require CPAN.pm called at /usr/share/perl/5.26/App/Cpan.pm line 288
        App::Cpan::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        require App/Cpan.pm called at /usr/bin/cpan line 10
        main::BEGIN() called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
        eval {...} called at
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm
line 0
Aborted (core dumped)

--- End Message ---
--- Begin Message ---
Hi Mitch

This happened to me too, and Oliver pointed me to the solution. You need to 
re-install Netdisco, following the instructions in 
https://metacpan.org/pod/App::Netdisco. Start by removing the Perl sub 
directory in the Netdisco user home directory. When you get to the 
Initialisation stage, tell it to keep the existing database. It should all work 
at the end of that.

Basically the problem is that the installation builds some Perl components 
using libraries that change when you upgrade the OS, so the re-install fixes 
that.

Hopefully if I’ve got any of that wrong Oliver will correct me!

Regards

Max

Sent from my iPhone

On 25 Apr 2019, at 18:16, Mitch Todd 
<[email protected]<mailto:[email protected]>> wrote:

I've updated a Ubuntu box running Netdisco2, and any attempt to run 
netdisco-web, netdisco-daemon, etc all fail on a segmentation fault. In fact, 
anything perl that I try to run as netdisco will result in a segfault, 
including cpan. This happens if and only f I run them as netdisco; other users 
have no issues with perl. Obviously, this is a perl issue local to the netdisco 
account and not a problem with Netdisco itself, but I was wondering if anyone 
has run into an issue like this before, and the most efficient way to fix the 
problem. This is what I see when the netdisco user tries to run netdisco-web, 
netdisco-daemon, and cpan with debug turned on:

netdisco@thismachine:~$ perl -d ~/bin/netdisco-web start

Loading DB routines from 
perl5db.pl<https://url6.mailanyone.net/v1/?m=1hJhz8-0007xI-5O&i=57e1b682&c=g_pGWz5yaUYiDple02gTGUO-iYLAygcyRFzB-kT3_nBw9KoJ19YpozQsGT22LHw4MKxBzzqAxnH9dqb1CO7iui_tx84UM-LwjMPfmpO2IUBUAJGUSE4IVg1826TPTxazvOC9I3IIk4uQmMfyycHjZYu7ovyTWle-U4RZKCmGwUqyJVtDIP4RXmWiJuLYuYLrmr7zPhO8B-NdW4WnM3NLJA>
 version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 
23.
        require List/Util.pm called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm 
line 23
        require Scalar/Util.pm called at /usr/share/perl/5.26/File/Temp.pm line 
17
        File::Temp::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require File/Temp.pm called at 
/home/netdisco/perl5/lib/perl5/Path/Class/Dir.pm line 14
        Path::Class::Dir::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require Path/Class/Dir.pm called at 
/home/netdisco/perl5/lib/perl5/Path/Class/File.pm line 8
        Path::Class::File::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require Path/Class/File.pm called at 
/home/netdisco/perl5/lib/perl5/Path/Class.pm line 17
        Path::Class::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require Path/Class.pm called at /home/netdisco/bin/netdisco-web line 31
        main::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
Aborted (core dumped)

netdisco@thismachine:~$ perl -d ~/bin/netdisco-daemon start

Loading DB routines from 
perl5db.pl<https://url6.mailanyone.net/v1/?m=1hJhz8-0007xI-5O&i=57e1b682&c=g_pGWz5yaUYiDple02gTGUO-iYLAygcyRFzB-kT3_nBw9KoJ19YpozQsGT22LHw4MKxBzzqAxnH9dqb1CO7iui_tx84UM-LwjMPfmpO2IUBUAJGUSE4IVg1826TPTxazvOC9I3IIk4uQmMfyycHjZYu7ovyTWle-U4RZKCmGwUqyJVtDIP4RXmWiJuLYuYLrmr7zPhO8B-NdW4WnM3NLJA>
 version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 
23.
        require List/Util.pm called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm 
line 23
        require Scalar/Util.pm called at (eval 
5)[/usr/share/perl/5.26/File/Copy.pm:18] line 1
        eval ' require Scalar::Util; require overload; 1 ' called at 
/usr/share/perl/5.26/File/Copy.pm line 18
        require File/Copy.pm called at /home/netdisco/bin/netdisco-daemon line 
11
        main::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
Aborted (core dumped)

netdisco@thismachine:~$ perl -d /usr/bin/cpan

Loading DB routines from 
perl5db.pl<https://url6.mailanyone.net/v1/?m=1hJhz8-0007xI-5O&i=57e1b682&c=g_pGWz5yaUYiDple02gTGUO-iYLAygcyRFzB-kT3_nBw9KoJ19YpozQsGT22LHw4MKxBzzqAxnH9dqb1CO7iui_tx84UM-LwjMPfmpO2IUBUAJGUSE4IVg1826TPTxazvOC9I3IIk4uQmMfyycHjZYu7ovyTWle-U4RZKCmGwUqyJVtDIP4RXmWiJuLYuYLrmr7zPhO8B-NdW4WnM3NLJA>
 version 1.51
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Signal SEGV at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 
23.
        require List/Util.pm called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm 
line 23
        require Scalar/Util.pm called at /usr/share/perl/5.26/File/Find.pm line 
804
        eval {...} called at /usr/share/perl/5.26/File/Find.pm line 804
        require File/Find.pm called at /usr/share/perl/5.26/CPAN/CacheMgr.pm 
line 8
        CPAN::CacheMgr::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require CPAN/CacheMgr.pm called at /usr/share/perl/5.26/CPAN.pm line 23
        CPAN::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require CPAN.pm called at /usr/share/perl/5.26/App/Cpan.pm line 288
        App::Cpan::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        require App/Cpan.pm called at /usr/bin/cpan line 10
        main::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
        eval {...} called at 
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm line 0
Aborted (core dumped)


________________________________

This email has been scanned for spam & viruses. If you believe this email 
should have been stopped by our filters, click 
here<https://portal.mailanyone.net/index.html#/outer/reportspam?token=dXNlcj1NYXguQ2FpbmVzQHdsdi5hYy51azt0cz0xNTU2MjEyNTk1O3V1aWQ9NUNDMUVCNzJBREQwMzRCRjI2Q0VCNUU3MTYxMjUyMjc7dG9rZW49NjU5ODU3YWMzOGFkODkyMzA2MmY3YjkzN2Y4MzA2ODdhOWNmNmRmODs%3D>
 to report it.

_______________________________________________
Netdisco mailing list
[email protected]<mailto:[email protected]>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to