Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Apache not start after install plugins [OCS 2.6]

$
0
0

Hello.

Im trying install OCS first time. Everything was going well until the plugins were installed. After install extension on webconsole:

# sudo python3 /usr/share/ocsinventory-reports/ocsreports/tools/install_plugin.py

First error:

ERROR: check if Map.pm and uptime-2.0.conf exist

I solved it by changing the file name:

# sudo cp /usr/share/ocsinventory-reports/ocsreports/extensions/uptime-2.0/APACHE/uptime.conf /usr/share/ocsinventory-reports/ocsreports/extensions/uptime-2.0/APACHE/uptime-2.0.conf

After that:

uptime-2.0has been successfully installed ! Don't forget to restart your Apache server

OK. I restart than and... error.

[Thu Dec 12 20:10:04.231575 2019] [perl:error] [pid 12607] $s->add_config() has failed: Can't locate Apache/Ocsinventory/Plugins/Officepack/Map.pm in @INC (you may need to install the Apache::Ocsinventory::Plugins::Officepack::Map module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /etc/apache2 /etc/ocsinventory-server/perl) at (eval 100) line 1.\nCompilation failed in require at (eval 99) line 1.\n

[Thu Dec 12 20:10:04.231675 2019] [perl:error] [pid 12607] Can't load Perl module Apache::Ocsinventory::Plugins for server 127.0.1.1:0, exiting...

I don't know Linux, and I haven't found an effective solution on the network :-(
If i delete files from  etc/ocsinventory-server/plugins/ - apache gets up. But i guess the plugin doesn't work then.

Operating system
    OS Name: Linux x86_64
    Version: 4.15.0-72-generic
    Distribution: Ubuntu 18.04.3 LTS

Software
    PHP Version: 7.2.24
    Web Server: Apache/2.4.29 (Ubuntu)
    Database Server: (Ubuntu) version 5.7.28-0ubuntu0.18.04.4
    Version OCSReports: 2.6

I tried with:
https://github.com/PluginsOCSInventory-NG/officepack/releases/tag/3.0
https://github.com/PluginsOCSInventory-NG/uptime/releases/tag/2.0


Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>