Skip to content

Red5 Service does not start on Windows #6

@maujood

Description

@maujood

I am able to run and use the Red5 server using red5.bat and red5-shutdown.bat, but the Red5 Media Server service does not start with service-specific error code 4. I installed it using install-service.bat.

Following is what I see in the logs:

red5-error.log

2016-12-09 18:38:24 Commons Daemon procrun stderr initialized
java.lang.NoClassDefFoundError: Main
Caused by: java.lang.ClassNotFoundException: Main
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Exception in thread "main"

commons-daemon.???.log

[2016-12-09 18:38:24] [info] [ 9360] Commons Daemon procrun (1.0.14.0 64-bit) started
[2016-12-09 18:38:24] [info] [ 9360] Running 'Red5' Service...
[2016-12-09 18:38:25] [info] [ 9948] Starting service...
[2016-12-09 18:38:25] [error] [ 7504] FindClass Main failed
[2016-12-09 18:38:25] [error] [ 9948] Failed to start Java
[2016-12-09 18:38:25] [error] [ 9948] ServiceStart returned 4
[2016-12-09 18:38:25] [info] [ 9360] Run service finished.
[2016-12-09 18:38:25] [info] [ 9360] Commons Daemon procrun finished

Is this an issue with the Red5 service?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions