philipcwhite / Monitoring

Monitoring Server and Agents written in Python
Apache License 2.0
8 stars 5 forks source link

mserver / app.py #5

Open M4D1S0N opened 1 month ago

M4D1S0N commented 1 month ago

mserver,sh -> Pyhton Error

./mserver: 18: python: not found ./mserver: 19: /opt/monitoring/env/bin/python: not found

Line 11: Changed to:

py_ver='python3'

app.py

~/Monitoring/code/server$ python3 app.py

URL ERROR 404

philipcwhite commented 1 month ago

Some Linux offerings have removed python2 so calling python works as described (py_ver='python' ). I am currently testing on Fedora and it has used python without the 3 for several releases. The install file gives users a choice. I'll update the documentation to make this more clear.