Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 12:35:54

Author Topic: kloxo-mr 7.0b error log Permission denied  (Read 6558 times)

0 Members and 1 Guest are viewing this topic.

Offline clublol

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
kloxo-mr 7.0b error log Permission denied
« on: 2014-09-15, 06:50:17 »
2014/09/15 11:49:06 [crit] 30801#0: *76 open() "/home/httpd/agent.clubohobypunim.com/stats/agent.clubohobypunim.com-custom_log" failed (13: Permission denied) while logging request, client: 49.48.160.27, server: agent.clubohobypunim.com, request: "GET /employees/ajax_page.php?page=2&total=127&style=li&limit=100&action=seach_page HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/cluboho.sock", host: "agent.clubohobypunim.com", referrer: "http://agent.clubohobypunim.com/employees/index.php?want=sell"


webserver : nginx
kloxo-mr : 7.0.0.b-2014091403
« Last Edit: 2014-09-15, 07:04:26 by clublol »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile

Offline clublol

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: kloxo-mr 7.0b error log Permission denied
« Reply #2 on: 2014-10-08, 16:30:45 »
not work

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo-mr 7.0b error log Permission denied
« Reply #3 on: 2014-10-08, 19:43:10 »
Try 'sh /script/fix-chownchmod'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: kloxo-mr 7.0b error log Permission denied
« Reply #4 on: 2015-01-16, 17:30:30 »
I've got the same problem.
2015/01/17 02:24:16 [crit] 6442#0: *1471 open() "/home/httpd/prikolbel.ru/stats/prikolbel.ru-custom_log" failed (13: Permission denied) while logging request, client: 109.60.185.135, server: prikolbel.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/clients.sock", host: "prikolbel.ru", referrer: "http://prikolbel.ru/"

And the same error for alldomains

A. Kloxo-MR: 7.0.0.b-2015011402

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.41-2.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.10.1-f.1.mr.el6.x86_64
   6. Nginx: nginx-1.7.9-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.0-3.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.45.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:          7617       6784        833         82        203       5712
   -/+ buffers/cache:        867       6749
   Swap:            0          0          0


Tried:
sh /script/fix-chownchmod
sh /script/fixweb
Nothing helps.
When i use nginxproxy error dissappears. nut nginx alone error appears.

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: kloxo-mr 7.0b error log Permission denied
« Reply #5 on: 2015-01-18, 12:09:33 »
To my previous post at this topic.
I found that the bug is in rights in "/home/httpd/prikolbel.ru/stats/".
It is rwxrwx--x by defualt. And changing to rwxrwx-wx fixes the problem with "Permission denied to /home/httpd/prikolbel.ru/stats/prikolbel.ru-custom_log". Log starts to write.

Temporarily I stop writing nginx access_log by commenting the line "access_log /home/httpd/$var_domain/stats/$var_domain-custom_log main;" with "#" in "/opt/configs/nginx/conf/globals/stats.ru.conf" . But if you want to log access you should change the rights to all folders on all domains in "/home/httpd/" to folder "stats".

I don't really know bug  it is or not. Do i do right things? Or there is another way to fix problem.
« Last Edit: 2015-01-23, 15:00:06 by xamer »

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: kloxo-mr 7.0b error log Permission denied
« Reply #6 on: 2015-12-16, 21:24:11 »
The problem is actual till today))

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo-mr 7.0b error log Permission denied
« Reply #7 on: 2015-12-17, 00:23:23 »
Look like it's related to ownership of files/directory.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: kloxo-mr 7.0b error log Permission denied
« Reply #8 on: 2015-12-18, 13:42:36 »
nginx must be probably added to apache group

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.079 seconds with 18 queries.

web stats analysis