Tâche #13267
Distribution EOLE - Scénario #13248: esbl-ocs non fonctionnel
Étude du problème de configuration OCS
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Cf. scénario
Associated revisions
Mise à niveau de la gestion du module PHP pour OCS
- dicos/50_ocsinventory.xml : envoi du .ini dans /etc/php5/mods-available
- posttemplate/00-ocs : activation/désactivation du module php
Ref: #13267 @1h
Mise à niveau de la configuration apache
- dicos/50_ocsinventory.xml : suppression des .conf pour les "sites-enabled"
- tmpl/z-ocsinventory-server.conf : mise à niveau de la ligne "SOAP_USER"
Ref: #13267 @1h
History
#1 Updated by Joël Cuissinat over 5 years ago
- Status changed from Nouveau to En cours
#2 Updated by Joël Cuissinat over 5 years ago
- Assigned To set to Joël Cuissinat
#3 Updated by Joël Cuissinat over 5 years ago
- Project changed from Distribution EOLE to esbl-ocs
#4 Updated by Joël Cuissinat over 5 years ago
- Subject changed from Étude du problème de configuration OCS sur AmonEcole to Étude du problème de configuration OCS
/etc/php5/conf.d n'est plus utilisé/créé par défaut
La solution élégante serait d'envoyer le template dans /etc/php5/mods-available/esbl-ocs.ini puis d'appeler php5enmod esbl-ocs (dans le conteneur web).
#5 Updated by Joël Cuissinat over 5 years ago
Une fois le 1er problème réglé, un second apparaît :
root@scribe:~# service apache2 restart * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 313 of /etc/apache2/sites-enabled/z-ocsinventory-server.conf.conf: Unknown Authz provider: SOAP_USER Action 'configtest' failed. The Apache error log may have more information.
D'après https://bugs.launchpad.net/ubuntu/+source/ocsinventory-server/+bug/1376002, il suffit de modifier d'ajouter "user" sur la ligne :
require user "SOAP_USER"
L'extension .conf.conf du fichier est également troublante !
#6 Updated by Joël Cuissinat over 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 3.0 to 0.5
#7 Updated by Scrum Master over 5 years ago
- Status changed from En cours to Résolu
#8 Updated by Gérald Schwartzmann over 5 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0
le chemin serait plutôt du type :
ll /var/lib/lxc/reseau/rootfs/etc/php5/cli/conf.d/20-esbl-ocs.ini