我有一个专用服务器,其中设置了我的应用程序的两个实例。一种在生产中,一种在舞台上
我似乎无法同时在两个应用程序上运行Thinking Sphinx。
当我尝试启动它时,出现以下错误:
[Tue Jul 30 10:02:31.618 2013] [20464] Child process 20465 has been forked [Tue Jul 30 10:02:31.669 2013] [20465] listening on 127.0.0.1:9306 [Tue Jul 30 10:02:31.669 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:34.672 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:37.676 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:40.679 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:43.682 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:46.685 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:49.688 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:52.691 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:55.694 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:02:58.697 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:01.700 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:04.703 2013] [20465] bind() failed on 127.0.0.1, retrying... [Tue Jul 30 10:03:07.706 2013] [20465] FATAL: bind() failed on 127.0.0.1: Address already in use [Tue Jul 30 10:03:07.707 2013] [20464] Child process 20465 has been finished, exit code 1. Watchdog finishes also. Good bye!
谁能建议我如何在同一服务器上的同一应用程序的两个版本上运行TS?
您应该为不同的环境指定不同的端口:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句