Unable to bind the socket to receive multicast packets: Permission denied (13)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am following the guide posted here: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/

I have two servers with dual NICS:

Server 1

                NIC-A: 10.89.99.31

                NIC-B: 192.168.1.5

Server 2

                NIC-A: 10.89.99.32

                NIC-B: 192.168.1.10

 

I want to use NIC-B on both machines to carry corosync traffic. I got down to this section:

1.       export ais_port=4000

2.       export ais_mcast=226.94.1.1

3.       export ais_addr=`ip addr | grep “inet” | tail –n 1 | awk ‘{print $4}’ | sed s/255/0/`

4.       env | grep ais_ais_mcast=226.94.1.1

 

The last command did not produce any output, so I edited the corosync.conf file manually. I have attached a copy of the file as it appears on both servers. I am able to start corosync up on Server 1 with no problems. On Server 2, I am getting the errors below:

 

Jun  7 01:06:48 KNTCLFS002 corosync[2452]:   [TOTEM ] Initializing transport (UDP/IP Multicast).

Jun  7 01:06:48 KNTCLFS002 corosync[2452]:   [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0).

Jun  7 01:06:48 KNTCLFS002 corosync[2452]:   [TOTEM ] Unable to bind the socket to receive multicast packets: Permission denied (13)

Jun  7 01:06:48 KNTCLFS002 corosync[2452]:   [TOTEM ] Could not set traffic priority: Socket operation on non-socket (88)

Jun  7 01:06:48 KNTCLFS002 corosync[2452]:   [TOTEM ] The network interface [192.168.1.10] is now up.

Jun  7 01:07:32 KNTCLFS002 corosync[2452]:   [TOTEM ] Totem is unable to form a cluster because of an operating system or network fault. The most common cause of this message is that the local firewall is configured improperly.

 

I have made sure that iptables is turned off and selinux is set to permissive. When I run the command ‘corosync-blackbox’ I get this:

 

rec=[1056] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1057] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1058] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1059] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1060] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1061] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1062] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1063] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1064] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1065] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1066] Log Message=The consensus timeout expired.

rec=[1067] Log Message=sendmsg(mcast) failed (non-critical): Socket operation on non-socket (88)

rec=[1068] Log Message=entering GATHER state from 3.

rec=[1069] Log Message=Totem is unable to form a cluster because of an operating system or network fault. The most common cause of this message is that the local firewall is configured improperly.

 

I can ping each machine from the other one. Any help will be greatly appreciated.

 

 

 

 

Thanks,

William

 

# Please read the corosync.conf.5 manual page
compatibility: whitetank

totem {
        version: 2
        token: 5000
        token_retransmits_before_lost_const: 10
        join: 1000
        consensus: 6000
        vsftype: none
        max_messages: 20
        send_join: 45
        clear_node_high_bit: yes
        secauth: off
        threads: 0
        interface {
                ringnumber: 0
                bindnetaddr: 192.168.1.0
                mcastaddr: 226.94.1.1
                mcastport: 4000
                ttl: 1
        }
}

logging {
        fileline: off
        to_stderr: no
        to_logfile: yes
        to_syslog: yes
        logfile: /var/log/cluster/corosync.log
        debug: off
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off
        }
}

amf {
        mode: disabled
}
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss

[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux