• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Template_Exception: /opt/psa/admin/sbin/websrv_ulimits:

mdde

Regular Pleskian
Hi just got this Error i cant figure out that Problem.

i just set a new Domain to existing Plesk with Customers and moved some more Customers to that new Server (which is running since a Week) and now i randomly got this Message:

Code:
Unable to generate the web server configuration file on the host <xxxx.xxx.com> because of the following errors:

Template_Exception: /opt/psa/admin/sbin/websrv_ulimits: line 923: /etc/nginx/ulimit.global_params.new: No such file or directory

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

Any help i would appreciate
 
What is output of command

# ll /etc/nginx/ulimit.global_params*

If you have any similar files there, try to remove them.
You can set ulimit manually for nginx with

# /opt/psa/admin/sbin/websrv_ulimits -s 2048 -n

and new file /etc/nginx/ulimit.global_params with parameter worker_rlimit_nofile 2048; will be created.
 
nginx was deleted.

Code:
root@web-host04 ~ # ll /etc/nginx/ulimit.global_params
ls: cannot access /etc/nginx/ulimit.global_params: No such file or directory
root@web-host04 ~ # /etc/nginx/ulimit.global_params
-bash: /etc/nginx/ulimit.global_params: No such file or directory
root@web-host04 ~ #
 
Back
Top