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-27, 20:13:33

Author Topic: nginx dont start  (Read 3100 times)

0 Members and 1 Guest are viewing this topic.

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
nginx dont start
« on: 2016-01-11, 07:53:52 »
Hi

i cant start nginx, have this error

nginx: [emerg] unknown "var_phpselect" variable
nginx: configuration file /etc/nginx/nginx.conf test failed

i have this nginx conf

user nginx;

worker_processes auto;
worker_rlimit_nofile 400000;

pid /var/run/nginx.pid;

events {
    worker_connections 20480;
    multi_accept on;
    use epoll;

    ## MR -- only work in tengine
    ## to modified, copy this file to custom.nginx.conf and run fixweb
    #reuse_port on;
}

http {
    sendfile on;
    aio threads;
    directio 4m;

    tcp_nopush on;
    tcp_nodelay on;

    server_tokens on;

    add_header Cache-Control public;

    server_names_hash_max_size 4096;
    server_names_hash_bucket_size 2048;

    types_hash_bucket_size 256;
    types_hash_max_size 2048;

    client_header_buffer_size 2k;
    client_header_timeout 90s;
    client_body_timeout 90s;
    send_timeout 90s;

    client_max_body_size 64M;
    client_body_buffer_size 128k;

    #include koi-utf;
    #charset utf-8;
    #source_charset koi8-r;

    include '/etc/nginx/conf.d/*.conf';
}



Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: nginx dont start
« Reply #1 on: 2016-01-11, 10:24:40 »
now i have this sysinfo...

A. Kloxo-MR: 7.0.0.b-2016011102
   - Web: hiawatha-10.0.0-f.6.mr.el5
   - PHP: php54s-5.4.45-2.w5 (cgi mode)
B. Plateform:
   - OS: CentOS release 5.11 (Final) i686
   - Hostname: server1.zzzz.com
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el5
      - Multiple:
        * php52m-5.2.17-102.mr.el5
        * php53m-5.3.29-1.ius.el5
        * php54m-5.4.45-2.w5
        * php55m-5.5.30-2.w5
        * php56m-
        * php70m-
      - Used: php54m
   3. Httpd: --uninstalled--
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.9-1.el5.ngx
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        972         51          0          0        369
   -/+ buffers/cache:        602        421
   Swap:            0          0          0
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   simfs                  30G   19G   12G  63% /

note that i have php56 and php70¿?=?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx dont start
« Reply #2 on: 2016-01-11, 11:01:59 »
Try 'sh /script/cleanup' in every update Kloxo-MR (especially before 'final' version).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: nginx dont start
« Reply #3 on: 2016-01-11, 11:14:53 »
hi Mustafa

same problem...i make cleanup and nothing

before ask you i make script upcp -y and nothing...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: nginx dont start
« Reply #4 on: 2016-01-11, 11:35:57 »
There something wrong in nginx configs. Wait for update or for awhile update 'php-fpm_standard.conf' and 'php-fpm_wildcards.conf' inside '/opt/configs/nginx/conf/globals' and '/usr/local/lxlabs/kloxo/file/nginx/conf/globals' where change '$var_phpselect-' to '$var_phpselected-'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: nginx dont start
« Reply #5 on: 2016-01-11, 11:49:09 »
ok, i made it

same problem, i changued in both archives in both directories dont fix the problem

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: nginx dont start
« Reply #6 on: 2016-01-11, 11:52:24 »
i have this


#fastcgi_pass               127.0.0.1:$var_fpmport;
        fastcgi_pass          unix:/opt/configs/php-fpm/sock/$var_phpselected-var_user.sock;
        fastcgi_index         index.php;

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: nginx dont start
« Reply #7 on: 2016-01-11, 11:54:42 »
i restart the server and nginx start ok

thanks

 


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

Page created in 0.078 seconds with 19 queries.

web stats analysis