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: Installation fails (Tobias Gerlach)
2. Delete and discover new devices for non-admin user?
(Tobias Gerlach)
3. Login loop? (Andy Ruhl)
4. Re: Delete and discover new devices for non-admin user?
(Oliver Gorwits)
5. Re: Login loop? (Oliver Gorwits)
6. Re: Netdisco 2 Neighbors Map - How to Add in hostname
(Oliver Gorwits)
7. Re: Discover problem (Oliver Gorwits)
--- Begin Message ---
Hi Christian,
thanks a lot. I'm going to test your workaround and let you know if it
worked for me.
Tobias
2016-11-15 3:44 GMT+01:00 Christian Ramseyer <[email protected]>:
> Hi Tobias
>
> I think I encountered this problem before on SLES and I was able to make
> the build work by passing special cflags just to build this module on
> its own:
>
>
> CFLAGS="-DPERL_ARGS_ASSERT_CROAK_XS_USAGE" ./cpanm \
> -l ~/perl5 -v Params::Classify
>
> IIRC this triggers some #define in the code which circumvents the
> problematic sections.
>
> Christian
>
> On 14/11/16 14:43, Tobias Gerlach wrote:
>> Hello,
>>
>> I'm just trying to set up a Netdisco development server but the
>> installation fails on my SLES 11 Patch 4 (Perl 5.10.0).
>>
>> Actually it looks like the Perl Module Params::Classify is causing the
>> problems.
>>
>> I exactly followed the instructions on
>> https://metacpan.org/pod/App::Netdisco.
>>
>> curl -L http://cpanmin.us/ | perl - --notest --local-lib ~/perl5
>> App::Netdisco
>> ..
>> ==> Found dependencies: Params::Classify
>> ! Installing the dependencies failed: Module 'Params::Classify' is not
>> installed
>> ! Bailing out the installation for Class-Mix-0.005.
>> ! Installing the dependencies failed: Module 'Class::Mix' is not installed
>> ! Bailing out the installation for Crypt-Eksblowfish-0.009.
>> ! Installing the dependencies failed: Module
>> 'Crypt::Eksblowfish::Bcrypt' is not installed
>> ! Bailing out the installation for Digest-Bcrypt-1.206.
>> ! Installing the dependencies failed: Module
>> 'Data::Entropy::Algorithms' is not installed, Module 'Digest::Bcrypt'
>> is not installed
>> ! Bailing out the installation for Dancer-Plugin-Passphrase-2.0.1.
>> ! Installing the dependencies failed: Module
>> 'Dancer::Plugin::Passphrase' is not installed
>> ! Bailing out the installation for App-Netdisco-2.034000.
>>
>> I tried to force installation of Params::Classify module but also
>> always turns out into an error:
>>
>>> ~/bin/localenv cpanm --force
>>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> --> Working on
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> Fetching
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> ... OK
>> Configuring Params-Classify-0.013 ... OK
>> Building and testing Params-Classify-0.013 ... FAIL
>> ! Installing
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> failed. See /usr/local/netdisco/.cpanm/work/1479130805.22138/build.log
>> for details. Retry with --force to force install it.
>>
>>> cat /usr/local/netdisco/.cpanm/work/1479130805.22138/build.log
>> cpanm (App::cpanminus) 1.7042 on perl 5.010000 built for
>> x86_64-linux-thread-multi
>> Work directory is /usr/local/netdisco/.cpanm/work/1479130805.22138
>> You have make /usr/bin/make
>> You have LWP 5.816
>> You have /bin/tar: tar (GNU tar) 1.26
>> Copyright (C) 2011 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>.
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> Written by John Gilmore and Jay Fenlason.
>> You have /usr/bin/unzip
>> --> Working on
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> Fetching
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> -> OK
>> Unpacking Params-Classify-0.013.tar.gz
>> Entering Params-Classify-0.013
>> Checking configure dependencies from META.yml
>> Checking if you have warnings 0 ... Yes (1.06)
>> Checking if you have strict 0 ... Yes (1.04)
>> Checking if you have Module::Build 0.38 ... Yes (0.4220)
>> Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
>> Configuring Params-Classify-0.013
>> Running Build.PL
>> Created MYMETA.yml and MYMETA.json
>> Creating new 'Build' script for 'Params-Classify' version '0.013'
>> -> OK
>> Checking dependencies from MYMETA.json ...
>> Checking if you have Test::More 0 ... Yes (1.302062)
>> Checking if you have strict 0 ... Yes (1.04)
>> Checking if you have warnings 0 ... Yes (1.06)
>> Checking if you have Scalar::Util 1.01 ... Yes (1.46)
>> Checking if you have parent 0 ... Yes (0.236)
>> Checking if you have ExtUtils::ParseXS 2.2006 ... Yes (3.30)
>> Checking if you have Module::Build 0 ... Yes (0.4220)
>> Checking if you have Exporter 0 ... Yes (5.62)
>> Building and testing Params-Classify-0.013
>> Building Params-Classify
>> cc -I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE
>> -DVERSION="0.013" -DXS_VERSION="0.013" -fPIC -c -D_REENTRANT
>> -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing
>> -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0
>> -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
>> -fasynchronous-unwind-tables -g -Wall -pipe -o lib/Params/Classify.o
>> lib/Params/Classify.c
>> lib/Params/Classify.c:793: error: conflicting types for 'S_croak_xs_usage'
>> lib/Params/Classify.xs:547: error: previous declaration of
>> 'S_croak_xs_usage' was here
>> error building lib/Params/Classify.o from 'lib/Params/Classify.c' at
>> /usr/local/netdisco/perl5/lib/perl5/ExtUtils/CBuilder/Base.pm line
>> 173.
>> -> FAIL Installing
>> http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz
>> failed. See /usr/local/netdisco/.cpanm/work/1479130805.22138/build.log
>> for details. Retry with --force to force install it.
>>
>>> perl -v
>> This is perl, v5.10.0 built for x86_64-linux-thread-multi
>>
>>> cat /etc/SuSE-release
>> SUSE Linux Enterprise Server 11 (x86_64)
>> VERSION = 11
>> PATCHLEVEL = 4
>>
>> Any ideas how to fix this?
>>
>> Thanks in advance.
>>
>> Tobias
>>
>> ------------------------------------------------------------------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>>
--- End Message ---
--- Begin Message ---
Hello,
I would like to allow non-admin user to delete and discover new
devices. Is there a way to do this in the current version of Netdisco?
Tobias
--- End Message ---
--- Begin Message ---
I'm having a problem. I just upgraded to the latest Netdisco 2 yesterday.
When I click a link, I get sent back to the login page. I click the
login button, and it doesn't log me in. I just keep getting the login
page.
If I delete my cookie, I can click login and I come to the Inventory
page. But if I click any link or search, it sends me back to the login
page.
Doing netdisco-web restart doesn't help.
I re-ran netdisco-deploy and restarted, and this didn't help.
So I'm stuck, I can't log in or do anything.
This happens with Chrome or Firefox.
What should I do?
Andy
--- End Message ---
--- Begin Message ---
Hi Tobias,
On 2016-11-19 10:03, Tobias Gerlach wrote:
I would like to allow non-admin user to delete and discover new
devices. Is there a way to do this in the current version of Netdisco?
Unfortunately not in the current version. The three levels of permission
are basic user, basic user + port control, and admin.
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Andy,
On 2016-11-19 17:01, Andy Ruhl wrote:
I'm having a problem. I just upgraded to the latest Netdisco 2
yesterday.
When I click a link, I get sent back to the login page. I click the
login button, and it doesn't log me in. I just keep getting the login
page.
Please can you confirmt this is in the native service running on port
5000, and not using any Apache reverse proxy or similar?
regards,
oliver.
If I delete my cookie, I can click login and I come to the Inventory
page. But if I click any link or search, it sends me back to the login
page.
Doing netdisco-web restart doesn't help.
I re-ran netdisco-deploy and restarted, and this didn't help.
So I'm stuck, I can't log in or do anything.
This happens with Chrome or Firefox.
What should I do?
Andy
------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Hi Muris,
On 2016-11-18 02:27, Muris wrote:
I been using Netdisco 2 and ive found it to be great, i wanted to know
on a device for the "Neighbors" Map it has the circles with the IP
address, is there anyway of adding in the hostname above the IP, or
below the IP of the device. This way i have full visibility of
adjacent networks with an IP and hostname.
If a hostname can be added on along with the IP, it would be most
useful either above or below the IP.
Also make sure domain_suffix is set in your config.
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Matthew,
On 2016-11-07 12:53, Matthew Seymour wrote:
One example switch that it found early in the discovery process has an
error against it saying it can't make an snmp connection.
I've attemped a manual discover of that switch
with: ~/bin/netdisco-do -D discover -d <ip address>
That works just fine, no errors and now it's in the database. However
if I attempt a discover through the web interface it errors.
The web interface isn't running the Discover job, it just puts the job
in the queue for the scheduler to run sometime in the future (usually
immediately if it's not busy).
So this is interesting that the scheduler cannot make the connection,
but the command line can?
Are you running the command line on the same host, as the same user,
with the same config, as the backend daemon was started on?
Otherwise, if this is reproducible, it would be very interesting to dig
deeper and help us understand what's happening.
regards,
oliver.
What have I missed?
--
Matthew Seymour
Network Technician
IT Services
INFORMATION SERVICES | UNIVERSITY OF
YORK | HESLINGTON | YORK | YO10 5DD
TEL: 01904 323858 | SCHEDULED WORK [1] | FACEBOOK [2] | twitter
[3]
Email disclaimer: http://www.york.ac.uk/docs/disclaimer/email.htm [4]
Links:
------
[1] http://www.york.ac.uk/it-services/news/work/
[2] https://www.facebook.com/UoYITServices
[3] http://twitter.com/UoYITServices
[4] http://www.york.ac.uk/docs/disclaimer/email.htm
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users