|
Home > Archive > Apache Directory Project > January 2007 > Starting ApacheDS 1.0 on Debian Linux
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Starting ApacheDS 1.0 on Debian Linux
|
|
| Stefan Zoerner 2007-01-31, 7:11 pm |
| Hi all!
Michael has problems if he tries to start ApacheDS on a Debian Linux. I
only have Solaris boxes here. Any idea? seems to be something with the
shell, see below ...
> jetzt wollte ich das Ganze mal ausprobieren.
> 1) Verusch mit dem Debian-Paket apacheds_1.0.0-1_i386.deb
> ein /etc/init.d/apacheds liefert folgendes:
>
> root@king:~# /etc/init.d/apacheds start
> JAVA_HOME=/usr/lib/java
> APACHEDS_HOME=/usr/local/apacheds-1.0.0
> CLASSPATH=:/usr/lib/java/lib/tools.jar:/usr/local/apacheds-1.0.0/bin/bootstrapper.jar:/usr/local/apacheds-1.0.0/bin/logger.jar:/usr/local/apacheds-1.0.0/bin/daemon.jar
>
> Starting apacheds server: /etc/init.d/apacheds: line 155: success:
> command not found
> /etc/init.d/apacheds: line 156: failure: command not found
>
> Mit der java-Version:
> Java -version
> Java version "1.5.0_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
>
Thanks in advance + Greetings from Hamburg,
Stefan
---8<---
Stefan Zoerner (szoerner-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org)
Apache Directory Project
Committer :: PMC Member
| |
| Stefan Seelmann 2007-01-31, 7:11 pm |
| Hi Stefan, Hi Michael
I checked this deb:
http://www.apache.org/dist/director....0.0-1_i386.deb
The init script in the deb differs from to the script installed by the
installer. Here is the diff, I removed my custom changes:
---------------------------------------------------------
$ diff apacheds /etc/init.d/apacheds
155,156c160,161
< [ "$RETVAL" -eq 0 ] && success $"apacheds server startup" || \
< failure $"apacheds server start"
---
> [ "$RETVAL" -eq 0 ] && echo successful apacheds server startup
|| \
> echo failure apacheds server start
186,187c191,192
< [ "$RETVAL" -eq 0 ] && success $"apacheds server shutdown" || \
< failure $"apacheds server shutdown"
---
> [ "$RETVAL" -eq 0 ] && echo successful apacheds server
shutdown || \
> echo failure apacheds server shutdown
---------------------------------------------------------
So a quick fix should be to add the missing "echo" commands in
/etc/init.d/apacheds
If it works we should patch the published deb.
Regards,
(another) Stefan
Stefan Zoerner schrieb:
> Hi all!
>
> Michael has problems if he tries to start ApacheDS on a Debian Linux.
> I only have Solaris boxes here. Any idea? seems to be something with
> the shell, see below ...
>
>
> Thanks in advance + Greetings from Hamburg,
> Stefan
>
> ---8<---
>
> Stefan Zoerner (szoerner-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org)
> Apache Directory Project
> Committer :: PMC Member
|
|
|
|
|