|
debug
[2015-08-01 08:01:14] INFO: bxc.sh start
[2015-08-01 08:01:14] INFO: opkg not found, install opkg: /koolshare/scripts/bxc-tool.sh
[2015-08-01 08:01:15] INFO: install script download finished, install opkg...
[2015-08-01 08:02:58] INFO: opkg install success!
[2015-08-01 08:02:58] INFO: liblzo not exist, opkg install liblzo...
[2015-08-01 08:03:04] INFO: liblzo - 2.10-1 install success
[2015-08-01 08:03:04] INFO: zlib not exist, opkg install zlib...
[2015-08-01 08:03:08] INFO: zlib - 1.2.11-2 install success
[2015-08-01 08:03:08] INFO: libopenssl not exist, opkg install libopenssl...
[2015-08-01 08:03:15] INFO: libopenssl - 1.0.2p-1 install success
[2015-08-01 08:03:15] INFO: libltdl not exist, opkg install libltdl...
[2015-08-01 08:03:16] INFO: bxc.sh status
[2015-08-01 08:03:16] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:19] INFO: libltdl - 2.4.6-1 install success
[2015-08-01 08:03:19] INFO: libcurl not exist, opkg install libcurl...
[2015-08-01 08:03:24] INFO: bxc.sh status
[2015-08-01 08:03:24] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:29] INFO: bxc.sh status
[2015-08-01 08:03:29] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:32] INFO: libcurl - 7.61.0-3 install success
[2015-08-01 08:03:32] INFO: libjson-c not exist, opkg install libjson-c...
[2015-08-01 08:03:34] INFO: bxc.sh status
[2015-08-01 08:03:34] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:39] INFO: bxc.sh status
[2015-08-01 08:03:39] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:41] INFO: libjson-c - 0.12.1-2 install success
[2015-08-01 08:03:41] INFO: /proc/sys/net/ipv6/conf/all/disable_ipv6 value is 1
[2015-08-01 08:03:41] INFO: echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
[2015-08-01 08:03:41] INFO: add: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:03:41] INFO: success add: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:03:41] INFO: add: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:03:41] INFO: success add: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:03:41] INFO: add: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:03:41] INFO: success add: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:03:42] INFO: add: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:03:42] INFO: success add: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:03:42] INFO: add: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:03:42] INFO: success add: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:03:42] INFO: add: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:03:42] INFO: success add: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:03:42] INFO: add: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:03:42] INFO: success add: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:03:42] INFO: add: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:03:42] INFO: success add: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:03:42] INFO: add: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:03:42] INFO: success add: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:03:42] INFO: /koolshare/bxc/ca.crt exist, copy to /opt/bcloud/ca.crt
[2015-08-01 08:03:42] INFO: /koolshare/bxc/client.crt exist, copy to /opt/bcloud/client.crt
[2015-08-01 08:03:42] INFO: /koolshare/bxc/client.key exist, copy to /opt/bcloud/client.key
[2015-08-01 08:03:42] INFO: modprobe tun success
[2015-08-01 08:03:42] INFO: /dev/shm exist, chmod -R 777 /dev/shm/
[2015-08-01 08:03:42] INFO: nobody exist /etc/passwd: nobody:x:65534:65534:nobody:/dev/null:/dev/null
[2015-08-01 08:03:43] INFO: nobody exist /etc/group: nobody:x:65534:
[2015-08-01 08:03:43] INFO: route "local ::1 via :: dev lo" already exist
[2015-08-01 08:03:43] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:43] INFO: bxc-network start...
[2015-08-01 08:03:44] INFO: bxc.sh status
[2015-08-01 08:03:44] INFO: BxC-Node status is stoped: bxc-network status 0, bxc-worker status 1
[2015-08-01 08:03:46] INFO: bxc-worker start...
[2015-08-01 08:03:49] INFO: bxc.sh status
[2015-08-01 08:03:49] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:03:52] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:03:52] INFO: BxC-Node start failed.
[2015-08-01 08:03:52] INFO: BxC-Node stop with command: ps | grep -v grep | egrep 'bxc-network|bxc-worker' | awk '{print }' | xargs kill -9 > /dev/null 2>&1
[2015-08-01 08:03:54] INFO: bxc.sh status
[2015-08-01 08:03:54] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:56] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:03:59] INFO: bxc.sh status
[2015-08-01 08:03:59] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:04] INFO: bxc.sh status
[2015-08-01 08:04:04] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:09] INFO: bxc.sh status
[2015-08-01 08:04:09] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:14] INFO: bxc.sh status
[2015-08-01 08:04:14] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:19] INFO: bxc.sh status
[2015-08-01 08:04:19] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:24] INFO: bxc.sh status
[2015-08-01 08:04:24] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:29] INFO: bxc.sh status
[2015-08-01 08:04:29] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:34] INFO: bxc.sh status
[2015-08-01 08:04:34] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:39] INFO: bxc.sh status
[2015-08-01 08:04:39] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:04:44] INFO: bxc.sh status
[2015-08-01 08:04:44] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:20] INFO: bxc.sh status
[2015-08-01 08:05:21] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:25] INFO: bxc.sh start
[2015-08-01 08:05:28] INFO: bxc.sh status
[2015-08-01 08:05:28] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:29] INFO: opkg already installed.
[2015-08-01 08:05:29] INFO: liblzo - 2.10-1 exist
[2015-08-01 08:05:29] INFO: zlib - 1.2.11-2 exist
[2015-08-01 08:05:29] INFO: libopenssl - 1.0.2p-1 exist
[2015-08-01 08:05:29] INFO: libltdl - 2.4.6-1 exist
[2015-08-01 08:05:29] INFO: libcurl - 7.61.0-3 exist
[2015-08-01 08:05:30] INFO: libjson-c - 0.12.1-2 exist
[2015-08-01 08:05:30] INFO: /proc/sys/net/ipv6/conf/all/disable_ipv6 value is 0
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:05:30] INFO: acl exist: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:05:30] INFO: acl exist: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:05:30] INFO: acl exist: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:05:30] INFO: modprobe tun success
[2015-08-01 08:05:30] INFO: /dev/shm exist, chmod -R 777 /dev/shm/
[2015-08-01 08:05:30] INFO: nobody exist /etc/passwd: nobody:x:65534:65534:nobody:/dev/null:/dev/null
[2015-08-01 08:05:30] INFO: nobody exist /etc/group: nobody:x:65534:
[2015-08-01 08:05:30] INFO: route "local ::1 via :: dev lo" already exist
[2015-08-01 08:05:31] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:31] INFO: bxc-network start...
[2015-08-01 08:05:33] INFO: bxc.sh status
[2015-08-01 08:05:33] INFO: BxC-Node status is stoped: bxc-network status 0, bxc-worker status 1
[2015-08-01 08:05:34] INFO: bxc-worker start...
[2015-08-01 08:05:38] INFO: bxc.sh status
[2015-08-01 08:05:38] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:05:40] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:05:40] INFO: BxC-Node start failed.
[2015-08-01 08:05:40] INFO: BxC-Node stop with command: ps | grep -v grep | egrep 'bxc-network|bxc-worker' | awk '{print }' | xargs kill -9 > /dev/null 2>&1
[2015-08-01 08:05:43] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:45] INFO: bxc.sh status
[2015-08-01 08:05:45] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:50] INFO: bxc.sh status
[2015-08-01 08:05:50] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:05:56] INFO: bxc.sh status
[2015-08-01 08:05:56] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:06:07] INFO: bxc.sh status
[2015-08-01 08:06:07] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:04] INFO: bxc.sh status
[2015-08-01 08:07:04] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:07] INFO: bxc.sh start
[2015-08-01 08:07:12] INFO: bxc.sh status
[2015-08-01 08:07:12] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:17] INFO: bxc.sh status
[2015-08-01 08:07:17] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:20] INFO: opkg already installed.
[2015-08-01 08:07:20] INFO: liblzo - 2.10-1 exist
[2015-08-01 08:07:20] INFO: zlib - 1.2.11-2 exist
[2015-08-01 08:07:20] INFO: libopenssl - 1.0.2p-1 exist
[2015-08-01 08:07:20] INFO: libltdl - 2.4.6-1 exist
[2015-08-01 08:07:20] INFO: libcurl - 7.61.0-3 exist
[2015-08-01 08:07:20] INFO: libjson-c - 0.12.1-2 exist
[2015-08-01 08:07:20] INFO: /proc/sys/net/ipv6/conf/all/disable_ipv6 value is 0
[2015-08-01 08:07:21] INFO: add: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: success add: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: add: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:07:21] INFO: success add: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:07:21] INFO: add: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: success add: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: add: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:07:21] INFO: success add: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:07:21] INFO: add: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: success add: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:07:21] INFO: add: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:07:21] INFO: success add: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:07:21] INFO: add: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:07:21] INFO: success add: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:07:21] INFO: add: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:07:21] INFO: success add: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:07:21] INFO: add: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:07:21] INFO: success add: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:07:21] INFO: modprobe tun success
[2015-08-01 08:07:21] INFO: /dev/shm exist, chmod -R 777 /dev/shm/
[2015-08-01 08:07:21] INFO: nobody exist /etc/passwd: nobody:x:65534:65534:nobody:/dev/null:/dev/null
[2015-08-01 08:07:21] INFO: nobody exist /etc/group: nobody:x:65534:
[2015-08-01 08:07:22] INFO: route "local ::1 via :: dev lo" already exist
[2015-08-01 08:07:22] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:22] INFO: bxc-network start...
[2015-08-01 08:07:22] INFO: bxc.sh status
[2015-08-01 08:07:22] INFO: BxC-Node status is stoped: bxc-network status 0, bxc-worker status 1
[2015-08-01 08:07:25] INFO: bxc-worker start...
[2015-08-01 08:07:27] INFO: bxc.sh status
[2015-08-01 08:07:27] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:07:30] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:07:30] INFO: BxC-Node start failed.
[2015-08-01 08:07:30] INFO: BxC-Node stop with command: ps | grep -v grep | egrep 'bxc-network|bxc-worker' | awk '{print }' | xargs kill -9 > /dev/null 2>&1
[2015-08-01 08:07:32] INFO: bxc.sh status
[2015-08-01 08:07:32] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:34] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:37] INFO: bxc.sh status
[2015-08-01 08:07:37] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:42] INFO: bxc.sh status
[2015-08-01 08:07:42] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:47] INFO: bxc.sh status
[2015-08-01 08:07:47] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:52] INFO: bxc.sh status
[2015-08-01 08:07:52] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:07:57] INFO: bxc.sh status
[2015-08-01 08:07:57] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:08:02] INFO: bxc.sh status
[2015-08-01 08:08:02] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:08:07] INFO: bxc.sh status
[2015-08-01 08:08:07] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:08:12] INFO: bxc.sh status
[2015-08-01 08:08:12] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:08:17] INFO: bxc.sh status
[2015-08-01 08:08:17] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:09:40] INFO: bxc.sh status
[2015-08-01 08:09:40] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:09:48] INFO: bxc.sh status
[2015-08-01 08:09:48] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:09:53] INFO: bxc.sh status
[2015-08-01 08:09:53] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:09:58] INFO: bxc.sh status
[2015-08-01 08:09:58] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 1
[2015-08-01 08:10:00] INFO: node info has not changed: 0.2.2#armv7l#2#515432kB
[2015-08-01 08:10:00] INFO: /proc/sys/net/ipv6/conf/all/disable_ipv6 value is 0
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I INPUT -p tcp --dport 8901 -j ACCEPT -i tun0
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I OUTPUT -p tcp --sport 8901 -j ACCEPT
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I INPUT -p icmpv6 -j ACCEPT -i tun0
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I OUTPUT -p icmpv6 -j ACCEPT
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I INPUT -p udp -j ACCEPT -i tun0
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I INPUT -p udp -j ACCEPT -i lo
[2015-08-01 08:10:01] INFO: acl exist: ip6tables -I OUTPUT -p udp -j ACCEPT
[2015-08-01 08:10:01] INFO: acl exist: iptables -I INPUT -p tcp --match multiport --sports 80,443,8080 -j ACCEPT
[2015-08-01 08:10:01] INFO: acl exist: iptables -I OUTPUT -p tcp --match multiport --dports 80,443,8080 -j ACCEPT
[2015-08-01 08:10:01] ERROR bxc-network stoped, try start up...
[2015-08-01 08:10:01] INFO: bxc-network pid 7682
[2015-08-01 08:10:01] ERROR bxc-worker stoped, try start up...
[2015-08-01 08:10:01] INFO: bxc-worker pid 7707
[2015-08-01 08:10:03] INFO: bxc.sh status
[2015-08-01 08:10:03] INFO: ext-network icmp success: ping -q -W 1 -c 3 www.baidu.com
[2015-08-01 08:10:03] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:10:03] INFO: /proc/sys/net/netfilter/nf_conntrack_udp_timeout 30
[2015-08-01 08:10:04] INFO: route "local ::1 via :: dev lo" already exist
[2015-08-01 08:10:04] ERROR get bxc_ipaddr failed: ip -6 addr show dev tun0 | grep "inet6" | awk '{print }'
[2015-08-01 08:10:04] ERROR route fdff:4243:4c4f:5544::/64 dev tun0 not exist, restoring...
[2015-08-01 08:10:08] INFO: bxc.sh status
[2015-08-01 08:10:08] INFO: BxC-Node status is stoped: bxc-network status 1, bxc-worker status 0
[2015-08-01 08:10:13] INFO: bxc.sh errorlog
|
|