Plesk - 'ifmng failed'

When trying to login to Plesk if you receive the following error then the steps below should correct the issue:

ERROR: PleskException
Unable to fetch IP addresses list: ifmng failed: ifmng: Unable to query parameter default_certificate_id

 



0: /usr/local/psa/admin/htdocs/server/configure.php3:33
For some reason the field 'default_certificate_id' was empty, I've inserted the value:

mysql> insert into misc values ('default_certificate_id','1');

Most probably it's because the plesk database wasn't fully created, I see the errors in /tmp/psa_8.0.0_RedHat_el4_build80060425.18_installing.log file.

  1. Login to mysql:

    mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

  2. Once you are logged into mysql you will need to run the following commands:

    mysql> select * from misc;
    mysql> insert into misc values ('default_certificate_id','1');
    mysql> quit;

The similar problem and the possible workaround is described in our knowlegebase article:
http://kb.swsoft.com/article_17_228_en.html