• 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.

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