【问题标题】:Error when trying to add subdomain or add databases with cPanel尝试使用 cPanel 添加子域或添加数据库时出错
【发布时间】:2013-12-20 05:27:54
【问题描述】:

每次我尝试添加或编辑现有子域时,cPanel 都会引发错误。当我尝试添加新数据库时出现相同的错误。

Cpanel::AdminBin::_get_cpwrapd_connection could not connect to /usr/local/cpanel/var/cpwrapd.sock

PHPMyAdmin、FTP 和 SSH 都运行良好,所以问题出在 cPanel 上。服务器是带有 GoDaddy 的 VPS。我正在安装一个在 Ruby 1.8.7 上运行的程序,安装该程序后开始出现此错误。我试过/scripts/installruby 但这给了我这个错误:

The internal error was:

    (RegexpError) Stack overflow in regexp matcher: /.*((?>\/\*.*?\*\/\s+))
                         ([\w\.\s]+\s* = \s+)?rb_define_(class|module).*?"(Mongrel)"/mx

ERROR:  While generating documentation for mongrel-1.1.5
... MESSAGE:   Stack overflow in regexp matcher: /.*((?>\/\*.*?\*\/\s+))
                         ([\w\.\s]+\s* = \s+)?rb_define_(class|module).*?"(Mongrel)"/mx
... RDOC args: --ri --op /usr/local/rvm/gems/ruby-1.8.7-p374/doc/mongrel-1.1.5/ri --line-numbers --title Mongrel --main README lib ext CHANGELOG COPYING lib/mongrel/camping.rb lib/mongrel/cgi.rb lib/mongrel/command.rb lib/mongrel/configurator.rb lib/mongrel/const.rb lib/mongrel/debug.rb lib/mongrel/gems.rb lib/mongrel/handlers.rb lib/mongrel/header_out.rb lib/mongrel/http_request.rb lib/mongrel/http_response.rb lib/mongrel/init.rb lib/mongrel/rails.rb lib/mongrel/stats.rb lib/mongrel/tcphack.rb lib/mongrel/uri_classifier.rb lib/mongrel.rb LICENSE README --title mongrel-1.1.5 Documentation --quiet
die [installruby] Failed command: /usr/bin/gem install mongrel-1.1.5.gem --local
exit level [die] [pid=5273] (Failed command: /usr/bin/gem install mongrel-1.1.5.gem --local)

【问题讨论】:

    标签: mysql ruby-on-rails ruby cpanel


    【解决方案1】:

    我通过重启 cPanel 解决了这个问题,使用 /etc/init.d/cpanel restart

    【讨论】:

      猜你喜欢
      • 2014-01-08
      • 2016-01-30
      • 1970-01-01
      • 2018-10-02
      • 1970-01-01
      • 1970-01-01
      • 2021-12-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多