Wowza Community

problem running on another server

hi charlie

i’ve changed my server to take a dedicated one for wowza, and i re installed wowza on the new server. Java install was ok, java -version gives me the correct path and version, but when starting the server here is what i have:

Configure logging: file:///usr/local/WowzaMediaServerPro/conf/log4j.properties

INFO server server-start Wowza Media Server Pro10 1.3.1 build4415 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-EEDNX

INFO server comment - Maximum connections: 10

INFO server comment - Hardware Available Processors: 2

INFO server comment - Max File Descriptor Count: 1024

INFO server comment - Open File Descriptor Count: 30

INFO server comment - OS Name: Linux

INFO server comment - OS version: 2.6.21.5-grsec-xxxx-grs-ipv4-32

INFO server comment - OS architecture: i386

INFO server comment - Java vendor: Sun Microsystems Inc.

INFO server comment - Java version: 1.6.0_03

INFO server comment - Java home: /usr/java/jre1.6.0_03

INFO server comment - Java max heap size: 739MB

INFO server comment - JMX bind attempt service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi

INFO server comment - JMX password file: /usr/local/WowzaMediaServerPro/conf/jmxremote.password

INFO server comment - JMX access file: /usr/local/WowzaMediaServerPro/conf/jmxremote.access

INFO server comment - JMX bind successful

INFO server comment - CMDInterface now listening: [any]:8083

Error starting: java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.wowza.wms.bootstrap.Bootstrap.startServer(Unknown Source)

at com.wowza.wms.bootstrap.Bootstrap.main(Unknown Source)

Caused by: java.lang.InternalError: unable to get address of epoll functions, pre-2.6 kernel?

at sun.nio.ch.EPollArrayWrapper.init(Native Method)

at sun.nio.ch.EPollArrayWrapper.(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor.startupWorker(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor.bind(Unknown Source)

at com.wowza.wms.server.Server.startCommandInterface(Unknown Source)

at com.wowza.wms.server.Server.start(Unknown Source)

… 6 more

jmx remote works nice, but the server is not up and listening on por 1935…need help

is this a kernel matter ?

weird as i have wowza working on this kernel:

2.4.25.verio.1

but not on this one:

2.6.21.5-grsec-xxxx-grs-ipv4-32

both on red hat 7.2 machine…

thx

I have never seen this problem before. I just found this web page that describes this problem:

http://www.rogue-development.com/blog/labels/red5.html

It is suggesting that you add the Java swith:

-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider

To the Wowza Pro startup. To do this edit the following two files and add this qualifier to the JAVA_OPTS value near the top of the file:

/usr/local/WowzaMediaServerPro/bin/setenv.sh

Please let me know right away if this does not work for you and I will dig in.

Charlie

Great! I will add this to the README.html, bugs and useful code sections on the forums.

Charlie

just to make sure, my line should look like this:

JAVA_OPTS="-Xmx768M -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch .PollSelectorProvider"

thx

ok, now i have this:

[root@ns29249 bin]# ./startup.sh

Exception in thread “main” java.lang.NoClassDefFoundError: /PollSelectorProvider

okay its was a space added in the code line…so now i have the server on apparently…so it works

thanks again charlie