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-03-28, 19:34:08

Author Topic: nginx Premission denied  (Read 14427 times)

0 Members and 1 Guest are viewing this topic.

Offline kodyxgen

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
nginx Premission denied
« on: 2014-03-24, 22:43:33 »
Hi,
i changed apache to nginx put i can't start the service i get a permission denied like this
env: /etc/init.d/nginx: Permission denied
i try to change to ngnixproxy but still no luck.
Can someone help me

Thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #1 on: 2014-03-24, 23:33:18 »
Try running 'sh /script/fix-chownchmod' and 'sh /script/fixweb; sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #2 on: 2014-08-22, 07:32:24 »
Did this ever get resolved. I am getting permission denied when trying to run nginx or nginx proxy. I have tried switching php types and php branch. I have also tried switching from nginx proxy to apache and back again. I have also tried fixweb, fix-all, cleanup, etc...

here is the exact error.

/script/restart-web: line 23: /etc/init.d/nginx: Permission denied

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #3 on: 2014-08-22, 08:00:52 »
***UPDATE***

I changed the permissions on the file  /etc/init.d/nginx and now get the error

Starting nginx: [emerg]: unknown directive "limit_conn_zone" in /etc/nginx/conf.d/~lxcenter.conf:34


Any help would be greatly appreciated. This is on a production server.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #4 on: 2014-08-22, 09:53:22 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #5 on: 2014-08-22, 22:26:32 »

A. Kloxo-MR: 6.5.0.f-2014070901

B. OS: CentOS release 5.10 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el5
   2. PHP: php54-5.4.31-1.ius.el5
   3. Httpd: httpd-2.2.27-1.mr.e5
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
   7. Dns: djbdns-1.05-17.3.mr.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         16046       3179      12866          0        351       1143
   -/+ buffers/cache:       1684      14361
   Swap:        18047          0      18047


Thanks Mustafa!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #6 on: 2014-08-22, 23:32:34 »
From 'sysinfo' point C.5 mean nginx not install.

Install nginx manually make a trouble.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #7 on: 2014-08-23, 00:08:45 »
Thanks. I currently have it set to Apache so I could get it back up and running. How do I manually install nginx?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #8 on: 2014-08-23, 02:12:51 »
Switch to 'lighttpd' and then switch back to what you want (apache, nginx or nginx-proxy).

Install manually like 'yum install nginx' make a trouble/conflict.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #9 on: 2014-08-23, 18:09:48 »
Thanks,  I don't think I have installed nginx manually and I have tried switching to lighthttpd and back many times with the same error. I don't know what to do.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #10 on: 2014-08-23, 18:51:14 »
Look like nginx has conflict in your server. Try install manually with 'yum install nginx' and report here what's you see.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #11 on: 2014-08-28, 17:34:33 »
OK, sorry it took so long, but this is what i got.

Transaction Check Error:
  file /etc/logrotate.d/nginx from install of nginx-1.7.4-1.el5.ngx.x86_64 confl                                                                                                                                                             icts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /etc/nginx/fastcgi_params from install of nginx-1.7.4-1.el5.ngx.x86_64 co                                                                                                                                                             nflicts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /etc/nginx/mime.types from install of nginx-1.7.4-1.el5.ngx.x86_64 confli                                                                                                                                                             cts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /etc/nginx/nginx.conf from install of nginx-1.7.4-1.el5.ngx.x86_64 confli                                                                                                                                                             cts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /etc/rc.d/init.d/nginx from install of nginx-1.7.4-1.el5.ngx.x86_64 confl                                                                                                                                                             icts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /etc/sysconfig/nginx from install of nginx-1.7.4-1.el5.ngx.x86_64 conflic                                                                                                                                                             ts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /usr/sbin/nginx from install of nginx-1.7.4-1.el5.ngx.x86_64 conflicts wi                                                                                                                                                             th file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /usr/share/nginx/html/50x.html from install of nginx-1.7.4-1.el5.ngx.x86_                                                                                                                                                             64 conflicts with file from package nginx07-0.7.69-1.ius.el5.x86_64
  file /usr/share/nginx/html/index.html from install of nginx-1.7.4-1.el5.ngx.x8                                                                                                                                                             6_64 conflicts with file from package nginx07-0.7.69-1.ius.el5.x86_64

Error Summary
-------------



Thank you for your help!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx Premission denied
« Reply #12 on: 2014-08-28, 18:25:15 »
inform here 'cd /; dir -l /etc/yum.repos.d/; yum list nginx*; yum list kloxomr*'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #13 on: 2014-09-05, 01:23:37 »
Code: [Select]
total 32
-rw-r--r-- 1 root root 2049 Feb  2  2014 CentOS-Base.repo
-rw-r--r-- 1 root root  636 Oct  7  2013 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  626 Oct  7  2013 CentOS-Media.repo
-rw-r--r-- 1 root root 7574 Oct  7  2013 CentOS-Vault.repo
-rw-r--r-- 1 root root 6627 Aug 21 23:15 mratwork.repo
Loaded plugins: fastestmirror, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * addons: centos.escapemg.com
 * base: mirror.raystedman.net
 * extras: mirror-centos.hostingswift.com
 * mratwork-epel: mirror.compevo.com
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: centos.arvixe.com
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a                                                                                                                                                             rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar                                                                                                                                                             ch
Finished
0 packages excluded due to repository protections
Installed Packages
nginx07.x86_64               0.7.69-1.ius.el5      installed
Available Packages
nginx.x86_64                 1.7.4-1.el5.ngx       mratwork-nginx
nginx-debug.x86_64           1.7.4-1.el5.ngx       mratwork-nginx
nginx-debuginfo.x86_64       1.7.4-1.el5.ngx       mratwork-nginx
nginx-special.x86_64         1.3.11-2.mr.el5       mratwork-release-version-arch
nginx07-debuginfo.x86_64     0.7.69-1.ius.el5      mratwork-ius-archive
Loaded plugins: fastestmirror, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * addons: centos.escapemg.com
 * base: mirror.raystedman.net
 * extras: mirror-centos.hostingswift.com
 * mratwork-epel: mirror.compevo.com
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: centos.arvixe.com
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a                                                                                                                                                             rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar                                                                                                                                                             ch
Finished
0 packages excluded due to repository protections
Installed Packages
kloxomr.noarch                      6.5.0.f-2014070901.mr
                                                 installed
kloxomr-addon-extjs.noarch          1.1-4.mr     installed
kloxomr-addon-yui-dragdrop.noarch   2.9.0-3.mr   installed
kloxomr-editor-ckeditor.noarch      4.4.3-1.mr   installed
kloxomr-editor-fckeditor.noarch     2.6.8-7.mr   installed
kloxomr-stats-awstats.noarch        7.1-4.mr     installed
kloxomr-thirdparty-jcterm.noarch    0.0.10-1.mr  installed
kloxomr-thirdparty-phpmyadmin.noarch
                                    4.2.5-1.mr   installed
kloxomr-thirdparty-sshterm-applet.noarch
                                    0.2.2-3.mr   installed
kloxomr-webmail-afterlogic.noarch   7.3.0.3-1.mr installed
kloxomr-webmail-roundcube.noarch    1.0.1-1.mr   installed
kloxomr-webmail-squirrelmail.noarch 1.4.22-6.mr  installed
kloxomr-webmail-telaen.noarch       1.3.2-2.mr   installed
Available Packages
kloxomr-editor-ckeditor.noarch      4.4.3-2.mr   mratwork-release-neutral-noarch
kloxomr-editor-fckeditor.noarch     2.6.8-8.mr   mratwork-release-neutral-noarch
kloxomr-lang-it-it.noarch           6.5.0.f-2013031825.mr
                                                 mratwork-release-neutral-noarch
kloxomr-lang-pl-pl.noarch           6.5.0.f-2013031823.mr
                                                 mratwork-release-neutral-noarch
kloxomr-panel-adminer.noarch        4.1.0-1.mr   mratwork-release-neutral-noarch
kloxomr-panel-mywebsql.noarch       3.4-1.mr     mratwork-release-neutral-noarch
kloxomr-panel-phpmyadmin.noarch     4.2.7.1-1.mr mratwork-release-neutral-noarch
kloxomr-panel-sqlbuddy.noarch       1.3.3-1.mr   mratwork-release-neutral-noarch
kloxomr-thirdparty-jcterm.noarch    0.0.10-2.mr  mratwork-release-neutral-noarch
kloxomr-thirdparty-sshterm-applet.noarch
                                    0.2.2-4.mr   mratwork-release-neutral-noarch
kloxomr7.noarch                     7.0.0.b-2014090301.mr
                                                 mratwork-release-neutral-noarch
kloxomr7-thirdparty-phpmyadmin.noarch
                                    4.2.7.1-1.mr mratwork-release-neutral-noarch

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: nginx Premission denied
« Reply #14 on: 2014-09-18, 20:11:02 »
Any thoughts on this?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.032 seconds with 18 queries.

web stats analysis