Page 1 of 2

error during install

Posted: Wed Jan 31, 2018 10:12 am
by fedekrum
It came to my atention during the installation this message.
The thing went on installing. Is this normal?
Is a DO droplet with 4 GB ram on Ubuntu 16.04.

Setting up sa-compile (3.4.1-3) ...
Running sa-compile (may take a long time)
Setting up spamc (3.4.1-3) ...
Setting up tcl8.6 (8.6.5+dfsg-2) ...
Setting up tk8.6 (8.6.5-1) ...
Setting up unzip (6.0-20ubuntu1) ...
Setting up vesta (0.9.8-19) ...
Setting up vesta-php (0.9.8-19) ...
[....] Restarting vesta (via systemctl): vesta.serviceJob for vesta.service failed because the control process exited with error code. See "systemctl status vesta.service" and "journalctl -xe" for details.
failed!

Re: error during install

Posted: Wed Jan 31, 2018 7:29 pm
by vikhyat
Please run this command "systemctl status vesta.service" and post the result here. Also, run the command "service vesta restart"

Re: error during install

Posted: Thu Feb 01, 2018 11:38 am
by imperio
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.

Re: error during install

Posted: Fri Feb 02, 2018 9:02 pm
by myB0B
Same error here on VPS ubuntu 16.04:

systemctl status vesta.service
● vesta.service - LSB: starts the vesta control panel
Loaded: loaded (/etc/init.d/vesta; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-02-02 20:00:12 UTC; 41min ago
Docs: man:systemd-sysv-generator(8)
Process: 3694 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)

Feb 02 20:00:07 srv03.domain.com systemd[1]: Starting LSB: starts the vesta control panel...
Feb 02 20:00:12 srv03.domain.com vesta[3694]: * Starting vesta-nginx vesta-nginx
Feb 02 20:00:12 srv03.domain.com vesta[3694]: nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/vesta/ssl/certificate.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start li
Feb 02 20:00:12 srv03.domain.com systemd[1]: vesta.service: Control process exited, code=exited status=1
Feb 02 20:00:12 srv03.domain.com systemd[1]: Failed to start LSB: starts the vesta control panel.
Feb 02 20:00:12 srv03.domain.com systemd[1]: vesta.service: Unit entered failed state.
Feb 02 20:00:12 srv03.domain.com systemd[1]: vesta.service: Failed with result 'exit-code'.

root@srv03:/usr/local/vesta/ssl# ll
total 8
drwxr-xr-x 2 root root 4096 Feb 2 20:09 ./
drwxr-xr-x 15 root root 4096 Feb 2 20:09 ../
-rw-rw---- 1 root mail 0 Feb 2 19:52 certificate.crt
-rw-rw---- 1 root mail 0 Feb 2 19:52 certificate.key
root@srv03:/usr/local/vesta/ssl#

Certificate files are empty !

Re: error during install

Posted: Fri Feb 02, 2018 9:53 pm
by imperio
Show me result of this command

Code: Select all

cat /usr/local/vesta/ssl/certificate.crt

Re: error during install

Posted: Fri Feb 02, 2018 10:02 pm
by myB0B
root@srv03:/usr/local/vesta/ssl# cat /usr/local/vesta/ssl/certificate.crt
root@srv03:/usr/local/vesta/ssl#

file is empty

Re: error during install

Posted: Fri Feb 02, 2018 10:07 pm
by imperio
Its strange.
You should generate new certificate for Vesta

Re: error during install

Posted: Fri Feb 02, 2018 10:12 pm
by myB0B
how to ?

Re: error during install

Posted: Sat Feb 03, 2018 8:12 am
by ScIT
myB0B wrote:how to ?
Please use google for generic questions: https://www.google.ch/search?q=openssl+ ... ertificate

Re: error during install

Posted: Sat Feb 03, 2018 9:17 am
by myB0B
Ok,
just run a new install on a new server :
Setting up sa-compile (3.4.1-3) ...
Running sa-compile (may take a long time)
Setting up spamc (3.4.1-3) ...
Setting up tcl8.6 (8.6.5+dfsg-2) ...
Setting up tk8.6 (8.6.5-1) ...
Setting up unzip (6.0-20ubuntu1) ...
Setting up vesta (0.9.8-19) ...
Setting up vesta-php (0.9.8-19) ...
[....] Restarting vesta (via systemctl): vesta.serviceJob for vesta.service failed because the control process exited with error code. See "systemctl status vesta.service" and "journalctl -xe" for details.
failed!
installation not going to the end, it just do nothing after :
--2018-02-03 09:11:18-- http://c.vestacp.com/ubuntu/16.04/fail2ban.tar.gz
Resolving c.vestacp.com (c.vestacp.com)... 104.236.66.100
Connecting to c.vestacp.com (c.vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 777 [application/octet-stream]
Saving to: ‘fail2ban.tar.gz’

fail2ban.tar.gz 100%[=======================================================================================>] 777 --.-KB/s in 0s

2018-02-03 09:11:18 (90.8 MB/s) - ‘fail2ban.tar.gz’ saved [777/777]
Need to stop script with CTRL-Z...