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 after upgrading to 2.029002 - Jobs not        running
      (Tobias Gerlach)
   2. Re: Problem after upgrading to 2.029002 - Jobs not        running
      (Oliver Gorwits)
   3. Re: NetDisco Statistics question (Deshong, Kenneth)
   4. Re: Problem after upgrading to 2.029002 - Jobs not        running
      (Nikolaos Milas)
   5. Re: Problem after upgrading to 2.029002 - Jobs    not     running
      (Cardinal-Richards, Emma)
   6. Re: Problem after upgrading to 2.029002 - Jobs not        running
      (Oliver Gorwits)
   7. Re: Problem after upgrading to 2.029002 - Jobs not        running
      (Oliver Gorwits)
--- Begin Message ---
Hi Oliver,

thanks for your quick answer.
When I start the daemon in the foreground I get the following error:

netdisco@server:~> netdisco-daemon-fg start
Can't locate Path/Class.pm in @INC (@INC contains:
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/local/netdisco/bin/netdisco-daemon-fg line 8.
BEGIN failed--compilation aborted at
/usr/local/netdisco/bin/netdisco-daemon-fg line 8.

Please let me know if you need the debug output also.


2014-08-11 13:54 GMT+02:00 Tobias Gerlach <[email protected]>:
> When I restart the daemon I see an error in the netdisco-daemon.log file:
>
> netdisco@server:~> tail -f logs/netdisco-daemon.log
> [10121] 2014-08-11 11:40:38  warn App::Netdisco 2.029002 backend
> The schema daemon is not configured at
> /usr/local/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29.
> Compilation failed in require at (eval 141) line 1.
>
> Dancer is up to date. (1.3126)
> Dancer::Plugin::DBIC is up to date. (0.2100)
>
>
>
> 2014-08-11 11:07 GMT+02:00 Tobias Gerlach <[email protected]>:
>> Hello,
>>
>> after upgrading to ND2 2.029002 I notice that jobs aren't executed any 
>> longer.
>> My new "housekeeping" entries looks as follows:
>>
>> schedule:
>>   discoverall:
>>     when:
>>       min: 00
>>       hour: 20
>>       wday: 'mon,wed'
>>   arpwalk:
>>     when:
>>       min: 00
>>       hour: "00,04,08,12,16,20"
>>       wday: "mon-sun"
>>   macwalk:
>>     when:
>>       min: 00
>>       hour: "02,06,10,14,18,22"
>>       wday: "mon-sun"
>>
>> The only thing I changed was renaming "housekeeping" to "schedule".
>> Seems that the word changed with this version.
>> Through the WebGUI the jobs are queued and stay the hole time in that
>> status not being executed.
>> Polling devices with netdisco-do from cli is working fine.
>>
>> My pg_hba.conf looks as follows:
>> ...
>> # TYPE  DATABASE        USER            ADDRESS                 METHOD
>> local   all             postgres                                peer
>> local   netdisco        netdisco                                trust
>> local   all             all                                     md5
>> host    all             all             127.0.0.1/32            md5
>> host    all             all             ::1/128                 md5
>> host    all             all             0.0.0.0/0               md5
>> # netdisco2 installation
>> host    netdisco        netdisco        127.0.0.1/32            md5
>> ...
>>
>> Any ideas?
>>
>> Thanks a lot in advance.
>>
>> Tobias



--- End Message ---
--- Begin Message ---
On 2014-08-11 13:02, Tobias Gerlach wrote:
Hi Oliver,

thanks for your quick answer.
When I start the daemon in the foreground I get the following error:

netdisco@server:~> netdisco-daemon-fg start
Can't locate Path/Class.pm in @INC (@INC contains:
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/local/netdisco/bin/netdisco-daemon-fg line 8.
BEGIN failed--compilation aborted at
/usr/local/netdisco/bin/netdisco-daemon-fg line 8.

Ah, netdisco 2 is not installed in /home/netdisco/... ?

try instead:

NETDISCO_HOME=/usr/local/netdisco /usr/local/netdisco/bin/netdisco-daemon-fg

It might also be the case that your upgrade had a problem because NETDISCO_HOME=/usr/local/netdisco needs to be before each command. The instructions assume /home/netdisco is the base, sorry. I'm on IRC in #netdisco on freenode if you can join to chat.

The other error you posted, about the "daemon" schema, is a little puzzling, because we removed the "daemon" database schema in this release. It might be related to an issue upgrading.

regards,
oliver.


Please let me know if you need the debug output also.


2014-08-11 13:54 GMT+02:00 Tobias Gerlach <[email protected]>:
When I restart the daemon I see an error in the netdisco-daemon.log file:

netdisco@server:~> tail -f logs/netdisco-daemon.log
[10121] 2014-08-11 11:40:38  warn App::Netdisco 2.029002 backend
The schema daemon is not configured at
/usr/local/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29.
Compilation failed in require at (eval 141) line 1.

Dancer is up to date. (1.3126)
Dancer::Plugin::DBIC is up to date. (0.2100)



2014-08-11 11:07 GMT+02:00 Tobias Gerlach <[email protected]>:
Hello,

after upgrading to ND2 2.029002 I notice that jobs aren't executed any longer.
My new "housekeeping" entries looks as follows:

schedule:
  discoverall:
    when:
      min: 00
      hour: 20
      wday: 'mon,wed'
  arpwalk:
    when:
      min: 00
      hour: "00,04,08,12,16,20"
      wday: "mon-sun"
  macwalk:
    when:
      min: 00
      hour: "02,06,10,14,18,22"
      wday: "mon-sun"

The only thing I changed was renaming "housekeeping" to "schedule".
Seems that the word changed with this version.
Through the WebGUI the jobs are queued and stay the hole time in that
status not being executed.
Polling devices with netdisco-do from cli is working fine.

My pg_hba.conf looks as follows:
...
# TYPE DATABASE USER ADDRESS METHOD local all postgres peer local netdisco netdisco trust
local   all             all                                     md5
host    all             all             127.0.0.1/32            md5
host    all             all             ::1/128                 md5
host    all             all             0.0.0.0/0               md5
# netdisco2 installation
host    netdisco        netdisco        127.0.0.1/32            md5
...

Any ideas?

Thanks a lot in advance.

Tobias


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




--- End Message ---
--- Begin Message ---
That makes sense, thanks for the explanation guys. 

Ken DeShong
Network Engineer
USF Health Information Systems
Desk: 813-396-9472
Fax: 813-974-5198 

   

    

Amazing Things Happen When You Connect the Unconnected

 
 
 

-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]] 
Sent: Friday, August 08, 2014 5:54 PM
To: [email protected]
Subject: Re: [Netdisco] NetDisco Statistics question


Good answer Simon, thanks :)

On 2014-08-08 22:15, Simon Hobson wrote:
> I also wonder what happens in a dynamic network (eg with a high 
> turnover of guests on a public WiFi) where IPs get reused. There could 
> be several devices associated with one IP - hence more devices than 
> IPs.

Yes, it ends up looking like this:

346,694 nodes in 802,096 entries
140,473 IPs in 2,602,034 entries

There are other reasons too... if a MAC (node) is on more than one VLAN it 
could have multiple entries and IPs. Also the expiry policy affects how large 
these tables get. The above example has many wireless entries, and a very long 
time before archived entry expiry (for CERT trace reasons).

regards,
oliver.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and search 
up to 200,000 lines of code with a free copy of Black Duck Code Sight - the 
same software that powers the world's largest code search on Ohloh, the Black 
Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message --- I also upgraded today to v2.029002 and since then jobs are not running at all (not being queued either).

Although starting/restarting netdisco-daemon seems successful and status displays the daemon as running, with every start/restart of the daemon in the log I see:

[8927] 2014-08-11 12:02:36  warn App::Netdisco 2.029002 backend
The schema daemon is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29.
Compilation failed in require at (eval 78) line 1.

Please advise! What should I do?

Thanks,
Nick



--- End Message ---
--- Begin Message ---
> I also upgraded today to v2.029002 and since then jobs are not running
> at all (not being queued either).
> 
> Although starting/restarting netdisco-daemon seems successful and status
> displays the daemon as running, with every start/restart of the daemon
> in the log I see:
> 
> [8927] 2014-08-11 12:02:36  warn App::Netdisco 2.029002 backend
> The schema daemon is not configured at
> /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29.
> Compilation failed in require at (eval 78) line 1.


I've got the exact same issue too...

Regards,
Emma



--- End Message ---
--- Begin Message ---
On 2014-08-11 16:07, Nikolaos Milas wrote:
I also upgraded today to v2.029002 and since then jobs are not running
at all (not being queued either).

Please advise! What should I do?

OK I've released a new version which reverts some possibly related changes. You can install this until we get to the bottom of the problem.

~/bin/localenv cpanm --notest http://cpan.metacpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.029003.tar.gz
~/bin/netdisco-web restart
~/bin/netdisco-daemon restart

I was a little confused by Tobias's installation, but here is the correct command to run the daemon in the foreground, in case you want to try to see any error:

~/bin/localenv ~/bin/netdisco-daemon-fg

regards,
oliver.



--- End Message ---
--- Begin Message ---
On 2014-08-11 16:18, Cardinal-Richards, Emma wrote:
I've got the exact same issue too...

Thanks to Emma helping in IRC, we found the problem. Some files from an earlier version of Netdisco were being loaded accidentally.

I'll need to work on a way to stop this happening (it's a side-effect of using CPAN to ship the application, I guess... we can only add but not remove files).

Apologies for the inconvenience caused.

regards,
oliver.



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

Reply via email to