本帖最后由 VantHoff 于 2023-1-7 23:27 编辑
- REQUEST_DATE: 2023-01-07 23:14:02
- PAN_VERSION: 7.9.7
- OS_VERSION: Debian GNU/Linux 11 aarch64(Py3.7.8)
- REMOTE_ADDR: 192.168.123.74
- REQUEST_URI: GET /plugin%3Faction%3Da%26amp%3Bname%3Dmongodb%26amp%3Bs%3Dget_service_status
- REQUEST_FORM: {}
- USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
- Traceback (most recent call last):
- File "/www/server/panel/plugin/mongodb/mongodb_main.py", line 26, in __init__
- self.__client = pymongo.MongoClient(host='127.0.0.1', port=int(self.__config['port']),)
- KeyError: 'port'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "class/panelPlugin.py", line 3108, in a
- return p.exec_fun(get)
- File "class/pluginAuth.py", line 62, in exec_fun
- res = PluginLoader.plugin_run(self.__plugin_name,def_name,get_args)
- SystemError: returned a result with an error set
复制代码 如果使用以下命令启动:- /etc/init.d/mongodb start
复制代码 则出现:
- No installation of mognodb.
复制代码 使用命令行查询安装情况:- root@localhost:/home/vanthoff# ls /etc/init.d
复制代码 是有mongodb的:
- root@localhost:/home/vanthoff# ls /etc/init.d
- bt dbus kmod networking procps sendmail sudo ufw
- cron hwclock.sh mongodb oneavd rsyslog ssh udev x11-common
复制代码
|