r***@osl.uoregon.edu
2015-11-04 09:43:30 UTC
Issue #1880 has been reported by Witchaphon Saengaram.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880
Author: Witchaphon Saengaram
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
*Version*: Netdot 1.0.7
*OS* : CentOS 7.1.1503
#make installdeps
Installing required Perl modules
/usr/bin/perl bin/perldeps.pl install
Which RDBMS do you plan to use as backend: [mysql|Pg]? mysql
===============RESULTS===============
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
DBD::mysql........................................ok
Prefix is /etc/netdot
#less /etc/httpd/conf.d/netdot.conf
PerlSwitches -I/etc/netdot/lib
Once I restart Apache, I got an error as below :
#systemctl restart httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details
Nov 04 16:38:42 xxx.xxx.xxx.xx.xx httpd[1262]: AH00526: Syntax error on line 33 of /etc/httpd/conf.d/netdot.conf:
Nov 04 16:38:42 xxx.xxx.xxx.xx.xx httpd[1262]: Attempt to reload Netdot/Model/Zone.pm aborted.\nCompilation failed in require a at (eval 529) line 2.\n\t...propagated at /usr/share/perl5/base.pm line 84.\nBEGIN failed--compilation aborted at (eval 528) line 1.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed in require at /etc/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /etc/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at /etc/httpd/conf.d/netdot.conf line 34.\nBEGIN failed--compilation aborted
Refer: I install by following this installation procedure : https://www.digitalocean.com/community/tutorials/how-to-document-your-network-with-netdot-on-centos-7
Any suggestion ?
Thank you.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880
Author: Witchaphon Saengaram
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
*Version*: Netdot 1.0.7
*OS* : CentOS 7.1.1503
#make installdeps
Installing required Perl modules
/usr/bin/perl bin/perldeps.pl install
Which RDBMS do you plan to use as backend: [mysql|Pg]? mysql
===============RESULTS===============
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
DBD::mysql........................................ok
Prefix is /etc/netdot
#less /etc/httpd/conf.d/netdot.conf
PerlSwitches -I/etc/netdot/lib
Once I restart Apache, I got an error as below :
#systemctl restart httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details
Nov 04 16:38:42 xxx.xxx.xxx.xx.xx httpd[1262]: AH00526: Syntax error on line 33 of /etc/httpd/conf.d/netdot.conf:
Nov 04 16:38:42 xxx.xxx.xxx.xx.xx httpd[1262]: Attempt to reload Netdot/Model/Zone.pm aborted.\nCompilation failed in require a at (eval 529) line 2.\n\t...propagated at /usr/share/perl5/base.pm line 84.\nBEGIN failed--compilation aborted at (eval 528) line 1.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed in require at /etc/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /etc/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at /etc/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at /etc/httpd/conf.d/netdot.conf line 34.\nBEGIN failed--compilation aborted
Refer: I install by following this installation procedure : https://www.digitalocean.com/community/tutorials/how-to-document-your-network-with-netdot-on-centos-7
Any suggestion ?
Thank you.
--
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