hi,
ty
accel-web-manager.service - Accel-PPP Web Manager Backend
Loaded: loaded (/var/lib/accel-web-manager/systemd/accel-web-manager.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-08-31 16:25:57 IST; 1min 20s ago
Process: 24521 ExecStart=/usr/bin/gunicorn3 -w 4 -b 127.0.0.1:8123 accel-web-manager:app (code=exited, status=3)
Main PID: 24521 (code=exited, status=3)
Aug 31 16:25:57 hbbras03-212 systemd[1]: accel-web-manager.service: Service hold-off time over, scheduling restart.
Aug 31 16:25:57 hbbras03-212 systemd[1]: accel-web-manager.service: Scheduled restart job, restart counter is at 5.
Aug 31 16:25:57 hbbras03-212 systemd[1]: Stopped Accel-PPP Web Manager Backend.
Aug 31 16:25:57 hbbras03-212 systemd[1]: accel-web-manager.service: Start request repeated too quickly.
Aug 31 16:25:57 hbbras03-212 systemd[1]: accel-web-manager.service: Failed with result 'exit-code'.
Aug 31 16:25:57 hbbras03-212 systemd[1]: Failed to start Accel-PPP Web Manager Backend.
jdm@hbbras03-212:/etc/systemd/system$ python3 -m pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the
jdm@hbbras03-212:/etc/systemd/system$ sudo systemctl status accel-web-manager -n 50
● accel-web-manager.service - Accel-PPP Web Manager Backend
Loaded: loaded (/var/lib/accel-web-manager/systemd/accel-web-manager.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-08-31 16:38:09 IST; 4s ago
Process: 25646 ExecStart=/usr/bin/gunicorn3 -w 4 -b 127.0.0.1:8123 accel-web-manager:app (code=exited, status=1/FAILURE)
Main PID: 25646 (code=exited, status=1/FAILURE)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: Traceback (most recent call last):
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/bin/gunicorn3", line 11, in <module>
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: load_entry_point('gunicorn==19.7.1', 'console_scripts', 'gunicorn')()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 74, in run
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 203, in run
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: super(Application, self).run()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 72, in run
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: Arbiter(self).run()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 231, in run
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 344, in halt
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.stop()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 393, in stop
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: time.sleep(0.1)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 244, in handle_chld
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.reap_workers()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 524, in reap_workers
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Aug 31 16:38:07 hbbras03-212 systemd[1]: Stopped Accel-PPP Web Manager Backend.
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: [2022-08-31 16:38:07 +0530] [25634] [ERROR] Exception in worker process
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: Traceback (most recent call last):
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 578, in spawn_worker
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: worker.init_process()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/workers/base.py", line 126, in init_process
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.load_wsgi()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/workers/base.py", line 135, in load_wsgi
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.wsgi = self.app.wsgi()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 67, in wsgi
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: self.callable = self.load()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: return self.load_wsgiapp()
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: return util.import_app(self.app_uri)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 377, in import_app
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: __import__(module)
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/var/lib/accel-web-manager/backend/accel-web-manager.py", line 13, in <module>
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: from flask_cors import CORS
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: ModuleNotFoundError: No module named 'flask_cors'
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: [2022-08-31 16:38:07 +0530] [25634] [INFO] Worker exiting (pid: 25634)
Aug 31 16:38:07 hbbras03-212 systemd[1]: Started Accel-PPP Web Manager Backend.
Aug 31 16:38:08 hbbras03-212 systemd[1]: accel-web-manager.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 16:38:09 hbbras03-212 systemd[1]: accel-web-manager.service: Failed with result 'exit-code'.
Aug 31 16:38:09 hbbras03-212 systemd[1]: accel-web-manager.service: Service hold-off time over, scheduling restart.
Aug 31 16:38:09 hbbras03-212 systemd[1]: accel-web-manager.service: Scheduled restart job, restart counter is at 5.
Aug 31 16:38:09 hbbras03-212 systemd[1]: Stopped Accel-PPP Web Manager Backend.
Aug 31 16:38:09 hbbras03-212 systemd[1]: accel-web-manager.service: Start request repeated too quickly.
Aug 31 16:38:09 hbbras03-212 systemd[1]: accel-web-manager.service: Failed with result 'exit-code'.
hashbang wrote: ↑31 Aug 2022, 11:09
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: File "/var/lib/accel-web-manager/backend/accel-web-manager.py", line 13, in <module>
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: from flask_cors import CORS
Aug 31 16:38:12 hbbras03-212 gunicorn3[25612]: ModuleNotFoundError: No module named 'flask_cors'
this is the reason. you need to install Flask-Cors python module (it should be available to your /usr/bin/python). this should help: "/usr/bin/python -m pip install Flask-Cors"
hashbang wrote: ↑03 Sep 2022, 10:14
hi,
installed on ubuntu 22.04 without any problem. I'm liking it. Awaiting for version 4. Link to deb is giving 404 error
thanks