Page 1 of 1

Errors during installation

Posted: Thu Sep 12, 2019 3:04 pm
by ReDaLeRt_PT
Hi.

I get some errors during the VestaCP installation on a unprivileged LXC ubuntu 18.04.1:

Code: Select all

Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  systemctl restart apache2
Enabling module actions.
To activate the new configuration, you need to run:
  systemctl restart apache2
Module ruid2 already enabled
2019-09-12 10:51:22 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2019-09-12 10:51:22 [ERROR]   The data directory needs to be specified.
mkdir: cannot create directory '/var/lib/mysql': File exists
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
ERROR 1054 (42S22) at line 1: Unknown column 'password' in 'where clause'
Setting /usr/sbin/named to complain mode.
Adding user Debian-exim to group mail
Adding user dovecot to group mail
Adding user clamav to group mail
Adding user clamav to group Debian-exim
Synchronizing state of spamassassin.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable spamassassin
chattr: Operation not permitted while setting flags on /home/admin/conf
/usr/local/vesta/bin/v-update-firewall: line 164: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 165: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 166: /etc/network/if-pre-up.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-pre-up.d/iptables': No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 164: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 165: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 166: /etc/network/if-pre-up.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-pre-up.d/iptables': No such file or directory
Thanks.

Re: Errors during installation

Posted: Thu Sep 12, 2019 5:03 pm
by Alex Connor
do you mean no root user? installation should be done using the root user

Re: Errors during installation

Posted: Thu Sep 12, 2019 5:57 pm
by ReDaLeRt_PT
The installation was executed with the root user.

Thanks.