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 - Support #1880] Can not restart Apache   after install
      Netdot ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Thu, 29 Sep 2016 02:16:38 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Support #1880] Can not restart
        Apache  after install Netdot
To: [email protected], [email protected],
        [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1880 has been updated by Charles Atkinson.


Same symptoms after installing on Debian 8 Jessie from git:
<pre>
[email protected]:~# 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


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 114, Issue 8
********************************************

Reply via email to