Can't create IP socket: Address family not supported by protocolAborting Entering pool shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Eric Day |
Bug Description
Having strange problems unable to run drizzled:
gdb output:
[Thread debugging using libthread_db enabled]
Changed limits: max_open_files: 1024 max_connections: 886 table_cache: 64[New Thread 0xb7b106f0 (LWP 6252)]
[New Thread 0xb71eeb90 (LWP 6255)]
[New Thread 0xb71adb90 (LWP 6256)]
[New Thread 0xb716cb90 (LWP 6257)]
[New Thread 0xb712bb90 (LWP 6258)]
[New Thread 0xb70eab90 (LWP 6259)]
[New Thread 0xb70a9b90 (LWP 6260)]
[New Thread 0xb7068b90 (LWP 6261)]
[New Thread 0xb7027b90 (LWP 6262)]
[New Thread 0xb652ab90 (LWP 6263)]
[New Thread 0xb5d29b90 (LWP 6264)]
[New Thread 0xb5528b90 (LWP 6265)]
[New Thread 0xb4d27b90 (LWP 6266)]
090201 19:57:22 InnoDB: highest supported file format is Barracuda.
[New Thread 0xb4097b90 (LWP 6267)]
[New Thread 0xb3896b90 (LWP 6268)]
[Thread 0xb4097b90 (LWP 6267) exited]
[New Thread 0xb3095b90 (LWP 6269)]
[New Thread 0xb2894b90 (LWP 6270)]
090201 19:57:23 InnoDB Plugin 1.0.2 started; log sequence number 46409
Can't create IP socket: Address family not supported by protocolAborting
Entering pool shutdown
[Thread 0xb70eab90 (LWP 6259) exited]
[Thread 0xb71adb90 (LWP 6256) exited]
[Thread 0xb7068b90 (LWP 6261) exited]
[Thread 0xb7027b90 (LWP 6262) exited]
[Thread 0xb70a9b90 (LWP 6260) exited]
[Thread 0xb712bb90 (LWP 6258) exited]
[Thread 0xb716cb90 (LWP 6257) exited]
[Thread 0xb71eeb90 (LWP 6255) exited]
090201 19:57:23 InnoDB: Starting shutdown...
[Thread 0xb3896b90 (LWP 6268) exited]
[Thread 0xb3095b90 (LWP 6269) exited]
[Thread 0xb5d29b90 (LWP 6264) exited]
[Thread 0xb5528b90 (LWP 6265) exited]
[Thread 0xb652ab90 (LWP 6263) exited]
[Thread 0xb4d27b90 (LWP 6266) exited]
[Thread 0xb2894b90 (LWP 6270) exited]
090201 19:57:24 InnoDB: Shutdown completed; log sequence number 46419
Plugin 'InnoDB' has ref_count=1 after deinitializatio
Program exited with code 01.
(gdb)
So yeah i tracked this one more..
In drizzled.cc .. network_init()
for (next= ai, pollfd_count= 0; next; next= next->ai_next, pollfd_count++)
{
int ip_sock;
ip_sock= socket(
if (ip_sock == -1)
{
sql_
unireg_
}
socket() returns -1 for me... on the 2nd pass in the loop :( I think autoconf has defined
#ifdef IPV6_V6ONLY
if (next->ai_family == AF_INET6)
{
error= setsockopt(ip_sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *) &flags, sizeof(flags));
if (error !
I was thinking config.h may have defined ipv6 for me but it hasn't. So really not sure where to start debugging this :( Its giving me awful problems to test my patches because i can't actualy run drizzle i cant test my patches.
Related branches
- Brian Aker: Needs Fixing
- Jay Pipes (community): Approve
-
Diff: 443 lines (+112/-32)9 files modifiedclient/drizzle.cc (+7/-8)
client/drizzledump.cc (+6/-0)
client/drizzleimport.cc (+5/-6)
client/drizzleslap.cc (+6/-6)
client/drizzletest.cc (+8/-0)
plugin/mysql_protocol/oldlibdrizzle.cc (+1/-1)
tests/r/mysql_protocol.result (+31/-0)
tests/t/mysql_protocol.test (+13/-0)
tests/test-run.pl (+35/-11)
Changed in drizzle: | |
importance: | Undecided → Low |
Changed in drizzle: | |
status: | Confirmed → Fix Committed |
Changed in drizzle: | |
status: | Fix Committed → Fix Released |
Hey Philip,
I've never been able to re-produce this. Are you able to re-produce it?
-Padraig