Jump to content
  • 0

How to see wrong password tryes on logserv ?


Tales

Question


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

I mean... have some place thats server create a file.log of this issues?

@edit

I found this 
./login-server_sql >> loginserver.log 2>&1 &
and this
./athena-start start > log.txt

Which of these will continue to save the server's log?

Edited by Tales
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

I mean... have some place thats server create a file.log of this issues?

@edit

I found this 

./login-server_sql >> loginserver.log 2>&1 &

and this

./athena-start start > log.txt

Which of these will continue to save the server's log?

yeah, both linux commands will put the logs that are printed on the screen to the loginserver.log or log.txt.

 

something >> log.txt

means

run something and output them to log.txt

 

but, I'm not sure what will happen when you close your PuTTy. I guess

something >> log.txt 2>&1 &

will keep it running when putty is closed.

I used to use it as well.

./athena-start start 2>&1 &

 

this will prob. help you:

http://www.eathena.ws/board/index.php?showtopic=243468

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

if i'm not mistaken,
./login-server_sql >> loginserver.log 2>&1 &
will open login server and put it in background, while keeping the log of it, while

./athena-start start > log.txt

prints the output of the screen on both file and screen.

I usually use

./athena-start start > log.txt 2>&1 &

and as everything  that's printed on the screen will be saved to the log file, I believe both way will do it (print the wrong password entered)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

Master Winz, in the case 1, "./login-server_sql >> loginserver.log 2>&1 " will continue even if I close the connection? If yes, it can incress the lag on server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

what do you mean by "closing the connection"? you mean disconnecting every single client?

if so, then the server will do its usual behavior, to go standby and listens for incoming connection (and will then reply the appropriate thing).

 

Unless if it has gone standby for too long, it will keep pinging the SQL server every 1 second, saying "To keep connection alive", which this phase is known to be the server is not working well anymore (restart it)

well, this just happen while I was still using rA SVN. I don't know what about now..

 

one more thing, don't call me master. just don't.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

@Winz Sorry *.*
So... I use putty to connect to my server on a webhost. I want to use someway to salve all that appers on putty in a txt file to see again other time. I only it because i dont like to restart my server every time that i want to see the server running on putty.

Its possible? Sorry for my bad-s-english.

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...