本帖最后由 堡塔运维小林 于 2023-5-9 22:48 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
REQUEST_DATE: 2023-05-09 22:11:17
PAN_VERSION: 7.9.96
OS_VERSION: CentOS 7.8.2003 x86_64(Py3.7.9)
REMOTE_ADDR: 123.139.95.196
REQUEST_URI: POST /site?action=ModifyRedirect
REQUEST_FORM: {'sitename': 'dreambred.cn', 'redirectname': '1683343035115', 'tourl': 'https://www.dreambred.cn', 'redirectdomain': '["dreambred.cn"]', 'redirectpath': '', 'redirecttype': '301', 'type': '1', 'domainorpath': 'domain', 'holdpath': '1', 'topath': '', 'errorpage': '0', 'status': '0'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Core/1.94.197.400 QQBrowser/11.7.5287.400
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2008, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1955, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelRedirect.py", line 304, in ModifyRedirect
self.SetRedirectApache(get.sitename)
File "/www/server/panel/class/panelRedirect.py", line 134, in SetRedirectApache
shutil.copyfile(ap_file, '/tmp/ap_file_bk.conf')
File "/www/server/panel/pyenv/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
OSError: [Errno 5] Input/output error: '/tmp/ap_file_bk.conf'
|
|