You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "yt (JIRA)" <ji...@apache.org> on 2009/10/27 00:14:59 UTC

[jira] Created: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
-------------------------------------------------------------------------------------------

                 Key: DIRSERVER-1420
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.5
         Environment: opensuse 1.11
$ uname -r
Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
            Reporter: yt


[14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
the server : reuseAddress can't be set while the acceptor is bound.

This message comes about when I shutdown apacheds with
# /etc/init.d/apacheds-1.5.5-default stop


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari closed DIRSERVER-1420.
-------------------------------------

      Assignee: Kiran Ayyagari
    Resolution: Fixed

This is happening due to a call to set the 'reuseAddress' flag on an an already bound acceptor. This call is not necessary as the
flag was already set before creating the acceptor.

Fixed here http://svn.apache.org/viewvc?rev=991824&view=rev

> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: Wai Tam
>            Assignee: Kiran Ayyagari
>             Fix For: 2.0.0-RC1
>
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "tb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791444#action_12791444 ] 

tb commented on DIRSERVER-1420:
-------------------------------

Also getting this on windows xp, took all defaults during install.  Using java6.

[11:39:58] WARN [org.apache.directory.server.schema.registries.DefaultOidRegistry] - OID for name 'krb5PrincipalName' was not found within the OID registry
[11:39:58] ERROR [org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry] - attributeType w/ OID 2.5.4.16 not registered!
[11:40:00] ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.



> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: yt
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "Chet Orton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802050#action_12802050 ] 

Chet Orton commented on DIRSERVER-1420:
---------------------------------------

I, too, am seeing this on XP. Server cannot be started. Same log messages as tb posted. Took all defaults on install. Java version 1.6.0_12-b04. 

> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: yt
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "Chet Orton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802057#action_12802057 ] 

Chet Orton commented on DIRSERVER-1420:
---------------------------------------

Update on my previous post: The error is logged during startup on XP, not shutdown as was reported by originator, who appears to be on a *nix box. However, the system _seems_ to be running fine. I verified that the configured ports,10389 and 10686, were not in use before startup and that both had listeners after startup.

> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: yt
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873843#action_12873843 ] 

Emmanuel Lecharny commented on DIRSERVER-1420:
----------------------------------------------

Has this problem been fixed by 1.5.6 or 1.5.7 ? 

Unless we get a clear no, we will close this issue.

> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: Wai Tam
>             Fix For: 2.0.0-RC1
>
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "David Tonhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883607#action_12883607 ] 

David Tonhofer edited comment on DIRSERVER-1420 at 6/29/10 12:47 PM:
---------------------------------------------------------------------

In 1.5.7 you get this message at directory server startup instead of shutdown:

ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.

However, this doesn't seem to faze the server as it starts up regardless. 


JVM:

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)



      was (Author: yatima):
    In 1.5.7 you get this message at directory server startup instead of shutdown:

ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.

However, this doesn't seem to faze the server as it starts up regardless. 




  
> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: Wai Tam
>             Fix For: 2.0.0-RC1
>
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "David Tonhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883607#action_12883607 ] 

David Tonhofer commented on DIRSERVER-1420:
-------------------------------------------

In 1.5.7 you get this message at directory server startup instead of shutdown:

ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.

However, this doesn't seem to faze the server as it starts up regardless. 





> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: Wai Tam
>             Fix For: 2.0.0-RC1
>
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1420) Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1420:
-----------------------------------------

    Fix Version/s: 2.0.0-RC1

Some fix has been applied in this area, not sure that it will fix this issue. To be tested.

> Cannot start the server : reuseAddress can't be set while the acceptor is bound at shutdown
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1420
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1420
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>         Environment: opensuse 1.11
> $ uname -r
> Linux somehost 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
>            Reporter: yt
>             Fix For: 2.0.0-RC1
>
>
> [14:47:38] ERROR [org.apache.directory.server.Service] - Cannot start
> the server : reuseAddress can't be set while the acceptor is bound.
> This message comes about when I shutdown apacheds with
> # /etc/init.d/apacheds-1.5.5-default stop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.