а толку...помощи не прибавилось(
Павловская Т.А C/C++ Программирование на языке высокого уровня. Санкт-Петербург 2006 г. - вот норм книга)
при запуске cd /home ./startup.sh по-прежнему вот это === IWEB AND ROLE MANAGEMENT === Using CATALINA_BASE: /opt/jakarta-tomcat-5.5.9 Using CATALINA_HOME: /opt/jakarta-tomcat-5.5.9 Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.5.9/temp Using JRE_HOME: /usr/java/jdk1.5.0_05 === DONE! === === LOGSERVICE === info : program started with 6 threads. === DONE! === === UNIQUENAMED === === DONE! === === AUTH === org.mono.Authd :: started. Starting PollIO === DONE! === === GAMEDBD === === DONE! === === GACD === info : TcpManager OnAddSession info : logclient: OnAddSession info : logclienttcp: OnAddSession === DONE! === === GFACTIOND === info : logclient: OnAddSession === DONE! === === GDELIVERYD === TRACE : RewardManager:: consume reward does not open! District id is 0 TRACE : gdeliveryd::Max player allowed is 6000 TRACE : GameTalkManager: OnStartUp(aid, zoneid) TRACE : Timer update: (0) Wed Feb 27 15:03:45 2013 TRACE : sysauction initialize: auction max=4, total sell item=46 err : BillingAgent, duplicate item,id=16166,amount=500,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002910000000001 err : BillingAgent, duplicate item,id=16024,amount=6000,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002940000000001 err : BillingAgent, duplicate item,id=16019,amount=6000,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002950000000001 TRACE : billing: menu loaded, menuids size=314, itemids size=314 info : logclient: OnAddSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=18 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=23 TRACE : gdelivery::connect to gauthd successfully. === DONE! === === GLINKD === info : logclient: OnAddSession info : logclient: OnAddSession info : logclient: OnAddSession info : logclient: OnAddSession err : Disconnect from Uniquenamed. sid=29 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=31 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=35 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=39 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. === DONE! === === MAIN WORLD === err : Disconnect from Uniquenamed. sid=43 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=47 err : gdelivery::disconnect from GAuth server. Reconnecting.... info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=51 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=55 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=59 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... err : gdelivery:: connect GameDB failed TRACE : ganticheatclient:: connect to GACD failed! info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=63 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=77 err : gdelivery::disconnect from GAuth server. Reconnecting.... err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=79 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=85 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=87 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=91 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=95 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=99 info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=105 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=107 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=113 err : gdelivery::disconnect from GAuth server. Reconnecting.... info : logclienttcp: OnAbortSession TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... err : gdelivery:: connect GameDB failed TRACE : ganticheatclient:: connect to GACD failed! TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=115 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=125 err : gdelivery::disconnect from GAuth server. Reconnecting.... err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=131 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=135 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=139 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=143 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=147 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=151 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : Timer update: (0) Wed Feb 27 15:04:45 2013 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=155 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=159 err : gdelivery::disconnect from GAuth server. Reconnecting.... info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=163 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... err : gdelivery:: connect GameDB failed TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=167 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : ganticheatclient:: connect to GACD failed! info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=175 TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=181 err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=185 info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=189 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=197 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=199 TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=205 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. === DONE! === === OTHER WORLD === err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=207 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=213 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=215 TRACE : gdelivery::connect to gauthd successfully.
всмысле? скачал с darktowera :D , чо ток там не выкладывают :D , а по теме все еще нужна помощь :(
а по-твоему шабы которые вверху не мусор? :D
про uniquenamed там вот что echo "=== UNIQUENAMED ===" cd $PW_PATH/uniquenamed; ./uniquenamed gamesys.conf >$PW_PATH/logs/uniquenamed.log & sleep 3 echo "=== DONE! ==="
задача все еще нужна? P.S не увидел год...
в startup_sh так понимаю вот это? echo "=== AUTH ===" #cd $PW_PATH/authd/build/; ./authd.sh & cd $PW_PATH/mauthd/build/; ./authd.sh & sleep 20 echo "=== DONE! ===" в папке authd, которую я кинул в /home нет файла authd.sh ( есть только просто authd - это нормально? а в этом файле следующее.. #!/bin/sh java -cp ../lib/jio.jar:../lib/application.jar:../lib/commons-collections-3.1.jar:../lib/commons-dbcp-1.2.1.jar:../lib/commons-pool-1.2.jar:../lib/commons-logging-1.0.4.jar:../lib/log4j-1.2.9.jar:.:$CLASSPATH authd /etc/table.xml
у мя ваще шаблон ру офф сайта есть :D , я его под юкоз адаптировал, кое что убрал что не надо, но выкладывать не буду :P
вот наконец-то добрался таки до запуска самого сервера...но без ошибок же не куда) прошу помочь разобраться, после ввода cd /home ./startup_min.sh выводит следующее - сначала все норм а потом начинаются реконекты.. === IWEB AND ROLE MANAGEMENT === Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9 Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9/temp Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.22 touch: cannot touch `/usr/local/jakarta-tomcat-5.5.9/logs/catalina.out': Permission denied /usr/local/jakarta-tomcat-5.5.9/bin/catalina.sh: 310: cannot create /usr/local/jakarta-tomcat-5.5.9/logs/catalina.out: Permission denied === DONE! === === LOGSERVICE === info : program started with 6 threads. === DONE! === === UNIQUENAMED === === DONE! === === AUTH === java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at com.goldhuman.IO.PassiveIO.Open(Unknown Source) at com.goldhuman.IO.Protocol.Protocol.Server(Unknown Source) at org.mono.Authd.main(Authd.java:30) org.mono.Authd :: started. Starting PollIO === DONE! === === GAMEDBD === === DONE! === === GACD === info : logclient: OnAddSession info : logclienttcp: OnAddSession === DONE! === === GFACTIOND === info : logclient: OnAddSession === DONE! === === GDELIVERYD === TRACE : RewardManager:: consume reward does not open! District id is 0 TRACE : gdeliveryd::Max player allowed is 6000 TRACE : GameTalkManager: OnStartUp(aid, zoneid) TRACE : Timer update: (0) Mon Feb 25 21:16:00 2013 TRACE : sysauction initialize: auction max=4, total sell item=46 err : BillingAgent, duplicate item,id=16166,amount=500,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002910000000001 err : BillingAgent, duplicate item,id=16024,amount=6000,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002940000000001 err : BillingAgent, duplicate item,id=16019,amount=6000,timeout=0 err : BillingAgent, duplicate menuid,id=000000082000000002950000000001 TRACE : billing: menu loaded, menuids size=314, itemids size=314 info : logclient: OnAddSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=18 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=23 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=29 err : gdelivery::disconnect from GAuth server. Reconnecting.... === DONE! === === GLINKD === info : logclient: OnAddSession info : logclient: OnAddSession info : logclient: OnAddSession info : logclient: OnAddSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=31 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=35 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=39 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=43 err : gdelivery::disconnect from GAuth server. Reconnecting.... === DONE! === === MAIN WORLD === TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=47 err : gdelivery::disconnect from GAuth server. Reconnecting.... info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=51 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=55 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=59 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... err : gdelivery:: connect GameDB failed TRACE : ganticheatclient:: connect to GACD failed! info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=63 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=75 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : Disconnect from Uniquenamed. sid=79 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=83 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=87 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=91 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=95 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=99 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. info : logclienttcp: OnAbortSession err : Disconnect from Uniquenamed. sid=103 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=107 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=111 err : gdelivery::disconnect from GAuth server. Reconnecting.... info : logclienttcp: OnAbortSession err : gdelivery:: connect GameDB failed TRACE : ganticheatclient:: connect to GACD failed! TRACE : gdelivery::gfactionclient: connect server failed. reconnecting... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=115 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=123 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=131 info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession err : glinkd::Connect to delivery failed. info : logclienttcp: OnAbortSession TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=137 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=139 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=143 TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=149 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : gdelivery::connect to gauthd successfully. err : Disconnect from Uniquenamed. sid=151 err : gdelivery::disconnect from GAuth server. Reconnecting.... TRACE : Timer update: (0) Mon Feb 25 21:16:59 2013 TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-1073741824 TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=155 TRACE : gdelivery::connect to gauthd successfully. err : gdelivery::disconnect from GAuth server. Reconnecting.... err : Disconnect from Uniquenamed. sid=161 info : logclienttcp: OnAbortSession
Имена участников (разделяйте запятой).