Plesk IP addresses and point-to-point tunnel

Refers to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:16:54 UTC

Modified:

2016-12-21 20:21:23 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk IP addresses and point-to-point tunnel

Symptoms

  1. Point-to-Point interface is enabled on the server.

  2. When you refresh an IP address in the Parallels Plesk Control Panel->Tools and Utilities->IP addresses, the wrong IP can be added (for example, 0.0.0.0.).

  3. You may see the following errors in the logs:

    ERR (3)  [panel]: Apache config (13764416920.26609700) generation failed: Template_Exception: nginx: [emerg] bind() to 1.2.3.4:80 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed
    file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
    line: 68
    code: 0
    nginx: [emerg] bind() to 1.2.3.4:80 failed (99: Cannot assign requested address)
    nginx: configuration file /etc/nginx/nginx.conf test failed

Or this error:

    New files of configuration for Apache web server were not built due to errors in configuration templates: Syntax error on line 156 of /usr/local/psa/admin/conf/generated/13937375940.28247400_server.include: The address or port is invalid

Cause

Parallels Plesk does not support Point-to-Point interfaces. This may break the configuration of IP addresses in Plesk.

Resolution

While there is no current support for Point-to-Point interfaces, a request for implementation was created with ID PPPM-774. Support will be implemented in a future higher Plesk version.

If you experience the problems outlined above, it is necessary to delete the incorrect IP address from database:

  1. Create a backup of the psa database:

    mysqldump -uadmin -p`cat /etc/psa/.psa.shadow ` psa >psa.dump
  2. Delete the problem IP address:

    mysql> begin; delete from IP_Addresses where id=[empty IP address ID];
    Query OK, 0 rows affected (0.00 sec)

    Query OK, 1 row affected (0.00 sec)

    mysql> delete from ip_pool where ip_address_id=[empty IP address ID];
    Query OK, 1 row affected (0.00 sec)

    mysql> commit;
    Query OK, 0 rows affected (0.00 sec)
Have more questions? Submit a request
Please sign in to leave a comment.