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.11.1 available

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

HTTPD unable to restart

CentOS 7, OCS 2.5 server,

I found that after I upgraded my PHP from 5.4 to 5.5, try to fix "search with various criteria blank page",

then cannot restart httpd, I have installed plugins before, but I don't know where goes wrong now.
please help me diagnose this problem. many thanks!

10月 29 12:36:55 cmdbuild systemd[1]: Starting The Apache HTTP Server...
10月 29 12:36:55 cmdbuild httpd[11308]: [Mon Oct 29 12:36:55.450490 2018] [perl:error] [pid 11308] $s->add_config() has failed: Invalid command 'package', perhaps misspelled or defined by a module not included in the server configuration at /usr/local/share/perl5/Apache/Ocsinventory/Plugins.pm line 36.\nCompilation failed in require at (eval 98) line 2.\n
10月 29 12:36:55 cmdbuild httpd[11308]: [Mon Oct 29 12:36:55.450530 2018] [perl:error] [pid 11308] Can't load Perl module Apache::Ocsinventory::Plugins for server (null):0, exiting...
10月 29 12:36:55 cmdbuild systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
10月 29 12:36:55 cmdbuild kill[11310]: kill: cannot find process ""
10月 29 12:36:55 cmdbuild systemd[1]: httpd.service: control process exited, code=exited status=1
10月 29 12:36:55 cmdbuild systemd[1]: Failed to start The Apache HTTP Server.
10月 29 12:36:55 cmdbuild systemd[1]: Unit httpd.service entered failed state.
10月 29 12:36:55 cmdbuild systemd[1]: httpd.service failed.
in OCS Inventory NG server for Unix by (180 points)

1 Answer

0 votes
often this happen if there is a missing dependecy - like a pearl package. I recommend that you search for other installation manuals with more cpan pearl packages. So install the packes and restart apache. This helped me often to avoid such problems.

many installation manuals are not "complete" enough for new versions
by (22.6k points)
 
Powered by Question2Answer
...