cvicente / Netdot

Network Documentation Tool
222 stars 62 forks source link

Problem Device.pm line 4335 #164

Closed Sivolen closed 2 years ago

Sivolen commented 2 years ago

Hi! help me please, i am install netdot on ubuntu server and after install i check config service apache2 graceful
And i have an error

root@pso-netdot-02:/usr/local/src/netdot# service apache2 graceful  
 * Reloading Apache httpd web server apache2                                                                                                                                                                        * 
 * The apache2 configtest failed. Not doing anything.
Output of config test was:
Found = in conditional, should be == at /usr/local/netdot/lib/Netdot/Model/Device.pm line 4335.
Found = in conditional, should be == at /usr/local/netdot/lib/Netdot/Model/Device.pm line 5340.
AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/netdot_apache24_local.conf:
Attempt to reload Netdot/Model/Zone.pm aborted.\nCompilation failed in require at /usr/share/perl/5.30/base.pm line 137.\n\t...propagated at /usr/share/perl/5.30/base.pm line 159.\nBEGIN failed--compilation aborted at (eval 434) 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/apache2/sites-enabled/netdot_apache24_local.conf line 33.\nBEGIN failed--compilation aborted
Action 'configtest' failed.
The Apache error log may have more information.

How i make fix it ?

Sivolen commented 2 years ago

I manually install old version dnssec-tools and problem is gone