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, 16:37:29

Author Topic: switch issue apache to ngnixproxy  (Read 5657 times)

0 Members and 1 Guest are viewing this topic.

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
switch issue apache to ngnixproxy
« 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

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #1 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)

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #2 on: 2016-04-01, 15:23:51 »
Go to reinstall

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #3 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.

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #4 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 for details.
Faithfully yours, nginx.

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #5 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

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #6 on: 2016-04-01, 17:13:14 »
Finally worded..

Switch php event to worker

and then to event

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #7 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.

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: switch issue apache to ngnixproxy
« Reply #8 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

Offline hydtah

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: switch issue apache to ngnixproxy
« Reply #9 on: 2016-04-02, 11:23:07 »
Thanks man for this tips

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.036 seconds with 18 queries.

web stats analysis