2017-02-13 229 views
1

我不知道問題是什麼,成功設置Bugzilla並登錄後,當我單擊像Administration這樣的任何鏈接時,它將返回此錯誤信息:無法產生子進程:C:/bugzilla/admin.cgi

Server error! 

The server encountered an internal error and was unable to complete your request. 

Error message: 
couldn't create child process: 720002: admin.cgi 

If you think this is a server error, please contact the webmaster. 

Error 500 

localhost 
Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.13 

我檢查Apache的錯誤日誌和得到這個:

[Mon Feb 13 13:10:21.339205 2017] [ssl:warn] [pid 9152:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Mon Feb 13 13:10:21.448624 2017] [core:warn] [pid 9152:tid 500] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? 
[Mon Feb 13 13:10:21.641664 2017] [ssl:warn] [pid 9152:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Mon Feb 13 13:10:21.704265 2017] [mpm_winnt:notice] [pid 9152:tid 500] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.13 configured -- resuming normal operations 
[Mon Feb 13 13:10:21.704265 2017] [mpm_winnt:notice] [pid 9152:tid 500] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37 
[Mon Feb 13 13:10:21.704265 2017] [core:notice] [pid 9152:tid 500] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache' 
[Mon Feb 13 13:10:21.719891 2017] [mpm_winnt:notice] [pid 9152:tid 500] AH00418: Parent: Created child process 7304 
[Mon Feb 13 13:10:22.692898 2017] [ssl:warn] [pid 7304:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Mon Feb 13 13:10:23.017759 2017] [ssl:warn] [pid 7304:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Mon Feb 13 13:10:23.080268 2017] [mpm_winnt:notice] [pid 7304:tid 512] AH00354: Child: Starting 150 worker threads. 
[Mon Feb 13 13:10:28.707037 2017] [cgi:error] [pid 7304:tid 1848] (OS 2)The system cannot find the file specified. : [client 127.0.0.1:60709] couldn't create child process: 720002: admin.cgi 
[Mon Feb 13 13:10:28.707037 2017] [cgi:error] [pid 7304:tid 1848] (OS 2)The system cannot find the file specified. : [client 127.0.0.1:60709] AH01223: couldn't spawn child process: C:/bugzilla/admin.cgi 

enter image description here

回答

2

這是一個簡單的問題,就必須改變安裝Perl目錄POI nt到在Linux環境中開發Bugzilla以來每個.cgi文件頂部的bin文件夾的位置。 #!/Perl64/bin/perl.exe -T

+0

我該怎麼辦? –

+0

你現在正在嘗試解決同一個問題嗎? – kehinde

+0

我自己解決 –

1

kehinde已經提到Bugzilla是在Linux環境下開發的。

您應該

#!/usr/bin/perl -T 

改變

#!C:\Perl64\bin\perl.exe -T 

然後重新啓動你的Apache/WAMP服務器中的第1行的所有.cgi文件的路徑。有用!