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. Device deletion problem (Chip Marshall)
   2. Re: Device deletion problem (Carlos Vicente)
   3. Re: CentOS 6.3 odd perl "reload" error (Carlos Vicente)
   4. Re: CentOS 6.3 odd perl "reload" error (Todd Lyons)
   5. Re: Device deletion problem (Chip Marshall)


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

Message: 1
Date: Mon, 17 Dec 2012 18:13:34 -0500
From: Chip Marshall <[email protected]>
Subject: [Netdot-users] Device deletion problem
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

In my recently upgraded Netdot 1.0.2 installation, I'm having a
problem when trying to delete devices. A few of them have deleted
fine, but most of them get the following error:

Transaction aborted: 1 objects still refer to 6508. Deletion failed at 
/usr/local/lib/perl5/site_perl/5.8.9/Class/DBI/Cascade/Fail.pm line 22

The 6508 number changes depending on the device being removed. I
have no idea what could be referring to the item being removed,
or how to track that down.

Any pointers?

-- 
Chip Marshall <[email protected]>
http://2bithacker.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20121217/8ea4d097/attachment-0001.bin
 

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

Message: 2
Date: Tue, 18 Dec 2012 07:49:21 -0500
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] Device deletion problem
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/17/12 6:13 PM, Chip Marshall wrote:
> In my recently upgraded Netdot 1.0.2 installation, I'm having a 
> problem when trying to delete devices. A few of them have deleted 
> fine, but most of them get the following error:
> 
> Transaction aborted: 1 objects still refer to 6508. Deletion
> failed at
> /usr/local/lib/perl5/site_perl/5.8.9/Class/DBI/Cascade/Fail.pm line
> 22
> 
> The 6508 number changes depending on the device being removed. I
> have no idea what could be referring to the item being removed, or
> how to track that down.
> 
> Any pointers?

It could be older history records.

Do you have tables with names like

Device_history_nnn

Where nnn is an epoch value?

I remember having some problems with those after we added foreign key
constraints to the database schema.

The solution was to drop those old backup tables

- -- 
cv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iD8DBQFQ0GZRDADXcoYj2ZwRAh6HAJ4lhPZ2CsyyimMkyL7hGOBA/I03UgCeM8N5
wDZ0gBMQvOQ1CxEpHpHeuLE=
=rnf5
-----END PGP SIGNATURE-----


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

Message: 3
Date: Tue, 18 Dec 2012 07:51:32 -0500
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] CentOS 6.3 odd perl "reload" error
To: Todd Lyons <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

On 12/14/12 2:39 PM, Todd Lyons wrote:
> Hello all,
> 
> I followed a recommendation in NANOG to your project and decided to
> install it on a CentOS 6.3 OpenVZ container (running under Proxmox
> 2.2).  At the end of this message, I'll go ahead and paste my entire
> install script so that maybe you will spot something I did wrong.
> 
> Problem: I cannot load the main page.  It doesn't get far enough in to
> prompt me for a user/password.  I get a 403 error, followed by
> "Additionally, a 500 Internal Server Error error was encountered while
> trying to use an ErrorDocument to handle the request."  I think it's
> obvious that the 403 is preventing the regular page to load properly.
> To fix the 403 I merely have to fix either the Directory access or the
> Location access (though to be honest, they look proper to me).
> 
> For the 500 ISE, I'm getting a perl error in the error_log:
> 
> [Fri Dec 14 22:22:10 2012] [error] ses_key_cookie
> [Fri Dec 14 22:22:11 2012] [error] [client 10.1.99.32] failed to
> resolve handler `Netdot::Mason': Attempt to reload

Check out item #2 in the FAQ here:

https://osl.uoregon.edu/redmine/projects/netdot/wiki/Documentation

Hope this helps.


-- 
cv


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

Message: 4
Date: Tue, 18 Dec 2012 06:24:46 -0800
From: Todd Lyons <[email protected]>
Subject: Re: [Netdot-users] CentOS 6.3 odd perl "reload" error
To: Carlos Vicente <[email protected]>
Cc: [email protected]
Message-ID:
        <CAFG21oiBSsFyaAEs=_5v15wn2zfc_9ju_0dxowqhyejatem...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Dec 18, 2012 at 4:51 AM, Carlos Vicente <[email protected]> wrote:
>> For the 500 ISE, I'm getting a perl error in the error_log:
>>
>> [Fri Dec 14 22:22:10 2012] [error] ses_key_cookie
>> [Fri Dec 14 22:22:11 2012] [error] [client 10.1.99.32] failed to
>> resolve handler `Netdot::Mason': Attempt to reload
> Check out item #2 in the FAQ here:

The FAQ items is if it can't find it.  This error is different in that
it found it, and then it's trying to reload it (the eval statements I
quoted).  Undoubtedly it ends up being due to something being the
wrong version, but I never found it.  I ended up just downloading the
vmdk and converting it to a kvm raw file and am running the Ubuntu
version.

Thanks for the reply :-)

...Todd
-- 
The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine


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

Message: 5
Date: Tue, 18 Dec 2012 10:37:20 -0500
From: Chip Marshall <[email protected]>
Subject: Re: [Netdot-users] Device deletion problem
To: Carlos Vicente <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

On 18-Dec-2012, Carlos Vicente <[email protected]> sent:
> > Transaction aborted: 1 objects still refer to 6508. Deletion
> > failed at
> > /usr/local/lib/perl5/site_perl/5.8.9/Class/DBI/Cascade/Fail.pm line
> > 22
> 
> It could be older history records.
> 
> Do you have tables with names like
> 
> Device_history_nnn
> 
> Where nnn is an epoch value?

It appears that I don't:

mysql> show tables like '%history%';
+------------------------------+
| Tables_in_netdot (%history%) |
+------------------------------+
| backbonecable_history        |
| cablestrand_history          |
| circuit_history              |
| contact_history              |
| device_history               |
| entity_history               |
| interface_history            |
| person_history               |
| product_history              |
| site_history                 |
| sitelink_history             |
| vlangroup_history            |
+------------------------------+
12 rows in set (0.02 sec)

-- 
Chip Marshall <[email protected]>
http://2bithacker.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20121218/04bb3ef1/attachment-0001.bin
 

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

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


End of Netdot-users Digest, Vol 49, Issue 13
********************************************

Reply via email to