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.

Problem with OCS server 2.12.1

I upgraded OCS server from 2.9.2 to 2.12.1 I can log in to OCS website for the first time but when I reboot the server or restart apache2 I can't log in because it returns http code 404.

Server information:
OS: Debian 12

OCS server: 2.12.1

PHP: 8.2

PHP module enabled:

[PHP Modules]

calendar

Core

ctype

curl

date

dom

exif

FFI

fileinfo

filter

ftp

gd

gettext

hash

iconv

json

ldap

libxml

mbstring

mcrypt

mysqli

mysqlnd

openssl

pcntl

pcre

PDO

pdo_mysql

Phar

posix

random

readline

Reflection

session

shmop

SimpleXML

soap

sockets

sodium

SPL

standard

sysvmsg

sysvsem

sysvshm

tokenizer

xml

xmlreader

xmlwriter

xsl

Zend OPcache

zlib

[Zend Modules]

Zend OPcache

*********************************************************
Apache show many errors:

[Thu May  9 12:17:42 2024] OCSINVENTORY: (SOAP): Cannot find XML::Entities

ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

ocsinventory-server: Bad setting. `GENERATE_OCS_FILES_SNMP` is not set. Default: `0`

ocsinventory-server: Bad setting. `SCAN_TYPE_IPDISCOVER` is not set. Default: `ICMP`

ocsinventory-server: Bad setting. `SCAN_TYPE_SNMP` is not set. Default: `ICMP`

ocsinventory-server: Bad setting. `SCAN_ARP_BANDWIDTH` is not set. Default: `256`

[Thu May  9 12:17:43 2024] OCSINVENTORY: (SOAP): Cannot find XML::Entities

ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
****************************************************************
There were no errors during the installation of OCS server. All modules are installed and enabled

Checking for PERL Interpreter

Found PERL interpreter at </usr/bin/perl>

Using PERL interpreter /usr/bin/perl

============================================================

Installing Communication server

============================================================

Checking for Make utility

Make utility found at </usr/bin/make>

Checking for Apache mod_perl version 1.99_22 or higher

mod_perl 1.99_22 or higher is available

Using mod_perl version 1.99_22 or higher

Checking for Communication server log directory

Using /var/log/ocsinventory-server as Communication server log directory

Checking for Communication server plugins configuration directory

Using /etc/ocsinventory-server/plugins as Communication server plugins configuration directory

Checking for Communication server perl directory

Using /etc/ocsinventory-server/perl as Communication server plugins perl directory

Entering Apache sub directory

Checking for DBI PERL module

PERL module DBI is available

Checking for Apache::DBI PERL module

PERL module Apache::DBI is available

Checking for DBD::mysql PERL module

PERL module DBD::mysql is available

Checking for Compress::Zlib PERL module

PERL module Compress::Zlib is available

Checking for XML::Simple PERL module

PERL module XML::Simple is available

Checking for Net::IP PERL module

PERL module Net::IP is available

Checking for Archive::Zip Perl module

PERL module Archive::Zip is available

PERL module Mojolicious::Lite is available

PERL module Switch is available

PERL module Plack::Handler is available

If anyone has had this error and fixed it, please help. Thank you very much!
in OCS Inventory NG server for Unix by (120 points)
edited by

Please log in or register to answer this question.

 
Powered by Question2Answer
...