cvicente / Netdot

Network Documentation Tool
223 stars 62 forks source link

Issues with installation #160

Open yeranosyanvahan opened 3 years ago

yeranosyanvahan commented 3 years ago

I am following this tutorial in installing netdot https://www.digitalocean.com/community/tutorials/how-to-document-your-network-with-netdot-on-centos-7

But apache refuses to work claiming:


● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib```
/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Ср 2021-03-24 21:48:45 +04; 32s `ago`
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 2075 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 3802 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 3802 (code=exited, status=1/FAILURE)

мар 24 21:48:44 hostname systemd[1]: Starting The Apache HTTP Server...
мар 24 21:48:45 hostname httpd[3802]: AH00526: Syntax error on l
```ine 32 of /etc/httpd/conf.d/netdot_apache24_local.conf:
мар 24 21:48:45 hostname httpd[3802]: Can't locate Class/DBI/AbstractSearch.pm in @INC (@INC contains: /usr/local/netdot/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/p...compilation abort
мар 24 21:48:45 hostname systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
мар 24 21:48:45 hostname systemd[1]: Failed to start The Apache HTTP Server.
мар 24 21:48:45 hostname systemd[1]: Unit httpd.service entered failed state.
мар 24 21:48:45 hostname systemd[1]: httpd.service failed.

Maybe the problem is with the packages?

Exept the packages:

RRDs..............................................ok
GraphViz..........................................ok
Module::Build.....................................ok
CGI...............................................ok
Class::DBI........................................ok
Class::DBI::AbstractSearch........................MISSING
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
Test::Exception...................................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..........................MISSING
Socket6...........................................ok
XML::Simple.......................................ok

The DNS module isn't here, maybe the problem is here