View Full Version : games_mp.log download problem Via FTP
UnDead
11-26-2003, 05:33 PM
Hey all,
I am having trouble getting the games_mp.log file to be downloaded by SW to sync it.
It appears when the server is running that you cannot cut the .log files from the main folder. You can copy them but not cut them.
What happens is SW can connect into our FTP Server app fine and it can see the log file fine but when it tries to download the games_mp.log file it fails every time. I suspect the reason is its trying to cut the log file and not just copy it.
Now I ran a test. I shut our CoD server down which releases the hold on the log file and then started up SW. It grabbed the log without a problem. I proved this by editing the log with a new line of info. The new line of text showed up on the debug window for the logfile in SW fine.
Is it possible that SW is trying to cut the logfile while the server is running instead of copying it? What else can be done. Unfortunatly our server isn't linux or I would use SSH, and FTP is our only option at this point. Enforcer any ideas?
Thanks guys,
UnDead
Cobra
11-26-2003, 06:00 PM
Well i can tell it like this.
SW are not downloading the file at all.
it is actuali reading it there and only sends the text back from it into the SW server.
So that is not the problem......
What you tell us there in your post in Normale.
But it can be other problems.
Like the path you have for it.
Where do your FTP put you when you log in ?
And if all that is right.
you can try to use the Passiv mode.
Have you used the helpfile that are in the post in here allso ?
And it can be that the ftp server dont have the possibility in it to get read of all the time....
then you will have to talk with your gameprovider and mabe he can change the ftp server so it will work.
UnDead
11-26-2003, 06:51 PM
Thanks for the response, Cobra.
I will try it in passive mode, I thought I did try this but I remember reading the help file and it said not to activate it. I did set the 3 values to 0 in the ini file like the instructions said.
Also we are renting the entire box. So we have other servers running on it as well and have full access. We run the FTP program as well on the server. It is seeing the file and the paths are fine because the FTP server logs show it seeing it. But I think the FTP server software is trying to cut it even though SW is saying just open and read it.
I know the FTP server software can read files (view them) but I think it requires you to download it first. Any recommendations for settings that could fix this on the Server FTP software?
Any FTP Server Side Software you can recommend for window 2k server that would work with SW better?
Thanks for your help.
imported_Enforcer
11-26-2003, 09:09 PM
Hehe ok maybe i correct this a little.
ServerWatch does no magic. It open a files and try to resume it that’s the point. So it don’t need to transfer the hole file only the end.
What you can do to test it working.
1: don’t you get any error messages from ServerWatch ?
Maybe it helps to enable log handeled exceptions and take a lock in the logs/exceptions.txt afterwards
2: try to access the logfile with an normal ftp client. Maybe your Server don’t allow to access a file what is open already. That’s a well known bug in some windows ftp servers. They try to open the file in "normal" mode but that’s not possible if it is in use. You have to make it in a special read only – share access mode. No magic again but looks like some ppl forget that if they program.
I don’t know any windows ftpserver that do the trick sorry because I don’t use ftp servers on windows.
If you want to do it the hard core way and I don’t think you should really do it. You can install cygwin on your computer. That’s a linux system for windows. They "simply" emulate the linux with an special dll and compile linux stuff against it. Result: linux software running on windows.
Result for you: you can use the ssh access mode in ServerWatch what would be even better then ftp for all computers running – less resources used.
Howto how to install that: http://tech.erdelynet.com/cygwin-sshd.html
Some tips how to use that in ServerWatch: www.daniel-rudolph.de/projekte/serverwatch/SWStartup.html
UnDead
11-26-2003, 10:47 PM
Thanks for the reply Enforcer....
Yep got home and tested it. The reason its failing is exactly what you said. The FTP Server App we use is trying to open the file in "Normal Mode" and even with my FTP Client FlashFXP Pro I cannot view the log file, tranfer it or access it in any way while the CoD server is running :(
Now I can try the linux emulator again. Tried it once and got frustrated setting it up. Wish there was another way to pull that file or pull the info before it gets to the log file from CoD. I will look over the ssh stuff again. But if you think of another way or something else to try let me know..> Thanks
UnDead
UnDead
11-28-2003, 12:55 PM
I found a GUI SSH Server program. Hope to have it setup soon been busy past few days. I will let you know here how it works.
Only question I have is whats the difference between SSH, SSH1 and SSH2. Will all of those work with Server Watch?
Thanks,
imported_Enforcer
11-30-2003, 05:20 PM
SSH is SSHv1 or SSHv2 the difference is the encryption. Putty - the program Serverwatch use can work with both.
Undead, what is the GUI SSH you found? I'd like to test it out
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.