-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild iptree cache #174
Comments
Hello Dennis, Not sure if this will be your problem, but just in case. From time to time I have problems rebuilding IP tree because some device reports an IP address like '0.0,0,0', it gets into ipblock table and from then on, IP tree rebuilds will fail. mysql> select * from ipblock where address = 0; And if there is an entry like that: I'm telling out of my memory so I may fail in some detail. Best regards, |
Hi Nico, Thanks for the suggestion. Unfortunately, I didn't find any address records that were 0 or null. I poked around the database a bit, to see if I could find any addresses or parent block references that looked bad. I haven't spotted anything out of the ordinary yet. Regards, |
Is there a way to rebuild the cache for Netdot version 1.0.4 when we run into the following error?
ip.html produced the following error:
Could not get a valid iptree4 from cache
This may be the result of invalid user input. However, if you believe this is a bug, please click here, then copy the full error message and send it to netdot-admin@localdomain
Trace begun at /usr/local/netdot/lib/Netdot.pm line 105 Netdot::throw_fatal('Netdot::Model::Ipblock=HASH(0x23ec2f30)', 'Could not get a valid iptree4 from cache') called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3504 Netdot::Model::Ipblock::_tree_get('Netdot::Model::Ipblock=HASH(0x23ec2f30)') called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3304 Netdot::Model::Ipblock::_tree_delete('Netdot::Model::Ipblock=HASH(0x23ec2f30)') called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 1737 Netdot::Model::Ipblock::delete('Netdot::Model::Ipblock=HASH(0x23ec2f30)', 'recursive', 1) called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 1734 Netdot::Model::Ipblock::delete('Ipblock=HASH(0x23f52410)', 'recursive', 1) called at /usr/local/netdot/htdocs/management/ip.html line 512 eval {...} at /usr/local/netdot/htdocs/management/ip.html line 512 HTML::Mason::Commands::ANON('_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1, 'page', 'ADDRESS') called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x23f81f6c)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1, 'page', 'ADDRESS') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, undef, '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1, 'page', 'ADDRESS') called at /usr/share/perl5/HTML/Mason/Request.pm line 955 HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x238f6520)', 'page', 'ADDRESS') called at /usr/local/netdot/htdocs/management/autohandler line 81 HTML::Mason::Commands::ANON('_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 157 HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x238b306c)', 'main', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 948 HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x238f6520)', 'main', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj line 21 HTML::Mason::Commands::ANON('_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x238b306c)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, undef, '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 955 HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x238f6520)', 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line 76 HTML::Mason::Commands::ANON('_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x23840e64)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549) called at /usr/share/perl5/HTML/Mason/Request.pm line 1297 eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, undef, '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'recursivedel', 'on', 'id', 86968549) called at /usr/share/perl5/HTML/Mason/Request.pm line 481 eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481 eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433 HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x238f6520)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165 HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x238f6520)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x21e6b868)', 'Apache2::RequestRec=SCALAR(0x23f85750)') called at /usr/local/netdot/lib/Netdot/Mason.pm line 59 Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x23f85750)') called at -e line 0 eval {...} at -e line 0
The text was updated successfully, but these errors were encountered: