error when i ran $ ./run_console_ems.sh
I got this error when i ran $ ./run_console_ems.sh
evostreamd@ibdns:/home/smile/evostreamms-1.7.0.4283-x86_64-Ubuntu_14.04/bin$ ./run_console_ems.sh
/common/src/utils/misc/file.cpp:82 Unable to open file ../logs/evostream.10873.1457096801219.log with mode `w+b`. Error was: (13) Permission denied
/crtmpserver/src/crtmpserver.cpp:420 EvoStream Media Server (www.evostream.com) version 1.7.0 build 4283 with hash: 395ff5e220ea7311adf3fca70960fb30c7785d34 – PacMan|m| – (built for Ubuntu-14.04-x86_64 on 2016-01-27T10:00:15.000)
/crtmpserver/src/crtmpserver.cpp:423 OS files descriptors count limits: 4096/4096
/crtmpserver/src/crtmpserver.cpp:425 Initialize I/O handlers manager: epoll with timerfd_XXXX support
/crtmpserver/src/crtmpserver.cpp:480 Configure modules
/crtmpserver/src/crtmpserver.cpp:486 Plug in the default protocol factory
/crtmpserver/src/crtmpserver.cpp:493 Configure factories
/thelib/src/configuration/module.cpp:96 Loaded factory from application evostreamms
/crtmpserver/src/crtmpserver.cpp:499 Configure acceptors
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 0->1 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 1->2 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 2->3 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 3->4 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 4->5 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 5->6 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 6->7 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 7->8 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:119 Handlers count changed: 8->9 IOHT_ACCEPTOR
/thelib/src/netio/epoll/tcpacceptor.cpp:73 Unable to bind on address: tcp://0.0.0.0:8080; Error was: (98) Address already in use
/thelib/src/configuration/module.cpp:129 Unable to fire up acceptor from this config node:
0.0.0.0
8080
inboundHttp
/thelib/src/configuration/module.cpp:106 Unable to configure acceptor:
0.0.0.0
8080
inboundHttp
/thelib/src/configuration/configfile.cpp:136 Unable to configure acceptors
/crtmpserver/src/crtmpserver.cpp:501 Unable to configure acceptors
/crtmpserver/src/crtmpserver.cpp:556 Shutting down protocols manager
/crtmpserver/src/crtmpserver.cpp:560 Shutting down I/O handlers manager
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 9->8 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 8->7 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 7->6 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 6->5 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 5->4 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 4->3 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 3->2 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 2->1 IOHT_ACCEPTOR
/thelib/src/netio/epoll/iohandlermanager.cpp:129 Handlers count changed: 1->0 IOHT_ACCEPTOR
/crtmpserver/src/crtmpserver.cpp:565 Unregister and delete default protocol handler
/crtmpserver/src/crtmpserver.cpp:570 Shutting down applications
/crtmpserver/src/crtmpserver.cpp:573 Delete the configuration
/crtmpserver/src/crtmpserver.cpp:577 Doing final OpenSSL cleanup
/crtmpserver/src/crtmpserver.cpp:589 Killing the web server
/crtmpserver/src/crtmpserver.cpp:598 Shutting down the logger leaving you in the dark. Bye bye… 🙁
1 Answers
This is because there is another application on your computer that is using the port 8080 and so the EMS is unable to get access to it as it starts. There are two ways you can fix this:
Bryan
- You can shutdown the application that is using port 8080 (if you know what it is)
- You can configure the EMS to use a different port. 8080 is defined in the acceptors section of the config.lua file. You can read more about editing that file here: http://docs.evostream.com/ems_user_guide/emsconfigfile
Bryan