• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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