Article ID: 114871, created on Aug 16, 2013, last review on May 11, 2014

  • Applies to:
  • Plesk 11.x for Linux
  • Plesk 10.x for Linux
  • Plesk 9.x for Linux/Unix

问题

您无法重启 Apache;该操作失败并在 Parallels Plesk Panel web 界面中出现以下错误:

Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to restart ('--start', 'web')

当尝试从命令行界面启动时,会出现以下错误:

# /etc/init.d/httpd start
Syntax error on line 2 of /etc/httpd/conf.d/php_cgi.conf:
Invalid command 'Action', perhaps misspelled or defined by a module not included in the server configuration

原因

如果未加载操作模块则会出现此类错误。因此,Apache 无法处理剩下的配置文件。

您可以运行以下命令查看是否已启用了操作模块:

# httpd -t -D DUMP_MODULES | grep actions
actions_module (shared)

如果在输出中未看到 actions_module (shared) 行,请根据下面的解决方案操作。
 

解决方案

运行此命令启用操作模块:
# a2enmod actions

然后启动 Apache:
# service httpd start

dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article