• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Call to a member function getServiceStatus() on a non-object

Tempah

New Pleskian
Hello community,

since "apt-get update; apt-get upgrade -y" I can't login to plesk panel via browser. It shows this error:

ERROR: Call to a member function getServiceStatus() on a non-object (class.ServiceControl.php:312)

Search for related Knowledge Base articles



The knowledge base articel didn't solve the problem (Link: http://kb.parallels.com/de/120503 )

here the consol output from the mysql querys in the articel

Code:
mysql> select * from ServiceNodeEnvironment where name='httpd';
+---------------+--------------------+-------+------------------+
| serviceNodeId | section            | name  | value            |
+---------------+--------------------+-------+------------------+
|             1 | componentsPackages | httpd | 2.2.22-13+deb7u1 |
+---------------+--------------------+-------+------------------+
1 row in set (0.00 sec)


Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e"insert in to ServiceNodeEnvironment values(1,'componentsPackages','httpd','`dpkg-query -W -f='${Versio n} ${Release}\n' apache2`')"
ERROR 1062 (23000) at line 1: Duplicate entry '1-componentsPackages-httpd' for key 'PRIMARY'


Here some information about the server

OS: Debian 7.5 x64
Plesk Panel: 12
Aapache2: Server version: Apache/2.2.22 (Debian) / Server built: Feb 1 2014 21:26:04
Mysql: Ver 5.5.37-0+wheezy1 for debian-linux-gnu on x86_64 ((Debian))


Please help, I need access to my websites


Thank you!
 
Make sure that output of command

# dpkg-query -W apache2

is matched with value '2.2.22-13+deb7u1' from ServiceNodeEnvironment table of psa database.
 
Thank you for the fast replay, here is the output from the command:

root@%HOSTNAME%:/home/%USER%# dpkg-query -W apache2
apache2 2.2.22-13+deb7u1


mysql> SELECT * FROM ServiceNodeEnvironment WHERE name='httpd';
+---------------+--------------------+-------+------------------+
| serviceNodeId | section | name | value |
+---------------+--------------------+-------+------------------+
| 1 | componentsPackages | httpd | 2.2.22-13+deb7u1 |
+---------------+--------------------+-------+------------------+
1 row in set (0.00 sec)

It match, so it correct?
 
On 24.6 it was working again for me, but 2 days later my disk space was 100% full, becauce the backup function is not working correctly. Check your disk space

# df -h
 
thanks for your hint but disk has more than 50% free space. I'm getting frustrated now, updated PHP, run autoinstaller with patches and run bootstrap repair. No improvement and no hint in log files. Bad mistake to move to Plesk version 12.0.18 !
 
If somebody faces the same issue. Root cause was a corrupt license file for Plesk 12. In addition you need to verify if you have the Postfix package installed, otherwise Plesk cannot pull a license update.

Hope this might help you.
 
Back
Top