Posted By: veightar on September 9, 2019, 8:32 pm |
I have been trying to install virtualizor on a freshly installed centos 7 for the past eight hours. The support chat guy couldn't find the problem even after logging into the server and support ticket has been pending for the past 5 hours.
So this is the message during installation, shown in ssh screen : Quote 1) Installing Libraries and Dependencies 2) Installing PHP, MySQL and Web Server 3) Downloading and Installing Virtualizor error reading information on service virtualizor: No such file or directory Warning: include_once(_universal.php): failed to open stream: No such file or directory in /usr/local/virtualizor/install.php on line 1458 Warning: include_once(): Failed opening '_universal.php' for inclusion (include_path='.:') in /usr/local/virtualizor/install.php on line 1458 Notice: Undefined index: path in /usr/local/virtualizor/install.php on line 1463 Warning: include_once(/globals.php): failed to open stream: No such file or directory in /usr/local/virtualizor/install.php on line 1463 Warning: include_once(): Failed opening '/globals.php' for inclusion (include_path='.:') in /usr/local/virtualizor/install.php on line 1463 Notice: Undefined index: mainfiles in /usr/local/virtualizor/install.php on line 1466 Warning: include_once(/functions.php): failed to open stream: No such file or directory in /usr/local/virtualizor/install.php on line 1466 Warning: include_once(): Failed opening '/functions.php' for inclusion (include_path='.:') in /usr/local/virtualizor/install.php on line 1466 - Configuring Virtualizor Fatal error: Call to undefined function generateRandStr() in /usr/local/virtualizor/install.php on line 1488 ERROR : There was an error while installing Virtualizor Please check /root/virtualizor.log for errors Exiting Installer And this is the error from the virtualizor.log Quote 3) Downloading and Installing Virtualizor --2019-09-09 16:17:54-- http://files.virtualizor.com/install.inc Resolving files.virtualizor.com (files.virtualizor.com)... 192.198.80.3 Connecting to files.virtualizor.com (files.virtualizor.com)|192.198.80.3|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 54140 (53K) Saving to: ‘/usr/local/virtualizor/install.php’ 0K .......... .......... .......... .......... .......... 94% 914K 0s 50K .. 100% 5476G=0.05s 2019-09-09 16:17:54 (966 KB/s) - ‘/usr/local/virtualizor/install.php’ saved [54140/54140] --2019-09-09 16:17:55-- https://s1.softaculous.com/a/virtualizor/updates.php?give=3.0.0.6&license= Resolving s1.softaculous.com (s1.softaculous.com)... 158.69.6.246 Connecting to s1.softaculous.com (s1.softaculous.com)|158.69.6.246|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 0 [text/html] Saving to: ‘latest.zip’ 0K 0.00 =0s 2019-09-09 16:17:55 (0.00 B/s) - ‘latest.zip’ saved [0/0] Archive: latest.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of latest.zip or latest.zip.zip, and cannot find latest.zip.ZIP, period. ln: failed to create symbolic link ‘/etc/init.d/virtualizor’: File exists Could not open required defaults file: /usr/local/emps/etc/my.cnf Fatal error in defaults handling. Program aborted Initializing MySQL database: groupadd: group 'mysql' already exists useradd: user 'mysql' already exists Could not open required defaults file: /usr/local/emps/etc/my.cnf Fatal error in defaults handling. Program aborted Installing MySQL system tables... Could not open required defaults file: /usr/local/emps/etc/my.cnf Fatal error in defaults handling. Program aborted Installation of system tables failed! Examine the logs in /usr/local/emps/var/mysql for more information. You can try to start the mysqld daemon with: shell> /usr/local/emps/bin/mysqld --skip-grant & and use the command line tool /usr/local/emps/bin/mysql to connect to the mysql database and look at the grant tables: shell> /usr/local/emps/bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /usr/local/emps/var/mysql that may be helpful. Please consult the MySQL manual section 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source are the MySQL email archives available at http://lists.mysql.com/. Please check all of the above before submitting a bug report at http://bugs.mysql.com/ Could not install the MySQL DB /usr/local/emps/bin/mysqlctl: line 292: return: can only `return' from a function or sourced script Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/emps/var/mysql/mysqld.pid). I've been trying the different installs; kvm, xen etc and they all give the same error. I'm hoping someone has an experience in this and can help figure out what I'm dealing with. |
Posted By: easyplane on September 16, 2019, 8:15 pm | Post: 1 |
yum install ntpd
systemctl start ntpd systemctl enable ntpd And problem is solved |
Posted By: jevingala on September 17, 2019, 9:59 am | Post: 2 |
Hi,
Is your issue resolved ? May I know which ticket id are you talking about ? ----------------------- Regards, Virtualizor Team. http://virtualizor.com/ |
Posted By: whmcs2107 on November 26, 2019, 3:38 pm | Post: 3 |
i am facing same issue, in proxmox installation |
Posted By: jevingala on November 28, 2019, 8:32 am | Post: 4 |
Hi,
Can you please attach the log file here ? ----------------------- Regards, Virtualizor Team. http://virtualizor.com/ |