Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2583202
  • 博文数量: 323
  • 博客积分: 10211
  • 博客等级: 上将
  • 技术积分: 4934
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-27 14:56
文章分类

全部博文(323)

文章存档

2012年(5)

2011年(3)

2010年(6)

2009年(140)

2008年(169)

分类: Delphi

2009-10-12 11:33:50

 配置完Domino server 8.5后,启动server发现启动报错。报错信息如下:
 
10/12/2009 10:07:02   HTTP Server: Creating Domino Web Administrator...
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:07:08   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:07:08   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:07:08   Suspending listen task for 20 seconds due to network errors
10/12/2009 10:07:24   HTTP Server: Domino Web Administrator created
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:07:28   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:07:28   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:07:28   Suspending listen task for 20 seconds due to network errors
10/12/2009 10:07:35   Event: Setting up default monitors in Monitoring Configuration database.
10/12/2009 10:07:36   XSP Command Manager initialized
10/12/2009 10:07:36   HTTP Server: Started
10/12/2009 10:07:41   Event: Upgrading the design and data of EVENTS4.NSF...
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:07:48   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:07:48   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:07:48   Suspending listen task for 20 seconds due to network errors
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:08:08   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:08:08   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:08:08   Suspending listen task for 20 seconds due to network errors
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:08:28   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:08:28   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:08:28   Suspending listen task for 20 seconds due to network errors
10/12/2009 10:08:38   Event: Creating the Domino Domain Monitor (8) database.
10/12/2009 10:08:39   Created Domain Monitoring Database from template, verify ACL as changes may have been lost
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:08:49   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:08:49   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:08:49   Suspending listen task for 20 seconds due to network errors
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:09:09   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:09:09   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:09:09   Suspending listen task for 20 seconds due to network errors
Unable to bind to port Port = 25 errno = 67 "Address already in use"
10/12/2009 10:09:29   ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
10/12/2009 10:09:29   SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.
10/12/2009 10:09:29   Suspending listen task for 20 seconds due to network errors
到IBM的网站找到一篇文章,是关于bindsock报错的。内容如下:
 
Problem
When you attempt to load the HTTP task on any Lotus® Domino® server partition on Linux®, the following error occurs:

    "Error: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
    HTTP Server: Error - Unable to Bind example.com, port 80, port may be in use
    HTTP Server: Shutdown"

You verify that bindsock shows the correct ownership and permissions, as follows:

-r-sr-xr-x 1 root bin 19394 Sep 27 2006
/opt/lotus/notes/latest/linux/bindsock
     
    Cause
    For one known case, the error message is misleading. Bindsock is present and has the proper ownership and permissions. The error occurs because it is unable to bind to the IP address specified.

    For this case, the problem occurred after the administrator installed a network appliance. Part of the setup for this appliance changed the DNS to point all affected traffic to the appliance's IP address. Thus, in the DNS, the fully qualified domain name (FQDN) for the Domino server was directed to the appliance's IP address.

    In addition, the "Bind to hostname" field in the Server document was set to enabled. Therefore, the HTTP task attempts to resolve the FQDN by using the local host file. In this case, the local host had no entry for the Domino server, so HTTP attempted to resolve the name by using the DNS server. The DNS server was changed by the network appliance so that the Domino server's name resolved to the appliance's IP address. Thus, HTTP failed and could not bind to that IP address.

     
    Diagnosing the problem
    To diagnose this problem, check that the machine has only one NIC and one IP Address defined.

    Next, confirm that the nsswitch.conf 'host' entry lists files first, as follows:

    "hosts:      files DNS"

    This list defines that the operating system resolves FQDN by using the local host file first rather than by DNS.

    Next check the "Bind to hostname" field in the Server document. If it is enabled, make sure it contains the FQDN value.

    Note whether the local host file (/etc/hosts) does or does not have a FQDN and IP address entry for the local server.

     
    Resolving the problem
    To resolve the issue, disable the "Bind to hostname" field in the Server document and restart the HTTP task. With "Bind to hostname" disabled, HTTP binds to the first available port 80. In this case there was one NIC and one defined IP address, thus only port 80 for the server to bind to.

    Another solution is to add the local host's FQDN and IP address to the host file.

    我检查了一下,bindsock这个文件的权限是没啥问题的。然后检查hosts文件,将FQDN(test1.chervon.com)加入hosts文件。重启服务问题还是没有解决。我开始注意到第二个报错信息:Unable to bind to port Port = 25 errno = 67 "Address already in use"  25端口被什么进程占用了呢?查一下先。
    #netstat -Aan |grep 25
    f1000600001e1b98 tcp4       0      0  *.25               *.*                LISTEN
    f100060002125b98 tcp4       0      0  *.111              *.*                LISTEN
    f100060000253398 tcp4       0      0  *.32778            *.*                LISTEN
    f100060000253b98 tcp4       0      0  127.0.0.1.32780    127.0.0.1.32770    ESTABLISHED
    f100060002153400 udp4       0      0  192.168.11.255.617 *.*              

    #rmsock f1000600001e1b98 tcpcb
    The socket 0x1e1808 is being held by proccess 249956 (sendmail).

    --原来是sendmail占用了。先停掉sendmail服务。

    #lssrc -s sendmail
    Subsystem         Group            PID          Status
     sendmail         mail             249956       active

    #stopsrc -s sendmail
    0513-044 The sendmail Subsystem was requested to stop.

    #lssrc -s sendmail
    Subsystem         Group            PID          Status
     sendmail         mail                          inoperative

    --如果想永久停掉还需要编辑/etc/rc.tcpip文件,注释掉启动sendmail的部分。
    最后启动Domino server问题解决!

     

     

    阅读(8052) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~