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 - Bug #1904] Cannot start apache2 with Netdot::Mason
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 31 Oct 2016 21:56:50 -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 _KUL _.
Very interesting ...
if you run
*systemctl restart apache2*
apache2 will not start and will report an error "The apache2 instance did not
start within 20 seconds. Please read the log files to discover problems ...
(warning)"
but if you *remove the description netdot site* in apache2, then *start
apache2*, then *add the netdot site* in apache2, and make *+reload+ apache2*
(instead of restart), then +it will work+!
*a2dissite netdot_apache24_local.conf*
*systemctl restart apache2.service*
*a2ensite netdot_apache24_local.conf*
*systemctl +reload+ apache2*
but *if you now restart apache2* (or he will restart after a reboot of the
server), apache2 *will not start* ...
----------------------------------------
Bug #1904: Cannot start apache2 with Netdot::Mason
https://osl.uoregon.edu/redmine/issues/1904#change-3370
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
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 116, Issue 1
********************************************