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. 2017-11-07, 20:03:32

Author Topic: chown: cannot access `/tmp/nginx/*': No such file or directory  (Read 1238 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
During /script/fixweb I got:

chown: cannot access `/tmp/nginx/*': No such file or directory

/tmp/nginx exists

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Check /opt/configs/nginx/tpl/defaults.conf.tpl. Try change 'chown -R apache:apache /var/cache/nginx*/*' to 'chown -R apache:apache /var/cache/nginx*' and 'chown -R apache:apache /tmp/nginx/*' to 'chown -R apache:apache /tmp/nginx' and then run fixweb and restart-web.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Run fix web is creating blank files for all webservers.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Example:

[root@sd-70116 domains]# chown -R apache:apache /var/cache/nginx*/*
[root@sd-70116 domains]# chown -R apache:apache /var/cache/nginx*
[root@sd-70116 domains]# chown -R apache:apache /tmp/nginx/*
[root@sd-70116 domains]# chown -R apache:apache /tmp/nginx
[root@sd-70116 domains]# chown -R apache:apache /tmp/nginx
[root@sd-70116 domains]# sh /script/fixweb

- For help, type '/script/fixweb [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
- '3dgsm.pl' ('agona2') at 'localhost'

[root@sd-70116 domains]# cat 3dgsm.pl.conf
### begin - web of '3dgsm.pl' - do not remove/modify this line

...

and nothing more here.
« Last Edit: 2016-01-30, 13:34:52 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Didn't this issue with nginx-proxy.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Didn't this issue with nginx-proxy.

I use nginxproxy + apache 2.2 and some older database (one month old).

 


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

Page created in 0.044 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM