0.8 RC2
Basically red5 is refusing to bind to a second ip on port 80.
If i change from port 80 to 81 or any number, everything works okay.
Something wrong with src/org/red5/server/tomcat/TomcatLoader.java or
springframework ultra smart loader shitty.

NO, i am not running red5 more then once! (watch -n4 'ps aux | grep
red5') on my other console.
NO, no other apps uses ports (netstat -anp | grep LISTEN)
NO, no other confusing applications installed yet under webapps. Just
naked red5.
NO, apache is not listens on 0.0.0.0 /etc/apache2/ports.conf
I've even checked with rkhunter and chkrootkit if something nasty happens, bah.
YES, even i have rebooted the server too...

Any brave heart(s) around?

Peace
Kunth


/usr/lib/red5 # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:DB:F8:D0:B5
          inet addr:211.129.114.121  Bcast:213.239.214.127  Mask:255.255.255.224

eth0:1    Link encap:Ethernet  HWaddr 00:19:DB:F8:D0:B5
          inet addr:74.57.65.85  Bcast:78.47.65.103  Mask:255.255.255.248


# netstat -anp | grep LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*
LISTEN     2417/mysqld
tcp        0      0 211.129.114.121:80      0.0.0.0:*
LISTEN     3057/apache2
tcp        0      0 127.0.0.1:25            0.0.0.0:*
LISTEN     2915/exim4
tcp        0      0 211.129.114.121:443     0.0.0.0:*
LISTEN     3057/apache2
tcp6       0      0 :::222                  :::*
LISTEN     2983/sshd



red5.properties
# Socket policy
policy.host=74.57.65.85
policy.port=843

# HTTP
http.host=74.57.65.85
http.port=80
https.port=8449

# RTMP
rtmp.host=74.57.65.85
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=64
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=0
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
rtmp.tcp_nodelay=true

# RTMPS
rtmps.host=74.57.65.85
rtmps.port=8443
rtmps.ping_interval=5000
rtmps.max_inactivity=60000
rtmps.max_keep_alive_requests=-1
rtmps.max_threads=20
rtmps.acceptor_thread_count=2
rtmps.processor_cache=20
# RTMPS Keystore Password
rtmps.keystorepass=password

# RTMPT
rtmpt.host=74.57.65.85
rtmpt.port=8088
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
rtmpt.max_keep_alive_requests=-1
rtmpt.max_threads=20
rtmpt.acceptor_thread_count=2
rtmpt.processor_cache=20

# MRTMP
mrtmp.host=74.57.65.85
mrtmp.server=video.englishyourself.com
mrtmp.port=9035
mrtmp.event_threads_core=4
mrtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
mrtmp.event_threads_queue=0
mrtmp.event_threads_keepalive=60
mrtmp.send_buffer_size=271360
mrtmp.receive_buffer_size=65536
mrtmp.ping_interval=5000
mrtmp.max_inactivity=60000
mrtmp.tcp_nodelay=true

# Debug proxy (needs to be activated in red5-core.xml)
proxy.source_host=127.0.0.1
proxy.source_port=1936
proxy.destination_host=127.0.0.1
proxy.destination_port=1935

# JMX
jmx.rmi.port.registry=9999
jmx.rmi.port.remoteobjects=
jmx.rmi.host=74.57.65.85
jmx.rmi.ssl=false

-----------------------------------------


After start in /usr/lib/red5
./red5.sh

Error is:
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Setting connector:
org.apache.catalina.connector.Connector
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading tomcat context
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/lib/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root:
/usr/lib/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root:
/usr/lib/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat
servlet engine
[INFO] [main] org.apache.catalina.startup.Embedded - Starting tomcat server
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting
Servlet Engine: Apache Tomcat/6.0.18

[ERROR] [main] org.apache.coyote.http11.Http11Protocol - Error
initializing endpoint java.net.BindException: Address already in
use<null>:80

at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
[tomcat-coyote-6.0.18.jar:na]
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
[tomcat-coyote-6.0.18.jar:na]
at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
[catalina-6.0.18.jar:na]

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to