Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-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 Netdot-users digest..."


Today's Topics:

   1. cannot delete device: foreign key constraint fails
      (Alexander Bochmann)
   2. netdot snmp (Jesus Letterni)
   3. Re: netdot snmp (Carlos Vicente)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 Jun 2014 10:22:16 +0200
From: Alexander Bochmann <[email protected]>
Subject: [Netdot-users] cannot delete device: foreign key constraint
        fails
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi,

when trying to delete some of our switches from the netdot database, 
I get the following error:

 > Transaction aborted: Can't delete 4983: DBD::mysql::st execute failed: 
 > Cannot delete or update a parent row: a foreign key constraint fails 
 > (`netdot`.`interface_history`, CONSTRAINT `fk_interface_id` FOREIGN KEY 
 > (`interface_id`) REFERENCES `interface` (`id`)) [for Statement "DELETE
 > FROM   interface
 > WHERE  id=?
 > " with ParamValues: 0='4983'] at /usr/share/perl5/DBIx/ContextualFetch.pm 
 > line 52,  line 4.

I'm running 1.0.6 on a MySQL database.

Any ideas?

Alex.



------------------------------

Message: 2
Date: Fri, 06 Jun 2014 13:10:57 -0430
From: Jesus Letterni <[email protected]>
Subject: [Netdot-users] netdot snmp
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

buenos dias ya instale netdot y todo pero cuando le doy en la carpeta 
/usr/local/netdot y uso los comandos

bin/updatedevices.pl -H <nombre> -I -c <comunidad-snmp>  me sale este error

getaddrinfo: xxxxxx Fallo temporal en la resoluci?n del nombre
SNMP::Info::new() Failed to Create Session.  at 
/usr/local/netdot/lib/Netdot/Model/Device.pm line 3915
DEBUG - Device::_get_snmp_session: core1.net.reacciun.ve: SNMPv2 failed. 
Trying SNMPv1
getaddrinfo: xxxxxxxx Fallo temporal en la resoluci?n del nombre
SNMP::Info::new() Failed to Create Session.  at 
/usr/local/netdot/lib/Netdot/Model/Device.pm line 3915
DEBUG - Device::_get_snmp_session: Failed SNMPv1 session with xxxxxx
ERROR: Device::_get_snmp_session: Cannot connect to xxxxx. Tried 
communities: xxxxx

alguien sabria que sera? muchas gracias

y cuando voy a la linea 3915 de DEice.pm lo que hay es :

return $sclass->new( %sinfoargs );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140606/fc414572/attachment-0001.html
 

------------------------------

Message: 3
Date: Fri, 6 Jun 2014 13:47:20 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] netdot snmp
To: Jesus Letterni <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Jesus, 

Seg?n el error, la m?quina no puede resolver el nombre del dispositivo 
(par?metro -H). Aseg?rate de tener el nombre en DNS.

cv

On Jun 6, 2014, at 1:40 PM, Jesus Letterni <[email protected]> wrote:

> buenos dias ya instale netdot y todo pero cuando le doy en la carpeta 
> /usr/local/netdot y uso los comandos
> 
> bin/updatedevices.pl -H <nombre> -I -c <comunidad-snmp>  me sale este error 
> 
> getaddrinfo: xxxxxx Fallo temporal en la resoluci?n del nombre
> SNMP::Info::new() Failed to Create Session.  at 
> /usr/local/netdot/lib/Netdot/Model/Device.pm line 3915
> DEBUG - Device::_get_snmp_session: core1.net.reacciun.ve: SNMPv2 failed. 
> Trying SNMPv1
> getaddrinfo: xxxxxxxx Fallo temporal en la resoluci?n del nombre
> SNMP::Info::new() Failed to Create Session.  at 
> /usr/local/netdot/lib/Netdot/Model/Device.pm line 3915
> DEBUG - Device::_get_snmp_session: Failed SNMPv1 session with xxxxxx
> ERROR: Device::_get_snmp_session: Cannot connect to xxxxx. Tried communities: 
> xxxxx
> 
> alguien sabria que sera? muchas gracias
> 
> y cuando voy a la linea 3915 de DEice.pm lo que hay es :
> 
> return $sclass->new( %sinfoargs );
> 
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users




------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 67, Issue 5
*******************************************

Reply via email to