karaf-wrapper on Ubuntu 9.10

View: New views
2 Messages — Rating Filter:   Alert me  

karaf-wrapper on Ubuntu 9.10

by Andreas Kollegger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Having some trouble getting karaf started as a service under 64 bit  
Ubuntu 9.10. Installing the scripts
and wrapper using the wrapper feature from within karaf work fine, as  
does creating the init.d link and
start-levels for the service. However, calling karaf-wrapper fails  
with a complaint...

        Starting karaf...
        /srv/gather/karaf/bin/karaf-wrapper /srv/gather/karaf/etc/karaf-
wrapper.conf wrapper.syslog.ident=karaf wrapper.pidfile=/srv/gather/
karaf/data/karaf.pid wrapper.daemonize=TRUE
        exec: 542: /srv/gather/karaf/bin/karaf-wrapper: not found

I've added an echo of the command prior to running the command as a  
debug procedure. The file is clearly there and has the correct  
permissions...

        ls -l /srv/gather/karaf/bin/karaf-wrapper
        -rwxr-xr-x 1 root root 89171 2009-11-09 16:23 /srv/gather/karaf/bin/
karaf-wrapper

Calling karaf-wrapper directly has the same problem. Would this be  
because of a missing library?

Thanks for any insights,
Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: karaf-wrapper on Ubuntu 9.10

by Andreas Kollegger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Turns out that the karaf wrapper feature attempts to install a  
platform specific version
of Java Service Wrapper[1]. Manually downloading the correct version  
for the platform
and replacing karaf-wrapper gets things working.

The "file not found" complaint is confusing, but in this context just  
indicates that the
executable was incompatible.

[1] http://wrapper.tanukisoftware.org/doc/english/download.jsp

Best,
Andreas

On Nov 9, 2009, at 5:20 PM, Andreas Kollegger wrote:

> Hi all,
>
> Having some trouble getting karaf started as a service under 64 bit  
> Ubuntu 9.10. Installing the scripts
> and wrapper using the wrapper feature from within karaf work fine,  
> as does creating the init.d link and
> start-levels for the service. However, calling karaf-wrapper fails  
> with a complaint...
>
> Starting karaf...
> /srv/gather/karaf/bin/karaf-wrapper /srv/gather/karaf/etc/karaf-
> wrapper.conf wrapper.syslog.ident=karaf wrapper.pidfile=/srv/gather/
> karaf/data/karaf.pid wrapper.daemonize=TRUE
> exec: 542: /srv/gather/karaf/bin/karaf-wrapper: not found
>
> I've added an echo of the command prior to running the command as a  
> debug procedure. The file is clearly there and has the correct  
> permissions...
>
> ls -l /srv/gather/karaf/bin/karaf-wrapper
> -rwxr-xr-x 1 root root 89171 2009-11-09 16:23 /srv/gather/karaf/bin/
> karaf-wrapper
>
> Calling karaf-wrapper directly has the same problem. Would this be  
> because of a missing library?
>
> Thanks for any insights,
> Andreas
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...