MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: kodyxgen 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
-
Try running 'sh /script/fix-chownchmod' and 'sh /script/fixweb; sh /script/restart-web'.
-
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
-
***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.
-
Inform here 'sh /script/sysinfo'.
-
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!
-
From 'sysinfo' point C.5 mean nginx not install.
Install nginx manually make a trouble.
-
Thanks. I currently have it set to Apache so I could get it back up and running. How do I manually install nginx?
-
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.
-
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.
-
Look like nginx has conflict in your server. Try install manually with 'yum install nginx' and report here what's you see.
-
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!
-
inform here 'cd /; dir -l /etc/yum.repos.d/; yum list nginx*; yum list kloxomr*'
-
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
-
Any thoughts on this?
-
Try 'yum update mratwork*; yum remove nginx*; yum install nginx; sh /script/cleanup'
-
OK, so now I get this error. Apparently there is a conflicting version of NGinx somewhere.
Transaction Check Error:
file /etc/logrotate.d/nginx from install of nginx-1.7.5-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.5-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.5-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.5-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.5-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.5-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.5-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.5-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.5-1.el5.ngx.x8 6_64 conflicts with file from package nginx07-0.7.69-1.ius.el5.x86_64
Also if I do 'yum remove nginx*' it just keeps saying that it is removing nginx07 then i get this error.
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error reading information on service nginx: No such file or directory
Error in PREUN scriptlet in rpm package n
Removed:
nginx07.x86_64 0:0.7.69-1.ius.el5
Complete!
I can run this over and over and it just says the same thing.
I have no idea where this other version would have come from.
-
Kloxo-MR not using nginx07. It's possible from other repo and or install manually.
Give me your server access and send info via PM.
-
i've got absolutely the same problem. Can you help?
tryning "yum update mratwork" says:
Loaded plugins: priorities, protectbase, replace
http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL re turned error: 403 Forbidden"
-
@xamer,
Inform your 'sh /script/sysinfo'.
-
The same nginx --uninstalled--
trying everything that you advised in this topic
I used nginxproxy and decided to use nginx and that's all))
httpd, lighthttpd work fine
A. Kloxo-MR: 6.5.0.f-2014011001
B. OS: CentOS release 6.5 (Final) x86_64
C. Apps:
1. MySQL: mysql-5.5.34-1.el6.x86_64
2. PHP: php53u-5.3.28-1.ius.el6.x86_64
3. Httpd: --uninstalled--
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.29.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
7. Dns: bind-9.9.4-1.P1.el6.x86_64
D. Php-type (for Httpd/proxy): mod_php_ruid2
E. Memory:
total used free shared buffers cached
Mem: 7617 6359 1258 0 236 4629
-/+ buffers/cache: 1493 6123
Swap: 1023 0 1023
Also, when i try to use nginxproxy again nginx uninstalled
I think there is repo problem, but i'm not sure how to fix
-
the problem is solved
I executed 'yum update mratwork* --disablerepo=*centalt*' and after that change to nginx in kloxomr.
And everything works fine.
-
Yes, early version of Kloxo-MR using CentAlt as one of repos (inside /etc/yum.repos.d/mratwork.repo). Because CentAlt no longer exists/update, Kloxo-MR remove CentAlt in later version if mratwork*.rpm.
-
I don't really know how to upgrade kloxomr to escape new problems :(
I'm afraid to break something, trying to do that. It is not testing server.
Thank you for reply.
-
Better are regular update (like 1 per-week) for Kloxo-MR 7 with 'yum clean all; yum update; sh /script/cleanup'.