[SOLVED] ubuntu 14.04 amd64 fresh install trouble
Posted: Wed Jan 20, 2016 6:20 pm
hi,
i usually use vesta on debian vps but i'm not feel good with systemd
so, for now [waiting for devuan.org stable], i switched to ubuntu 14.04 lts
[until 2018 without systemd i hope]
now... today i take a fresh hetzner vps with minimal ubuntu 14.04 lts and i
ssh into it curl the vst-install.sh file and execute it with parameters and i have a lot of errors.
[vestacp doesn't work good: i can't replace a backup from another vestacp and other things]
i paste here only the part with errors
if you want i past it all
[enter]
blablabla all ok with repo, fetch something blabla
first error after mysql packages:vesta looks to work good [for example the web panel] but if i want to do something
like make/restore a backup or remove a db, adding a user or something... i have error.
now i'm downloading a ubuntu 14 vagrant box to understand if the problem is the minimal image by hetzner.
i installed vestacp on a lot of debian server [not with this installer with arguments parsed in line, but the second last]
and until now no problem.
thank to all and if you need more information ask about that.
i usually use vesta on debian vps but i'm not feel good with systemd
so, for now [waiting for devuan.org stable], i switched to ubuntu 14.04 lts
[until 2018 without systemd i hope]
now... today i take a fresh hetzner vps with minimal ubuntu 14.04 lts and i
ssh into it curl the vst-install.sh file and execute it with parameters and i have a lot of errors.
[vestacp doesn't work good: i can't replace a backup from another vestacp and other things]
i paste here only the part with errors
if you want i past it all
Code: Select all
# bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd yes --proftpd no --exim yes --dovecot yes --spamassassin no --clamav no --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi no --quota no --hostname THEFQDNNAME --email MYEMAIL --password SUPERSTRONGPASSWORD
blablabla all ok with repo, fetch something blabla
first error after mysql packages:
SpoilerShow
Setting up mysql-client-core-5.5 (5.5.46-0ubuntu0.14.04.2) ...
Setting up mysql-client-5.5 (5.5.46-0ubuntu0.14.04.2) ...
Setting up mysql-server-core-5.5 (5.5.46-0ubuntu0.14.04.2) ...
Setting up mysql-server-5.5 (5.5.46-0ubuntu0.14.04.2) ...
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: policy-rc.d denied execution of start.
BLABLA a lot of packages ALL OK
Setting up unzip (6.0-9ubuntu1.5) ...
Setting up vesta (0.9.8-15) ...
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
Setting up vesta-nginx (0.9.8-15) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up vesta-php (0.9.8-15) ...
BLABLA PACKAGES OK
Setting up phpmyadmin (4:4.0.10-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version
Creating config file /etc/phpmyadmin/config-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: phpmyadmin configure: noninteractive fail.
dbconfig-common: phpmyadmin configure: ignoring errors from here forwards
populating database via sql... done.
dbconfig-common: flushing administrative password
Setting up roundcube-mysql (0.9.5-4) ...
Setting up roundcube-core (0.9.5-4) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Creating config file /etc/dbconfig-common/roundcube.conf with new version
Creating config file /etc/roundcube/debian-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: roundcube configure: noninteractive fail.
dbconfig-common: roundcube configure: ignoring errors from here forwards
populating database via sql... done.
dbconfig-common: flushing administrative password
reating config file /etc/roundcube/main.inc.php with new version
apache2_invoke: Enable configuration roundcube.conf
invoke-rc.d: policy-rc.d denied execution of reload.
invoke-rc.d: policy-rc.d denied execution of reload.
Setting up roundcube-plugins (0.9.5-4) ...
Setting up rrdtool (1.4.7-2ubuntu5) ...
Setting up vsftpd (3.0.2-1ubuntu2.14.04.1) ...
invoke-rc.d: policy-rc.d denied execution of start.
then vesta script download the custom config files for web/mail services and all ok
but when apache is confifgurated:
Module ruid2 already enabled
System start/stop links for /etc/init.d/apache2 already exist.
* Starting web server apache2 *
sed: -e expression #1, char 43: unknown option to `s'
sed: -e expression #1, char 43: unknown option to `s'
sed: -e expression #1, char 43: unknown option to `s'
then install vsftpd and do this error
update-rc.d: /etc/init.d/vsftpd: file does not exist
Setting up mysql-client-5.5 (5.5.46-0ubuntu0.14.04.2) ...
Setting up mysql-server-core-5.5 (5.5.46-0ubuntu0.14.04.2) ...
Setting up mysql-server-5.5 (5.5.46-0ubuntu0.14.04.2) ...
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: policy-rc.d denied execution of start.
BLABLA a lot of packages ALL OK
Setting up unzip (6.0-9ubuntu1.5) ...
Setting up vesta (0.9.8-15) ...
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 20: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user-notification: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-user-notification: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-user-notification: line 29: is_object_valid: command not found
grep: /user.conf: No such file or directory
sed: can't read /user.conf: No such file or directory
Setting up vesta-nginx (0.9.8-15) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up vesta-php (0.9.8-15) ...
BLABLA PACKAGES OK
Setting up phpmyadmin (4:4.0.10-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version
Creating config file /etc/phpmyadmin/config-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: phpmyadmin configure: noninteractive fail.
dbconfig-common: phpmyadmin configure: ignoring errors from here forwards
populating database via sql... done.
dbconfig-common: flushing administrative password
Setting up roundcube-mysql (0.9.5-4) ...
Setting up roundcube-core (0.9.5-4) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Creating config file /etc/dbconfig-common/roundcube.conf with new version
Creating config file /etc/roundcube/debian-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: roundcube configure: noninteractive fail.
dbconfig-common: roundcube configure: ignoring errors from here forwards
populating database via sql... done.
dbconfig-common: flushing administrative password
reating config file /etc/roundcube/main.inc.php with new version
apache2_invoke: Enable configuration roundcube.conf
invoke-rc.d: policy-rc.d denied execution of reload.
invoke-rc.d: policy-rc.d denied execution of reload.
Setting up roundcube-plugins (0.9.5-4) ...
Setting up rrdtool (1.4.7-2ubuntu5) ...
Setting up vsftpd (3.0.2-1ubuntu2.14.04.1) ...
invoke-rc.d: policy-rc.d denied execution of start.
then vesta script download the custom config files for web/mail services and all ok
but when apache is confifgurated:
Module ruid2 already enabled
System start/stop links for /etc/init.d/apache2 already exist.
* Starting web server apache2 *
sed: -e expression #1, char 43: unknown option to `s'
sed: -e expression #1, char 43: unknown option to `s'
sed: -e expression #1, char 43: unknown option to `s'
then install vsftpd and do this error
update-rc.d: /etc/init.d/vsftpd: file does not exist
like make/restore a backup or remove a db, adding a user or something... i have error.
now i'm downloading a ubuntu 14 vagrant box to understand if the problem is the minimal image by hetzner.
i installed vestacp on a lot of debian server [not with this installer with arguments parsed in line, but the second last]
and until now no problem.
thank to all and if you need more information ask about that.