We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
I can't install VestaCP in Ubuntu
I can't install VestaCP in Ubuntu
I have a vps Ubuntu 14.04 x64
Fresh Installation gets stuck here:
Fresh Installation gets stuck here:
Code: Select all
Adding system startup for /etc/init.d/mysql ...
/etc/rc0.d/K20mysql -> ../init.d/mysql
/etc/rc1.d/K20mysql -> ../init.d/mysql
/etc/rc6.d/K20mysql -> ../init.d/mysql
/etc/rc2.d/S20mysql -> ../init.d/mysql
/etc/rc3.d/S20mysql -> ../init.d/mysql
/etc/rc4.d/S20mysql -> ../init.d/mysql
/etc/rc5.d/S20mysql -> ../init.d/mysql
Re: I can't install VestaCP in Ubuntu
I reinstalled to Ubuntu 12.04 x64 and works, but this install PHP 5.3.
how upgrade PHP? I need PHP 5.4 or high.
Ok solved:
add-apt-repository ppa:ondrej/php5-oldstable
how upgrade PHP? I need PHP 5.4 or high.
Ok solved:
add-apt-repository ppa:ondrej/php5-oldstable
Re: I can't install VestaCP in Ubuntu
Another VPS Ubuntu 14.04 x64
Fresh Installation:
I see VestaCP update, why the install stuck here?
Fresh Installation:
Code: Select all
Adding system startup for /etc/init.d/mysql ...
/etc/rc0.d/K20mysql -> ../init.d/mysql
/etc/rc1.d/K20mysql -> ../init.d/mysql
/etc/rc6.d/K20mysql -> ../init.d/mysql
/etc/rc2.d/S20mysql -> ../init.d/mysql
/etc/rc3.d/S20mysql -> ../init.d/mysql
/etc/rc4.d/S20mysql -> ../init.d/mysql
/etc/rc5.d/S20mysql -> ../init.d/mysql
Re: I can't install VestaCP in Ubuntu
Help pls.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I can't install VestaCP in Ubuntu
On a fresh clean installed VPS OS
try the order of commands here... that'll ensure you get it installed.
---------------
Install VESTA CP
---------------
If you still have trouble, PM me your SSH details, I'll do it for you
try the order of commands here... that'll ensure you get it installed.
Code: Select all
apt-get purge apache* samba* bind9* postfix* -y
dpkg --configure -a
apt-get update -y && apt-get upgrade -y --show-upgraded
apt-get dist-upgrade -y
apt-get install sudo nano htop curl software-properties-common python-software-properties -y
apt-get clean && apt-get autoclean
Install VESTA CP
---------------
Code: Select all
curl -O http://vestacp.com/pub/vst-install.sh && bash vst-install.sh --force
Re: I can't install VestaCP in Ubuntu
I just ran into the exact same issue.
Looking at the log files, it was having issues with InnoDB and Linux Native AIO.
------------
151103 18:37:04 [Note] Plugin 'FEDERATED' is disabled.
151103 18:37:04 InnoDB: The InnoDB memory heap is disabled
151103 18:37:04 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151103 18:37:04 InnoDB: Compressed tables use zlib 1.2.8
151103 18:37:04 InnoDB: Using Linux native AIO
151103 18:37:04 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
151103 18:37:07 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
151103 18:37:07 InnoDB: Fatal error: cannot initialize AIO sub-system
151103 18:37:07 [ERROR] Plugin 'InnoDB' init function returned error.
151103 18:37:07 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151103 18:37:07 [ERROR] Unknown/unsupported storage engine: InnoDB
151103 18:37:07 [ERROR] Aborting
------------
I added "innodb_use_native_aio = 0" in /etc/mysql/my.cnf under [mysqld]
------------
[mysqld]
innodb_use_native_aio = 0
------------
Then I modified the vst-install-ubuntu.sh file that was downloaded during the first try. To stop it from overwriting the modified my.cnf I put a # infront of the line that downloads and overwrites it.
So, I changed:
wget $CHOST/$VERSION/my.cnf -O /etc/mysql/my.cnf
to:
#wget $CHOST/$VERSION/my.cnf -O /etc/mysql/my.cnf
and then I ran:
bash vst-install-ubuntu.sh --force
And this time the installation completed successfully.
Hope this helps.
Looking at the log files, it was having issues with InnoDB and Linux Native AIO.
------------
151103 18:37:04 [Note] Plugin 'FEDERATED' is disabled.
151103 18:37:04 InnoDB: The InnoDB memory heap is disabled
151103 18:37:04 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151103 18:37:04 InnoDB: Compressed tables use zlib 1.2.8
151103 18:37:04 InnoDB: Using Linux native AIO
151103 18:37:04 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
151103 18:37:07 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
151103 18:37:07 InnoDB: Fatal error: cannot initialize AIO sub-system
151103 18:37:07 [ERROR] Plugin 'InnoDB' init function returned error.
151103 18:37:07 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151103 18:37:07 [ERROR] Unknown/unsupported storage engine: InnoDB
151103 18:37:07 [ERROR] Aborting
------------
I added "innodb_use_native_aio = 0" in /etc/mysql/my.cnf under [mysqld]
------------
[mysqld]
innodb_use_native_aio = 0
------------
Then I modified the vst-install-ubuntu.sh file that was downloaded during the first try. To stop it from overwriting the modified my.cnf I put a # infront of the line that downloads and overwrites it.
So, I changed:
wget $CHOST/$VERSION/my.cnf -O /etc/mysql/my.cnf
to:
#wget $CHOST/$VERSION/my.cnf -O /etc/mysql/my.cnf
and then I ran:
bash vst-install-ubuntu.sh --force
And this time the installation completed successfully.
Hope this helps.