MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: amitkumar on 2016-04-01, 14:41:30

Title: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 14:41:30
Hello MR,

i have installed a fresh copy of kloxomr on a vps.

And added my 2 domain on it. After 2 days i switch apache to ngnixproxy .

Now i am getting this error.

Quote
An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.

Here is php -v report
 
php -v
PHP 5.3.29 (cli) (built: Aug 14 2014 11:50:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.

i have also done sh/script/fixweb even fixdns and restart-web

At restart-web i got this issue

/script/restart-all: line 23: /etc/init.d/httpd: Permission denied
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]


and

i have also tried the sh /script/upcp and even cleanup and also reboot it .
..


Here is sh /script/sysinfo  report

Quote
A. Kloxo-MR: 6.5.0.f-2016021402

B. OS: CentOS release 6.7 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.48-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.9.13-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3736        494       3242          0         25        227
   -/+ buffers/cache:        241       3495
   Swap:            0          0          0
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 15:05:30
Update

i have fix the permission.

But its seems that some how :-/
Httpd: --uninstalled-- (Just notice in sysinfo report)
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 15:23:51
Go to reinstall
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 16:15:16
After fresh install.

I again switch to
ngnixproxy
bind

php-event

and restart-web

got this issue
sh /script/restart-web
Stopping httpd:                                            [FAILED]
Starting httpd: /bin/bash: /usr/sbin/httpd.event: No such file or directory
                                                           [FAILED]


.......................................

in services

httpd is stopped (Apache Web Server)

-----------------------------------------

i am not getting the exact issue please help me.
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 16:19:05
New

sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2016032801

B. OS: CentOS release 6.7 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.48-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd24u-2.4.18-3.ius.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.9.13-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3736        475       3260          0         20        200
   -/+ buffers/cache:        254       3482
   Swap:            0          0          0


-----------------

Still getting error

An error occurred.Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check theerror log (http://www.1proxy.de/index.php?q=aHR0cDovL25naW54Lm9yZy9yL2Vycm9yX2xvZw%3D%3D) for details.
Faithfully yours, nginx.
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 17:08:09
Updating to kloxomr7

Following these thread steps
http://forum.mratwork.com/indonesia-users/error-saat-start-httpd/

still getting issue.

Now really need help. From MR . :( waiting for you
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-01, 17:13:14
Finally worded..

Switch php event to worker

and then to event
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-02, 09:51:37
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080


getting this issue please help me.
Title: Re: switch issue apache to ngnixproxy
Post by: amitkumar on 2016-04-02, 10:03:14
Solution

Kloxomr7

in switch program do select all the thing none and update to all

and

then  web sever  php worker and then update it.?

wait for 10min and then

revert switch program to your favourite apache or ngnixproxy

if you have vps then djbind  , if you have good ram then bind
Title: Re: switch issue apache to ngnixproxy
Post by: hydtah on 2016-04-02, 11:23:07
Thanks man for this tips