启动协议栈时出错:无效的争论

时间:2018-01-07 16:00:49

标签: ethereum go-ethereum geth

我目前正在尝试使用geth,我想启动我的私有以太坊网络,以便我可以测试我的应用程序。但是,当我尝试使用geth --datadir=./chaindata/时,这只是在终端中给我一些错误,我在这个问题的底部显示了这个错误。我知道有其他用户在Mac OS上遇到同样的问题,这也是我正在使用的。

这是终端输出:

Steves-MBP:assignment_1 stevesahayadarlin$ geth --datadir=./chaindata/
WARN [01-06|22:12:18] No etherbase set and no accounts found as default 
INFO [01-06|22:12:18] Starting peer-to-peer node               instance=Geth/v1.7.3-stable/darwin-amd64/go1.9.2
INFO [01-06|22:12:18] Allocated cache and file handles         database=/Users/stevesahayadarlin/Desktop/distributed_exchange_truffle_class_3-master/assignment_1/chaindata/geth/chaindata cache=128 handles=1024
INFO [01-06|22:12:18] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: <nil> EIP155: 0 EIP158: 0 Byzantium: <nil> Engine: unknown}"
INFO [01-06|22:12:18] Disk storage enabled for ethash caches   dir=/Users/stevesahayadarlin/Desktop/distributed_exchange_truffle_class_3-master/assignment_1/chaindata/geth/ethash count=3
INFO [01-06|22:12:18] Disk storage enabled for ethash DAGs     dir=/Users/stevesahayadarlin/.ethash                                                                                count=2
INFO [01-06|22:12:18] Initialising Ethereum protocol           versions="[63 62]" network=1
INFO [01-06|22:12:18] Loaded most recent local header          number=0 hash=9b8d4a…9021ba td=131072
INFO [01-06|22:12:18] Loaded most recent local full block      number=0 hash=9b8d4a…9021ba td=131072
INFO [01-06|22:12:18] Loaded most recent local fast block      number=0 hash=9b8d4a…9021ba td=131072
INFO [01-06|22:12:18] Loaded local transaction journal         transactions=0 dropped=0
INFO [01-06|22:12:18] Regenerated local transaction journal    transactions=0 accounts=0
INFO [01-06|22:12:18] Starting P2P networking 
INFO [01-06|22:12:20] UDP listener up                          self=enode://258e1a8136fd23d47b97404139841059a37e95751182dde366adc4a22bab88b9580eb53bfb1de937016645817f071d0766a3be66e7e056c8f6afe0a450bb221d@70.106.232.168:30303
INFO [01-06|22:12:20] RLPx listener up                         self=enode://258e1a8136fd23d47b97404139841059a37e95751182dde366adc4a22bab88b9580eb53bfb1de937016645817f071d0766a3be66e7e056c8f6afe0a450bb221d@70.106.232.168:30303
INFO [01-06|22:12:20] Blockchain manager stopped 
INFO [01-06|22:12:20] Stopping Ethereum protocol 
INFO [01-06|22:12:20] Ethereum protocol stopped 
INFO [01-06|22:12:20] Transaction pool stopped 
INFO [01-06|22:12:20] Database closed                          database=/Users/stevesahayadarlin/Desktop/distributed_exchange_truffle_class_3-master/assignment_1/chaindata/geth/chaindata
INFO [01-06|22:12:20] Mapped network port                      proto=udp extport=30303 intport=30303 interface="UPNP IGDv1-IP1"
INFO [01-06|22:12:20] Mapped network port                      proto=tcp extport=30303 intport=30303 interface="UPNP IGDv1-IP1"
Fatal: Error starting protocol stack: listen unix /Users/stevesahayadarlin/Desktop/distributed_exchange_truffle_class_3-master/assignment_1/chaindata/geth.ipc: bind: invalid argument
Steves-MBP:assignment_1 stevesahayadarlin$ 

0 个答案:

没有答案