CentOS 7 ASP 无法正常工作

CentOS 7 ASP 无法正常工作

我已经设置了一个 CentOS 7 VM,在端口 8080 上运行 ISPConfig 3,在端口 80 上运行 httpd,并运行一些其他服务,如 Dovecot 等。

我正在尝试设置虚拟机,以便它可以显示 .aspx 页面,但出于某种原因,我一直收到 503 错误。看来我已经安装了所有需要的模块等(我在互联网上能找到的)。

当我尝试访问 ASPX 网站时出现 503 错误,并且在 httpd 错误日志中出现以下内容:

    [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Should be something like [[hostname:]port:]VPath:realpath
  at Mono.WebServer.ApplicationServer.AddApplicationsFromCommandLine (System.String applications) <0x40f7e3c0 + 0x0033f> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer:AddApplicationsFromCommandLine (string)
  at Mono.WebServer.Apache.Server.RealMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean v_quiet) <0x40f233e0 + 0x00563> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Mono.WebServer.Apache.Server:RealMain (string[],bool,Mono.WebServer.IApplicationHost,bool)
  at Mono.WebServer.Apache.Server.Main (System.String[] args) <0x40f22d70 + 0x000e3> in <filename unknown>:0
[Tue Dec 08 14:12:06.203166 2015] [:error] [pid 9330] Failed to connect to mod-mono-server after several attempts to spawn the process.

可能是什么问题呢?

答案1

[pid 9330] 尝试启动该进程多次后,仍无法连接到 mod-mono-server。

这是你的问题。现在你需要弄清楚这意味着什么。

  • 检查你的单声道服务器是否正在运行。
  • 检查你的单声道配置
  • 检查你的 httpd 配置。
  • 查找并检查单声道日志
  • 查看 /var/log/audit/audit.log 并检查相关的 SELinux 问题

相关内容