• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Solved: Can`t install Plesk version 12.0.18 on CentOS 6.6

Status
Not open for further replies.

TarasS

Basic Pleskian
I have new Linux server with CentOS 6.6 on it.
I have tried to install Plesk version 12.0.18 on it.

During installation process from http://autoinstall.plesk.com/plesk-installer shell script I'm getting error:
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:09:44 CST 2014
***** problem report *****
ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:10:01 CST 2014: PROBLEMS FOUND
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:15:46 CST 2014

When I have tried to run command:
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
I'm getting errors:

---TRANSACTION 0 0, not started, process no 32603, OS thread id 139715979196160
MySQL thread id 38, query id 7054 localhost admin
SHOW ENGINE innodb status
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (write thread)
Pending normal aio reads: 0, aio writes: 0,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
297 OS file reads, 493 OS file writes, 454 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2,
0 inserts, 0 merged recs, 0 merges
Hash table size 17393, node heap has 2 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 0 1991417
Log flushed up to 0 1991407
Last checkpoint at 0 1991407
0 pending log writes, 0 pending chkp writes
448 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 21871050; in additional pool allocated 1048576
Dictionary memory allocated 1247472
Buffer pool size 512
Free buffers 27
Database pages 483
Modified db pages 1
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages read 377, created 106, written 495
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread process no. 32603, id 139715932874496, state: sleeping
Number of rows inserted 329, updated 0, deleted 0, read 668
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================


ERROR while trying to find MySQL ODBC driver
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again

***** problem report *****
ERROR while trying to find MySQL ODBC driver
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again
#

***** problem report *****
ERROR while trying to find MySQL ODBC driver

How can I fix such errors?
 
Looks like something wrong with mysql server. Have you checked mysql logs? Is this really non-VPS server? Looks like there is lack of resources or something like that.
 
Igor,

I have the following MySQL packages installed on server:
# rpm -qa |grep -i mysql
perl-DBD-MySQL-4.013-3.el6.x86_64
mysql-5.1.73-3.el6_5.x86_64
mysql-server-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
#

Several recent messages from MySQL errors log are:
141208 19:01:28 [Note] /usr/libexec/mysqld: Normal shutdown

141208 19:01:28 [Note] Event Scheduler: Purging the queue. 0 events
141208 19:01:28 InnoDB: Starting shutdown...
141208 19:01:31 InnoDB: Shutdown completed; log sequence number 0 12389855
141208 19:01:31 [Note] /usr/libexec/mysqld: Shutdown complete

141208 19:01:31 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
141208 19:02:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
141208 19:02:40 InnoDB: Initializing buffer pool, size = 8.0M
141208 19:02:40 InnoDB: Completed initialization of buffer pool
141208 19:02:40 InnoDB: Started; log sequence number 0 12389855
141208 19:02:40 [Note] Event Scheduler: Loaded 0 events
141208 19:02:40 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
I do not see any critical errors.
What else should I check?
 
Any related details in /var/log/plesk/install/plesk_12.0.18_installation.log ?
 
I have new Linux server with CentOS 6.6 on it.
I have tried to install Plesk version 12.0.18 on it.

During installation process from http://autoinstall.plesk.com/plesk-installer shell script I'm getting error:
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:09:44 CST 2014
***** problem report *****
ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:10:01 CST 2014: PROBLEMS FOUND
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:15:46 CST 2014

When I have tried to run command:
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
I'm getting errors:

---TRANSACTION 0 0, not started, process no 32603, OS thread id 139715979196160
MySQL thread id 38, query id 7054 localhost admin
SHOW ENGINE innodb status
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (write thread)
Pending normal aio reads: 0, aio writes: 0,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
297 OS file reads, 493 OS file writes, 454 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2,
0 inserts, 0 merged recs, 0 merges
Hash table size 17393, node heap has 2 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 0 1991417
Log flushed up to 0 1991407
Last checkpoint at 0 1991407
0 pending log writes, 0 pending chkp writes
448 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 21871050; in additional pool allocated 1048576
Dictionary memory allocated 1247472
Buffer pool size 512
Free buffers 27
Database pages 483
Modified db pages 1
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages read 377, created 106, written 495
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread process no. 32603, id 139715932874496, state: sleeping
Number of rows inserted 329, updated 0, deleted 0, read 668
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================


ERROR while trying to find MySQL ODBC driver
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again

***** problem report *****
ERROR while trying to find MySQL ODBC driver
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again
#

***** problem report *****
ERROR while trying to find MySQL ODBC driver

How can I fix such errors?
Nice to share
 
Is this enough?
# tail -n 55 /var/log/plesk/install/plesk_12.0.18_installation.log
User 'mysql' already exists

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell


===> Performing safe prep-install database actions

Setting the default locale
The default locale is set to en-US (ENGLISH, UNITED STATES)
Trying to restart service mysqld... mysqld (pid 31458) is running...
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
done
Trying to define valid mysql credentials... Trying to establish test connection... connected
done
Trying to start service mysqld... mysqld (pid 32234) is running...
done
Trying to establish test connection... connected
done
Trying to restart service mysqld... mysqld (pid 32234) is running...
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
done
===> Installing psa database
Trying to check psa database... Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to insert Hostname to the MySQL database... done
Unable to upgrade SMB database - PDO Connection Error: SQLSTATE[HY000] [2002] No such file or directory

ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again


**** Product prep-install for BASE failed.

***** problem report *****
ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:16:02 CST 2014
#
 
The most interesting I can connect as MySQL admin and I can see psa database:
# mysql -u admin -p`cat /etc/psa/.psa.shadow` -e "show databases;"
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| psa |
+--------------------+
#
psa database has 186 tables.
 
If this is a fresh install, (while not helpful in explaining why it originally occurred), have you tried re-imaging the server and attempting the install again? Having installed Plesk on CentOS 6.6, it isn't likely that your issue is related to the OS itself but perhaps either a package or a lack of resources (this seems to be the trend among very basic VPS installation issues).
 
Status
Not open for further replies.
Back
Top