Net Exception: Address family not supported

140 views
Skip to first unread message

yf520...@gmail.com

unread,
May 20, 2017, 11:13:43 AM5/20/17
to ClickHouse
hi,I install ClickHouse on centos7.2,gcc6.2.I get  successfully,but when I start use "clickhouse-server --config=/usr/local/etc/clickhouse-server/config.xml",it get a error,do you know why?
2017.05.20 23:06:49.002758 [ 1 ] <Warning> Application: Logging to console
2017.05.20 23:06:49.007378 [ 1 ] <Information> : Starting daemon with revision 54226
2017.05.20 23:06:49.007519 [ 1 ] <Information> Application: starting up
2017.05.20 23:06:49.008517 [ 1 ] <Debug> Application: rlimit on number of file descriptors is 262143
2017.05.20 23:06:49.008563 [ 1 ] <Debug> Application: Initializing DateLUT.
2017.05.20 23:06:49.008587 [ 1 ] <Trace> Application: Initialized DateLUT with time zone `Asia/Shanghai'.
2017.05.20 23:06:49.008879 [ 1 ] <Debug> Application: Configuration parameter 'interserver_http_host' doesn't exist or exists and empty. Will use 'localhost' as replica host.
2017.05.20 23:06:49.009019 [ 1 ] <Debug> ConfigReloader: Loading config `/usr/local/etc/clickhouse-server/users.xml'
2017.05.20 23:06:49.013399 [ 1 ] <Information> Application: Loading metadata.
2017.05.20 23:06:49.013891 [ 1 ] <Information> DatabaseOrdinary (system): Total 0 tables.
2017.05.20 23:06:49.013990 [ 1 ] <Information> DatabaseOrdinary (default): Total 0 tables.
2017.05.20 23:06:49.014249 [ 1 ] <Debug> Application: Loaded metadata.
2017.05.20 23:06:49.026868 [ 2 ] <Debug> ReshardingWorker: Started resharding background thread.
2017.05.20 23:06:49.028699 [ 1 ] <Information> Application: Shutting down storages.
2017.05.20 23:06:49.028828 [ 1 ] <Debug> Application: Shutted down storages.
2017.05.20 23:06:50.028814 [ 2 ] <Debug> ReshardingWorker: Resharding background thread terminated.
2017.05.20 23:06:50.029530 [ 1 ] <Information> ~ZooKeeper: Closing ZooKeeper session
2017.05.20 23:06:50.029695 [ 1 ] <Information> ~ZooKeeper: Removing 1 watches
2017.05.20 23:06:50.029712 [ 1 ] <Information> ~ZooKeeper: Removed watches
2017.05.20 23:06:50.029724 [ 1 ] <Debug> Application: Destroyed global context.
2017.05.20 23:06:50.029966 [ 1 ] <Error> Application: Net Exception: Address family not supported
2017.05.20 23:06:50.029982 [ 1 ] <Information> Application: shutting down
2017.05.20 23:06:50.029989 [ 1 ] <Debug> Application: Uninitializing subsystem: Logging Subsystem
2017.05.20 23:06:50.030021 [ 3 ] <Information> BaseDaemon: Stop SignalListener thread

Jack Gao

unread,
May 25, 2017, 10:16:25 PM5/25/17
to ClickHouse
same problem

在 2017年5月20日星期六 UTC+8下午11:13:43,yf520...@gmail.com写道:

Roman Shibanov

unread,
May 29, 2017, 3:12:30 AM5/29/17
to ClickHouse
You need set right network interface address, in config.xml

    <listen_host>::1</listen_host> 
    <listen_host>127.0.0.1</listen_host>



Reply all
Reply to author
Forward
0 new messages