[389-users] The admin server: failed to get a socket for 0.0.0.0
Predrag Zecevic [Unix Systems Administrator]
predrag.zecevic at 2e-systems.com
Thu Jan 16 09:00:52 UTC 2014
Hi,
check if you have another process listening on that port.
Regards.
On 01/16/14 09:54 AM, Jan Tomasek wrote:
> On 01/15/2014 08:39 PM, Jonathan Vaughn wrote:
>> Ah, I should have been more clear - I was asking if it was, because
>> sometimes that sort of error can be caused be SELinux blocking the bind
>> operation. If it's not enabled, it obviously isn't the culprit though.
>>
>> Though since you mention OpenVZ... maybe there's something weird with
>> the OpenVZ kernel?
>
> OpenVZ doesn't support SElinux, but when:
> [root at ldap21shadow ~]# sestatus
> SELinux status: disabled
>
> than it should not be issue. I'm running other instances of 389 under
> OpenVZ so that is not problem.
>
> [root at ldap21shadow ~]# head -87 /etc/dirsrv/admin-serv/console.conf |
> tail -5
> # e.g. "Listen 12.34.56.78:80"
> #
> # To allow connections to IPv6 addresses add "Listen [::]:80"
> #
> Listen 0.0.0.0:9830
>
> [root at ldap21shadow ~]# /etc/init.d/dirsrv-admin start
> Starting dirsrv-admin:
> [Wed Jan 15 05:29:55 2014] [crit] (22)Invalid argument: alloc_listener:
> failed to get a socket for 0.0.0.0
> Syntax error on line 87 of /etc/dirsrv/admin-serv/console.conf:
> Listen setup failed
> Server failed to start !!! Please check errors log for problems
>
> Why Syntax error on "Listen 0.0.0.0:9830"?
>
--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile: +49 174 3109 288, Skype: predrag.zecevic
E-mail: predrag.zecevic at 2e-systems.com
Headquarter: 2e Systems GmbH, Königsteiner Str. 87,
65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
[***]===---
Q: What do little WASPs want to be when they grow up? A: The very best
person they can possibly be.
More information about the 389-users
mailing list