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, 18:36:51

Author Topic: index.html tidak bisa diakses  (Read 4942 times)

0 Members and 1 Guest are viewing this topic.

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
index.html tidak bisa diakses
« on: 2016-05-15, 03:54:05 »
Sebelum maaf,,.. sy mau nanya para mastah2..
Sy baru pake kloxo,. dgn webserver nginx,..

Code: [Select]
[root@server ~]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016051401
   - Web: hiawatha-10.2.0-f.6.mr.el6.i686
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: server.dika.my.id
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.i686
   2. PHP:
      - Branch: php70w-cli-7.0.6-1.w6.i386
      - Multiple:
        * php70m-7.0.6-1.w6
      - Used: php70m
   3. Web Used: nginx
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.10.0-1.el6.ngx.i386
     - Httpd: --uninstalled--
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.i386
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1006        307        698          0         20        131
   -/+ buffers/cache:        156        849
   Swap:          511          0        511
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/sda1        30G  3.4G   25G  13% /


saya sdh upload file html di direktory web,.
cuma ketika diakses domain tsb, klo malah munculnya:
Code: [Select]
Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

Kira2 salah dimana yah ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #1 on: 2016-05-15, 04:19:55 »
Coba jalankan 'sh /script/fix-chownchmod'. Juga, jalankan lagi 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #2 on: 2016-05-15, 04:51:11 »
Sdh sy jalakan mas mustafa,..

muncul error di nginx nya,..

Code: [Select]
*** Restart services - BEGIN ***

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

Stopping php70m-fpm:                                       [  OK  ]
Starting php70m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

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:61
nginx: configuration file /etc/nginx/nginx.conf test failed
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
*** Restart services - END ***


gmn ya cara benerinnya mas?
mungkin itu kali y mas, penyebab index.html nya gak kebaca y?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #3 on: 2016-05-15, 05:58:45 »
Coba ubah ke 'apache' dan kemudian kembalikan ke 'nginx' untuk 'web' di 'switch programs'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #4 on: 2016-05-15, 06:22:51 »
Coba ubah ke 'apache' dan kemudian kembalikan ke 'nginx' untuk 'web' di 'switch programs'.

sdh dicoba mas,.. kemudian saya restart service,..

Code: [Select]
[root@server ~]# sh /script/restart-services

*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
No message for restart
-------------------------------------------------------------------

*** Process for BIND service ***
  - Process: restart
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

*** Process for NGINX service ***
  - Process: restart
Stopping nginx:                                            [FAILED]
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:61
                                                           [FAILED]
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php70m-fpm:                                       [  OK  ]
Starting php70m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

msh error di nginx nya mas...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #5 on: 2016-05-15, 07:33:04 »
Infokan 'dir -l /opt/configs/nginx/conf/globals'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #6 on: 2016-05-15, 07:45:34 »
Infokan 'dir -l /opt/configs/nginx/conf/globals'.

ini mas:

Code: [Select]
[root@server ~]# dir -l /opt/configs/nginx/conf/globals
total 152
-rw-r--r-- 1 root root  102 May 15 12:44 acme-challenge.conf
-rw-r--r-- 1 root root  347 May 15 12:44 dirprotect_awstats.conf
-rw-r--r-- 1 root root   37 May 15 12:44 dirprotect_none.conf
-rw-r--r-- 1 root root  208 May 15 12:44 dirprotect_standard.conf
-rw-r--r-- 1 root root  347 May 15 12:44 dirprotect_stats.conf
-rw-r--r-- 1 root root  347 May 15 12:44 dirprotect_webalizer.conf
-rw-r--r-- 1 root root 1539 May 15 12:44 generic.conf
-rw-r--r-- 1 root root  393 May 15 12:44 gzip.conf
-rw-r--r-- 1 root root  252 May 15 12:44 header_base.conf
-rw-r--r-- 1 root root   27 May 15 12:44 listen_nonssl.conf
-rw-r--r-- 1 root root   31 May 15 12:44 listen_nonssl_back.conf
-rw-r--r-- 1 root root   61 May 15 12:44 listen_nonssl_back_default.conf
-rw-r--r-- 1 root root   57 May 15 12:44 listen_nonssl_default.conf
-rw-r--r-- 1 root root   27 May 15 12:44 listen_nonssl_front.conf
-rw-r--r-- 1 root root   57 May 15 12:44 listen_nonssl_front_default.conf
-rw-r--r-- 1 root root   29 May 15 12:44 listen_ssl.conf
-rw-r--r-- 1 root root   31 May 15 12:44 listen_ssl_back.conf
-rw-r--r-- 1 root root   61 May 15 12:44 listen_ssl_back_default.conf
-rw-r--r-- 1 root root   59 May 15 12:44 listen_ssl_default.conf
-rw-r--r-- 1 root root   29 May 15 12:44 listen_ssl_front.conf
-rw-r--r-- 1 root root   59 May 15 12:44 listen_ssl_front_default.conf
-rw-r--r-- 1 root root  412 May 15 12:44 pagespeed.conf
-rw-r--r-- 1 root root 3775 May 15 12:44 php-fpm_standard.conf
-rw-r--r-- 1 root root 3775 May 15 12:44 php-fpm_standard_ssl.conf
-rw-r--r-- 1 root root 3785 May 15 12:44 php-fpm_wildcards.conf
-rw-r--r-- 1 root root 3785 May 15 12:44 php-fpm_wildcards_ssl.conf
-rw-r--r-- 1 root root 2608 May 15 12:44 proxy_standard.conf
-rw-r--r-- 1 root root 2608 May 15 12:44 proxy_standard_ssl.conf
-rw-r--r-- 1 root root 2608 May 15 12:44 proxy_wildcards.conf
-rw-r--r-- 1 root root 2608 May 15 12:44 proxy_wildcards_ssl.conf
-rw-r--r-- 1 root root    7 May 15 12:44 ror.conf
-rw-r--r-- 1 root root 1539 May 15 12:44 ssl_base.conf
-rw-r--r-- 1 root root  857 May 15 12:44 stats.conf
-rw-r--r-- 1 root root  857 May 15 12:44 stats_awstats.conf
-rw-r--r-- 1 root root   32 May 15 12:44 stats_none.conf
-rw-r--r-- 1 root root  265 May 15 12:44 stats_webalizer.conf
-rw-r--r-- 1 root root 3775 May 15 12:44 switch_standard.conf
-rw-r--r-- 1 root root 3785 May 15 12:44 switch_wildcards.conf


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #7 on: 2016-05-15, 08:22:43 »
Apa sudah jalankan 'sh /script/fixweb; sh /script/restart-web -y'?.

Jika gagal, coba jalankan 'cd /opt/configs/nginx/conf/globals; cp -f php-fpm_standard_ssl.conf switch_standard_ssl.conf; cp -f php-fpm_wildcards_ssl.conf switch_wildcards_ssl.conf; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #8 on: 2016-05-15, 09:26:04 »
Apa sudah jalankan 'sh /script/fixweb; sh /script/restart-web -y'?.

Jika gagal, coba jalankan 'cd /opt/configs/nginx/conf/globals; cp -f php-fpm_standard_ssl.conf switch_standard_ssl.conf; cp -f php-fpm_wildcards_ssl.conf switch_wildcards_ssl.conf; sh /script/restart-web -y'.

Thanx mas,... tdi sdh saya coba2 terus utk gonta-ganti web pada swtich program,.. ternyata setelah saya amati,.. klo pilih nginx, service nya gak lgsg hijau tapi merah,..
Lalu saya coba restart vps nya dlu,.. baru pindah web ke nginx lalu restart lgi,..
Baru saya cek service nginx nya, nah dia baru hijau,..
(close mas utk mslah ini)

Oiya mas, ini ada bbrp pertanyaan,.. msh penasaran sm kloxomr,..

Utk microcache apkh dia sdh aktif? ato perlu diktifin manual... Lalu cara setting gmn y mas,..?
saya paka nginx sm php 7( sekalian cara utk aktifin xcache gmn y)?

Satu lgi mas,.. ini ko vps saya bila pake speedy dia gak mau konek pake putty y?
Baru mau konek pake putty ketika , wifinya saya tethering ke hp( pake kuota provider)

Apa ada yg salah dgn vps (server singapura) nya y mas?

Trm ksh mas mustafa sebelumnya,..

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #9 on: 2016-05-15, 09:33:13 »
microcache sudah diaktifkan.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #10 on: 2016-05-15, 09:35:01 »
microcache sudah diaktifkan.

Microcache perlu disetting gk mas?
Klo utk xcache pada php 7 cara aktifin gmn ya?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #11 on: 2016-05-15, 10:06:15 »
Microcache tidak perlu disetting lagi.

Soal php cache, pilih 'php70m' pada 'php used' di 'webserver configure'. Xcache tidak ada di php 7.0. Sebaiknya gunakan apc/apcu dan memcached dengan cara me-rename apcu.nonini ke apcu_used.ini dan memcached.nonini ke memcached_used.ini di /opt/php70m/etc/php.d. Kemudian restart web dengan 'sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline andixa90

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: index.html tidak bisa diakses
« Reply #12 on: 2016-05-15, 10:54:41 »
Microcache tidak perlu disetting lagi.

Soal php cache, pilih 'php70m' pada 'php used' di 'webserver configure'. Xcache tidak ada di php 7.0. Sebaiknya gunakan apc/apcu dan memcached dengan cara me-rename apcu.nonini ke apcu_used.ini dan memcached.nonini ke memcached_used.ini di /opt/php70m/etc/php.d. Kemudian restart web dengan 'sh /script/restart-web -y'.

utk yg apcu.nonini sdh sy rename mas,..
cm utk yg memcached.nonini saya cari file nya ko gak ada y mas?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: index.html tidak bisa diakses
« Reply #13 on: 2016-05-15, 11:05:37 »
Wah lupa. Memang memcached belum ada di php 7.0.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.041 seconds with 22 queries.

web stats analysis