r***@osl.uoregon.edu
2016-08-05 03:56:34 UTC
Issue #1904 has been reported by Dracula Lai.
----------------------------------------
Bug #1904: Cannot start apache2 with Netdot::Mason
https://osl.uoregon.edu/redmine/issues/1904
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
----------------------------------------
Bug #1904: Cannot start apache2 with Netdot::Mason
https://osl.uoregon.edu/redmine/issues/1904
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
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