HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Nginx doesnīt restart after installation of ISPConfig 3 (

cyprus 5th November 2011 17:07

Nginx doesnīt restart after installation of ISPConfig 3
Okay here I am the last 3 days I was setting up a server from scratch with one focus getting ISPConfig running.

I used debian with bind & courier nginx as serversoftware thttpd for cgi implemented fastcgi and squirrelmail and walked a long way.
Everything worked fine and then I installed ISPConfig.
In the first moment everything seems to be okay. But I couldnīt call my server via browser got a "bad gateway".
I tried to restart nginx and got this:

root@v10300122146:~# /etc/init.d/nginx restart
Restarting nginx: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/etc/nginx/cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed

It looks like an SSL problem but there arenīt any *.pem files in my nginx folder. And I ainīt got no idea how to fix it.

Thanx for every hint


till 5th November 2011 18:21

I doubt that this setup is compatible with ispconfig. Iispconfig supports only php-fpm for php, but falko might give you more details as he implemented the nginx setup. Also thttpd is not supported as far as i know.

falko 6th November 2011 19:48

You need at least nginx version 0.8.21 (Debian Squeeze's nginx version is 0.7.67) with PHP-FPM (not available for Debian Squeeze), and for CGI support you need to install fcgiwrap (take a look at chapter 4 on ). Thttpd is not supported.

You can find a description for the setup for Ubuntu in the manual. If you find a PHP-FPM package and an nginx package > 0.8.21 for Squeeze, the setup should work there as well (it does for Debian Testing).

All times are GMT +2. The time now is 22:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.