Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does anyone get this working? #306

Open
rayzorben opened this issue Aug 25, 2020 · 4 comments
Open

How does anyone get this working? #306

rayzorben opened this issue Aug 25, 2020 · 4 comments

Comments

@rayzorben
Copy link

I've tried 2 different distros. Ubuntu 20.04, Debian 10.

In both, I keep getting nginx failing to start.

In Debian building from source it asks me for a PEM pass phrase, and then just hangs there.

What is the best distro to use to get this running?

@rayzorben
Copy link
Author

Figured, hey, it says Ubuntu 19.10, maybe I should just go with that. Nope, same issue.

Setting up nginx-core (1.16.1-0ubuntu2.1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-08-25 05:06:49 UTC; 9ms ago
     Docs: man:nginx(8)
  Process: 3733 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Aug 25 05:06:49 rayserver systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 25 05:06:49 rayserver nginx[3733]: nginx: [emerg] cannot load certificate "/etc/wok/wok-cert.pem": BIO_new_file() failed 
(SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/wok/wok-cert.pem','r') error:2006D080:BIO rou
tines:BIO_new_file:no such file)
Aug 25 05:06:49 rayserver nginx[3733]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 25 05:06:49 rayserver systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 25 05:06:49 rayserver systemd[1]: nginx.service: Failed with result 'exit-code'.
Aug 25 05:06:49 rayserver systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-core (--configure):
 installed nginx-core package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (<< 1.16.1-0ubuntu2.1.1~) | nginx-full (<< 1.16.1-0ubuntu2.1.1~) | nginx-light (<< 1.16.1-0ubunt
u2.1.1~) | nginx-extras (<< 1.16.1-0ubuntu2.1.1~); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

@alinefm
Copy link
Member

alinefm commented Sep 3, 2020

Could you run wok manually and paste here the output?

Instructions in here: https://github.com/kimchi-project/kimchi/wiki/Troubleshooting#virtualization-tab-was-not-loaded

@kaboddy
Copy link

kaboddy commented Sep 9, 2020

Could you run wok manually and paste here the output?

Instructions in here: https://github.com/kimchi-project/kimchi/wiki/Troubleshooting#virtualization-tab-was-not-loaded

He can't even install it. I'm having the same issue. Looks like you might have posted to the wrong thingy - Saw the tab issue in another 'ticket'.

@TheGreatGooo
Copy link
Contributor

Had the same issue with the recent install script, the issue seems to be that the cert is generated by starting wokd. but nginx alredy references the cert before starting wokd.

Workaround here is start service wokd start wait some time till /etc/wok/wok-cert.pem is generated then resume the install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants