4 Replies Latest reply on Jan 19, 2015 4:58 AM by morteno

    Single Server On Premise Search Malfunctioning

    morteno

      Hello!

       

      I have just set up Jive 7.0.3 in an evaluations setup where I have everything except Analytics running off of the same host. The host is a Centos 6.5 minimal install, and I did run into some unmentioned dependencies for the Document Converter, so I'm guessing that I'm still missing something somewhere.

       

      The issue at hand is that my search does not work. Searching in the community returns zero results. When I try to rebuild the index in the administrator console I get an error message letting me know that a previous attempt returned an error so the task could not be completed. In this overview I also see that the Tenancy service never gets a successful connection. When I run jive status -v I can see that the server is listening on port 30000 on all addresses. Doing a telnet localhost 30000 gives me a connection where i can enter raw HTTP-headers and receive raw HTTP-responses. Just to be sure I have also explicitly allowed the connection in the iptables, even though that should not be needed on the localhost.

       

      When I run the reindex command from the admin console and tail the logs I eventually get the response posted below. The only useful info I am able to get is that its timing out, but I can't figure out why.

       

      Thank you for any help you can give me!

       

      Regards,

       

      -Morten Olsrud

       

          2015-01-16 15:51:14,121 [ContentIndexRebuildManagementTaskThread-1] [2045:morteno:REGULAR] INFO com.jivesoftware.community.impl.search.ContentSearchIndexManagerImpl - Rebuild task started @ Fri Jan 16 15:51:14 CET 2015 2015-01-16 15:51:50,410 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,413 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,416 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,419 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,422 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,425 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,427 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:51:50,430 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service! SkyhookConfigInfo{skyhookHost=localhost, skyhookPort=30000, socketTimeout=1000} Please ensure a firewall isnt blocking access.   2015-01-16 15:52:13,734 [ContentIndexRebuildManagementTaskThread-1] [2045:morteno:REGULAR] ERROR com.jivesoftware.service.search.rebuild.impl.http.HttpClientSearchIndexRebuildService - Received non 200 level response code (Service Unavailable) posting rebuild start signal to the server.  Response reason phrase is "Service Unavailable" and the response body is "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- /* Stylesheet for Squid Error pages Adapted from design by Free CSS Templates  http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License */   /* Page basics */ * {         font-family: verdana, sans-serif; }   html body {         margin: 0;         padding: 0;         background: #efefef;         font-size: 12px;         color: #1e1e1e; }   /* Page displayed title area */ #titles {         margin-left: 15px;         padding: 10px;         padding-left: 100px;         background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left; }   /* initial title */ #titles h1 {         color: #000000; } #titles h2 {         color: #000000; }   /* special event: FTP success page titles */ #titles ftpsuccess {         background-color:#00ff00;         width:100%; }   /* Page displayed body content area */ #content {         padding: 10px;         background: #ffffff; }   /* General text */ p { }   /* error brief description */ #error p { }   /* some data which may have caused the problem */ #data { }   /* the error message received from the system or other software */ #sysmsg { }   pre {     font-family:sans-serif; }   /* special event: FTP / Gopher directory listing */ #dirmsg {     font-family: courier;     color: black;     font-size: 10pt; } #dirlisting {     margin-left: 2%;     margin-right: 2%; } #dirlisting tr.entry td.icon,td.filename,td.size,td.date {     border-bottom: groove; } #dirlisting td.size {     width: 50px;     text-align: right;     padding-right: 5px; }   /* horizontal lines */ hr {         margin: 0; }   /* page displayed footer area */ #footer {         font-size: 9px;         padding-left: 10px; }     body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; } --></style> </head><body id=ERR_CONNECT_FAIL> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr>   <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="http://sad-ap-046.ad.dgi.no:30000/searchIndexRebuild/start">http://sad-ap-046.ad.dgi.no:30000/searchIndexRebuild/start</a></p>   <blockquote id="error"> <p><b>Connection to 10.8.1.46 failed.</b></p> </blockquote>   <p id="sysmsg">The system returned: <i>(110) Connection timed out</i></p>   <p>The remote host or network may be down. Please try the request again.</p>   <p>Your cache administrator is <a href="mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_CONNECT_FAIL&amp;body=CacheHost%3A%20sz0-ap-012%0D%0AErrPage%3A%20ERR_CONNECT_FAIL%0D%0AErr%3A%20(110)%20Connection%20timed%20out%0D%0ATimeStamp%3A%20Fri,%2016%20Jan%202015%2014%3A50%3A15%20GMT%0D%0A%0D%0AClientIP%3A%2010.8.1.46%0D%0AServerIP%3A%20sad-ap-046.ad.dgi.no%0D%0A%0D%0AHTTP%20Request%3A%0D%0APOST%20%2FsearchIndexRebuild%2Fstart%20HTTP%2F1.1%0AContent-Type%3A%20application%2Fjson%0D%0AUser-Agent%3A%20Jive%20SBS%20v7.0.3.1%0D%0AHost%3A%20sad-ap-046.ad.dgi.no%3A30000%0D%0AProxy-Connection%3A%20Keep-Alive%0D%0AContent-Length%3A%20277%0D%0A%0D%0A%0D%0A">webmaster</a>.</p>   <br> </div>   <hr> <div id="footer"> <p>Generated Fri, 16 Jan 2015 14:50:15 GMT by sz0-ap-012 (squid/3.3.8)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> ".  2015-01-16 15:52:13,734 [ContentIndexRebuildManagementTaskThread-1] [2045:XXXXXX:REGULAR] ERROR com.jivesoftware.community.impl.search.ContentIndexRebuildProcessor - Error starting rebuild interaction with Search Index Rebuild Service. com.jivesoftware.service.search.rebuild.SearchIndexRebuildServiceException: Received non 200 level status code (503 from server when sending start signal         at com.jivesoftware.service.search.rebuild.impl.http.HttpClientSearchIndexRebuildService.beginRebuild(HttpClientSearchIndexRebuildService.java:73)         at com.jivesoftware.service.client.search.JiveSearchIndexRebuildService.beginRebuild(JiveSearchIndexRebuildService.java:41)         at com.jivesoftware.community.impl.search.ContentIndexRebuildProcessor.prepare(ContentIndexRebuildProcessor.java:45)         at com.jivesoftware.community.impl.search.RebuildIndexTask.doRunImpl(RebuildIndexTask.java:135)         at com.jivesoftware.community.impl.search.RebuildIndexTask.doRun(RebuildIndexTask.java:106)         at com.jivesoftware.community.util.SystemRunnable$1.call(SystemRunnable.java:54)         at com.jivesoftware.community.aaa.authz.SystemExecutor.executeCallable(SystemExecutor.java:42)         at com.jivesoftware.community.util.SystemRunnable.run(SystemRunnable.java:52)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)         at java.util.concurrent.FutureTask.run(FutureTask.java:262)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)         at java.lang.Thread.run(Thread.java:745) 2015-01-16 15:52:13,734 [ContentIndexRebuildManagementTaskThread-1] [2045:XXXXXX:REGULAR] ERROR com.jivesoftware.community.impl.search.RebuildIndexTask - Rebuild Process failed to call prepare before rebuild 2015-01-16 15:52:13,743 [ContentIndexRebuildManagementTaskThread-1] [2045:XXXXXX:REGULAR] INFO com.jivesoftware.community.impl.search.ContentSearchIndexManagerImpl - Rebuild task completed @ Fri Jan 16 15:52:13 CET 2015 
        This content has been marked as final.  Show 4 replies