MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: gedan on 2017-10-23, 15:26:16

Title: Kloxo Mr 7 and apache problem
Post by: gedan on 2017-10-23, 15:26:16
I instaled Kloxo Mr 7 on CentOs 7 64bits in 2 VPS

I only get work with Nginx, when I try apache the server not work

I already try
1. Change in control panel to Nginx and after return to apache
2. Reinstall by SSH
 
yum reinstall httpd* mod_* -y
sh /script/restart-web -y
systemctl status httpd.service
journalctl -xe
enable apache 2.4

I have several websites with (rewrite) .htaccess files and do not know how to setup nginx to work with serveral domains / rewrite rules
Title: Re: Kloxo Mr 7 and apache problem
Post by: fossxplorer on 2017-10-23, 19:57:05
We need more info to help you. IIRC, there are still some issues with Kloxo-MR 7 on CentOS 7, although i got it to work on my test instance.

What happens if you choose Nginx reverse proxy in Switch Program => web ? This implies Apache as the web server backend to Nginx reverse proxy!
Title: Re: Kloxo Mr 7 and apache problem
Post by: gedan on 2017-10-29, 14:46:37
APACHE LOG
[Sat Oct 28 15:59:00.785682 2017] [suexec:notice] [pid 121] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Oct 28 15:59:00.801406 2017] [auth_digest:notice] [pid 121] AH01757: generating secret for digest authentication ...
[Sat Oct 28 15:59:00.802277 2017] [lbmethod_heartbeat:notice] [pid 121] AH02282: No slotmem from mod_heartmonitor
[Sat Oct 28 15:59:00.803229 2017] [mpm_prefork:notice] [pid 121] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sat Oct 28 15:59:00.803251 2017] [core:notice] [pid 121] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Oct 28 21:06:42.535776 2017] [mpm_prefork:notice] [pid 121] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Oct 29 01:06:43.786864 2017] [suexec:notice] [pid 1874] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Oct 29 01:06:43.803800 2017] [auth_digest:notice] [pid 1874] AH01757: generating secret for digest authentication ...
[Sun Oct 29 01:06:43.804679 2017] [lbmethod_heartbeat:notice] [pid 1874] AH02282: No slotmem from mod_heartmonitor
[Sun Oct 29 01:06:43.805840 2017] [mpm_prefork:notice] [pid 1874] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Oct 29 01:06:43.805868 2017] [core:notice] [pid 1874] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Oct 29 01:18:47.577227 2017] [mpm_prefork:notice] [pid 1874] AH00170: caught SIGWINCH, shutting down gracefully

I changed to Nginx reverse proxy in Switch Program and worked.
http://155.94.145.199/
With Nginx reverse proxy can I work with .htaccess files?

Title: Re: Kloxo Mr 7 and apache problem
Post by: gedan on 2017-10-29, 16:39:10
After I changed to nginx proxy the VPS worked by litle time.

Now I do not have access to Kloxo Mr too.
Title: Re: Kloxo Mr 7 and apache problem
Post by: amitkumar on 2017-11-17, 08:49:14
sh /script/sysinfo

plz show your config.

1: sh /script/fix-all

and reboot it.
Title: Re: Kloxo Mr 7 and apache problem
Post by: amitkumar on 2017-11-20, 15:53:28
https://forum.mratwork.com/kloxo-mr-technical-helps/website-not-working-on-apache-(urgent)/

check my last reply and follow 1st step