mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-26 07:55:52 +03:00
[GH-ISSUE #60] Recommended distro? #39
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#39
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 @romu70 on GitHub (Oct 19, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/60
Hi,
Would like to know if there is a recommended distro to install webvirtcloud? I ask because I've never been able to properly run it on Xubuntu 14.04 and currently, I'm trying to run the setup procedure on CentOS 7 and have a lot of errors.
Thanks.
@savichev commented on GitHub (Oct 20, 2015):
Write errors and help you. I instal on Mint, Ubuntu, Debian. All work!
@romu70 commented on GitHub (Oct 21, 2015):
First error on CentOS:
sudo source venv/bin/activate-> "sudo: source: command not found"
@savichev commented on GitHub (Oct 21, 2015):
Please probe use -s option
sudo -s which is sudo's own way of saying "start a shell as this user."
@romu70 commented on GitHub (Oct 21, 2015):
It works, thanks. pip is not installed by default in CentOS, so python-pip should be added to the list of packages to be installed.
The rest of the wiki ran fine, except this command
sudo supervisorctl statuswhich gives:I rebooted the server, same problem.
@savichev commented on GitHub (Oct 21, 2015):
Please logs of supervisor (/var/log/supervisor.log)
... and
ls -a /srv/webvirtcloud/venv/bin/@romu70 commented on GitHub (Oct 21, 2015):
First: there is no "gunicorn" in /srv/webvirtcloud/venv/bin.
Supervisord.log is here:
Thanks for the help.
@savichev commented on GitHub (Oct 21, 2015):
Perhaps this same problem https://github.com/retspen/webvirtcloud/issues/40#issuecomment-127164088
@romu70 commented on GitHub (Oct 21, 2015):
Seems to work but with this error:
@savichev commented on GitHub (Oct 21, 2015):
Ignore this error
Sorry, I ended working day. I propose to continue tomorrow.
@romu70 commented on GitHub (Oct 21, 2015):
I set the correct owner of the files to get a clean state:
@savichev commented on GitHub (Oct 21, 2015):
@romu70 commented on GitHub (Oct 21, 2015):
Same state BACKOFF for both, except this time there is no message about the non existing gunicorn command. Trying to reboot right now.
@savichev commented on GitHub (Oct 21, 2015):
Change permission for selinux:
@romu70 commented on GitHub (Oct 21, 2015):
Already ran this when I followed the wiki, but rebooted, ran it again and try to start both nginx and supervisord. Status:
After a while, I restarted them, and they're now "BACKOFF" again.
@savichev commented on GitHub (Oct 21, 2015):
Please logs of supervisor
@romu70 commented on GitHub (Oct 21, 2015):
Here it is:
@savichev commented on GitHub (Oct 21, 2015):
@romu70 commented on GitHub (Oct 21, 2015):
Just the webvirtcloud part, the rest is untouched:
@savichev commented on GitHub (Oct 21, 2015):
In your operating system has a directory
/var/log/supervisor/?if yes, need logs...
@romu70 commented on GitHub (Oct 21, 2015):
Yes, with only supervisord.log.
@savichev commented on GitHub (Oct 22, 2015):
modify config
@romu70 commented on GitHub (Oct 22, 2015):
Log:
@savichev commented on GitHub (Oct 23, 2015):
ok
and
@romu70 commented on GitHub (Oct 26, 2015):
Whaou, it works thanks a lot @savichev !! Last issue, I don't get any style, web pages are white with some texts.
@savichev commented on GitHub (Oct 26, 2015):
@romu70 commented on GitHub (Oct 26, 2015):
Here it is:
@savichev commented on GitHub (Oct 26, 2015):
@romu70 commented on GitHub (Oct 26, 2015):
@romu70 commented on GitHub (Oct 26, 2015):
Think I've to change and uncomment the
server_namekey.@savichev commented on GitHub (Oct 26, 2015):
Problem solved?
@romu70 commented on GitHub (Oct 27, 2015):
No, still no CSS applied.
@savichev commented on GitHub (Oct 27, 2015):
uncomment line
and add after
in webvirtcloud.conf
restart nginix, browse webvirtcloud site and type logs nginx
and
@romu70 commented on GitHub (Oct 27, 2015):
Those 2 files always stay empty now nginx starts correctly. Double checked the configuration, no way to get some traces.
@savichev commented on GitHub (Oct 28, 2015):
modify file webvirtcloud.conf
after
browse http://[$IP_HOST]
@romu70 commented on GitHub (Oct 28, 2015):
Ok, here what I did from your advices (I'm on CentOS, things are a bit different).
I commented out the default nginx configuration which is in
/etc/nginx/nginx.conf:Then, I set the webvirtcloud.conf file as adviced and restarted nginx, status:
@savichev commented on GitHub (Oct 28, 2015):
section in nginx not work
you browse
???
need
@romu70 commented on GitHub (Oct 28, 2015):
No error, file size is 0. I try to browse mozilla.org to check CSS is allowed by the browser, and it works well. I'm trying to install another browser to see if things are differents.
@savichev commented on GitHub (Oct 28, 2015):
@romu70 commented on GitHub (Oct 28, 2015):
-> "Bad gateway"
@savichev commented on GitHub (Oct 28, 2015):
ok!
https://github.com/retspen/webvirtcloud/issues/60#issuecomment-151489962
must be
and
browse http://localhost/
@romu70 commented on GitHub (Oct 28, 2015):
Here it is:
@savichev commented on GitHub (Oct 28, 2015):
and
@romu70 commented on GitHub (Oct 28, 2015):
Just saw the edition of your last comment. Here is the /var/log/supervisor/webvirtcloud.log:
@savichev commented on GitHub (Oct 28, 2015):
You browse only http://localhost/ not http://localhost:8000/?
@romu70 commented on GitHub (Oct 28, 2015):
http://localhost/ -> Bad Gateway
@savichev commented on GitHub (Oct 28, 2015):
@romu70 commented on GitHub (Oct 28, 2015):
@savichev commented on GitHub (Oct 28, 2015):
ok!
probe
@romu70 commented on GitHub (Oct 28, 2015):
It works...almost. Browsing http://localhost/ leads to the WebVirtCloud homepage, but still no CSS.
@savichev commented on GitHub (Oct 28, 2015):
ok!
change persist use the -P flag
@romu70 commented on GitHub (Oct 29, 2015):
When I see all of this discussion, I wonder if it wouldn't be easier to go with a *buntu distribution over CentOS. I will have a second server to setup and I'm afraid to face the same difficulties with CentOS (and thanks a lot for your time, I will never thank you enough !).
@savichev commented on GitHub (Oct 29, 2015):
@romu70 commented on GitHub (Oct 29, 2015):
@savichev commented on GitHub (Oct 29, 2015):
need option
http://nginx.org/en/docs/ngx_core_module.html
if not? add 1 line.(section above http {} ) Restart nginix
@romu70 commented on GitHub (Oct 29, 2015):
There was only
user nginx;at the beginning of the file, so I changed it touser nginx nginx;and restarted the nginx service, same, no CSS.@savichev commented on GitHub (Oct 29, 2015):
@romu70 commented on GitHub (Oct 29, 2015):
The last 3 traces:
@savichev commented on GitHub (Oct 29, 2015):
@romu70 commented on GitHub (Oct 29, 2015):
No change.
@savichev commented on GitHub (Oct 29, 2015):
3 command execute?
@romu70 commented on GitHub (Oct 29, 2015):
Don't understand your question.
@savichev commented on GitHub (Oct 29, 2015):
@romu70 commented on GitHub (Oct 29, 2015):
No change. Hey, let's give up, I'll switch the server to Xubuntu. Unless you really like this challenge of course ;-)
@savichev commented on GitHub (Oct 29, 2015):
search
change
reboot
@romu70 commented on GitHub (Oct 29, 2015):
This way, it wooooooorrrrrrkkkkkkkkksssssssssss !!! Thanks a lot. I'll play with it to see what I can do and how it compares to webvirtmgr we're currently running. Based on this long discussion, and difficulties, do you recommend to run it with *ubuntu (so no SELinux)? This setup was for a testing server, I've to choose a distribution for our production server.
@savichev commented on GitHub (Oct 29, 2015):
I have very little experience with CentOS/Fedora/RH...
Then I advise you, you can not use in a production environment (Disable SELinux).
I recomended use Debian (Only by the fact that I have enough experience). =)
@romu70 commented on GitHub (Oct 29, 2015):
ah ah ah, any way, thanks a lot for your help.