Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
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-devel digest..."
Today's Topics:
1. Netdot REST client interface (Christian Meutes)
2. [Netdot - Bug #1904] Cannot start apache2 with Netdot::Mason
([email protected])
3. psgi? (Matt Zagrabelny)
----------------------------------------------------------------------
Message: 1
Date: Fri, 9 Sep 2016 15:19:49 +0200
From: Christian Meutes <[email protected]>
Subject: [Netdot-devel] Netdot REST client interface
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi there,
I'am wondering if there is some documentation about Netdot::Client::REST
which describes how I could trigger the automatic SNMP discovery when
creating new device objects?
Any hints highly appreciated!
bests,
Christian
------------------------------
Message: 2
Date: Fri, 9 Sep 2016 09:18:56 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1904] Cannot start apache2 with
Netdot::Mason
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1904 has been updated by Terry Newton.
I am also experiencing this issue and am available to help troubleshoot, please
help!
----------------------------------------
Bug #1904: Cannot start apache2 with Netdot::Mason
https://osl.uoregon.edu/redmine/issues/1904#change-3364
Author: Dracula Lai
Status: New
Priority: High
Assignee:
Category:
Target version:
Resolution:
Followed the installation instruction up to the point of linking
/etc/apache2/conf-enabled/netdot.conf.
Apache2 version is Apache/2.4.18 running on Ubuntu 16.04
Other versions are mod_apreq2-20090110/2.8.0 mod_perl/2.0.9 Perl/v5.22.1
The 'service apache2 restart' will be failed with the following error:
# systemctl status apache2.service
??? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
????apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2016-08-05 11:19:00 HKT; 31min
ago
Docs: man:systemd-sysv-generator(8)
Process: 21374 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 21520 ExecStart=/etc/init.d/apache2 start (code=exited,
status=1/FAILURE)
Aug 05 11:18:39 monitor systemd[1]: Stopped LSB: Apache2 web server.
Aug 05 11:18:39 monitor systemd[1]: Starting LSB: Apache2 web server...
Aug 05 11:18:39 monitor apache2[21520]: * Starting Apache httpd web server
apache2
Aug 05 11:18:40 monitor apache2[21520]: AH00558: apache2: Could not reliably
determine the server's fully qualified domain name, us
Aug 05 11:19:00 monitor apache2[21520]: *
Aug 05 11:19:00 monitor apache2[21520]: * The apache2 instance did not start
within 20 seconds. Please read the log files to disco
Aug 05 11:19:00 monitor systemd[1]: apache2.service: Control process exited,
code=exited status=1
Aug 05 11:19:00 monitor systemd[1]: Failed to start LSB: Apache2 web server.
Aug 05 11:19:00 monitor systemd[1]: apache2.service: Unit entered failed state.
Aug 05 11:19:00 monitor systemd[1]: apache2.service: Failed with result
'exit-code'.
The problem has been trimmed down that it stops when it calls the 'use
Netdot::Mason;' in the netdot.conf
Anyway to solve this problem?
The make testdeps is fine as follows:
# make testdeps
Testing for required Perl modules
/usr/bin/perl bin/perldeps.pl test
RRDs..............................................ok
GraphViz..........................................ok
Module::Build.....................................ok
CGI...............................................ok
Class::DBI........................................ok
Class::DBI::AbstractSearch........................ok
Apache2::Request..................................ok
HTML::Mason.......................................ok
Apache::Session...................................ok
URI::Escape.......................................ok
SQL::Translator...................................ok
SNMP::Info 2.06...................................ok
NetAddr::IP 4.042.................................ok
Apache2::AuthCookie...............................ok
Apache2::SiteControl..............................ok
Log::Dispatch.....................................ok
Log::Log4perl.....................................ok
Parallel::ForkManager.............................ok
Net::Patricia 1.20................................ok
Authen::Radius....................................ok
Test::Simple......................................ok
Net::IRR..........................................ok
Time::Local.......................................ok
File::Spec........................................ok
Net::Appliance::Session...........................ok
BIND::Config::Parser..............................ok
Net::DNS..........................................ok
Text::ParseWords..................................ok
Carp::Assert......................................ok
Digest::SHA.......................................ok
Net::DNS::ZoneFile::Fast..........................ok
Socket6...........................................ok
XML::Simple.......................................ok
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
Message: 3
Date: Fri, 9 Sep 2016 11:35:11 -0500
From: Matt Zagrabelny <[email protected]>
Subject: [Netdot-devel] psgi?
To: [email protected]
Message-ID:
<CAOLfK3XJg4yxNd=6=t6x0gy1xh+o+tqauafxfzn7r3mnh1r...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Carlos and other devs,
There seems to be a couple issues that may be buried deep with respect
to Netdot. I'm wondering if it would be alleviated by leaving mod_perl
and moving to a FastCGI + PSGI solution.
I know that proposal isn't free, but wondering if it would be worth
migrating towards it.
Here are a few of the issues that we experience that may be related to
the mod_perl solution:
- We're hitting a cache issue every once in a while - and it makes
Netdot throw stack traces when trying to create new ipblocks. I've
traced it to the data in the datacache table not accurately
representing the rest of the database. The cached Patricia tree is
incorrect and causes parent ipblock info wrong and then database
insert fails.
- Perhaps related to the above, there are database misses when
creating/updating an ipblock/dns and then immediately searching for
those changed values - Netdot doesn't find the records, but searching
for the preceding name works.
- I cannot enable mod-shib with the apache 2.4 configs for Netdot.
I've searched the mailing lists and have seen DB inconsistency mentioned before.
Just trying to get some dialogue going among the group about these issues.
Thanks!
-m
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 114, Issue 5
********************************************