HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Nginx doesnīt restart after installation of ISPConfig 3 (http://www.howtoforge.com/forums/showthread.php?t=54791)

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:
Quote:

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

Cyprus

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 http://www.howtoforge.com/serving-cg...buntu-11.04-p3 ). 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 12:21.

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