[tg] TG

Barbara Denny denny@ISI.EDU
Wed, 27 Feb 2002 15:21:08 -0800


NTP does require access to time keeping devices.  If you don't plan to be
install them, and aren't connected to the net  to access the other servers, then you
can't use NTP.

I am not sure I believe that you had no log files.  As long as the client exited, a log
file would have been created  Since your server script used the wait command, the
log file might not have been "created" yet.  It all depends on the buffering on unix
regarding what you see. Since you did not tell TG to end on the server side, it is still
waiting.  You can use "kill -TERM " with the TGrocessid to cause TG to be killed,
and the buffers to be flushed and the log file to be closed.  If you want the buffers
to be flushed while TG is running then you need to use the -f option (see
the manual).  If you are still trying to run server and client scripts on the same
machine, make sure you give different log file names.

barbara

> I have got the libraries of TG for linux. Now I am trying to make my first test.
> There are two problems.
>
> First, I wasn't able to run NTP, cause from what I have read, NTP will synchronize my computer with some server, but my testbed has no Internet access! What I would like is simple synchronize this two Linux boxes with each other, but I think I can't do it with NTP, can I?
>
> the second is that when I tried to run TG I did:
>
> tg -f -i spec1 -o out
>
> where spec1 is the specification file for client / server in accordance with the documentation, or the examples.
>
> I expected it to create out file for me (log file) but after the client finishes its work, the server is still on wait state, and no log files were generated at all! What am I doing wrong?
>
> Thanks, Fernando.
> _______________________________________________
> tg mailing list
> tg@postel.org
> http://www.postel.org/mailman/listinfo/tg