Starting ApacheDS 1.0 on Debian Linux
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Starting ApacheDS 1.0 on Debian Linux




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Starting ApacheDS 1.0 on Debian Linux  
Stefan Zoerner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-01-07 12:11 AM

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/boots
trapper.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







[ Post a follow-up to this message ]



    Re: Starting ApacheDS 1.0 on Debian Linux  
Stefan Seelmann


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-01-07 12:11 AM

Hi Stefan, Hi Michael

I checked this deb:
http://www.apache.org/dist/director...3
86.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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:40 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register