These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Error Creating New NGINX VHost from Webmin on the new forum.
When accessing virtualmin-nginx module from Webmin (Servers>Nginx Webserver) and selecting the link "Add a new Nginx virtual host", I get the following error after entering all the applicable info and hitting the Create button:
Error - Perl execution failed
This on a fresh install with Debian 6 and all up-to-date.
I could however create a vhost from the Virtualmin side, but would prefer to do everything via only Webmin.
Any suggestions? Is this a known bug?
Howdy,
That does indeed sound like a bug... could you post that as a bug report using the Support link above?
Then Jamie will be able to work with you to figure out what's going on there.
Thanks!
-Eric
I have this problem. who can help me?
Config: Last webmin + virtualmin and -bash-3.2# nginx -v nginx version: nginx/1.3.8
Had the same issue.
I fixed it by adding the following line at the end to /etc/nginx/nginx.conf
it will look like:
http { include /etc/nginx/mime.types; default_type application/octet-stream;
}
I installed nginx 1.2.8 described here http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packages with the key: wget http://nginx.org/keys/nginx_signing.key cat nginx_signing.key | sudo apt-key add -
no way... I just installed nginx module for virtualmin (4.01.gpl GPL) under centos 6.4, but I have the same problem, I added also the above line to the /etc/nginx/nginx.conf but the problem is still here... can you help?
thank you
Hello i had the same problem to. The include doesn't help.
thanks
btw: a nginx server template would be nice
Hello there
We have a box running Ubuntu Linux 12.04 - 3.98.gpl GPL. The include /etc/nginx/sites-enabled/*; is already in place and we still get exactly the same error as above.
Has anybody managed to solve this issue?
Thanks
Hi there,
Me too. Got the Perl problem on line 247 - but I have already the 'sites-enabled' thing... Nothing helped. I'm using a dedicated centos 6, all updated applied.
Any idea?
Just adding a 'me too' to the problem.
+1 I have include /etc/nginx/sites-enabled/*; line at the end of http block in nginx.conf and see this error. Any solutions?
see this post : http://devkardia.com/blog/virtualmin-apache-and-nginx-reverse-proxy.html
when making new virtual-server, do not select "Enable Nginx website"
and after your virtual-server setup go to nginx in webmin servers, adjust document root and set Any IPv4 address
hope it helps some people on their way.
regards
Bug still here :(
Same problem, using nginx-1.6 in CentOS 6.6 & virtualmin 4.11 gpl
Debian 7, Virtualmin 4.12
Same bug.
Ubuntu Linux 14.04.2 Webmin version 1.770 Virtualmin version 4.18.gpl same problem
Try this: https://github.com/Real-Gecko/virtualmin-nginx-fpm
I've created it as an alternative to Virtualmin core Nginx module :)
RealGecko, Works great!
Thanks a lot
Now my only problem is that I want to have apache and nginx on some virtual servers, I have 2 Ip's and apache and nginx running on different ports, but virtualmin won't let me have both, do you know if its possible?
thanks again!
I never tried running both Apache and Nginx under Virtualmin, so I can't tell you if it is possible :(
You have helped me a lot!!! many thanks
Same problem. webmin/virtualmin 1.782 debian 8 linux