2012-10-16 81 views
1

這是日誌代碼,但我不知道它是否重新啓動,我該怎麼知道? 這是什麼語言?Mongrel重啓了嗎?

日誌文件

Wed Oct 10 11:41:38 -0400 2012: REQUEST DATA: "\r\n\r\n" 
--- 
PARAMS: {} 
--- 
** INT signal received. 
** Starting Mongrel listening at 0.0.0.0:3001 
** Starting Rails with production environment... 
** Mounting Rails at /redmine... 
** Rails loaded. 
** Loading any Rails specific GemPlugins 
** Loading C:\\BitNami/apps/redmine\\scripts\\mongrel_rails_envvars external config script 
** Signals ready. INT => stop (no restart). 
** Mongrel 1.1.5 available at 0.0.0.0:3001 
** Use CTRL-C to stop. 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName 
** INT signal received. 
** Starting Mongrel listening at 0.0.0.0:3001 
** Starting Rails with production environment... 
** Mounting Rails at /redmine... 
** Rails loaded. 
** Loading any Rails specific GemPlugins 
** Loading C:\\BitNami/apps/redmine\\scripts\\mongrel_rails_envvars external config script 
** Signals ready. INT => stop (no restart). 
** Mongrel 1.1.5 available at 0.0.0.0:3001 
** Use CTRL-C to stop. 
Mon Oct 15 11:05:14 -0400 2012: Read error: #<Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.> 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:137:in `write' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:137:in `write' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:103:in `send_body' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:147:in `finished' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:165:in `process_client' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `initialize' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `new' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `initialize' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `new' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:282:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `each' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:in `run' 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281 
C:/BitNami/ruby/bin/mongrel_rails:19:in `load' 
C:/BitNami/ruby/bin/mongrel_rails:19 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang 
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName 
Mon Oct 15 15:05:02 -0400 2012: 

回答

1

它不是一種語言,它只是記錄了該雜種應用程序/控制檯輸出,包括一些錯誤堆棧信息一樣,你會發現其他地方的紅寶石。

可以在這裏找到識別Mongrel是否啓動的東西:** Starting Mongrel listening at 0.0.0.0:3001 - 表示Mongrel的一個實例正在端口3001上開始偵聽。據我所知,兩個實例不能使用相同的端口同時所以上面的日誌,啓動行出現兩次,表示重新啓動。