Page 1 of 1

Install fails ??

Posted: Fri Dec 23, 2016 2:22 pm
by JonathanNet
Hi I trying to install Vesta with this line on Ubuntu v14:

bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no

But I get this error:

Code: Select all

100%[===================================================================================================================================================================================================>] 1,134       --.-K/s   in 0s

2016-12-23 14:22:09 (124 MB/s) - ‘/etc/roundcube/plugins/password/config.inc.php’ saved [1134/1134]

 * Restarting web server apache2                                                                                                                                                                                                             AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using control.jonathannet.dk. Set the 'ServerName' directive globally to suppress this message
                                                                                                                                                                                                                                      [ OK ]
--2016-12-23 14:22:14--  http://c.vestacp.com/ubuntu/14.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: 721 [application/octet-stream]
Saving to: ‘fail2ban.tar.gz’

100%[===================================================================================================================================================================================================>] 721         --.-K/s   in 0s

2016-12-23 14:22:14 (82.8 MB/s) - ‘fail2ban.tar.gz’ saved [721/721]

 System start/stop links for /etc/init.d/fail2ban already exist.
 * Starting authentication failure monitor fail2ban                                                                                                                                                                                   [ OK ]
Error: php-fpm restart failed
Error: can't create control.jonathannet.dk domain
How to I fix that? :)

Kind regards

Re: Install fails ??

Posted: Thu Dec 29, 2016 4:51 pm
by balinese
same here. btw, installation options were the following:

Code: Select all

bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd yes --proftpd no --exim yes --dovecot yes --spamassassin no --clamav no --named yes --iptables yes --fail2ban no --mysql yes --postgresql no --remi yes --quota yes --hostname default.hostname

Code: Select all

 * Restarting web server apache2                                                                                                                                                                                                              AH00557: apache2: apr_sockaddr_info_get() failed for default.hostname
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
                                                                                                                                                                                                                                       [ OK ]
sudo: unable to resolve host default.hostname
Error: php-fpm restart failed
Error: can't create default.hostname domain
why apache ? from where and why ?

Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04

Re: Install fails ??

Posted: Fri Mar 03, 2017 7:05 am
by skurudo
True, Vesta is more sensitive to hostname.
I'll check this case.

Re: Install fails ??

Posted: Tue Mar 07, 2017 8:49 am
by skurudo

Re: Install fails ??

Posted: Wed May 03, 2017 1:17 pm
by nik
Hi Mr Skurudo

I too had this problem /w Ubuntu 14.04.5 minimal install

Does your custom script fix the above problem /w Ubuntu 14.04.5
This also solve issue whit v-add-web-domain and php-fpm restart

Code: Select all

 wget mirror.skamasle.com/vestacp/fix/php-fpm -O /etc/init.d/php-fpm
and should I run after these errors occur :

Code: Select all

sudo: unable to resolve host default.hostname
Error: php-fpm restart failed
Error: can't create default.hostname domain
and can I proceed /w install after ?


Kind Regards

Re: Install fails ??

Posted: Sun May 14, 2017 2:30 pm
by BBuchanan1013
unable to resolve hostname is a fixable issue.

Code: Select all

$root@host:echo "your ip your hostname" >> /etc/hosts
my example would be

Code: Select all

echo "12.34.56.789 default.hostname" >> /etc/hosts