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-04-23, 15:02:50

Author Topic: problem win nginx on 7.0.0.b-2016011401  (Read 6462 times)

0 Members and 1 Guest are viewing this topic.

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
problem win nginx on 7.0.0.b-2016011401
« on: 2016-01-16, 16:10:22 »
Hi MR after last kloxomr update nginx dont work..
Tried cleanup fixphp fixweb etc.

After testing i found the problem in : /opt/configs/nginx/conf/globals/switch_standard.conf
Line : 23

Code: [Select]
fastcgi_pass                      unix:/opt/configs/php-fpm/sock/$var_phpselected-$var_user.sock;

need to change to :
Code: [Select]
fastcgi_pass                      unix:/opt/configs/php-fpm/sock/$var_user.sock;

Then it works...


Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #1 on: 2016-01-16, 16:12:05 »

[root@server2 ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2016011401
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: server2.sugarweb.gr
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
   2. PHP:
      - Branch: php55u-cli-5.5.30-1.ius.el6.x86_64
      - Multiple:
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.40-1.ius.el6
        * php55m-5.5.24-1.ius.el6
        * php56m-5.6.8-1.ius.el6
      - Used: php55m
   3. Httpd: --uninstalled--
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.9-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.7-1.mr.el6.x86_64
   9. 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
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         20480       1180      19299       1103          0        920
   -/+ buffers/cache:        260      20219
   Swap:         1024          0       1024
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       80G   33G   48G  42% /

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #2 on: 2016-01-16, 16:13:50 »
Run 'sh /script/cleanup' instead just fixweb after update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #3 on: 2016-01-16, 16:28:05 »
dit it a lot of times dont work.. Only remove $var_phpselected- from swithc_standards works

Also i have this issue :
https://forum.mratwork.com/kloxo-mr-bugs-and-requests/unable-to-login-via-ftp-after-latest-update/15/

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #4 on: 2016-01-16, 16:49:30 »
No, latest Kloxo-MR using $var_phpselected-$var_user.sock instead $var_user.sock.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #5 on: 2016-01-16, 16:51:08 »
If you create/use custom.domains.conf.tpl (or other custom file). Adjustment this file(s) with latest original file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #6 on: 2016-01-16, 16:55:05 »
MR i only use custom.php53-fpm-pool.conf.tpl <- Does this had to do anything with nginx ??




Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #7 on: 2016-01-16, 16:58:58 »
and inside /opt/configs/nginx/conf/globals i have created some example-name.com.conf for some domains that needs special conf.

These actually was the only domains that worked after latest kloxomr upgrade because this didnt use $var_phpselected-$var_user.sock; but used only $var_user.sock

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #8 on: 2016-01-16, 17:17:48 »
MR you are right custom.php53 conf file caused the problem

I Removed all custom files and it worked.. now to create again custom php conf i copy : php53-fpm-pool.conf.tpl OR php-fpm.conf.tpf file ???

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #9 on: 2016-01-16, 17:21:21 »
php53-fpm-pool.conf.tpl for php 5.3-7.0.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #10 on: 2016-01-16, 17:32:56 »
and the other for php5.4 and up ?

thank very much for helping me..

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem win nginx on 7.0.0.b-2016011401
« Reply #11 on: 2016-01-16, 17:36:44 »
and the other for php5.4 and up ?

thank very much for helping me..
All php 5.3+ using php53-fpm-pool.conf.tpl. Php 5.2 using  php-fpm.conf.tpl
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.025 seconds with 19 queries.

web stats analysis