• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Trying to install plesk onyx in docker container

Xhuljo Skendaj

New Pleskian
Hello,

I'm trying to do a fresh install into a docker container (Ubuntu 14.04) but installation fails

Code:
Starting mysqld in authentication reset mode.
Waiting for mysqld to stop (60 seconds at most).170828 19:18:17 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170828 19:18:17 [Note] mysqld (mysqld 5.5.57-0ubuntu0.14.04.1) starting as process 5750 ...
........................................................... We had to send mysqld signal to shutdown. This likely means that authentication reset failed (see mysqld log for details, search for 'init_file').
Waiting for mysqld return code (if this hangs, try 'kill -9 5750')... done
 Trying to restart service mysql... /usr/sbin/mysqld is stopped
done
 Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
failed
... (Some outputs removed)

ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation. To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass"). After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak
Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again

*****  problem report *****
ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation. To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass"). After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak
Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again
sh: 1: /etc/init.d/psa: not found

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
root@panel:~#

This is the mysql log file

Code:
root@panel:~# cat /var/log/mysql/error.log
170828 19:17:55 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead
... (Some outputs removed)
ERROR: 1064  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE user ADD column Show_view_priv enum('N','Y') CHARACTER SET utf8 NOT ' at line 1
170828 19:17:59 [ERROR] Aborting
170828 19:17:59  InnoDB: Starting shutdown...
170828 19:18:00  InnoDB: Shutdown completed; log sequence number 1595675
170828 19:18:00 [Note] /usr/sbin/mysqld: Shutdown complete

170828 19:18:00 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
170828 19:18:00 [Note] Plugin 'FEDERATED' is disabled.
... (Some outputs removed)
170828 19:18:01  InnoDB: Starting shutdown...
170828 19:18:02  InnoDB: Shutdown completed; log sequence number 1595675
170828 19:18:02 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
170828 19:18:02 [Note] Plugin 'FEDERATED' is disabled.
... (Some outputs removed)
ERROR: 1050  Table 'plugin' already exists
170828 19:18:03 [ERROR] Aborting

170828 19:18:03  InnoDB: Starting shutdown...
170828 19:18:04  InnoDB: Shutdown completed; log sequence number 1595675
170828 19:18:04 [Note] /usr/sbin/mysqld: Shutdown complete

170828 19:18:17 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
... (Some outputs removed)
170828 19:18:18 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
170828 19:18:18 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
170828 19:18:18 [Note] Server socket created on IP: '127.0.0.1'.
170828 19:18:18 [Note] Event Scheduler: Loaded 0 events
ERROR: 1064  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SHUTDOWN' at line 1
170828 19:18:18 [Note] mysqld: ready for connections.
Version: '5.5.57-0ubuntu0.14.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
170828 19:19:17 [Note] mysqld: Normal shutdown

170828 19:19:17 [Note] Event Scheduler: Purging the queue. 0 events
170828 19:19:17  InnoDB: Starting shutdown...
170828 19:19:18  InnoDB: Shutdown completed; log sequence number 1595675
170828 19:19:18 [Note] mysqld: Shutdown complete

root@panel:~#

i can't understand what's wrong! i tried to start mysql after this it start with no problem. but plesk installation script fails to end installation...

Can someone help?!

Thanks.
 
Back
Top