Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Can't locate object method "httpd_conf"

After I installed O'CS and started apache I found myself with this error:

What do I fix?

perl:error] [pid 212870] Can't locate object method "httpd_conf" via package "Apache" at /usr/local/share/perl/5.30.0/Apache/Ocsinventory/Plugins.pm line 33.\nCompilat>

perl:error] [pid 212870] Can't load Perl module Apache::Ocsinventory::Plugins for server (null):0, exiting...

in OCS Inventory NG server for Unix by (220 points)

2 Answers

0 votes

Hello, please can you help me fix this error after installing OCS (AlmaLinux). Thank you very much:

Can't locate object method "httpd_conf" via package "Apache" at /usr/local/share/perl5/5.32/Apache/Ocsinventory/ Plugins.pm line 33.\nCompilation failed in require at (eval 13) line 1.\n

Can't load Perl module Apache::Ocsinventory::Plugins for server (null):0, exiting...

by (140 points)
0 votes
Hello

verify that /etc/ocsinventory-server/perl directory is created and contains Apache/Ocsinventory/Plugins directory. If no, then create it and restart apache.

Regards
by (90.4k points)
 
Powered by Question2Answer
...