sbin]# ./run.sh
20-Mar-2008 13:53:28.988 starting BIND 9.4.2 -u root -g -d 1
20-Mar-2008 13:53:28.991 found 1 CPU, using 1 worker thread
20-Mar-2008 13:53:29.000 loading configuration from '/usr/local/dlz/etc/named.conf'
20-Mar-2008 13:53:29.005 listening on IPv4 interface lo, 127.0.0.1#53
20-Mar-2008 13:53:29.018 listening on IPv4 interface eth0, 192.168.1.241#53
20-Mar-2008 13:53:29.033 Loading 'view_cnc' using driver mysql
20-Mar-2008 13:53:29.034 mysql driver cannot accept more than 7 command line args.
20-Mar-2008 13:53:29.035 SDLZ driver failed to load.
20-Mar-2008 13:53:29.036 DLZ driver failed to load.
20-Mar-2008 13:53:29.037 calling free_rbtdb(.)
20-Mar-2008 13:53:29.038 done free_rbtdb(.)
20-Mar-2008 13:53:29.040 load_configuration: failure
20-Mar-2008 13:53:29.041 loading configuration: failure
20-Mar-2008 13:53:29.041 exiting (due to fatal error)
好像是MYSQL DERVIER出错,不能超过7条,???这是怎么回事呀,?
20-Mar-2008 13:53:29.034 mysql driver cannot accept more than 7 command line args.
比较明显,查看dlz 的源码,找到了,却不知道怎么修改
809行
/* verify we have at least 4 arg's passed to the driver */
if (argc < 4) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"mysql driver requires "
"at least 4 command line args.");
return (ISC_R_FAILURE);
}
/* no more than 8 arg's should be passed to the driver */
if (argc > 8) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"mysql driver cannot accept "
"more than 7 command line args.");
return (ISC_R_FAILURE);
}
继续郁闷!
阅读(1705) | 评论(1) | 转发(0) |