Windows 7 Forces GS and Login Console to Close.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Windows 7 Forces GS and Login Console to Close.

Post by JMD »

A couple of days ago i installed windows 7 on my pc, everything is cool until i saw that when you click the close "x" button on the gs or login console the console close instantly. Any idea why this happens?
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Windows 7 Forces GS and Login Console to Close.

Post by JIV »

cause X means kill?

you can see it here:

Image
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Windows 7 Forces GS and Login Console to Close.

Post by Pere »

Some admins use to close their server using this X and then cancelling. This causes an "OOG restart" :P
But in win 7 these processes don't give you an option to cancel the "kill", win 7 kills them without confirmation ^^
Bones tardes amics meus tots!
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by devo »

than use ctrl+c or telnet.
A hero of war is that what they see...
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Windows 7 Forces GS and Login Console to Close.

Post by denser »

not always closing and canceling response as restart...
it bad way to scratch your ear by legs....
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by devo »

than use telnet
A hero of war is that what they see...
xanthos
Posts: 24
Joined: Wed Apr 30, 2008 12:23 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by xanthos »

I agree.Use telnet.I use windows 7 too and i restart the server from telnet.

How to enable telnet on win 7: http://www.blogsdna.com/4052/how-to-ins ... dows-7.htm
iamcypher
Posts: 57
Joined: Thu Oct 22, 2009 3:13 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by iamcypher »

Hello,
Or you can use putty: http://www.chiark.greenend.org.uk/~sgtatham/putty in pasive or RAW mode.

iamcypher.
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by DeGato »

Maybe offtop...
After recieving sigterm, server starts shutdown process.. Saving data takes away too much time... around ~ 10-15 min. It is normal?

This problem exists as in windows box, as in debian & gentoo. Also do not depends from hardware.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Windows 7 Forces GS and Login Console to Close.

Post by janiii »

DeGato wrote:Maybe offtop...
After recieving sigterm, server starts shutdown process.. Saving data takes away too much time... around ~ 10-15 min. It is normal?

This problem exists as in windows box, as in debian & gentoo. Also do not depends from hardware.
check console output. if zou have latest revision, it is stated there. or try to search on forum, it was discussed many times.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by DeGato »

janiii wrote:
DeGato wrote:Maybe offtop...
After recieving sigterm, server starts shutdown process.. Saving data takes away too much time... around ~ 10-15 min. It is normal?

This problem exists as in windows box, as in debian & gentoo. Also do not depends from hardware.
check console output. if zou have latest revision, it is stated there. or try to search on forum, it was discussed many times.
I did. No errors with output... Also no ideas what needs to do. If only downgrade java version. I'll try it.
ViruZ
Posts: 4
Joined: Thu Feb 12, 2009 11:27 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by ViruZ »

Closing GS takes around 5-6mins here too,so i think thats normal for l2jserv
mr.karrde
Posts: 19
Joined: Sun Mar 01, 2009 10:45 am
Contact:

Re: Windows 7 Forces GS and Login Console to Close.

Post by mr.karrde »

DeGato wrote: I did. No errors with output... Also no ideas what needs to do....
You did?
Latest revision console output:
TradeController saving data.. This action may take some minutes! Please wait until completed!
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Windows 7 Forces GS and Login Console to Close.

Post by DeGato »

ViruZ wrote:Closing GS takes around 5-6mins here too,so i think thats normal for l2jserv

Yep, saving data by trade controller takes away a long time, so it can make a problem when i need quick restart on live server. If it is normally, then no questions from me :P Just intresting why this process takes away some mins on clean test server w/o players. Sometimes all processes takes just 2-5 secs, sometimes not... :roll:
mr.karrde wrote:
DeGato wrote: I did. No errors with output... Also no ideas what needs to do....
You did?
Latest revision console output:
TradeController saving data.. This action may take some minutes! Please wait until completed!
easier, all is ok :wink:
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Windows 7 Forces GS and Login Console to Close.

Post by janiii »

saving of trade items is fine when you got players on your server and the trade items are updated when the players buy at shops. the refresh intervall for the items is imho 1 hour, so if you start clean server and the first restart takes long, the next restart until 1 hour won't take long anymore.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply