将 Ubuntu 11.10 升级到 12.04:Apache 不再工作

将 Ubuntu 11.10 升级到 12.04:Apache 不再工作

我将 Ubuntu Server 从 11.10 升级到了 12.04 LTS。现在 Apache 不再正常工作。我正在使用 AuthenNTLM 模块,这似乎是导致问题的原因。Apache 错误日志:

[1556] AuthenNTLM: Config Domain = myDomain  pdc = myDomainServerName  bdc = myDomainServerName
[1556] AuthenNTLM: Config Default Domain = myDomain
[1556] AuthenNTLM: Config Fallback Domain = 
[1556] AuthenNTLM: Config AuthType = ntlm AuthName = XYZ Protected Access
[1556] AuthenNTLM: Config Auth NTLM = 1 Auth Basic = 0
[1556] AuthenNTLM: Config NTLMAuthoritative = on  BasicAuthoritative = on
[1556] AuthenNTLM: Config Semaphore key = 23754 timeout = 2
[1556] AuthenNTLM: Config SplitDomainPrefix = 
[1556] AuthenNTLM: Authorization Header <not given>
[Wed May 02 14:45:40 2012] [error] Bad/Missing NTLM/Basic Authorization Header for /MyApp/searchForm.php
[1556] AuthenNTLM: Start NTLM Authen handler pid = 1556, connection = 3076026864 conn_http_hdr = keep-alive  main =  cuser =  remote_ip = 192.168.213.2 remote_port = 12851 remote_host = <> version = 0.02 smbhandle = 
[1556] AuthenNTLM: Object exists user = \
[1556] AuthenNTLM: Authorization Header NTLM
[1556] AuthenNTLM: protocol=NTLMSSP, type=1, flags1=7(NEGOTIATE_UNICODE,NEGOTIATE_OEM,REQUEST_TARGET), flags2=178(NEGOTIATE_ALWAYS_SIGN,NEGOTIATE_NTLM), domain length=5, domain offset=50, host length=10, host offset=40, host=CLDM2345, domain=myDomain
[1556] handler type == 1 
[1556] AuthenNTLM: Connect to pdc = myDomainServerName bdc = myDomainServerName domain = myDomain
[1556] AuthenNTLM: enter lock
[1556] AuthenNTLM: verify handle  smbhandle == 0 
[Wed May 02 14:47:46 2012] [error] Connect to SMB Server failed (pdc = myDomainServerName bdc = myDomainServerName domain = myDomain error = -11/0) for /MyApp/searchForm.php
[1556] AuthenNTLM: leave lock
[Wed May 02 14:47:46 2012] [error] Cannot get nonce

该模块中未“保护”的任何文件均可正常工作。

有任何想法吗?

答案1

好吧,我的错。这与升级无关。域服务器已更改,但我没有收到通知,这两件事巧合地重叠了。因此,只需将域服务器更改为新名称即可解决问题。

相关内容