You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-11-12 12:34:21

Gornak
Member
Registered: 2020-05-07
Posts: 4

Plugin SCCM

Bonjour,

Je ne sais pas si je poste au bon endroit.
Afin de faire la remontée de nos ordinateurs, nous avons installé le plugin FusionInventory, que nous associons au plugin SCCM afin de profiter de l'inventaire déjà réalisé par SCCM.

L'action "SCCMCollect" Se déroule sans soucis, mais lors de l'exécution de "SCCMPush", après environ 1 minute de chargement, une "Erreure 500" apparait.

J'ai essayé d'analyser mes logs mais je ne comprend rien. Quelqu'un a-t-il rencontré une erreur similaire?

Configuration:
GLPI 9.4.4
FusionInventory 9.4+2.3
Interface SCCM 2.1.1
Php 7.4.8
Installé sur VM Windows Server 2016
Serveur web IIS
BDD SQL Server 2017

Merci d'avance!

Last edited by Gornak (2020-11-12 12:38:10)

Offline

#2 2020-11-12 12:51:04

Gornak
Member
Registered: 2020-05-07
Posts: 4

Re: Plugin SCCM

Mes logs:

   C:\GLPI\9.4.4\files\_log\sccm.log

2020-11-12 11:00:32 [245@SCCM]
Push KO - 16777246 -> STATUS CODE : 500
2020-11-12 11:00:32 [245@SCCM]
ERROR RETURNED : PHP Warning:  session_start(): open_basedir restriction in effect. File(C:\Windows\TEMP) is not within the allowed path(s): (C:\Glpi\9.4.4) in C:\Glpi\9.4.4\plugins\fusioninventory\front\communication.php on line 54
PHP Warning:  session_start(): Failed to initialize storage module: files (path: ) in C:\Glpi\9.4.4\plugins\fusioninventory\front\communication.php on line 54



   C:\GLPI\9.4.4\files\_log\php-errors.log

[2020-11-12 11:02:00] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in C:\Glpi\9.4.4\inc\toolbox.class.php line 659
  *** PHP Notice(8): Trying to access array offset on value of type null
  Backtrace :
  plugins\fusioninventory\inc\lock.class.php:653     
  ...usioninventory\inc\formatconvert.class.php:1934 PluginFusioninventoryLock::getLockFields()
  ...usioninventory\inc\formatconvert.class.php:1958 PluginFusioninventoryFormatconvert->replaceids()
  ...ry\inc\inventorycomputerinventory.class.php:416 PluginFusioninventoryFormatconvert->replaceids()
  ...inventory\inc\inventoryruleimport.class.php:964 PluginFusioninventoryInventoryComputerInventory->rulepassed()
  inc\rule.class.php:1434                            PluginFusioninventoryInventoryRuleImport->executeActions()
  inc\rulecollection.class.php:1539                  Rule->process()
  ...ry\inc\inventorycomputerinventory.class.php:341 RuleCollection->processAllRules()
  ...ry\inc\inventorycomputerinventory.class.php:102 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
  ...fusioninventory\inc\communication.class.php:227 PluginFusioninventoryInventoryComputerInventory->import()
  ...fusioninventory\inc\communication.class.php:461 PluginFusioninventoryCommunication->import()
  plugins\fusioninventory\front\communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
  {"user":"221@SCCM","mem_usage":"0.001\", 11.47Mio)"}
[2020-11-12 11:02:00] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in C:\Glpi\9.4.4\inc\toolbox.class.php line 659
  *** PHP Notice(8): Trying to access array offset on value of type null
  Backtrace :
  plugins\fusioninventory\inc\lock.class.php:657     
  ...usioninventory\inc\formatconvert.class.php:1934 PluginFusioninventoryLock::getLockFields()
  ...usioninventory\inc\formatconvert.class.php:1958 PluginFusioninventoryFormatconvert->replaceids()
  ...ry\inc\inventorycomputerinventory.class.php:416 PluginFusioninventoryFormatconvert->replaceids()
  ...inventory\inc\inventoryruleimport.class.php:964 PluginFusioninventoryInventoryComputerInventory->rulepassed()
  inc\rule.class.php:1434                            PluginFusioninventoryInventoryRuleImport->executeActions()
  inc\rulecollection.class.php:1539                  Rule->process()
  ...ry\inc\inventorycomputerinventory.class.php:341 RuleCollection->processAllRules()
  ...ry\inc\inventorycomputerinventory.class.php:102 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
  ...fusioninventory\inc\communication.class.php:227 PluginFusioninventoryInventoryComputerInventory->import()
  ...fusioninventory\inc\communication.class.php:461 PluginFusioninventoryCommunication->import()
  plugins\fusioninventory\front\communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
  {"user":"221@SCCM","mem_usage":"0.001\", 11.47Mio)"}

Offline

Board footer

Powered by FluxBB