K4m4r40 7 Posted July 30, 2016 (edited) Ao tentar reiniciar meu servidor via ssh, várias vezes este erro ocorre. Com o erro presente, nenhum comando de restart, stop, start funcionam corretamente. As vezes eu consigo logar, outras vezes meu servidor fica off e demora muito para voltar. [Info]: Server supports up to '1024' concurrent connections. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_char.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Status]: Login server IP address : ------------ [Status]: Character server IP address : ------------ [Info]: Done reading conf/import/char_conf.txt. [Info]: Done reading conf/char-server.conf. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter-server.conf. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_map.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Info]: Char Server IP Address : ------------ [Info]: Map Server IP Address : ------------ [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter-server.conf. [Info]: Connect Character DB server.... (Character Server) [Info]: Server supports up to '1024' concurrent connections. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_login.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Info]: Finished reading conf/import/inter_conf.txt. [Info]: Finished reading conf/inter-server.conf. [Info]: Finished reading conf/import/login_conf.txt. [Info]: Finished reading conf/login-server.conf. [Status]: Using item database as SQL: 'no' [Status]: Using monster database as SQL: 'no' [Status]: Using monster skill database as SQL: 'no' [Info]: Logging item transactions to table 'picklog'. [Info]: Logging commands to table 'atcommandlog'. [Info]: Connecting to the Map DB Server.... [Status]: Done reading '50' entries in 'db/re/exp_guild.txt'. [Error]: make_listen_bind: bind failed (socket #4, error 98: Address already in use)! [Status]: connect success! (Map Server Connection) [Info]: [SQL]: Connecting to the Log Database logs At ------------ [Status]: [SQL]: Successfully 'connected' to Database 'logs'. [Status]: Loading maps (using db/re/map_cache.dat as map cache)... [Info]: Successfully loaded '879' maps. [Error]: make_listen_bind: bind failed (socket #6, error 98: Address already in use)! [Status]: Done reading '62' command aliases in 'conf/atcommand.conf'. [Error]: make_listen_bind: bind failed (socket #5, error 98: Address already in use)! Isso é um erro no emulador, ou do host? Como posso resolver? Queria saber também se existe uma forma de forçar o restart do servidor sem ser pelos comandos do ssh caso esse erro aconteça. Edited July 30, 2016 by K4m4r40 Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted July 30, 2016 posso estar errado mas parece q seu servidor já está rodando por isso dá esse erro, liste os processos e finalize todos com -kill Quote Share this post Link to post Share on other sites
0 K4m4r40 7 Posted July 30, 2016 (edited) ao executar ./athena-start stop -bash-3.2# ./athena-start stop ./athena-start: line 60: kill: (6710) - No such process ./athena-start: line 60: kill: (6711) - No such process ./athena-start: line 60: kill: (6712) - No such process ao executar ./athena-start start [Info]: Exported revision (src): '' [Info]: Exported revision (scripts): - [Info]: Server supports up to '1024' concurrent connections. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_char.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Status]: Login server IP address : - [Status]: Character server IP address : - [Info]: Done reading conf/import/char_conf.txt. [Info]: Done reading conf/char-server.conf. [Info]: Server supports up to '1024' concurrent connections. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_login.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Info]: Finished reading conf/import/inter_conf.txt. [Info]: Finished reading conf/inter-server.conf. [Info]: Finished reading conf/import/login_conf.txt. [Info]: Finished reading conf/login-server.conf. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter-server.conf. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter-server.conf. [Info]: Connect Character DB server.... (Character Server) [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking_map.so', skipping... [Warning]: HPM:plugin_load: failed to load 'plugins/costumeitem.so', skipping... [Info]: Char Server IP Address : - [Info]: Map Server IP Address : - [Status]: Done reading '50' entries in 'db/re/exp_guild.txt'. [Status]: Finished Reading GeoIP Database. [Error]: make_listen_bind: bind failed (socket #4, error 98: Address already in use)! [Status]: Using item database as SQL: 'no' [Status]: Using monster database as SQL: 'no' [Status]: Using monster skill database as SQL: 'no' [Info]: Logging item transactions to table 'picklog'. [Info]: Logging commands to table 'atcommandlog'. [Info]: Connecting to the Map DB Server.... [Status]: connect success! (Map Server Connection) [Info]: [SQL]: Connecting to the Log Database logs At - ... [Error]: make_listen_bind: bind failed (socket #6, error 98: Address already in use)! [Status]: [SQL]: Successfully 'connected' to Database 'logs'. [Status]: Loading maps (using db/re/map_cache.dat as map cache)... [Info]: Successfully loaded '879' maps. [Status]: Done reading '62' command aliases in 'conf/atcommand.conf'. [Error]: make_listen_bind: bind failed (socket #5, error 98: Address already in use)! Como utilizo corretamente o -kill? Não entendi muito bem.Tem alguma forma de fechar e reiniciar o servidor sem ser pelo comand do ssh? Edited July 30, 2016 by K4m4r40 Quote Share this post Link to post Share on other sites
0 ρixєℓ 21 Posted July 31, 2016 Primeiro você deve usar o comando "ps aux" para ver a lista de processos que está sendo executado na máquina, procure pelos do emulador e depois basta utiizar "Kill [número do processo] que ele vai encerrar o mesmo, o comando de restart não funciona por que ele simplesmente abre os arquivos que já estão abertos, por isso ocorre o erro, o mais recomendável é usar o comando de desligar e depois o de ligar novamente. Quote Share this post Link to post Share on other sites
0 K4m4r40 7 Posted July 31, 2016 Obrigado.Através do ps aux conforme comentou foi possível identificar os processos do host.Bastou ao mesmo tempo procurar um tutorial referente ao comando kill ssh no googlepara entender melhor.Através do PID, executei o comando conforme o tuto e o restart voltou a funcionar.Dúvida: Por qual motivo ocorre esse "bug"? Existe uma forma de não ter que passar mais por isso?Ou simplesmente é raro esse erro ocorrer?É um bug do host então?Obrigado @evilpuncker e @pixel. Quote Share this post Link to post Share on other sites
0 ρixєℓ 21 Posted July 31, 2016 Desde que mexo com emuladores sempre foi normal isso acontecer, acredito que se deve ao fato de acontecer o que eu falei, ao invés de reiniciar os processos que estão abertos(o que seria o correto) ele simplesmente abre novos processos ao usar o comando de restart. Quote Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites