Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh server key generation fails on arm #722

Closed
gitblit opened this issue Aug 12, 2015 · 2 comments
Closed

ssh server key generation fails on arm #722

gitblit opened this issue Aug 12, 2015 · 2 comments

Comments

@gitblit
Copy link
Owner

@gitblit gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 426

Gitblit fails to generate ssh-server-keys. There's an exception logged and empty .pem-files
created:

2014-05-11 10:05:21 [WARN ] FAILED o.e.j.w.WebAppContext@f270d4{/,file:/home/git/local/gitblit/data/temp/webapp/,STARTING}{file:/home/git/local/gitblit/gitblit.jar}:
java.lang.UnsatisfiedLinkError: JNA native support (/com/sun/jna/linux-arm/libjnidispatch.so)
not found in resource path
java.lang.UnsatisfiedLinkError: JNA native support (/com/sun/jna/linux-arm/libjnidispatch.so)
not found in resource path
    at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:734)
    at com.sun.jna.Native.loadNativeLibrary(Native.java:708)
    at com.sun.jna.Native.<clinit>(Native.java:127)
    at com.gitblit.utils.JnaUtils.getUnixCLibrary(JnaUtils.java:358)
    at com.gitblit.utils.JnaUtils.setFilemode(JnaUtils.java:144)
    at com.gitblit.utils.JnaUtils.setFilemode(JnaUtils.java:122)
    at com.gitblit.transport.ssh.SshDaemon.generateKeyPair(SshDaemon.java:214)
    at com.gitblit.transport.ssh.SshDaemon.<init>(SshDaemon.java:91)
    at com.gitblit.manager.ServicesManager.configureSshDaemon(ServicesManager.java:161)
    at com.gitblit.manager.ServicesManager.start(ServicesManager.java:85)
    at com.gitblit.GitBlit.start(GitBlit.java:102)
    at com.gitblit.GitBlit.start(GitBlit.java:64)
    at com.gitblit.servlet.GitblitContext.startManager(GitblitContext.java:211)
    at com.gitblit.servlet.GitblitContext.configureContext(GitblitContext.java:185)
    at com.gitblit.servlet.GitblitContext.contextInitialized(GitblitContext.java:130)
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:446)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:792)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:296)
    at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1359)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1352)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:744)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:497)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:125)
    at org.eclipse.jetty.server.Server.start(Server.java:358)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:60)
    at org.eclipse.jetty.server.Server.doStart(Server.java:325)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at com.gitblit.GitBlitServer.start(GitBlitServer.java:466)
    at com.gitblit.GitBlitServer.main(GitBlitServer.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.moxie.MxLauncher.main(MxLauncher.java:129)



I am using cubian with openjdk 1.7.

Reported by marcus.hunger on 2014-05-11 10:09:46

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Thanks for the report.  The hotfix has been pushed to master and develop.

Reported by James.Moger on 2014-05-12 12:22:51

  • Status changed: Queued
  • Labels added: Milestone-1.6.0

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

1.6.0 released.

Reported by James.Moger on 2014-06-17 00:24:34

  • Status changed: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants