View Single Post
  #11  
Old 06-08-2010, 08:47 AM
Stream Recorder
 
Posts: n/a
Default

Re: Error when starting RTMPSUCK on Ubuntu 10.4 LTS: Failed to start RTMP server, exi


Quote:
Originally Posted by walterk01 View Post
To stop/kill any app via the terminal use "Ctrl+c" while the terminal window is open.
If its been closed it should stop but if not run system monitor (System->Administration->System Monitor or Alt+F2 then type "gnome-system-monitor" without the quotes) search for the process in the Processes tab and either Kill or End it, this is the linux version of windows Ctrl+Alt+Del
Theres also a cmd you can use from the terminal to end or kill processes that are already running but you need to know the exact process ID number and cant just kill it by app name "kill -9 process id" to get the exact id you can run from the terminal "ps aux" which will list every process currently running , and the user it belongs to. Its going to be a long list and the ID number will be next to the username.
Thank you!

I've opened the system monitor and there are no rtmpsrv or rtmpsuck processes running.

Then I ran
Code:
sudo iptables -t nat -F
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner  \! --uid-owner rtmp  -j REDIRECT
sudo su rtmp
Then if I run
Code:
./rtmpsrv
or
Code:
./rtmpsuck
I get the same error:
Code:
ERROR: startStreaming, TCP bind failed for port number: 1935
ERROR: Failed to start RTMP server, exiting!
Any idea how to fix this without rebooting? What is the best way to close rtmpsrv / rtmpsuck? Is it CTRL+C?
Reply With Quote