Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache server is not starting #441

Closed
cemartins70 opened this issue Oct 5, 2023 · 3 comments
Closed

Apache server is not starting #441

cemartins70 opened this issue Oct 5, 2023 · 3 comments

Comments

@cemartins70
Copy link

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Operating system :
Linxu Debian 12

Server informations

Perl version :
V5 Version 36
Mysql / Mariadb / Percona version :
MariaDB Version 10.11.3

OCS Inventory informations

Ocs server version : Versio 2.12.0

Problem's description

In the migration process from Debian 11 to Debian 12 the apache server is not restarting.

Error:
out 04 20:40:25 OCSInventory apachectl[2559]: [Wed Oct 04 20:40:25.021011 2023] [perl:error] [pid 2559] Can't locate Apache/Ocsinventory/Plugins.pm in @inc (you may need to install the Apache::Ocsinventory::Plugins module) (@inc contain>
out 04 20:40:25 OCSInventory apachectl[2559]: [Wed Oct 04 20:40:25.021673 2023] [perl:error] [pid 2559] Can't load Perl module Apache::Ocsinventory::Plugins for server (null):0, exiting...

@miky2k
Copy link

miky2k commented Nov 23, 2023

Same here Ubuntu 18.04 ubuntu 20.04

[Thu Nov 23 14:26:57.714319 2023] [perl:error] [pid 77456] Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @inc (you may need to install the Apache::Ocsinventory::Plugins::Apache module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /etc/apache2) at (eval 16) line 1.\n
[Thu Nov 23 14:26:57.714424 2023] [perl:error] [pid 77456] Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server Linux02.caim.local:0, exiting...

@Lea9250
Copy link
Contributor

Lea9250 commented Dec 5, 2023

Hi @cemartins70,

Are the server files present in any of the paths in your @inc ?

Regards,
Léa

@Lea9250
Copy link
Contributor

Lea9250 commented May 15, 2024

Hi @cemartins70

I'm closing this since there was no answer but feel free to reopen if the issue is still relevant.

Regards,
Léa

@Lea9250 Lea9250 closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants