Jump to content
  • 0
Sign in to follow this  
K4m4r40

Problema - servidor não reinicia.

Question

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 by K4m4r40

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

posso estar errado mas parece q seu servidor já está rodando por isso dá esse erro, liste os processos e finalize todos com -kill

Share this post


Link to post
Share on other sites
  • 0

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 by K4m4r40

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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 google
para 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.

 

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.