Running nohup command on remote server

I am having an issue in running a nohup command in a remote linux box from a linux box. Here are the details.

Linux Machine 1: I have a script which starts a services and dumps the output into a log file.

nohup sh weblogic.sh >> /home/log.out &

I have placed the entire command in a another script file say start.sh

Now my requirement is to execute the start.sh from remote server using a ssh command.

So I logged in from Machine 2 and ran the following command.

ssh -l username machine1 start.sh

When I execute the above command. The services starts fine in Machine1 and the log.out file also gets created but the output is not logged into the log.out file. The log.out file is empty for some reason.

Can some one help me on this.

Where is the log.out file created, on machine1 or 2? Try to login a second time and run lsof to see where the output is redirected to.

The log file is correctly created in Machine1 but it have the output.