Mongrel在操作系统更新后无法启动

所以这个安装在由Pleskpipe理的虚拟服务器上,运行CentOS。 操作系统最近自动更新 – 这打破了自定义的ruby安装。 我没有设置原来的东西,不熟悉ruby,所以我有点不知所措。

通过包pipe理器,我确定安装了指定的ruby和gem。 我将原始的ruby文件夹复制回原来的/ var / www / vhost /文件夹。 在那里,httpdocs文件夹有一个到rails / servername / public文件夹的软链接。

所以从技术上讲网站的内容应该和以前一样。 但ruby/杂种日志甚至不更新。

当我访问这个站点时,Apache抛出一个503-服务暂时不可用的错误。 error_log是唯一正在更新的内容,这是重新启动后包含的内容:

[Sun Apr 21 06:18:30 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun Apr 21 06:18:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:30 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Sun Apr 21 06:18:30 2013] [notice] Digest: generating secret for digest authentication ... [Sun Apr 21 06:18:30 2013] [notice] Digest: done [Sun Apr 21 06:18:30 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Sun Apr 21 06:18:30 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Sun Apr 21 06:18:31 2013] [notice] mod_python: Creating 4 session mutexes based on 50 max processes and 0 max threads. [Sun Apr 21 06:18:31 2013] [notice] mod_python: using mutex_directory /tmp [Sun Apr 21 06:18:31 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:31 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:31 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:31 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Sun Apr 21 06:18:31 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations 

当我尝试开始mongrel_rails,我看到这个:

 /usr/lib64/ruby/gems/1.8/gems/gem_plugin-0.2.3/lib/gem_plugin.rb:109:in `load': uninitialized constant Gem::SourceIndex (NameError) from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:278 from /usr/bin/mongrel_rails:23:in `load' from /usr/bin/mongrel_rails:23