[Résolu] Création USER manuellement suite installation incomplète ???

Bonjour à tous,

je suis un nouvel utilisateur (et installateur) de Bluemind.
Je viens d’installer après pas mal de soucis l’ensemble du système mais je pense que tous les process se lancent correctement.
Je ne vois pas de messages d’erreur dans les logs.

A la fin de l’installation, je n’ai pas eu la page avec le visuel des login (comme j’ai pu voir sur le forum) admin…

Ma question est donc : est-il possible de créer manuellement directement dans la BDD bj un user pour pouvoir me connecter à Bluemind.

Mon interface http://monip.lan est accessible et je tombe sur la page de login.
Mais je n’ai aucun login à ma disposition !!!

J’ai bien essayé ceux que vous préconisez (admin0@global.virt et autre…) mais rien ne fonctionne.
La base de données fait état d"un user admin0 avec un mot de passe crypté (du style 2abcdna34ef…).
J’ai essayé de le mettre à vide mais cela ne marche toujours pas.

La création d’un user (admin/password) supplémentaire ne marche pas non plus.

Et enfin pour être complet : http://monip.lan/setup me demande une autorisation .htaccess !!! Que je n’ai pas non plus !!!

Un peu d’aide serait la bienvenue si possible biensur…

Merci par avance.

Il semblerait que vous ayez eu un soucis lors de l’installation.

Avez-vous respecté le pré-requis de 4Go de RAM ?
Quel système utilisez-vous ? Quelle version de BlueMind installez-vous ?

Pouvez-vous essayer de rejouer l’installeur:

# bmctl stop
# su - postgres
$ dropdb bj
$ exit
# bmctl start

Connectez-vous ensuite au /setup de votre machine.

Si vous n’obtenez pas la page avec les login, pouvez-vous nous donner le message obtenu, ainsi que le contenu des fichiers de logs /var/log/bm-tomcat/bm-java.log et /var/log/bm/core.log ?

Bonjour et merci de l’attention que portez à mon cas.

J’ai fait ce que vous m’avez dit.
La particularité de mon installation est que le port par lequel je dois passer est le 447.
Du style : https://monip.lan:447/

Le setup se lance correctement mais à la phase “Trying to connect bm-core” il plante.
Le message d’erreur dans le core.log est :

SyncServlet ERROR - sending ServerFault: Can't connect to Node Server at MON_IP
net.bluemind.core.api.fault.ServerFault: Can't connect to Node Server at MON_IP
        at net.bluemind.node.client.pool.SessionPool.newSession(SessionPool.java:92) ~[na:na]
        at net.bluemind.node.client.pool.SessionPool.get(SessionPool.java:71) ~[na:na]
        at net.bluemind.node.client.SChNodeClient.newSession(SChNodeClient.java:68) ~[na:na]
        at net.bluemind.node.client.SChNodeClient.ping(SChNodeClient.java:144) ~[na:na]
        at net.bluemind.core.handler.host.SystemBindingImpl.postCreateHost(SystemBindingImpl.java:331) ~[na:na]
        at net.bluemind.core.handler.host.SystemBindingImpl.create(SystemBindingImpl.java:314) ~[na:na]
        at net.bluemind.core.handler.host.SystemHandler$13.execute(SystemHandler.java:269) ~[na:na]
        at net.bluemind.core.server.SecureMethod.execute(SecureMethod.java:56) ~[na:na]
        at net.bluemind.core.server.AbstractSyncHandler.handle(AbstractSyncHandler.java:94) ~[na:na]
        at net.bluemind.core.server.SyncServlet.handleQuery(SyncServlet.java:141) ~[na:na]
        at net.bluemind.core.server.SyncServlet.service(SyncServlet.java:99) ~[na:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[na:na]
        at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) ~[na:na]
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) ~[na:na]
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) ~[na:na]
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) ~[na:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[na:na]
        at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317) ~[na:na]
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) ~[na:na]
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) ~[na:na]
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) ~[na:na]
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) ~[na:na]
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) ~[na:na]
        at org.mortbay.jetty.Server.handle(Server.java:326) ~[na:na]
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) ~[na:na]
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939) ~[na:na]
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) ~[na:na]
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) ~[na:na]
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) ~[na:na]
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) ~[na:na]
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) ~[na:na]
Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused
        at com.jcraft.jsch.Util.createSocket(Util.java:386) ~[na:na]
        at com.jcraft.jsch.Session.connect(Session.java:194) ~[na:na]
        at net.bluemind.node.client.pool.SessionPool.newSession(SessionPool.java:88) ~[na:na]
        ... 30 common frames omitted
2014-01-14 10:48:38,092 n.b.s.n.SystemNotification INFO - Producer on jms.topic.bm.system.notification created.

Cela ne va pas plus loin. Il reste sur attemp1.

Merci de votre aide.

Et désolé mais pour être complet voila le bm-java.log :

2014-01-14 10:48:29,754 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #1] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,755 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #2] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,755 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #3] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,756 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #4] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,756 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #5] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,757 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #6] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,758 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #7] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,758 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #8] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,759 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #9] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,760 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #10] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,761 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #11] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,762 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #12] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,762 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #13] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,763 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #14] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,764 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #15] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,764 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #16] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,765 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O boss #17] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,766 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,766 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [Hashed wheel timer #1] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,767 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [lc-ahc-reaper #1] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,767 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [lc-ahc-reaper #2] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,768 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #18] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,769 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #19] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,769 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #20] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,770 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #21] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,770 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #22] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,771 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #23] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,772 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #24] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,772 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #25] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,773 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #26] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,774 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #27] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,774 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #28] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,775 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #29] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,775 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #30] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,776 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #31] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,777 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #32] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,777 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O worker #33] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,778 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [New I/O boss #34] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,778 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,779 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] appears to have started a thread named [lc-ahc-reaper #3] but has failed to stop it. This is very likely to create a memory leak.
2014-01-14 10:48:29,783 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] created a ThreadLocal with key of type [com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value [com.ning.http.client.pro               viders.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@3f6df5a]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-01-14 10:48:29,785 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] created a ThreadLocal with key of type [org.jboss.netty.util.CharsetUtil$1] (value [org.jboss.netty.util.CharsetUtil$1@44c18fbe]) and a value of type [java.util.IdentityHashMap] (value {US-ASCII=sun.nio.cs.US_ASCII$Encoder@35e949a4}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-01-14 10:48:29,785 o.a.c.l.WebappClassLoader ERROR - The web application [/settings] created a ThreadLocal with key of type [com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value [com.ning.http.client.pro               viders.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@3f6df5a]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-01-14 10:48:29,912 o.a.c.s.HostConfig INFO - Undeploying context [/contact]
2014-01-14 10:48:29,969 o.a.c.s.HostConfig INFO - Undeploying context [/adminconsole]
2014-01-14 10:48:30,028 o.a.c.s.HostConfig INFO - Undeploying context [/cal]
2014-01-14 10:48:30,083 o.a.c.s.HostConfig INFO - Deploying configuration descriptor adminconsole.xml
2014-01-14 10:48:30,266 o.a.c.s.HostConfig INFO - Deploying configuration descriptor cal.xml
2014-01-14 10:48:30,403 o.a.c.s.HostConfig INFO - Deploying configuration descriptor settings.xml
2014-01-14 10:48:30,851 n.b.u.s.s.DownloadServlet INFO - bm-core url: http://null:8085/services
2014-01-14 10:48:31,075 n.b.u.s.s.DownloadServlet INFO - CommonGWT servlet initialized for null
2014-01-14 10:48:31,078 n.b.u.s.s.RepackOtlkConnectors INFO - file /usr/share/bm-settings/WEB-INF/bm-connector-otlk-x86.exe not found: nothing to repack
2014-01-14 10:48:31,078 n.b.u.s.s.RepackOtlkConnectors INFO - file /usr/share/bm-settings/WEB-INF/bm-connector-otlk-x64.exe not found: nothing to repack
2014-01-14 10:48:31,089 n.b.u.s.s.DownloadOutlookx64Servlet INFO - bm-core url: http://null:8085/services
2014-01-14 10:48:31,092 n.b.u.s.s.DownloadOutlookx64Servlet INFO - CommonGWT servlet initialized for null
2014-01-14 10:48:31,102 n.b.u.s.s.DownloadOutlookx86Servlet INFO - bm-core url: http://null:8085/services
2014-01-14 10:48:31,106 n.b.u.s.s.DownloadOutlookx86Servlet INFO - CommonGWT servlet initialized for null
2014-01-14 10:48:31,115 o.a.c.s.HostConfig INFO - Deploying configuration descriptor contact.xml
2014-01-14 10:48:31,285 o.a.c.s.HostConfig INFO - Deploying configuration descriptor ROOT.xml
2014-01-14 10:48:31,760 n.b.s.s.HostDomainAdminTask INFO - Creating domain...
2014-01-14 10:48:31,761 n.b.s.s.HostDomainAdminTask INFO - #progress 10
2014-01-14 10:48:31,761 n.b.s.s.HostDomainAdminTask INFO - core hostname from session is monip_externe.fr:447
2014-01-14 10:48:31,761 n.b.s.s.HostDomainAdminTask INFO - Domain for host 'monip_externe.fr:447' is 'domaine.net'
2014-01-14 10:48:31,764 n.b.s.s.CoreClientFactory INFO - External URL is set to monip_externe.fr:447, but we used localhost
2014-01-14 10:48:31,963 n.b.s.s.HostDomainAdminTask INFO - Trying to connect to bm-core (attempt 1)

Et ma configuration :
Ubuntu Serve 12.04.3 LTS Version 64 Bits
8 Go RAM

Merci par avance.

Pourquoi utilisez-vous le port 447 ?
C’est un cas qui n’est pas pris en charge, il y a un soucis lors de l’installation lorsque BlueMind essaye de contacter le service core pour terminer son installation.

Bonjour,

j’ai déjà un service qui “tourne” sur le port 443.
Je ne pense pas que ce ne soit pas possible de faire tourner BlueMind sur un port différent ???
Peut être je me trompe, mais ce paramètre doit être modifiable dans les fichiers de configuration (tomcat ou autre ???)

Je regarderai si je trouve et vous tiendrai informé.
Si vous avez des pistes concernant les fichiers de configuration, je suis preneur.

Merci pour tout.

PS : si cela ne fonctionne pas je changerai le port de mon service en 443 pour faire tourner Bluemind dessus, mais à titre purement technique le défi est intéressant !!! Je vous dirai.

Nous vous conseillons vivement de tester sur une machine, physique ou virtuelle, dédiée.