ONTAP 9 Web服务在重新启动HTTP进程后仍保持"脱机"状态
适用场景
- ONTAP 9
- ONTAP System Manager
问题描述
- Web服务处于"脱机"状态
- 重新启动服务 不起作用
- System Manager和SPI访问都失败
::> system services web node show
HTTP HTTP HTTPS Total Total
Node External Enabled Port Port Status HTTP Requests Bytes Served
------------- -------- ------- ----- ----- -------- ------------- ------------
Cluster1-01 true false 80 443 offline - -
Cluster1-02 true false 80 443 offline - -
apache_error日志输出:
[Mon Jul 03 15:09:18.956096 2023] [dot:notice] [pid 94700:tid 34378649600] Refreshed the cache of the vserver config file /mroot/etc/www/wsdb/ httpd-vserver.conf, modified at 1688061154
[Mon Jul 03 15:09:18.956478 2023] [dot:notice] [pid 94700:tid 34378649600] Creating http listener on port 65508 for web service FW_BMC
[Mon Jul 03 15:09:18.956920 2023] [dot:notice] [pid 94700:tid 34378649600] Creating https listener on port 65509 for web service FW_BMC
httpd: Syntax error on line 68 of /etc/apache2/ httpd.conf: Syntax error on line 39 of /var/etc/ httpd-custom.conf: Failed to find web service fud: No such file or directory
[Mon Jul 03 16:09:20.003131 2023] [dot:notice] [pid 10464:tid 34378649600] The web services database has been initialized.
或
- Web服务未处于"脱机"状态
- 可以访问SPI、但System Manager不能
- System Manager无法完成某些操作、并要求重试此操作
- 重新启动服务不起作用
- 在指示的日志中检查以下内容:
apache_error log:
[Wed Dec 13 18:43:44.735012 2023 0000] [dot:error] [pid 11838:tid 34402468608] [client :] [vserver ID 4294912345] [service security] HTTP POST method not allowed
audy-mlog:
00000017.0006bf6c 00c4a9a3 Wed Dec 13 2023 18:43:44 00:00 [kern_audit:info:11838] 8503e80000001df9 :: :http :: : :: :admin :: POST /security/login HTTP/1.1 :: Error: 405 Method Not Allowed
EMS:
[node01-02: spmd: spm.httpd.process.exit:alert]: The web server (httpd) with ID 7134 exited as a result of normal exit (1). This server will attempt to restart