Page 1 of 1

Debian Installation Errors

Posted: Wed Oct 17, 2018 3:16 am
by sleekgold
I'm installing VestaCP on a fresh install of Debian 9.5, I've hit these errors in bold during the installation. Can somebody explain the process for fixing these errors? They seem to be apparent in Ubuntu and Debian... I'd like to make sure VestaCP is setup properly and securely before I actually use it for production.
Setting up clamav-base (0.100.1+dfsg-0+deb9u1) ...
id: ‘clamav’: no such user
Setting up vesta-nginx (0.9.8-22) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up mc-data (3:4.8.18-1) ...
Setting up whois (5.2.17~deb9u1) ...
Setting up libjs-sphinxdoc (1.4.9-2) ...
Setting up libdatrie1:amd64 (0.2.10-4+b1) ...
Setting up libtiff5:amd64 (4.0.8-2+deb9u2) ...
Setting up vsftpd (3.0.3-8+b1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/vsftpd.service → /lib/systemd/system/vsftpd.service.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libstemmer0d:amd64 (0+svn585-1+b2) ...
Setting up dnsutils (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Setting up libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
Setting up m4 (1.4.18-1) ...
Setting up exim4-base (4.89-2+deb9u3) ...
exim: DB upgrade, deleting hints-db
Setting up libfftw3-double3:amd64 (3.3.5-3) ...
Setting up gawk (1:4.1.4+dfsg-1) ...
Setting up vesta-php (0.9.8-22) ...
[....] 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!
Creating config file /etc/php/7.0/cgi/php.ini with new version
Setting up php-cgi (1:7.0+49) ...
Setting up libgd3:amd64 (2.2.4-2+deb9u2) ...
Setting up mysql-client (5.5.9999+default) ...
Setting up phpmyadmin (4:4.6.6-4) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
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 "No such file or directory").
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 "No such file or directory")
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
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 "No such file or directory").
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 "No such file or directory")
dbconfig-common: roundcube configure: noninteractive fail.
dbconfig-common: roundcube configure: ignoring errors from here forwards
Saving to: ‘/etc/logrotate.d/vesta’

/etc/logrotate.d/vesta 100%[==============================================================================================>] 110 --.-KB/s in 0s

2018-10-17 05:06:03 (14.2 MB/s) - ‘/etc/logrotate.d/vesta’ saved [110/110]

chown: invalid user: ‘admin:admin’
mv: cannot move '/usr/local/vesta/data/ips/' to a subdirectory of itself, '/usr/local/vesta/data/ips/94.130.186.120'
sed: can't read /usr/local/vesta/data/users/*/dns/*.conf: No such file or directory
sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression
/dev/sda1 [/]: group quotas turned on
/dev/sda1 [/]: user quotas turned on