Package: ejabberd
Version: 2.1.5-3
Severity: normal

I have been facing a similar problem for a very long time. Stop followed by a
start works fine but a restart takes a very long time. The fix I did was to
change "sleep 1" to "sleep 2" in the init.d script and restart was working
fine.



-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ejabberd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  erlang-asn1             1:14.a-dfsg-3    Erlang/OTP modules for ASN.1 suppo
ii  erlang-base [erlang-abi 1:14.a-dfsg-3    Erlang/OTP virtual machine and bas
ii  erlang-crypto           1:14.a-dfsg-3    Erlang/OTP cryptographic modules
ii  erlang-inets            1:14.a-dfsg-3    Erlang/OTP Internet clients and se
ii  erlang-mnesia           1:14.a-dfsg-3    Erlang/OTP distributed relational/
ii  erlang-odbc             1:14.a-dfsg-3    Erlang/OTP interface to SQL databa
ii  erlang-public-key       1:14.a-dfsg-3    Erlang/OTP public key infrastructu
ii  erlang-ssl              1:14.a-dfsg-3    Erlang/OTP implementation of SSL
ii  erlang-syntax-tools     1:14.a-dfsg-3    Erlang/OTP modules for handling ab
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libpam0g                1.1.1-6.1        Pluggable Authentication Modules l
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  openssl                 0.9.8o-4squeeze1 Secure Socket Layer (SSL) binary a
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

ejabberd recommends no packages.

Versions of packages ejabberd suggests:
ii  imagemagick                  8:6.6.0.4-3 image manipulation programs
ii  libunix-syslog-perl          1.1-2       Perl interface to the UNIX syslog(
--- ejabberd-2.1.4.debian/debian/init.d 2010-08-02 21:43:01.000000000 +0530
+++ ejabberd-2.1.4/debian/init.d        2010-08-03 12:25:05.000000000 +0530
@@ -71,7 +71,7 @@
 {
     if ctl stop ; then
        cnt=0
-       sleep 1
+       sleep 2
        while ctl status || test $? = 1 ; do
            echo -n .
            cnt=`expr $cnt + 1`

Reply via email to