• 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

Upgrade to plesk 12. Now cannot login - ERROR: Exception Function not implemented

JBCollins

New Pleskian
Hi,

I have just upgraded linux VPS running ubuntu 10. I installed all of the latest plesk updates first and then went through the upgrade. There were no pre-upgrade warnings and message at the end said it was successful but i'm now getting the following error instead of the login page:

ERROR: Exception
Function not implemented

Any ideas what could be happening here?
 
Last edited:
Hi JBCollins,

thanks for posting in Parallels Forums. Could you try to do a bootstrapper repair as it seems to be an incomplete installation of Plesk Panel 12.
Please update the thread as soon as you tried to repair or you get stuck.
 
I have tried a bootstrapper repair and that has not solved it.

This is the install log..

===> Cumulative Plesk upgrade (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
Trying to drop header inclusion 'X-No-Auth: unauthenticated sender' from postfix... done
Trying to drop header inclusion 'X-No-Relay: not in my network' from postfix... done
Trying to reload service postfix... * Reloading Postfix configuration...
...done.
done
Trying to set maillog file to /var/log/maillog... done
Trying to reload service sysklogd... * Reloading system log daemon...
...done.
done
Trying to reinstall chained SSL certificates... Function not implemented

WARNING!
Some problems are found during reinstall chained SSL certificates(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)

Continue...

Trying to reload service postfix... * Reloading Postfix configuration...
...done.
done
Starting forced Plesk Key upgrade task
After end of upgrade for 'core' (stage 'post') following actions are registered as failed: 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12.
===> Plesk was not upgraded completely. See installation log for details.
Trying to install site isolation settings... config found. Nothing to be done Trying to update Components... done
Trying to add header to file /opt/psa/etc/webalizer.conf... completed successfully
opcache.enabled=0 has been added to /opt/psa/admin/conf/php.ini
Module dav already enabled
Considering dependency dav for dav_fs:
Module dav already enabled
Module dav_fs already enabled
Module auth_digest already enabled
Module authz_user already enabled
Module dav_lock already enabled
UTF8 locale is already allowed Trying to register service psa... System start/stop links for /etc/init.d/psa already exist.
done

===> Checking for previous installation ... found.
Trying to create Virtual Hosts directory... done
Trying to sync default virtual host... done
install default license key ...not needed, OF license found

Trying to start psa...
Stopping psa... * Stopping Plesk engine pool manager sw-engine-fpm
...done.
done
===> Installing phpMyAdmin
Trying to create pmadb... done
done

**** Product post-install for BASE completed successfully.

STOP Bootstrapper 12.0.18 post-install for BASE AT Wed May 21 15:54:52 BST 2014
START Bootstrapper 12.0.18 perform-deferred-actions AT Wed May 21 15:54:52 BST 2014

**** Product perform-deferred-actions started.

===> Checking for previous installation ... found.
Trying to register service xinetd... System start/stop links for /etc/init.d/xinetd already exist.
done
Trying to restart service xinetd... * Stopping internet superserver xinetd
...done.
* Starting internet superserver xinetd
...done.
done
Function not implemented
Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Function not implemented

WARNING!
Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)

Continue...

Warning : failed to perform deferred action : httpd_reconfigure_all
Function not implemented
Warning : failed to perform deferred action : httpd_reconfigure
Package 'psa-spamassassin' is not found in ServiceNodeEnvironment table
Package 'psa-spamassassin' is not found in ServiceNodeEnvironment table
Warning : failed to perform deferred action : mail_spam_restore_full
Function not implemented
Warning : failed to perform deferred action : mail_outgoing_restore_full
Trying to restart service apache2... * Starting web server apache2
...done.
done
 
Hi,

please try to run the autoinstaller, maybe then the corrupt installation will be repaired.
Please update me with the status.

Maybe a hands-on support would be better.
 
Autoinstaller already thinks that plesk 12 is installed so will not let me do anything other that add components.
 
Web server configuration fails for websites and the reason for the failure is unclear. Maybe you have some vhosts customizations or installed some unsupported third-part webapplications, etc.
Try to find a reason with help of article http://kb.parallels.com/115587 or contact Support Team if it not help.
 
Same problem here with Ubuntu Lucid. Problem does not exist with Ubuntu Precise.

from /var/log/plesk/panel.log:

Code:
[2014-05-22 09:14:20] ERR [panel] Function not implemented:
0: Hierarchical.php:105
        LockManagerClient->__construct()
1: Hierarchical.php:105
        Plesk\Lock\Manager_Hierarchical->_getClient()
2: Hierarchical.php:172
        Plesk\Lock\Manager_Hierarchical->_applyLock(string '', object of type Plesk\Lock\Resource)
3: Hierarchical.php:136
        Plesk\Lock\Manager_Hierarchical->lock(object of type Plesk\Lock\Resource, string '')
4: Manager.php:80
        Plesk\Lock\Manager->lock(integer '1', array, string '', array)
5: Lock.php:34
        Plesk\Lock::write(object of type Plesk\Lock\Object_NodeService, string '', array)
6: ServiceNodeEnvironment.php:80
        Db_Table_Dictionary_ServiceNodeEnvironment->sync()
7: Environment.php:32
        Service_Node_Environment->_sync(object of type Service_Node_Environment_Components_Packages_Unix)
8: Environment.php:142
        Service_Node_Environment->componentsPackagesUnix(array)
9: Unix.php:19
        Service_Driver_Packages_Unix->_components()
10: Unix.php:32
        Service_Driver_Packages_Unix->sync(boolean  false)
11: Plesk.php:11
        Service_Driver_Core_Plesk->syncAllData()
12: ManagementNode.php:15
        Db_Table_Row_ServiceNode_ManagementNode->refreshProperties()
13: auth.php:233
        AutoPrepend->run()
14: auth.php:686
[22-May-2014 09:14:22 Europe/Berlin] Exception: Function not implemented
file: /opt/psa/admin/plib/Lock/Manager/Hierarchical.php
line: 105
code: 0
trace: #0 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(105): LockManagerClient->__construct()
#1 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(172): Plesk\Lock\Manager_Hierarchical->_getClient()
#2 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(136): Plesk\Lock\Manager_Hierarchical->_applyLock('', Object(Plesk\Lock\Resource))
#3 /opt/psa/admin/plib/Lock/Manager.php(80): Plesk\Lock\Manager_Hierarchical->lock(Object(Plesk\Lock\Resource), '')
#4 /opt/psa/admin/plib/Lock.php(34): Plesk\Lock\Manager->lock(1, Array, '', Array)
#5 /opt/psa/admin/plib/Db/Table/Dictionary/ServiceNodeEnvironment.php(80): Plesk\Lock::write(Object(Plesk\Lock\Object_NodeService), '', Array)
#6 /opt/psa/admin/plib/Service/Node/Environment.php(32): Db_Table_Dictionary_ServiceNodeEnvironment->sync()
#7 /opt/psa/admin/plib/Service/Node/Environment.php(142): Service_Node_Environment->_sync(Object(Service_Node_Environment_Components_Packages_Unix))
#8 /opt/psa/admin/plib/Service/Driver/Packages/Unix.php(19): Service_Node_Environment->componentsPackagesUnix(Array)
#9 /opt/psa/admin/plib/Service/Driver/Packages/Unix.php(32): Service_Driver_Packages_Unix->_components()
#10 /opt/psa/admin/plib/Service/Driver/Core/Plesk.php(11): Service_Driver_Packages_Unix->sync(false)
#11 /opt/psa/admin/plib/Db/Table/Row/ServiceNode/ManagementNode.php(15): Service_Driver_Core_Plesk->syncAllData()
#12 /opt/psa/admin/plib/auth.php(233): Db_Table_Row_ServiceNode_ManagementNode->refreshProperties()
#13 /opt/psa/admin/plib/auth.php(686): AutoPrepend->run()
#14 {main}
 
Web server configuration fails for websites and the reason for the failure is unclear. Maybe you have some vhosts customizations or installed some unsupported third-part webapplications, etc.
Try to find a reason with help of article http://kb.parallels.com/115587 or contact Support Team if it not help.

Code:
# /usr/local/psa/bin/sw-engine-pleskrun webserver_configuration_checker.php

[2014-05-22 09:43:07][INFO] ==> Installed Plesk version/build: 12.0.18 Ubuntu 10.04 1200140513.16

[2014-05-22 09:43:07][INFO] ==> Detect system configuration
[2014-05-22 09:43:07][INFO] OS: Ubuntu 10.04.4 LTS \n \l
[2014-05-22 09:43:07][INFO] Arch: x86_64

[2014-05-22 09:43:07][INFO] ==> Validation of given db password
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> Web server configuration checker version: 1.0.3

[2014-05-22 09:43:07][INFO] ==> Execution log dir: /root

[2014-05-22 09:43:07][INFO] ==> STEP 1: Checking for custom configuration templates...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 2: Checking for the JkWorkersFile directive in the Apache configuration...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 3: Checking associations between domains and IP addresses...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 4: Checking for corrupted reference between IP collections and IP addresses...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 5: Checking for links between APS applications and subscriptions...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 6: Checking for the Zend extension declaraion in php.ini...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 7: Check symbolic links for latest virtual host config files...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 8: Checking for system users home directories consistency...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 9: Checking for records with empty name field in the Configurations table...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 10: Checking for SElinux state...
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 11: Checking for nginx ULIMIT value...
[2014-05-22 09:43:07][INFO] nginx is not installed.
[2014-05-22 09:43:07][INFO] Result: OK

[2014-05-22 09:43:07][INFO] ==> STEP 12: Checking for extra configurations in database not owned by any object...
[2014-05-22 09:43:07][INFO] Result: OK

Found errors: 0; Found Warnings: 0
 
Please check that you have following locale settings:

# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
 
I have run that extension and it's picked up no warnings or errors.

I have looked through the entire upgrade log file and there are 2 places i can see errors related to Function not implemented:

Trying to reinstall chained SSL certificates... Function not implemented

WARNING!
Some problems are found during reinstall chained SSL certificates(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)


What is the above actually trying to do? Could it be that causing the main issue?

And the other:

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Function not implemented
 
When i run locale from ssh they are showing as:

LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
 
Do you have any files in /usr/local/psa/admin/conf/templates/custom directory?
 
Code:
# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

# ll /usr/local/psa/admin/conf/templates/custom
ls: cannot access /usr/local/psa/admin/conf/templates/custom: No such file or directory
 
No i removed the custom directory and reconfigured all domains (with no errors reported) before upgrade.

I do however have a /usr/local/psa/admin/conf/templates/pci_compliance directory. Is that normal?
 
Do you have any related error messages in upgrade log of autoinstaller?
 
Do you have any related error messages in upgrade log of autoinstaller?

Already posted those above. The only errors in the upgrade logs are:

Trying to reinstall chained SSL certificates... Function not implemented
WARNING!
Some problems are found during reinstall chained SSL certificates(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Function not implemented
 
Same here. Problem exists with all my three Ubuntu Lucid installations, so I guess it might be a general problem.
 
Back
Top