MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: djscooby on 2015-04-23, 21:10:51

Title: error log empty with nginx
Post by: djscooby on 2015-04-23, 21:10:51
Hello MR

I have a problem  with php error log inside control panel domain and also inside /var/log/php-fpm/error.lg & slow.log

They are empty if i use nginx as web server.

With apache everything is fine.. 

Can you verify the bug ?


A. Kloxo-MR: 7.0.0.b-2015042301

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.17-1.el6.x86_64
   2. PHP: php55u-5.5.23-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-2.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.12.0-f.4.mr.el6.x86_64 (also as webserver)
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.2-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.53.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          8192       1907       6284        172          0       1506
   -/+ buffers/cache:        401       7790
   Swap:          512          0        512

Title: Re: error log empty with nginx
Post by: MRatWork on 2015-04-24, 05:42:26
I didn't found this issue but I will try again.
Title: Re: error log empty with nginx
Post by: djscooby on 2015-04-24, 11:29:43
OK MR please see in your server if it happens .

If not I can give u access to mine to check. 

I checked all php settings inside clients and log error is enabled for clients and for server (admin->server->localhost->php configure

And also inside /etc/php-fpm.d/"domain.conf" is enabled

And inside etc/php.INI is enabled .

And inside opt/config & php55m every file I checked is enabled for error logging..

I don't know where else to look for the problem ..
Title: Re: error log empty with nginx
Post by: djscooby on 2015-04-30, 12:42:36
MR have you checked this with nginx as web server ?

Also traffic stats don't work with nginx at least for me..
Title: Re: error log empty with nginx
Post by: MRatWork on 2015-04-30, 13:29:39
Still investigate, but try 'create 0664' to '#create 0664' in '/etc/logrotate.d/kloxo'.