• 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 DNS Slave Manager Cannot Resync

ilijamt

Basic Pleskian
Hello

I'm trying to run resync in the DNS Slave Manager, because I added a new slave, but I'm being met with the following error.

Code:
ERROR: pm_Exception
Public CLI utilities can be used only in CLI mode.

And in panel.log, I see the following details
Code:
[2017-05-26 09:54:27] ERR [panel] Public CLI utilities can be used only in CLI mode.:
0: /opt/psa/admin/plib/pm/ApiCli.php:29
    pm_ApiCli::call(string 'repair', array)
1: /opt/psa/admin/plib/modules/slave-dns-manager/controllers/IndexController.php:66
    IndexController->resyncAction()
2: /opt/psa/admin/externals/Zend/Controller/Action.php:516
    Zend_Controller_Action->dispatch(string 'resyncAction')
3: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:295
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
4: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
5: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
6: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:27] ERR [1] Public CLI utilities can be used only in CLI mode.
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (javascript):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (javascript):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (javascript)
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (javascript)
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (javascript):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (javascript):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (javascript):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [panel] Invalid controller specified (admin):
0: /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:248
    Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
1: /opt/psa/admin/externals/Zend/Controller/Front.php:954
    Zend_Controller_Front->dispatch()
2: /opt/psa/admin/plib/pm/Application.php:72
    pm_Application->run()
3: /opt/psa/admin/htdocs/modules/slave-dns-manager/index.php:6
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (javascript)
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (javascript)
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (admin)
[2017-05-26 09:54:36] ERR [1] Invalid controller specified (javascript)

This used to work, last time I used it was a couple of months ago.
And I've verified no request are going into the DNS server.
Code:
$ plesk version
Product version: 12.5.30 Update #66
    Update date: 2017/05/26 06:26
     Build date: 2016/06/08 09:00
     OS version: Debian 8.8
       Revision: 344620
   Architecture: 64-bit
Wrapper version: 1.2
 
Hi ilijamt,

Yes, it is known an issue. "Resync" button is not compatible with Plesk 12.x. It should be visible on Plesk Onyx only. We soon fix it.

Thank you.
 
Hello,

Thanks, for the response.
Is it possible to manually trigger the Resync from the command line?

Ilija
 
Back
Top