Closing Domino on partitioned servers via script

Hi hello, we´ve been struggling with this lately, hope someone can help.

What we would like to do is this, close two Domino-servers on the the same machine, zip, rename and move log.nsf, via a script.

It works perfect on a single Domino-server, but not on the partitioned one.

What happens is that, after the zipping the zipped log.nsf goes up in flings, nowhere to be found.

We are also having problems to shut down the two servers properly.

If we skip the zipping and just restart the servers, the script works ok.

So, if someone has got some input regarding files/processess that does not get closed etc, plse reply.

Thanks.