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-28, 08:19:03

Author Topic: error nginx saat update kloxo-mr 7.0  (Read 4553 times)

0 Members and 1 Guest are viewing this topic.

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
error nginx saat update kloxo-mr 7.0
« on: 2016-01-19, 00:21:17 »
barusan iseng 'yum update' dan  'sh /script/cleanup' pada vps dgn kloxo-mr 7.0

dan hasilnya Nginxnya error

di browser awalnya error 502

setelah nginx nya sy restart, ternyata tidak bisa bangun lagi di browser error 503 dan di console error saat restart :

Code: [Select]
Starting nginx: nginx: [emerg] open() "/opt/configs/nginx/conf/globals/switch_standard_ssl.conf" failed (2: No such file or directory) in /opt/configs/nginx/conf/defaults/init.conf:56

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #1 on: 2016-01-19, 00:24:59 »
ini sysinfo nya

Code: [Select]
[root@vps script]# sh sysinfo
A. Kloxo-MR: 7.0.0.b-2016011401
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: vps.server
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:
        * php52m-5.2.17-102.mr.el6
        * php54m-5.4.45-1.ius.el6
        * php55m-5.5.30-1.ius.el6
      - Used: php55m
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.9-1.el6.ngx.x86_64
   7. Cache: varnish-3.0.7-1.el6.x86_64
   8. Dns: bind-9.9.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:          2048       1817        230          2          0       1393
   -/+ buffers/cache:        423       1624
   Swap:         1024         19       1004
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs      110G   69G   42G  63% /


*** Process Time: 00:00:00:01.1363 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@vps script]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error nginx saat update kloxo-mr 7.0
« Reply #2 on: 2016-01-19, 01:41:51 »
COba pilih 'none' untuk 'web' dan 'webcache' dan kemudian pilih 'nginx'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #3 on: 2016-01-19, 07:07:35 »
This webpage is not available

ERR_CONNECTION_REFUSED

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error nginx saat update kloxo-mr 7.0
« Reply #4 on: 2016-01-19, 07:17:14 »
After that, try 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #5 on: 2016-01-19, 07:39:10 »
masih sama... nginx nya masih berstatus stop

Code: [Select]
[root@vps isun]# service nginx status
nginx is stopped
[root@vps isun]# service nginx start
Starting nginx: nginx: [emerg] open() "/opt/configs/nginx/conf/globals/switch_standard_ssl.conf" failed (2: No such file or directory) in /opt/configs/nginx/conf/defaults/init.conf:56
                                                           [FAILED]
[root@vps isun]#


ini sysinfo

Code: [Select]
A. Kloxo-MR: 7.0.0.b-2016011401
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: vps.server
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:
        * php52m-5.2.17-102.mr.el6
        * php54m-5.4.45-1.ius.el6
        * php55m-5.5.30-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: bind-9.9.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:          2048       1970         77          2          0       1269
   -/+ buffers/cache:        701       1346
   Swap:         1024          4       1019
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs      110G   69G   42G  63% /


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error nginx saat update kloxo-mr 7.0
« Reply #6 on: 2016-01-19, 07:40:28 »
Apa ada file custom.* di /opt/configs/nginx/tpl ?
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #7 on: 2016-01-19, 07:47:03 »
Code: [Select]
[root@vps isun]# cd /opt/configs/nginx/tpl
[root@vps tpl]# ls -l
total 36
-rw-r--r-- 1 root root   961 Jan 19 09:54 cgi-bin.php
-rw-r--r-- 1 root root  4598 Jan 19 09:54 defaults.conf.tpl
-rw-r--r-- 1 root root 21517 Jan 19 09:54 domains.conf.tpl
[root@vps tpl]# pwd
/opt/configs/nginx/tpl
[root@vps tpl]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error nginx saat update kloxo-mr 7.0
« Reply #8 on: 2016-01-19, 07:48:06 »
Inform here 'dir -l /opt/configs/nginx/conf/globals'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #9 on: 2016-01-19, 08:05:08 »
Code: [Select]
[root@vps ~]$ dir -l /opt/configs/nginx/conf/globals
total 168
-rw-r--r-- 1 root root   83 Jan 19 09:54 acme-challenge.conf
-rw-r--r-- 1 root root  347 Jan 19 09:54 dirprotect_awstats.conf
-rw-r--r-- 1 root root   37 Jan 19 09:54 dirprotect_none.conf
-rw-r--r-- 1 root root  208 Jan 19 09:54 dirprotect_standard.conf
-rw-r--r-- 1 root root  347 Jan 19 09:44 dirprotect_stats.conf
-rw-r--r-- 1 root root  347 Jan 19 09:54 dirprotect_webalizer.conf
-rw-r--r-- 1 root root 1449 Jan 19 09:54 generic.conf
-rw-r--r-- 1 root root   31 Jan 19 09:54 listen_nonssl_back.conf
-rw-r--r-- 1 root root   61 Jan 19 09:54 listen_nonssl_back_default.conf
-rw-r--r-- 1 root root   27 Jan 19 09:44 listen_nonssl.conf
-rw-r--r-- 1 root root   57 Jan 19 09:44 listen_nonssl_default.conf
-rw-r--r-- 1 root root   27 Jan 19 09:54 listen_nonssl_front.conf
-rw-r--r-- 1 root root   57 Jan 19 09:54 listen_nonssl_front_default.conf
-rw-r--r-- 1 root root   31 Jan 19 09:54 listen_ssl_back.conf
-rw-r--r-- 1 root root   61 Jan 19 09:54 listen_ssl_back_default.conf
-rw-r--r-- 1 root root   29 Jan 19 09:44 listen_ssl.conf
-rw-r--r-- 1 root root   59 Jan 19 09:44 listen_ssl_default.conf
-rw-r--r-- 1 root root   29 Jan 19 09:54 listen_ssl_front.conf
-rw-r--r-- 1 root root   59 Jan 19 09:54 listen_ssl_front_default.conf
-rw-r--r-- 1 root root 3162 Jan 19 09:54 php-fpm.conf
-rw-r--r-- 1 root root 4286 Jan 19 09:54 php-fpm_standard.conf
-rw-r--r-- 1 root root 4286 Jan 19 09:54 php-fpm_standard_ssl.conf
-rw-r--r-- 1 root root 4294 Jan 19 09:54 php-fpm_wildcards.conf
-rw-r--r-- 1 root root 4294 Jan 19 09:54 php-fpm_wildcards_ssl.conf
-rw-r--r-- 1 root root 2620 Jan 19 09:54 proxy_standard.conf
-rw-r--r-- 1 root root 2620 Jan 19 09:54 proxy_standard_ssl.conf
-rw-r--r-- 1 root root   53 Jan 19 09:54 proxy_wildcards.conf
-rw-r--r-- 1 root root   53 Jan 19 09:54 proxy_wildcards_ssl.conf
-rw-r--r-- 1 root root    7 Jan 19 09:54 ror.conf
-rw-r--r-- 1 root root 1539 Jan 19 09:54 ssl_base.conf
-rw-r--r-- 1 root root  857 Jan 19 09:54 stats_awstats.conf
-rw-r--r-- 1 root root  857 Jan 19 09:44 stats.conf
-rw-r--r-- 1 root root   32 Jan 19 09:54 stats_none.conf
-rw-r--r-- 1 root root  265 Jan 19 09:54 stats_webalizer.conf
-rw-r--r-- 1 root root 4286 Jan 19 09:44 switch_standard.conf
-rw-r--r-- 1 root root 4294 Jan 19 09:44 switch_wildcards.conf
[root@vps ~]$


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error nginx saat update kloxo-mr 7.0
« Reply #10 on: 2016-01-19, 08:29:20 »
Copy 'php-fpm_standard_ssl.conf' to 'switch_standard_ssl.conf' inside '/opt/configs/nginx/conf/globals'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #11 on: 2016-01-19, 08:39:33 »
Sip ... fixed...
matur sembah nuwun..

Offline ahmaddaniyal

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: error nginx saat update kloxo-mr 7.0
« Reply #12 on: 2016-01-19, 08:43:01 »
Tapi... sysinfonya tidak keluar apa-apa...

Code: [Select]
[root@vps globals]# sh /script/sysinfo 
*** Process Time: 00:00:00:00.053 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.068 seconds with 18 queries.

web stats analysis