mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #120] Some Steps missing for Ubuntu #102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rahulinux on GitHub (Oct 2, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/120
Webvirtmgr is really nice ... :)
I need to perform following extra steps on my Ubuntu 12.04
I hope it will be helpful for other..
Install and Enable Module for apache
To install module
apt-get install libapache2-mod-wsgiTo enable module
a2enmod wsgi*in case if you face any issue check apache error logs for troubleshooting *
need to create run dir if it not exists in /etc/apache2/run
mkdir /etc/apache2/run/chown www-data. /etc/apache2/runEnable TCP in the libvirt service on the host OS.
Edit
/etc/libvirt/libvirtd.confto set:listen_tls = 0 listen_tcp = 1 auth_tcp="none" tcp_port = "16509"*To solve following issue *
2013-10-02 19:43:08.033+0000: 22696: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output errorI have just uncomment following option in
/etc/libvirt/libvirtd.confunix_sock_dir = "/var/run/libvirt"Best Regards,
Rahul Patil
@StuartIanNaylor commented on GitHub (Oct 7, 2013):
Dunno if you guys could help me out.
[Mon Oct 07 23:21:00 2013] [notice] caught SIGTERM, shutting down
[Mon Oct 07 23:21:01 2013] [warn] RSA server certificate CommonName (CN)
' does NOT match server name!? [Mon Oct 07 23:21:01 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Oct 07 23:21:01 2013] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'. [Mon Oct 07 23:21:01 2013] [error] python_init: Python executable found '/usr/bin/python'. [Mon Oct 07 23:21:01 2013] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'. [Mon Oct 07 23:21:01 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Mon Oct 07 23:21:01 2013] [notice] mod_python: using mutex_directory /tmp [Mon Oct 07 23:21:01 2013] [warn] RSA server certificate CommonName (CN)' does NOT match server name!?[Mon Oct 07 23:21:01 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon Oct 07 23:21:01 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Mon Oct 07 23:21:01 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Mon Oct 07 23:21:01 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch mod_python/3.3.1 Python/2.7.3 mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
I am running an opensource SMB server offering from Zentyal.org that is begging for a third party virtual platform.
They have just released version 3.2 and dropped there support of there virtual offering but it was a bit limited and buggy.
Is there any chance you could update and provide a version that runs on python 2.7.3 ?
It would be great if you could take a look at Zentyal as third party developers offerings are just what I believe it needs to fly. I think it would also bring a lot to WebVirtMgr.
Just when I am asking for nothing :) LXC is just coming to fruition ver 1.00 are you thinking of including LXC or is it a matter of LXC Web Panel?
Thanks for a great piece of software hope you manage the time to keep it fresh and you get some backing to make rewarding
PS if you want a hand with the documentation or translation please say.
PS for a noob can anyone tell me why I can run it via ./manage.py runserver 0:8000
@rahulinux commented on GitHub (Oct 7, 2013):
Hi,
Could you please post Configuration settings which you have done in your side, so that we can help you in better way.
@StuartIanNaylor commented on GitHub (Oct 10, 2013):
I will give things another go. I have been installing and testing various ubuntu packages and the system not really clean. I am going to do a re-install of Zentyal and webvirtmgr.
Zentyal is a full blown ldap / samba4 SMB server do you have any plans to allow ldap authentication?
I will prob get back to you with configuration in a couple of days.
PS really like webvirtmgr great bit of software in an easy to use package.
Please keep it up.
@StuartIanNaylor commented on GitHub (Oct 11, 2013):
Hi, run into some more problems.
Last time I ran the install from your webssite which I think is a bit dated.
This time it was from the wiki on git
So Ubuntu 12.04 64 (Zentyal 3.2)
Stupidly I forgot that the webserver (apache2) module wasn't installed but I don't think that should matter.
I purged and reinstalled to make sure but wish I hadn't been dumb.
./manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 429, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 252, in fetch_command
app_name = get_commands()[subcommand]
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 101, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 276, in getattr
self._setup()
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 139, in init
logging_config_func(self.LOGGING)
File "/usr/lib/python2.7/logging/config.py", line 777, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 562, in configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse
Think it might be better to run up a virtual machine with zentyal 3.2 rather than keep doing this bare metal :)
I did another google and the results seem to be pointing at different versions of python django?
I never had that before?
@retspen commented on GitHub (Oct 11, 2013):
Django version ?
@StuartIanNaylor commented on GitHub (Oct 11, 2013):
lol apols, I am out of my depth with django and python.
http://stackoverflow.com/questions/7410151/valueerror-unable-to-configure-filter-require-debug-false-cannot-resolve-dj
and others all seem to point at versions
Also the last install that got a bit messy where I could run ./manage.py runserver 0:8000
It used to bang out with the segment faults
In apache I used to get errors saying expected python 2.7.2+ but running 2.7.3
If that makes any sense, apols
@retspen commented on GitHub (Oct 11, 2013):
What version Django you use ?
$ django-admin.py --version
@StuartIanNaylor commented on GitHub (Oct 11, 2013):
Sorry even when I run it from the directory its saying not found, off to do some reading.
root@zent1:/usr/lib/python2.7/dist-packages/django/bin# ls
daily_cleanup.py django-admin.pyc profiling
daily_cleanup.pyc init.py unique-messages.py
django-admin.py init.pyc unique-messages.pyc
root@zent1:/usr/lib/python2.7/dist-packages/django/bin# django-admin.py --version
bash: django-admin.py: command not found
root@zent1:/usr/lib/python2.7/dist-packages/django/bin#
@retspen commented on GitHub (Oct 12, 2013):
Reinstall django
$ sudo pip uninstall django
$ sudo pip install Django==1.5.4