在启动amoeba的时候出现如下报错:
2020-11-01 00:08:10,194 ERROR net.ServerableConnectionManager - Failure listening to socket on port '8066'.
java.net.BindException: ַʹ
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at com.meidusa.toolkit.net.ServerableConnectionManager.willStart(ServerableConnectionManager.java:144)
at com.meidusa.toolkit.net.util.LoopingThread.run(LoopingThread.java:59)
2020-11-01 00:08:10 [INFO] Project Name=Amoeba-MySQL, PID=19480 , System shutdown ....
2020-11-01 00:17:14 [INFO] Project Name=Amoeba-MySQL, PID=19514 , starting...
log4j:WARN log4j config load completed from file:/usr/local/amoeba/conf/log4j.xml
2020-11-01 00:17:14,801 INFO context.MysqlRuntimeContext - Amoeba for Mysql current versoin=5.1.45-mysql-amoeba-proxy-3.0.4-BETA
log4j:WARN ip access config load completed from file:/usr/local/amoeba/conf/access_list.conf
2020-11-01 00:17:15,094 ERROR net.ServerableConnectionManager - Failure listening to socket on port '8066'.
java.net.BindException: ַʹ
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at com.meidusa.toolkit.net.ServerableConnectionManager.willStart(ServerableConnectionManager.java:144)
at com.meidusa.toolkit.net.util.LoopingThread.run(LoopingThread.java:59)
2020-11-01 00:17:15 [INFO] Project Name=Amoeba-MySQL, PID=19514 , System shutdown ....
看下进程
[root@localhost bin]# ps -ef | grep amoeba
root 19443 1 0 00:01 pts/0 00:00:05 /usr/local/java/bin/java -server -Xms1024m -Xmx1024m -Xss256k -Dproject.home=/usr/local/amoeba -Damoeba.home=/usr/local/amoeba -Dproject.name=Amoeba-MySQL -Dproject.output=/usr/local/amoeba/logs -Dignore.signals=1,2 -Dclassworlds.conf=/usr/local/amoeba/bin/launcher.classpath -classpath /usr/local/amoeba/lib/plexus-classworlds-2.4.2-HEXNOVA.jar org.codehaus.classworlds.Launcher
root 19544 19320 0 00:23 pts/0 00:00:00 grep --color=auto amoeba
kill -9 19443
source /etc/profile
就可以启动成功了
2326



被折叠的 条评论
为什么被折叠?



