MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: johnnyto1979 on 2015-10-21, 09:55:02

Title: New install ver7 or 6.5.0
Post by: johnnyto1979 on 2015-10-21, 09:55:02
Hi i just installed
and I wanted to use with nginx proxy varnish nsd - php-fpm event
I can't make it to work
502 Bad Gateway
nginx/1.9.5
 25290#25290: *146 connect() failed (111: Connection refused) while connecting to upstream, client: 77.116.101.39, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:30080/", host: "81.196.53.107"

and restart all - all ok - just that,,
*** Process for HTTPD service ***
/usr/local/lxlabs/kloxo/etc/process/httpd: /etc/rc.d/init.d/httpd: /bin/bash^M: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden
  - Process with 'httpd': restart
/usr/local/lxlabs/kloxo/etc/process/httpd: /etc/rc.d/init.d/httpd: /bin/bash^M: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden


I tried all what i have found on your forum.
No success.

With Nginx simple works but i need .htaccess.
Thanks.
Title: Re: New install ver7 or 6.5.0
Post by: MRatWork on 2015-10-21, 10:23:18
Try 'yum reinstall httpd* -y; sh /script/restart-web -y'.

Better not use webcache (like varnish) if using nginx-proxy or hiawatha-proxy.
Title: Re: New install ver7 or 6.5.0
Post by: johnnyto1979 on 2015-10-21, 11:59:15
Worked.
Unbelievable, so easy was.
Thanks man.