Hi,
I am new to Apache DS. I have used other DS's such as Sun, Oracle and
Forgerock. so i'm mostly familiar with their operations.

Right now I have a pair of Apache DS instances replicating to each other.
I'm having an issue with running the shutdown command. The process is
hanging and just repeatedly attempts to shut the process down but doesn't
succeed. I'm thinking defining an ADS_SHUTDOWN_PORT as an environment
variable. but i'm not sure how that works. I couldn't find any
documentation other than the help section of the apachds.sh.

[apache@apacheds1 bin]$ bash apacheds.sh default stop
Using ADS_HOME:    /opt/apacheds/apacheds-2.0.0.AM26
Using JAVA_HOME:
 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.292.b10-0.fc32.x86_64/jre

Stopping ApacheDS instance 'default' running as 1858
Exception in thread "main" java.net.ConnectException: Connection refused
(Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:607)
        at java.net.Socket.connect(Socket.java:556)
        at java.net.Socket.<init>(Socket.java:452)
        at java.net.Socket.<init>(Socket.java:262)
        at org.apache.directory.server.UberjarMain.main(UberjarMain.java:88)
ApacheDS stopping 1858: 0, 60 attempts remaining
ApacheDS stopping 1858: 0, 59 attempts remaining
ApacheDS stopping 1858: 0, 58 attempts remaining
ApacheDS stopping 1858: 0, 57 attempts remaining
ApacheDS stopping 1858: 0, 56 attempts remaining
ApacheDS stopping 1858: 0, 55 attempts remaining
ApacheDS stopping 1858: 0, 54 attempts remaining
ApacheDS stopping 1858: 0, 53 attempts remaining
ApacheDS stopping 1858: 0, 52 attempts remaining
ApacheDS stopping 1858: 0, 51 attempts remaining
ApacheDS stopping 1858: 0, 50 attempts remaining
ApacheDS stopping 1858: 0, 49 attempts remaining


-- 
Thanks,
Brian Wolfe
https://www.linkedin.com/in/brian-wolfe-3136425a/

Reply via email to