Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

I can't install VestaCP in Ubuntu

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

I can't install VestaCP in Ubuntu
  • Quote

Post by robotini » Tue Jun 23, 2015 3:02 am

I have a vps Ubuntu 14.04 x64

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
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: I can't install VestaCP in Ubuntu
  • Quote

Post by robotini » Tue Jun 23, 2015 9:08 am

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
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: I can't install VestaCP in Ubuntu
  • Quote

Post by robotini » Tue Jun 23, 2015 10:09 am

Another VPS Ubuntu 14.04 x64

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
I see VestaCP update, why the install stuck here?
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: I can't install VestaCP in Ubuntu
  • Quote

Post by robotini » Thu Jul 09, 2015 9:58 pm

Help pls.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: I can't install VestaCP in Ubuntu
  • Quote

Post by mehargags » Fri Jul 10, 2015 9:57 am

On a fresh clean installed VPS OS
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
If you still have trouble, PM me your SSH details, I'll do it for you
Top

webworker
Posts: 1
Joined: Tue Nov 03, 2015 4:18 pm

Re: I can't install VestaCP in Ubuntu
  • Quote

Post by webworker » Tue Nov 03, 2015 5:04 pm

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.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password