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. Timezone question (David Koski)
   2. Netdisco 2: error running job (Huber, Peter)
   3. RPMs for RHEL/CentOS 6 (Nikolaos Milas)
   4. Re: Netdisco 2: error running job (Eric Miller)
   5. Re: RPMs for RHEL/CentOS 6 (Walter Gould)
--- Begin Message ---
I've suddenly noticed that my netdisco timestamps seem to be off 4 hours.
 To me this signifies some issue with the time zones.  My system is
currently set for 'US/Eastern' but the database is set for GMT apparently.
 Should postgres be set to GMT or should it be set for the local time zone
as the default?  Could there be something else I'm missing?


To me it looks like it's inserting the timestamps from the local system
taking them as the GMT time, and then when the web pages pull it back out,
it's being translated to Eastern Daylight time (Hence the current timestamp
shows it -04:00 from the actual time).


I wanted to check to see what everyone else was doing before I started
changing parameters in the database.


        Thanks


                  Dave


*------------*

*David Koski*

GCFA, GISP, GSEC, RHCE****

ITS Communications Systems and Data Centers****

734-647-8993
 (Office)
734-678-5824 (Mobile)*
*[image: Description: cid:3337913627_541106]

<<image001.png>>


--- End Message ---
--- Begin Message ---
Hi,

after running netdisco-do discover -d 10.10.10.10 I get the following error 
message:

[26644]  info @0.000020> discover: started at Thu Oct 31 14:10:21 2013
[26644]  info @13.101797> discover: finished at Thu Oct 31 14:10:34 2013
[26644]  info @13.101963> discover: status error: error running job: 
DBIx::Class::Storage::DBI::_dbh_execute_for_fetch(): execute_for_fetch() 
aborted with 'ERROR:  duplicate key value violates unique constraint 
"device_port_vlan_pkey"' at populate slice:
{
  ip => "10.10.10.10",
  last_discover => \"now()",
  native => "t",
  port => "1:23",
  vlan => 11,
  vlantype => undef
} at /opt/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 453

How can I fix this? I am using version 2.019003

Regards

Peter

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec. Jan Peter 
Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671

--- End Message ---
--- Begin Message ---
Hello,

Has anyone here built RHEL/CentOS 6 RPMs for NetDisco v1.3.2 ?

I have used Netdisco v1.1 src.rpm which is available in EPEL repo for EL5 to build an updated RPM for v1.3.2 and RPM-build worked (but I have not tested the final RPM).

I hesitate to upgrade using this RPM due to problems I had faced in the past with Netdisco 1.1 rpm (from EPEL) because I am afraid that I'll probably v1.1 RPM did not seem to perform an upgrade correctly. See: http://sourceforge.net/mailarchive/forum.php?thread_name=4EE1FD3B.4080603%40admin.noa.gr&forum_name=netdisco-users

Additionally, no RPM (or src.rpm) is available in any EL6 repo for any Netdisco version. I haven't tried (yet) to use the el5 src.rpm on el6 to try to build v1.3.2.

So, can we hope for updated (and fixed for upgrades) Netdisco rpms (and srpms) for EL5 and EL6 any time soon?

Regards,
Nick



--- End Message ---
--- Begin Message --- Can you run with "DBIC_TRACE=1 netdisco-do discover -D -d 10.10.10.10" so we can get a better idea of what's happening before the error?

Thanks,
Eric

On 2013-10-31 09:22, Huber, Peter wrote:
Hi,

after running netdisco-do discover -d 10.10.10.10 I get the following
error message:

[26644]  info @0.000020> discover: started at Thu Oct 31 14:10:21 2013
[26644] info @13.101797> discover: finished at Thu Oct 31 14:10:34 2013
[26644]  info @13.101963> discover: status error: error running job:
DBIx::Class::Storage::DBI::_dbh_execute_for_fetch():
execute_for_fetch() aborted with 'ERROR:  duplicate key value violates
unique constraint "device_port_vlan_pkey"' at populate slice:
{
  ip => "10.10.10.10",
  last_discover => \"now()",
  native => "t",
  port => "1:23",
  vlan => 11,
  vlantype => undef
} at /opt/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 453

How can I fix this? I am using version 2.019003

Regards

Peter

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
Jan Peter Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Nick,

I am the one that had been maintaining the netdisco 1.x RPM's.  However,
with work and family constraints, I don't have enough time to continue
maintaining them.  I apologize for that.  I welcome anyone that feels they
have the time and desire to take over where I left off.

Also, I would highly suggest looking at ND2 as a possible alternative.
Oliver & Co. has done a great job developing it.  In the past few months,
it has really come a long way.  In fact, we are about to deploy a ND2
server here on our campus.  The great thing about ND2 is that it is totally
installed using CPAN (upgrades too)!!

Hope this helps and again sorry,
Walter


On Thu, Oct 31, 2013 at 6:03 PM, Nikolaos Milas <[email protected]> wrote:

> Hello,
>
> Has anyone here built RHEL/CentOS 6 RPMs for NetDisco v1.3.2 ?
>
> I have used Netdisco v1.1 src.rpm which is available in EPEL repo for
> EL5 to build an updated RPM for v1.3.2 and RPM-build worked (but I have
> not tested the final RPM).
>
> I hesitate to upgrade using this RPM due to problems I had faced in the
> past with Netdisco 1.1 rpm (from EPEL) because I am afraid that I'll
> probably v1.1 RPM did not seem to perform an upgrade correctly. See:
>
> http://sourceforge.net/mailarchive/forum.php?thread_name=4EE1FD3B.4080603%40admin.noa.gr&forum_name=netdisco-users
>
> Additionally, no RPM (or src.rpm) is available in any EL6 repo for any
> Netdisco version. I haven't tried (yet) to use the el5 src.rpm on el6 to
> try to build v1.3.2.
>
> So, can we hope for updated (and fixed for upgrades) Netdisco rpms (and
> srpms) for EL5 and EL6 any time soon?
>
> Regards,
> Nick
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>

--- End Message ---
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to