webvirtmgr icon indicating copy to clipboard operation
webvirtmgr copied to clipboard

Followed installation instructions - Can't access

Open mav1c opened this issue 8 years ago • 5 comments

I followed the installation instructions here: https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr

Running CentOS 6.5.

When I enter the URL, it's not found. http://192.168.6.117:8000

I verified port 8000 is being used by python:

[root@fwm-ops-virthost nginx]# netstat -tulpn | grep 8000 tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 28682/python

And that's running for nginxm but is there an issue with so many running?

Any ideas what I'm missing?

[root@fwm-ops-virthost nginx]# fuser 8000/tcp 8000/tcp: 28682 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28712 28713 28714 28715 28716 28717 28718 28719 28720

[root@fwm-ops-virthost nginx]# ps -ef | grep ngi root 28521 1 0 10:07 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx 28522 28521 0 10:07 ? 00:00:00 nginx: worker process nginx 28682 28679 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28687 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28688 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28689 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28690 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28691 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28692 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28693 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28694 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28695 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28696 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28697 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28698 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28699 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28700 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28701 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28702 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28703 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28704 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28705 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28706 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28707 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28708 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28709 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28710 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28712 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28713 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28714 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28715 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28716 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28717 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28718 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28719 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py nginx 28720 28682 0 10:10 ? 00:00:00 /usr/bin/python /var/www/webvirtmgr/manage.py run_gunicorn -c /var/www/webvirtmgr/conf/gunicorn.conf.py root 29104 27557 0 10:37 pts/0 00:00:00 grep ngi

mav1c avatar May 26 '16 14:05 mav1c

The first address listed is the local address. Your netstat is listing 127.0.0.1. That would be asssigned on the loopback interface, so regardless of the foreign address being 0.0.0.0, you will only be able to get requests that are coming through the loopback interface on your server. If you wanted to access the panel, AND you are running on the same machine as webvirtmgr, you could try accessing it at 127.0.0.1:8000.

Or, you could be aiming to have nginx listening on a non-loopback interface, and reverse proxying back to the python process running on the loopback interface. In that case, try dropping the port (8000) off the url so that you have http://192.168.6.117

I can confirm that it's normal to have that many python processes running. I suspect it's so that a burst of requests doesn't have to start up a bunch of python processes, but can instead get better performance by using already ready to go python processes.

Azendale avatar Sep 06 '16 03:09 Azendale

Seems to have th same issue although no http (or other server) seems to use the port.

[root@sh30kvm01 webvirtmgr]# ./manage.py runserver 0:8000 WARNING:root:No local_settings file found. WARNING:root:No local_settings file found. Validating models...

0 errors found January 12, 2019 - 18:48:26 Django version 1.5.5, using settings 'webvirtmgr.settings' Development server is running at http://0:8000/ Quit the server with CONTROL-C. Error: That port is already in use.

xstreur avatar Jan 12 '19 16:01 xstreur

fuser 8000/tcp 8000/tcp: 31329 31366 31367 31368 31370 31371 31372 31373 31374 31375 31376 31377 31378 31379 31380 31381 31382 31383 31384 31385 31386 31387 31388 31389 31390 31391 31392 31393 31394 31396 31397 31398 31399 31400 31401 31402 31403 31404 31405 31406 31407 31408 31409 31410 31411 31412 31413 31414 31415 31416 31417 31418 31419 31420 31421 31422 31424 31425 31426 31427 31428 31429 31430 31431 31432 31433

xstreur avatar Jan 12 '19 16:01 xstreur

When trying http://sh30kvm01:8000: Website not available. NGINX is running fine, due to the message I get trying http://wh30kvm01:80 (NGINX Gateway message).

xstreur avatar Jan 12 '19 16:01 xstreur

Why dont you use webvirtcloud?

catborise avatar Jan 26 '19 19:01 catborise