Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nohup:ignoring input and appending output to 'nohup.out'

I want to start my server through nohup.php but the command is not running and displays following error

nohup:ignoring input and appending output to 'nohup.out'

I am using ssh through putty, this is what i am doing

nohup php server1.php

like image 643
user3809096 Avatar asked Jul 09 '14 06:07

user3809096


1 Answers

That's not an error - it's normal behavior. It just informs you that once started the in/output is removed from your console.

To avoid the message you need to start it like

nohup php server1.php </dev/null &>/dev/null &
like image 153
lpaseen Avatar answered Nov 10 '22 08:11

lpaseen