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: Problems with web GUI on ND2 with version (Eric Miller)
2. Re: Problems with web GUI on ND2 with version (Nikolaos Milas)
3. Re: Auto start ND2 daemons (Oliver Gorwits)
4. Re: Problems with web GUI on ND2 with version (Nikolaos Milas)
5. Re: Auto start ND2 daemons (Nikolaos Milas)
6. Re: Device Cisco SG300 not recognized (Nikolaos Milas)
7. Re: Problems with web GUI on ND2 with version (Oliver Gorwits)
8. Re: Problems with web GUI on ND2 with version (Nikolaos Milas)
--- Begin Message ---
Try "~/bin/localenv cpanm --notest Time::Piece"
and restart.
What version of Perl is installed?
Eric
> On Mar 7, 2014, at 2:35 PM, Nikolaos Milas <[email protected]> wrote:
>
> Hello,
>
> Today I upgraded my ND2 which was working fine and installed the latest
> version:
>
> Upgrade was reported successful:
>
> Successfully installed App-Netdisco-2.024004 (upgraded from 2.020002)
>
> Now, after upgrade, when I start netdisco-web, I get the following messages
> in netdisco-web.log, which constantly repeat themselves, without stop, and
> the web GUI does not show up:
>
> Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: Can't locate
> Time/Piece.pm in @INC (@INC contains:
> /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/lib
> /home/netdisco/perl5/lib /home/netdisco/perl5/bin/lib
> /home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi
> /home/netdisco/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
> /usr/share/perl5 .) at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/Web.pm line 7.
> BEGIN failed--compilation aborted at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/Web.pm line 7.
> Compilation failed in require at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Web.pm line 13.
> BEGIN failed--compilation aborted at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Web.pm line 13.
> Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg
> line 46.
> BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-web-fg
> line 46.
>
> If I do "netdisco-web status" it shows as running.
>
> In the end, I stopped the netdisco-web service, and in the logs I saw:
>
> 2014/03/07-19:07:13 Server closing!
> panic: fold_constants JMPENV_PUSH returned 2 at
> /home/netdisco/perl5/lib/perl5/Plack/Util.pm line 117.
>
> Can you please guide me on what to do to make this installation working
> again? The backend (netdisco-daemon) seems to be working.
>
> Should I attempt to run "~/bin/localenv cpanm --notest App::Netdisco" again?
>
> For your reference, I attach (compressed) the build.log of this latest
> version.
>
> (I am on CentOS 6.5 x86_64.)
>
> Thanks in advance,
> Nick
>
>
> <build.zip>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries. Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
On 7/3/2014 10:15 μμ, Eric Miller wrote:
Try "~/bin/localenv cpanm --notest Time::Piece"
and restart.
What version of Perl is installed?
Thank you Eric,
The command you proposed did the trick!
I am afraid I am a Perl / cpan noob, but, as I understand, it seems that
the building process should have installed automatically Time::Piece,
but for some reason it did not...
Now everything seems to be working fine. No more errors in logs.
My Perl is: perl-5.10.1-136.el6.x86_64 (as provided by CentOS 6).
All the best,
Nick
--- End Message ---
--- Begin Message ---
Hi Nick,
In theory the netdisco-web and netdisco-daemon scripts will behave as
rc scripts, so can be symlinked from /etc/init.d/ for example.
However this doesn't answer your question... as they would then run as
root.
For now, your rc.local solution is probably best. It also would allow
you to relocate the installation away from /home/netdisco if required
for any reason (by setting NETDISCO_HOME environment variable).
I'll add a tracker item for us to support run control systems properly.
regards,
oliver.
On 2014-03-07 10:40, Nikolaos Milas wrote:
Hello,
I would like to ask what is the recommended way to start ND2 daemons
(as
netdisco user):
~/bin/netdisco-web start
~/bin/netdisco-daemon start
automatically when the OS is loaded (i.e. when the server boots).
Would you find it an acceptable practice to add in /etc/rc.local (I'm
on
CentOS 6.5):
sudo -u netdisco /home/netdisco/bin/netdisco-web start
sudo -u netdisco /home/netdisco/bin/netdisco-daemon start
...?
I guess that should work.
Please advise.
Thanks,
Nick
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to
Perforce.
With Perforce, you get hassle-free workflows. Merge that actually
works.
Faster operations. Version large binaries. Built-in WAN optimization
and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
On 8/3/2014 1:03 μμ, Nikolaos Milas wrote:
My Perl is: perl-5.10.1-136.el6.x86_64 (as provided by CentOS 6).
For completeness, ND2 reports:
Software Version
----------------------
App::Netdisco 2.024004
DB Schema v38
Dancer 1.3119
Bootstrap 2.3.1
PostgreSQL PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu,
compiled by GCC gcc (GCC) 4.4.7 20120313 (Red Hat
4.4.7-4), 64-bit.
DBI 1.609, DBD::Pg 2.15.1
SNMP::Info 3.12
Perl 5.010001
--- End Message ---
--- Begin Message ---
On 8/3/2014 5:03 μμ, Oliver Gorwits wrote:
In theory the netdisco-web and netdisco-daemon scripts will behave as
rc scripts, so can be symlinked from/etc/init.d/ for example.
However this doesn't answer your question... as they would then run as
root.
For now, your rc.local solution is probably best. It also would allow
you to relocate the installation away from /home/netdisco if required
for any reason (by setting NETDISCO_HOME environment variable).
I'll add a tracker item for us to support run control systems properly.
Thank you Oliver,
All the best,
Nick
--- End Message ---
--- Begin Message ---
On 20/12/2013 3:19 μμ, Nikolaos Milas wrote:
On 20/12/2013 2:57 μμ, Oliver Gorwits wrote:
...
I can forward your [email protected] as
>well. It might require a patch to the library.
Please do! If there is any progress in this issue, please notify us, if
possible!
It seems the important problem with node display on " SRW2024-K9 V02"
(Cisco SG300-28) devices is fixed in the latest ND2 which is using
SNMP:Info 3.12.
Yet, ports: Po1 to Po8 continue to show up (although no PoE ports exist
on this model), but this is a truly minor issue.
Note that the SNMP:Info page shows 3.08 as latest version
(http://sourceforge.net/projects/snmp-info/files/), even though cpan
offered 3.12.
Thank you all who are working for these fine projects. ND2, now at
2.024004, *rocks* and includes IP Reports which I was missing much!
Best regards,
Nick
--- End Message ---
--- Begin Message ---
Hi Nick,
It seems you (and we) have been bitten by Red Hat's packaging of Perl.
You need also to install the "perl-core" package. I'll update our docs
in the next release.
Further details here:
http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
regards,
oliver.
On 2014-03-08 16:06, Nikolaos Milas wrote:
On 8/3/2014 1:03 μμ, Nikolaos Milas wrote:
My Perl is: perl-5.10.1-136.el6.x86_64 (as provided by CentOS 6).
For completeness, ND2 reports:
Software Version
----------------------
App::Netdisco 2.024004
DB Schema v38
Dancer 1.3119
Bootstrap 2.3.1
PostgreSQL PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu,
compiled by GCC gcc (GCC) 4.4.7 20120313 (Red Hat
4.4.7-4), 64-bit.
DBI 1.609, DBD::Pg 2.15.1
SNMP::Info 3.12
Perl 5.010001
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to
Perforce.
With Perforce, you get hassle-free workflows. Merge that actually
works.
Faster operations. Version large binaries. Built-in WAN optimization
and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
On 8/3/2014 7:32 μμ, Oliver Gorwits wrote:
It seems you (and we) have been bitten by Red Hat's packaging of Perl.
You need also to install the "perl-core" package
Thank you Oliver,
When trying to install perl-core, the following packages will be
installed (see below - perl-Time-Piece is one of them); is it safe?
Won't there be any conflict with any modules installed using cpan, e.g.
with Time::piece?
Should then Time::Piece (and or other perl modules - which?) be
uninstalled using cpan? How? Before or after perl-core installation?
Please clarify.
================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================
Installing:
perl-core x86_64 5.10.1-136.el6 base 23 k
Installing for dependencies:
perl-Archive-Tar x86_64 1.58-136.el6 base
73 k
perl-CGI x86_64 3.51-136.el6 base 209 k
perl-CPAN x86_64 1.9402-136.el6 base 246 k
perl-CPANPLUS x86_64 0.88-136.el6 base 307 k
perl-Compress-Raw-Bzip2 x86_64 2.052-1.el6.rf
rpmforge 104 k
perl-DBD-SQLite x86_64 1.27-3.el6 base 83 k
perl-DBIx-Simple noarch 1.32-3.el6 base 35 k
perl-Digest-SHA x86_64 1:5.47-136.el6
base 64 k
perl-ExtUtils-CBuilder x86_64 1:0.27-136.el6
base 48 k
perl-ExtUtils-Embed x86_64 1.28-136.el6
base 31 k
perl-File-Fetch x86_64 0.26-136.el6 base 41 k
perl-IO-Compress-Bzip2 x86_64 2.021-136.el6
base 48 k
perl-IO-Zlib x86_64 1:1.09-136.el6 base 33 k
perl-Module-Build x86_64 1:0.3500-136.el6
base 229 k
perl-Module-CoreList x86_64 2.18-136.el6
base 65 k
perl-Module-Loaded x86_64 1:0.02-136.el6
base 27 k
perl-Object-Accessor x86_64 1:0.34-136.el6
base 37 k
perl-Package-Constants x86_64 1:0.02-136.el6
base 26 k
perl-Parse-CPAN-Meta x86_64 1:1.40-136.el6
base 29 k
perl-Test-Simple x86_64 0.92-136.el6 base
112 k
perl-Time-HiRes x86_64 4:1.9721-136.el6
base 48 k
perl-Time-Piece x86_64 1.15-136.el6 base 46 k
perl-parent x86_64 1:0.221-136.el6 base 27 k
Transaction Summary
================================================================================================================================================================
Install 24 Package(s)
Thanks and best regards,
Nick
--- End Message ---
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users