Cent0S with SCM not launching

364 views
Skip to first unread message

Paul

unread,
Feb 17, 2014, 10:08:43 AM2/17/14
to scmma...@googlegroups.com
I have a fresh install of CentOS 6.4 with java showing
[root@dw-147 /]# java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
 
Launching gets me this:
 
[root@dw-147 ~]# scm-server/bin/scm-server
2014-02-14 14:46:02.125:INFO:oejs.Server:jetty-7.6.14.v20131031
2014-02-14 14:46:04.148:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /scm, did not find org.apache.jasper.servlet.JspServlet
14:46:09.898 [main] INFO  sonia.scm.boot.BootstrapListener - start scm-manager 1.35 in stage: PRODUCTION
14:46:09.909 [main] WARN  sonia.scm.boot.BootstrapListener - fallback to default classloader
14:46:09.975 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - load core plugin /root/scm-server/work/webapp/WEB-INF/lib/scm-hg-plugin-1.35.jar
14:46:10.359 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - load core plugin /root/scm-server/work/webapp/WEB-INF/lib/scm-git-plugin-1.35.jar
14:46:10.367 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - load core plugin /root/scm-server/work/webapp/WEB-INF/lib/scm-svn-plugin-1.35.jar
14:46:10.897 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - add module class sonia.scm.web.GitServletModule
14:46:10.898 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - add module class sonia.scm.web.HgServletModule
14:46:10.898 [main] INFO  sonia.scm.plugin.DefaultPluginLoader - add module class sonia.scm.web.SvnServletModule
14:46:11.449 [main] INFO  sonia.scm.event.ScmEventBus - use sonia.scm.event.GuavaScmEventBus as event bus implementation
14:46:11.473 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind 11 extensions to 22 extension points
14:46:11.476 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.web.security.AuthenticationHandler
14:46:11.503 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.web.security.DefaultAuthenticationHandler to multibinder of sonia.scm.web.sec
14:46:11.505 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.RepositoryManagerDecoratorFactory
14:46:11.507 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.ChangesetPreProcessorFactory
14:46:11.509 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.RepositoryRequestListener
14:46:11.511 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.FileObjectPreProcessorFactory
14:46:11.513 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.RepositoryHook
14:46:11.515 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.web.security.AuthenticationListener
14:46:11.517 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.spi.RepositoryServiceResolver
14:46:11.524 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.spi.SvnRepositoryServiceResolver to multibinder of sonia.scm.repos
14:46:11.525 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.spi.HgRepositoryServiceResolver to multibinder of sonia.scm.reposi
14:46:11.525 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.spi.GitRepositoryServiceResolver to multibinder of sonia.scm.repos
14:46:11.526 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.group.GroupListener
14:46:11.528 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.BlameLinePreProcessorFactory
14:46:11.530 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.RepositoryHandler
14:46:11.531 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.SvnRepositoryHandler to multibinder of sonia.scm.repository.Reposi
14:46:11.532 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.HgRepositoryHandler to multibinder of sonia.scm.repository.Reposit
14:46:11.532 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.repository.GitRepositoryHandler to multibinder of sonia.scm.repository.Reposi
14:46:11.533 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.RepositoryListener
14:46:11.538 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for javax.servlet.ServletContextListener
14:46:11.540 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - bind sonia.scm.web.GitContextListener to multibinder of javax.servlet.ServletContextListener
14:46:11.540 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.BlameLinePreProcessor
14:46:11.542 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.user.UserManagerDecoratorFactory
14:46:11.544 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.web.filter.AutoLoginModule
14:46:11.546 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.user.UserListener
14:46:11.548 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.ChangesetPreProcessor
14:46:11.549 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.resources.ResourceHandler
14:46:11.551 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.group.GroupManagerDecoratorFactory
14:46:11.553 [main] INFO  sonia.scm.plugin.ext.ExtensionBinder - create multibinder for sonia.scm.repository.FileObjectPreProcessor
14:46:11.590 [main] INFO  sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm
14:46:13.007 [main] WARN  sonia.scm.cache.GuavaCacheConfigurationReader - could not find manual configuration at /root/.scm/ext/gcache.xml
14:46:13.507 [main] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Ty
14:46:13.507 [main] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Typ
14:46:13.517 [main] INFO  sonia.scm.repository.DefaultRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Ty
2014-02-14 14:46:13.707:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/scm,file:/root/scm-server/work/webapp/},/root/scm-server/var/webapp/scm-weba
14:46:13.709 [main] INFO  sonia.scm.boot.BootstrapFilter - fallback to default classloader for GuiceFilter
Feb 14, 2014 2:46:14 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  sonia.scm
Feb 14, 2014 2:46:14 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
  class sonia.scm.api.rest.resources.ChangePasswordResource
  class sonia.scm.api.rest.resources.GroupResource
  class sonia.scm.api.rest.resources.PluginResource
  class sonia.scm.api.rest.resources.RepositoryImportResource
  class sonia.scm.api.rest.resources.SearchResource
  class sonia.scm.api.rest.resources.UserResource
  class sonia.scm.api.rest.resources.SvnConfigResource
  class sonia.scm.api.rest.resources.HgConfigResource
  class sonia.scm.api.rest.resources.AuthenticationResource
  class sonia.scm.api.rest.resources.GitConfigResource
  class sonia.scm.api.rest.resources.ConfigurationResource
  class sonia.scm.api.rest.resources.RepositoryRootResource
  class sonia.scm.api.rest.resources.RepositoryResource
  class sonia.scm.api.rest.resources.SupportResource
  class sonia.scm.api.rest.resources.SecuritySystemResource
Feb 14, 2014 2:46:14 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Provider classes found:
  class sonia.scm.api.rest.RestActionUploadResultMessageWriter
  class sonia.scm.api.rest.ScmSecurityExceptionMapper
  class sonia.scm.api.rest.TemplateEngineViewable
Feb 14, 2014 2:46:14 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.18 11/22/2013 01:21 AM'
Feb 14, 2014 2:46:14 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.TemplateEngineViewable to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:16 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.ConfigurationResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.PluginResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.GroupResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.RepositoryImportResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.SecuritySystemResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.RepositoryResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.UserResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.SupportResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.ChangePasswordResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.RepositoryRootResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.SearchResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.AuthenticationResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.HgConfigResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.GitConfigResource to GuiceInstantiatedComponentProvider
Feb 14, 2014 2:46:17 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding sonia.scm.api.rest.resources.SvnConfigResource to GuiceInstantiatedComponentProvider
2014-02-14 14:46:17.808:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2014-02-14 14:46:17.814:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,[file:/root/scm-server/var/webapp/docroot/]}
2014-02-14 14:46:17.871:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:8080
 
I get no response from the server when trying to browse it.  Ideas?  Sorry if a double post, it didn't show up on my end if it did.

Sebastian Sdorra

unread,
Feb 17, 2014, 2:20:40 PM2/17/14
to scmma...@googlegroups.com
Hi,
The server start looks good. Could you try to access scm-manager from localhost:


Just to be sure that it is not a firewall or network problem.

Sebastian


--
You received this message because you are subscribed to the Google Groups "scmmanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scmmanager+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stephan Christann

unread,
Feb 18, 2014, 1:46:29 AM2/18/14
to scmma...@googlegroups.com
Hello Paul,

after having a look at your startup I am quite sure that this is a
problem with selinux and/or your firewall. While selinux is quite
annoying i often switch it off, if the server is not standing in the
internet directly.
You can determine what state your selinux has, just follow this guide:
http://www.revsys.com/writings/quicktips/turn-off-selinux.html

Additionally you should have a look at your firewall settings
(commandline as root user):
iptables -L -nv

Interesting at this point is the INPUT chain policy and the entries
within.

Stephan


PS: After everything seems to be started, you should also have a look
after the open ports on your system. This can be done by executing:
netstat -lnvp
This provides information about what is running on an opened port on
your system.
> --
> You received this message because you are subscribed to the Google
> Groups "scmmanager" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to scmmanager+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--

Mit freundlichen Grüßen

Stephan Christann

TRIOLOGY GmbH
Brabandtstraße 9 – 10
38100 Braunschweig

Tel. : +49 531 23528-30
Fax : +49 531 23528-19

E-Mail: stephan....@triology.de
Web : www.triology.de

Besuchen Sie uns auf Facebook!

Geschäftsführer: T. Friedrich, T. Grosser, T. Paliga

Gerichtsstand Braunschweig; Amtsgericht Braunschweig, HRB 9263

----------------------------------------------------------------------
Diese E-Mail und ihre Anhänge sind nur zu dem Gebrauch durch den
beabsichtigten Empfänger bestimmt und können rechtlich geschützte
oder vertrauliche Informationen enthalten. Sollten Sie weder der
beabsichtigte Empfänger noch zur Zustellung an diesen berechtigt
sein, so ist jede Weitergabe, Vervielfältigung oder sonstige Nutzung
dieser E-Mail oder ihrer Anhänge zu unterlassen. Wenn Sie diese
Mitteilung irrtümlich erhalten haben, benachrichtigen Sie bitte
umgehend den Absender und löschen die Mitteilung.
----------------------------------------------------------------------

Paul

unread,
Feb 18, 2014, 2:30:51 PM2/18/14
to scmma...@googlegroups.com

[root@dw-147 ~]# selinuxenabled && echo enabled || echo disabled
disabled
[root@dw-147 ~]# curl http://localhost:8080/scm/index.html
<!--

    Copyright (c) 2010, Sebastian Sdorra
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
    3. Neither the name of SCM-Manager; nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE A                                               RE
    DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND                                                ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI                                               S
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    http://bitbucket.org/sdorra/scm-manager


-->

<!doctype html>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=8">

    <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="resources/im                                               ages/favicon.ico" />
                <!--
    <link rel="icon" type="image/png" href="resources/images/favicon.png" />
    -->

    <script type="text/javascript">
      var i18n = {
        locale: 'en_US',
        country: 'en'
      };
      var scmGlobalConfiguration = {
        anonymousAccessEnabled: false
      };
    </script>

<link type="text/css" rel="stylesheet" href="resources/958dd4be2e9ad45cee960de7c                                               6b4d8d11c849068.css" />
<!-- moment.js -->
<script type="text/javascript" src="resources/c7bcfcb041ded39ddb61eea8b0830721be                                               2d85a4.js"></script>
<!-- core overrides -->
<!-- extjs -->
<!-- sonia.global -->
<!-- sonia.util -->
<!-- sonia.override -->
<!-- sonia.state -->
<!-- sonia.navigation -->
<!-- sonia.login -->
<!-- sonia.panel -->
<!-- sonia.rest -->
<!-- sonia.repository -->
<!-- sonia.user -->
<!-- sonia.group -->
<!-- sonia.security -->
<!-- sonia.config -->
<!-- sonia.action -->
<!-- sonia.plugin -->
<!-- sonia.scm -->
    <!-- plugins -->
    <script type="text/javascript" src="plugins/resources/js/b8a3843ef2ac07ac0a9                                               6a462f62fab7d3c94f39f.js"></script>


    <title>SCM Manager</title>
  </head>
  <body>

    <!-- use class="x-hide-display" to prevent a brief flicker of the content --                                               >
    <div id="north" class="x-hide-display">

      <div id="header" style="visibility: visible; ">
        <div id="appTitle" class="left-side">
          <img src="resources/images/scm-logo.jpg" alt="SCM Manager">
        </div>
        <div  id="logo" class="right-side">
          <!--
          <img src="resources/images/logo.gif" alt="">
          -->
        </div>
      </div>

    </div>
    <div id="west" class="x-hide-display">
    </div>
    <div id="repository-tab" class="x-hide-display">
      <h1>SCM Managers</h1>
    </div>
    <div id="props-panel" class="x-hide-display" style="width:200px;height:200px                                               ;overflow:hidden;">
    </div>
    <div id="south" class="x-hide-display">

      <div id="footer" style="visibility: visible; ">
        <div class="left-side">
          &copy; <a target="_blank" href="http://bitbucket.org/sdorra/scm-manage                                               r">SCM Manager</a>
        </div>
        <div class="right-side">
          <span id="scm-userinfo"></span> 1.35
        </div>
      </div>

    </div>

    <!-- Fields required for history management -->
    <form id="history-form" class="x-hidden">
      <input type="hidden" id="x-history-field" />
      <iframe id="x-history-frame"></iframe>
    </form>

    <noscript>
      <div class="noscript-container">
        <h1>SCM-Manager</h1>
        <p>
          <b>Warning:</b> SCM-Manager requires JavaScript.
          Please enable JavaScript in your browser and try again.
        <p>
      </div>
    </noscript>
  </body>
</html>
[root@dw-147 ~]#
 
It appears it is alive.  

João Santos

unread,
Mar 5, 2014, 12:05:09 PM3/5/14
to scmma...@googlegroups.com
Hi,


Add iptables exception on port 8080
Reply all
Reply to author
Forward
0 new messages