in reply to Re^5: Run Perl Mojolicio Server from SSH
in thread Run Perl Mojolicio Server from SSH

I found the problem..

If I use the nohup with the ssh then the server somehow won't be reachable - but when I run the server without the nohup as for example - using the following code:

ssh root@hostname 'cd /server_path/; (usr/bin/perl server_file );'

it works.

what may be the problem here?

Replies are listed 'Best First'.
Re^7: Run Perl Mojolicio Server from SSH
by iseif (Novice) on Feb 06, 2014 at 12:07 UTC

    I found the solution :-) - the problem was with the nohup command - it was missing the:

     2>nohup.out

    I added it and it works now.

    Thanks everybody.