About Linux ubunt Errors

January 26, 2017 179 views
Linux Commands Apache Nginx Ubuntu

Friends, I get the following error on my Linux server. How can I fix.

sudo -u iptv /home/iptv/ligtv/restart_stream stream18

Error

sudo: /home/iptv/ligtv/restart_stream: command not found
1 Answer

@kahraman451

What specifically are you trying to do? When running:

sudo -u iptv /home/iptv/ligtv/restart_stream stream18

It appears as if you're trying to run a script, restart_stream and passing an argument, stream18, though when you do, it's telling you that the command is not found.

If that's correct, does:

/home/iptv/ligtv/restart_stream

... actually exist? If you run ls /home/iptv/ligtv, does that file show up?

Have another answer? Share your knowledge.