Discussion:
[Netdot-devel] [Netdot - Support #1880] (New) Can not restart Apache after install Netdot
r***@osl.uoregon.edu
2015-11-04 09:43:30 UTC
Permalink
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.
--
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
r***@osl.uoregon.edu
2015-11-04 13:41:24 UTC
Permalink
Issue #1880 has been updated by Carlos Vicente.

Status changed from New to In Progress
Assignee set to Carlos Vicente


----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3318

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-11-04 13:59:50 UTC
Permalink
Issue #1880 has been updated by Carlos Vicente.
Post by r***@osl.uoregon.edu
Prefix is /etc/netdot
#less /etc/httpd/conf.d/netdot.conf
PerlSwitches -I/etc/netdot/lib
The instructions on that web site tell you to use "PREFIX=/usr/local/netdot". It seems that you used "/etc/netdot" instead. That _should_ not be a problem, but it's it's not a common place to install applications.

The error you pasted suggests that there's a problem loading the Zone class. Try this command (assuming you keep the PREFIX you used):

<pre>
perl -I/etc/netdot/lib -MNetdot::Model::Zone -e 1;
</pre>

and let me know if that gives more information.

----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3319

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-11-05 01:40:17 UTC
Permalink
Issue #1880 has been updated by Witchaphon Saengaram.

File Snap 2015-11-05 at 08.39.15.png added

Thank you for your feedback.

Without changing anything in _/etc/httpd/conf.d/netdot.conf_, I can run the command that you suggested without any error. However, I still got the same error massage when I do start Apache. Please attached screen.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3320

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-11-05 02:49:28 UTC
Permalink
Issue #1880 has been updated by Witchaphon Saengaram.


Or should I reinstall and set PREFIX as "/usr/local/netdot" because it's the common place for installation as you recommend.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3321

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-11-05 14:02:13 UTC
Permalink
Issue #1880 has been updated by Carlos Vicente.
Post by r***@osl.uoregon.edu
Or should I reinstall and set PREFIX as "/usr/local/netdot" because it's the common place for installation as you recommend.
You can try that, sure.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3322

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-11-20 02:51:31 UTC
Permalink
Issue #1880 has been updated by Witchaphon Saengaram.


As I reinstalled with PREFIX as _"/usr/local/netdot"_. Unfortunately, I still got same error message when restart Apache as below :

_Nov 20 09:46:55 httpd[30387]: AH00526: Syntax error on line 32 of /etc/httpd/conf.d/netdot_apache24_local.con
Nov 20 09:46:55 httpd[30387]: Attempt to reload Netdot/Model/Zone.pm aborted.\nCompilation failed in require 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 /usr/local/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at /etc/httpd/conf.d/netdot_apache24_local.conf line 33.\nBEGIN failed--compilation aborted_


Any more suggestion ??
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3325

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2015-12-08 11:32:09 UTC
Permalink
Issue #1880 has been updated by Witchaphon Saengaram.


Still can not solve this error message.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3327

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2016-09-27 07:26:51 UTC
Permalink
Issue #1880 has been updated by Charles Atkinson.


We had almost identical symptoms after installing 1.0.7 on Debian 8 Jessie without sufficient memory. The clue was OOM killer messages in /var/log/syslog. Increasing the memory (from 512 MB to 2 GB) and re-installing from scratch fixed the problem.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3365

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2016-09-27 09:29:07 UTC
Permalink
Issue #1880 has been updated by Charles Atkinson.


Comment #8 is wrong, sorry. "systemctl start apache2.service" generated no errors only because there were no perl modules in /etc/apache2/mods-available, caused by faulty re-initialization for re-installing from scratch.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3366

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2016-09-29 09:16:38 UTC
Permalink
Issue #1880 has been updated by Charles Atkinson.


Same symptoms after installing on Debian 8 Jessie from git:
<pre>
***@netdot.iciti:~# systemctl -l status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: failed (Result: exit-code) since Thu 2016-09-29 14:15:39 IST; 28min ago
Process: 12495 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Sep 29 14:15:39 netdot apache2[12495]: The apache2 configtest failed. ... (warning).
Sep 29 14:15:39 netdot apache2[12495]: Output of config test was:
Sep 29 14:15:39 netdot apache2[12495]: [Thu Sep 29 14:15:38.188055 2016] [so:warn] [pid 12503:tid 139855224244096] AH01574: module apreq_module is already loaded, skipping
Sep 29 14:15:39 netdot apache2[12495]: AH00526: Syntax error on line 31 of /etc/apache2/sites-enabled/netdot.conf:
Sep 29 14:15:39 netdot apache2[12495]: Attempt to reload Netdot/Model/Device.pm aborted.\nCompilation failed in require at /usr/share/perl/5.20/base.pm line 100.\n\t...propagated at /usr/share/perl/5.20/base.pm line 110.\nBEGIN failed--compilation aborted at (eval 253) line 1.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 382.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at /etc/apache2/sites-enabled/netdot.conf line 32.\nBEGIN failed--compilation aborted
Sep 29 14:15:39 netdot apache2[12495]: Action 'configtest' failed.
Sep 29 14:15:39 netdot apache2[12495]: The Apache error log may have more information.
Sep 29 14:15:39 netdot systemd[1]: apache2.service: control process exited, code=exited status=1
Sep 29 14:15:39 netdot systemd[1]: Failed to start LSB: Apache2 web server.
Sep 29 14:15:39 netdot systemd[1]: Unit apache2.service entered failed state.
</pre>
Expanding the long line:
<pre>
Attempt to reload Netdot/Model/Device.pm aborted.
Compilation failed in require at /usr/share/perl/5.20/base.pm line 100.
...propagated at /usr/share/perl/5.20/base.pm line 110.
BEGIN failed--compilation aborted at (eval 253) line 1.
BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 382.
Compilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.
BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5.
Compilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 21.
BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21.
Compilation failed in require at /etc/apache2/sites-enabled/netdot.conf line 32.
BEGIN failed--compilation aborted
</pre>
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3367

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2017-01-25 16:05:45 UTC
Permalink
Issue #1880 has been updated by Wolf F..


Experiencing a similar issue.
* Ubuntu 16.04 LTS
* Netdot 1.0.7 from http://netdot.uoregon.edu/pub/dists/netdot-1.0.7.tar.gz
* followed this guide http://evilttl.com/wiki/Netdot-Installation-on-Ubuntu and netdot pdf manual from git concurrently.
<pre>
* installed the following dependencies: sudo apt-get install libssl-dev rrdtool graphviz libsnmp-info-perl libapache2-sitecontrol-perl libnet-dns-zonefile-fast-perl librrds-perl libdbd-mysql-perl libsnmp-info-perl
</pre>
* sudo make installdeps (found em all)
* make installdb
<pre>
* sudo make install APACHEUSER=www-data APACHEGROUP=www-data
</pre>
* Install did throw no error messages, so continued:
<pre>
cd /etc/apache2
sudo ln -s /usr/local/netdot/etc/netdot_apache2_local.conf sites-available/netdot.conf
sudo ln -s ../sites-available/netdot.conf sites-enabled/netdot.conf

sudo service apache2 graceful
</pre>
refuses to restart.
* after a reboot apache does not come up.


error messages as follows:

<pre>
sudo service apache2 start
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
</pre>

<pre>
sudo 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 Wed 2017-01-25 16:26:39 CET; 31s ago
Docs: man:systemd-sysv-generator(8)
Process: 1742 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Jan 25 16:26:14 netdot systemd[1]: Starting LSB: Apache2 web server...
Jan 25 16:26:14 netdot apache2[1742]: * Starting Apache httpd web server apache2
Jan 25 16:26:16 netdot apache2[1742]: [Wed Jan 25 16:26:16.462796 2017] [so:warn] [pid 1759:tid 140322153256832] AH01574: module apreq_module is already loaded, s

</pre>

<pre>
sudo journalctl -xe

Starting LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun starting up.
Jan 25 16:26:14 netdot apache2[1742]: * Starting Apache httpd web server apache2
Jan 25 16:26:16 netdot apache2[1742]: [Wed Jan 25 16:26:16.462796 2017] [so:warn] [pid 1759:tid 140322153256832] AH01574: module apreq_module is already loaded, s
Jan 25 16:26:39 netdot apache2[1742]: *
Jan 25 16:26:39 netdot apache2[1742]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
Jan 25 16:26:39 netdot systemd[1]: apache2.service: Control process exited, code=exited status=1
Jan 25 16:26:39 netdot systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Jan 25 16:26:39 netdot systemd[1]: apache2.service: Unit entered failed state.
Jan 25 16:26:39 netdot systemd[1]: apache2.service: Failed with result 'exit-code'.

</pre>


/var/log/syslog:
<pre>
Jan 25 16:48:59 netdot systemd[1]: Started MySQL Community Server.
Jan 25 16:49:01 netdot apache2[1442]: [Wed Jan 25 16:49:01.006042 2017] [so:warn] [pid 1551:tid 140251220162432] AH01574: module apreq_module is already loaded, skipping
Jan 25 16:49:23 netdot systemd-timesyncd[776]: Synchronized to time server 91.189.89.198:123 (ntp.ubuntu.com).
Jan 25 16:49:24 netdot apache2[1442]: *
Jan 25 16:49:24 netdot apache2[1442]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
Jan 25 16:49:24 netdot systemd[1]: apache2.service: Control process exited, code=exited status=1
Jan 25 16:49:24 netdot systemd[1]: Failed to start LSB: Apache2 web server.
Jan 25 16:49:24 netdot systemd[1]: apache2.service: Unit entered failed state.
Jan 25 16:49:24 netdot systemd[1]: apache2.service: Failed with result 'exit-code'.
Jan 25 16:49:24 netdot systemd[1]: Reached target Multi-User System.
Jan 25 16:49:24 netdot systemd[1]: Reached target Graphical Interface.
Jan 25 16:49:24 netdot systemd[1]: Starting Update UTMP about System Runlevel Changes...
Jan 25 16:49:24 netdot systemd[1]: Started Update UTMP about System Runlevel Changes.
Jan 25 16:49:24 netdot systemd[1]: Startup finished in 4.760s (kernel) + 32.985s (userspace) = 37.746s.
Jan 25 16:49:28 netdot systemd[1]: Created slice User Slice of netdotadmin.
Jan 25 16:49:28 netdot systemd[1]: Starting User Manager for UID 1000...
Jan 25 16:49:28 netdot systemd[1]: Started Session 1 of user netdotadmin.
Jan 25 16:49:28 netdot systemd[1607]: Reached target Sockets.
Jan 25 16:49:28 netdot systemd[1607]: Reached target Timers.
Jan 25 16:49:28 netdot systemd[1607]: Reached target Paths.
Jan 25 16:49:28 netdot systemd[1607]: Reached target Basic System.
Jan 25 16:49:28 netdot systemd[1607]: Reached target Default.
Jan 25 16:49:28 netdot systemd[1607]: Startup finished in 44ms.
Jan 25 16:49:28 netdot systemd[1]: Started User Manager for UID 1000.
Jan 25 16:49:55 netdot systemd[1]: Stopped LSB: Apache2 web server.
Jan 25 16:49:55 netdot systemd[1]: Starting LSB: Apache2 web server...
Jan 25 16:49:55 netdot apache2[1681]: * Starting Apache httpd web server apache2
Jan 25 16:49:57 netdot apache2[1681]: [Wed Jan 25 16:49:57.556094 2017] [so:warn] [pid 1699:tid 140105166759808] AH01574: module apreq_module is already loaded, skipping
Jan 25 16:50:20 netdot apache2[1681]: *
Jan 25 16:50:20 netdot apache2[1681]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
Jan 25 16:50:20 netdot systemd[1]: apache2.service: Control process exited, code=exited status=1
Jan 25 16:50:20 netdot systemd[1]: Failed to start LSB: Apache2 web server.
Jan 25 16:50:20 netdot systemd[1]: apache2.service: Unit entered failed state.
Jan 25 16:50:20 netdot systemd[1]: apache2.service: Failed with result 'exit-code'.

</pre>

Any ideas ?
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3373

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
r***@osl.uoregon.edu
2017-02-01 13:59:50 UTC
Permalink
Issue #1880 has been updated by si m.
Post by r***@osl.uoregon.edu
Experiencing a similar issue.
* Ubuntu 16.04 LTS
* Netdot 1.0.7 from http://netdot.uoregon.edu/pub/dists/netdot-1.0.7.tar.gz
* followed this guide http://evilttl.com/wiki/Netdot-Installation-on-Ubuntu and netdot pdf manual from git concurrently.
[...]
* sudo make installdeps (found em all)
* make installdb
[...]
[...]
refuses to restart.
* after a reboot apache does not come up.
[...]
[...]
[...]
[...]
Any ideas ?
Looks exactly like Bug #1904. Seems to be a problem with 16.04, running fine on 14.04 LTS with Netdot 1.0.7, on 16.04 I experience the same problem.
----------------------------------------
Support #1880: Can not restart Apache after install Netdot
https://osl.uoregon.edu/redmine/issues/1880#change-3376

Author: Witchaphon Saengaram
Status: In Progress
Priority: Normal
Assignee: Carlos Vicente
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
Loading...