Bonjour, rencontrant des problèmes d'utilisation de wapt avec un serveur Scribe (paquets qui ne s'installent pas), quelqu'un a-t-il réussi à faire "cohabiter" les deux ? Merci d'avance. Christophe
Vous voulez dire que vous avez installé les paquets tis-waptserver et tis-waptrepo sur votre serveur Scribe. Sur ce serveur scribe, il doit déjà y avoir un apache qui tourne pour tous les autres services qu'offre Scribe. Nous préférons d'une manière générale un serveur dédié à wapt, car c'est plus simple à configurer (la postconfiguration proposée par le paquet tis-waptserver fait une configuration Apache correcte)
Sinon, il va vous falloir : - vérfier que les services de Scribe n'utilise pas le port 8080 que le service waptserver utilise, sinon, modifier ce port dans le fichier /opt/wapt/waptserver/waptserver.ini - ajouter un enregistrement dns CNAME wapt.mondomaine.local vers monserveurscribe.mondomaine.local - Créer et activer un fichier de conf de site pour wapt dans /etc/apache2/sites-available (debian) pour créer un host virtuel basé sur le nom (NameVirtualHost ...) avec un contenu similaire à (changer 8080 dans la directive Proxypass si nécessaire..., créer la paire de clés ssl référencée par SSLCertificateKeyFile et SSLCertificateFile )
------------------ NameVirtualHost *:80 NameVirtualHost *:443
<VirtualHost *:80> ServerName wapt.mondomaine.local DocumentRoot "/var/www"
LogLevel warn CustomLog /var/log/apache2/wapt.log combined ErrorLog /var/log/apache2/wapt-error.log
ProxyPass /wapt ! ProxyPass /wapt-host ! ProxyPass /wapt-group ! ProxyPass /wapt/icons ! ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
<Directory "/var/www"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
</VirtualHost>
<IfModule ssl_module> <VirtualHost *:443> ServerName wapt.mondomaine.local DocumentRoot "/var/www"
LogLevel warn CustomLog /var/log/apache2/wapt.log combined ErrorLog /var/log/apache2/wapt-error.log
ProxyPass /wapt ! ProxyPass /wapt-host ! ProxyPass /wapt-group ! ProxyPass /wapt/icons ! ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
<Directory "/var/www"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> SSLEngine on SSLCertificateFile "/opt/wapt/waptserver/apache/ssl/cert.pem" SSLCertificateKeyFile "/opt/wapt/waptserver/apache/ssl/key.pem" </VirtualHost> </IfModule> ----------------------
Hubert
Le 07/06/2015 14:52, Christophe Laurent a écrit :
Bonjour, rencontrant des problèmes d'utilisation de wapt avec un serveur Scribe (paquets qui ne s'installent pas), quelqu'un a-t-il réussi à faire "cohabiter" les deux ? Merci d'avance. Christophe
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Christophe,
Bonjour, rencontrant des problèmes d'utilisation de wapt avec un serveur Scribe (paquets qui ne s'installent pas), quelqu'un a-t-il réussi à faire "cohabiter" les deux ? Merci d'avance.
pour compléter la réponse de Hubert, je dirai que le mieux serai de voir avec l'équipe Eole à Dijon pour "éoliser" l'outil.
Le premier point à prendre en compte est que le script wapt postconf.py configure le service Apache et crée son vhost en considérant qu'il est tout seul sur la machine (il utilise un wildcard au niveau de la définition du VirtualHost). Le vhost n'a rien de spécial et est facile à modifier pour le faire cohabiter avec d'autre appli web (pour peu que l'on connaisse un peu la conf Apache).
Deuxièmement, si le module n'est pas "éolisé" je crains que le module d'instanciation [1] écrase la configuration du vhost Apache de WAPT à partir des dictionnaires de données Zephir. C'est à vérifier, je n'ai jamais eu à regarder la partie Apache des serveurs Eole.
L'autre détail à prendre en compte est que l'on a testé l'installation sur un Ubuntu 14.04, mais pas sur Ubuntu 12.04 (qui sert de base à Eole 2.4) et qui est majoritairement déployé actuellement. Vous êtes dans quelle version d'Eole? Si vous êtes en 2.4, est ce que vous pourriez tester à nouveau avec un serveur Eole 2.5? Je pense que si vous utiliser un serveur Eole 2.5 sans service web installé, ça devrait passer sans problème.
Cordialement,
Denis Cardon
[1] http://eole.ac-dijon.fr/documentations/2.4/completes/HTML/ModuleScribe/co/01...
Christophe
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour
Je répond a une discutions en "off" de la liste eu avec Christophe Laurent. Christophe a trouvée la solution sur internet. Je la poste ici, cela peut aider d'autre utilisateur de scribe.
Le problème de Christophe Laurent était rencontré sur scribe avec le paquet Géogébra et d'autre paquet.
Cette erreur se produit lorsque WAPT installe une application dont l'installeur crée des icônes dans le Menu démarrer et sur le Bureau et qu'une session sur le domaine Scribe est ouverte avant ou pendant l'installation. Lors de l'ouverture de session, ESU ré-écrit les chemins d'accès aux dossiers contenant les icônes du "Bureau" et du "Menu Démarrer" en les faisant pointer sur R:.
Ici, le lecteur R: n'est donc accessible que pour l'utilisateur qui a ouvert la session et n'est pas disponible pour l'utilisateur BUILTIN\SYSTEM.
Toute les info ici: http://eole.orion.education.fr/oldwiki/index.php/Wpkg_Pre-post-install
La solution proposé dans ce lien peut être adaptée a wapt, nous allons essayer cette solution.
Simon Fonteneau
Le 10/06/2015 13:13, Denis Cardon a écrit :
Bonjour Christophe,
Bonjour, rencontrant des problèmes d'utilisation de wapt avec un serveur Scribe (paquets qui ne s'installent pas), quelqu'un a-t-il réussi à faire "cohabiter" les deux ? Merci d'avance.
pour compléter la réponse de Hubert, je dirai que le mieux serai de voir avec l'équipe Eole à Dijon pour "éoliser" l'outil.
Le premier point à prendre en compte est que le script wapt postconf.py configure le service Apache et crée son vhost en considérant qu'il est tout seul sur la machine (il utilise un wildcard au niveau de la définition du VirtualHost). Le vhost n'a rien de spécial et est facile à modifier pour le faire cohabiter avec d'autre appli web (pour peu que l'on connaisse un peu la conf Apache).
Deuxièmement, si le module n'est pas "éolisé" je crains que le module d'instanciation [1] écrase la configuration du vhost Apache de WAPT à partir des dictionnaires de données Zephir. C'est à vérifier, je n'ai jamais eu à regarder la partie Apache des serveurs Eole.
L'autre détail à prendre en compte est que l'on a testé l'installation sur un Ubuntu 14.04, mais pas sur Ubuntu 12.04 (qui sert de base à Eole 2.4) et qui est majoritairement déployé actuellement. Vous êtes dans quelle version d'Eole? Si vous êtes en 2.4, est ce que vous pourriez tester à nouveau avec un serveur Eole 2.5? Je pense que si vous utiliser un serveur Eole 2.5 sans service web installé, ça devrait passer sans problème.
Cordialement,
Denis Cardon
[1] http://eole.ac-dijon.fr/documentations/2.4/completes/HTML/ModuleScribe/co/01...
Christophe
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt