Mono 2.10.1 apache 错误:命令流损坏,最后一个命令为 -1
当启动测试单声道服务器时,该站点立即给出了相当多的错误。我特别担心的错误是
[error] (70014)End of file found: read_data failed
[error] Command stream corrupted, last command was -1
因为它在开始时发生大约十几次,然后每个页面请求发生一次或多次。任何想法是什么造成的? 错误
No access to the given key
另外,尽管我明确地将 MONO_REGISTRY_PATH 设置为 www-data 拥有的目录,并且我什至尝试了 chmod 777 -R ,但还是发生了 > 一次。这里的任何帮助都会很棒。重新启动后的完整错误日志如下。
[Wed Mar 16 10:32:42 2011] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
Error: Address already in use
mod-mono-server4
Listening on: /tmp/mod_mono_server_www.tunewiki.com
Root directory: /srv/www/tunewikiweb
mod-mono-server4
Listening on: /tmp/mod_mono_server_www.tunewiki.com
Root directory: /srv/www/tunewikiweb
Error: There's already a server listening on /tmp/mod_mono_server_www.tunewiki.com
[Wed Mar 16 10:32:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:32:48 2011] [error] Command stream corrupted, last command was -1
... (several lines) ...
[Wed Mar 16 10:34:24 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:24 2011] [error] Command stream corrupted, last command was -1
(info) Auto generated encryption keys not saved: System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey (System.String path, Boolean write) [0x00000] in <filename unknown>:0
at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[] buf, KeyType kt) [0x00000] in <filename unknown>:0
(info) Auto generated encryption keys not saved: System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey (System.String path, Boolean write) [0x00000] in <filename unknown>:0
at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[] buf, KeyType kt) [0x00000] in <filename unknown>:0
[Wed Mar 16 10:34:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:48 2011] [error] Command stream corrupted, last command was -1
[Wed Mar 16 10:34:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:48 2011] [error] Command stream corrupted, last command was -1
... (repeats per page request) ...
When starting a test mono server, Immediately the site is giving quite a few errors. The error I'm particularly concerned about is
[error] (70014)End of file found: read_data failed
[error] Command stream corrupted, last command was -1
since it happens about a dozen times on start, and then once or more per page request. any ideas what's causing that?
Also , the error
No access to the given key
is occurring despite the fact I explicitly set MONO_REGISTRY_PATH
to a directory owned by www-data
, and I even tried chmod 777 -R
once. Any help here would be great. The full error log from restart is below.
[Wed Mar 16 10:32:42 2011] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
Error: Address already in use
mod-mono-server4
Listening on: /tmp/mod_mono_server_www.tunewiki.com
Root directory: /srv/www/tunewikiweb
mod-mono-server4
Listening on: /tmp/mod_mono_server_www.tunewiki.com
Root directory: /srv/www/tunewikiweb
Error: There's already a server listening on /tmp/mod_mono_server_www.tunewiki.com
[Wed Mar 16 10:32:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:32:48 2011] [error] Command stream corrupted, last command was -1
... (several lines) ...
[Wed Mar 16 10:34:24 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:24 2011] [error] Command stream corrupted, last command was -1
(info) Auto generated encryption keys not saved: System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey (System.String path, Boolean write) [0x00000] in <filename unknown>:0
at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[] buf, KeyType kt) [0x00000] in <filename unknown>:0
(info) Auto generated encryption keys not saved: System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey (System.String path, Boolean write) [0x00000] in <filename unknown>:0
at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[] buf, KeyType kt) [0x00000] in <filename unknown>:0
[Wed Mar 16 10:34:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:48 2011] [error] Command stream corrupted, last command was -1
[Wed Mar 16 10:34:48 2011] [error] (70014)End of file found: read_data failed
[Wed Mar 16 10:34:48 2011] [error] Command stream corrupted, last command was -1
... (repeats per page request) ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论