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. 2017-11-07, 23:14:48

Author Topic: Selalu httpd Syntax error  (Read 1948 times)

0 Members and 2 Guests are viewing this topic.

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Selalu httpd Syntax error
« on: 2015-06-30, 10:13:39 »
Dear masta,

Saya sudah berkali-kali install kloxo MR tapi kenapa selalu gagal akses web. Yang aneh, saya tidak pilih apache, hanya nginx atau hiawatha, tetapi hasilnya page Apache Test Page, padahal di VPS saya tidak pilih apache/httpd. Saya ganti webserver lain juga tetap sama.

Sebelumnya tidak pernah ada masalah.

Hasil dari restart service:
Quote
Process for HTTPD service ***
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

Sysinfo:
Quote
[root@server50 ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015062702
   - Web:
   - PHP: php54s-5.4.41-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: server50.xbackbone.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.41-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.29-2.mr.el6.i386
      - PHP Type: suphp
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --uninstalled--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.3-1.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           750        433        316         26         23        252
   -/+ buffers/cache:        157        593
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/sda1        20G  3.0G   16G  16% /

Mohon pencerahannya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Selalu httpd Syntax error
« Reply #1 on: 2015-06-30, 10:43:12 »
Info dari sysinfo terlihat apache yang terinstall sedangkan lainnya --uninstalled--.

Bisa jadi proses perpindahan dari apache ke yang lain gagal. Coba pilih dulu 'none' untuk 'web' pada 'switch program' kemudian periksa dengan 'sh /script/sysinfo' apakah 'httpd' juga --uninstalled--. Jika berhasil baru pilih yang lain.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Re: Selalu httpd Syntax error
« Reply #2 on: 2015-06-30, 11:05:33 »
ya ampun, ternyata sesederhana itu.

Makasih. Solved :). Kloxo MR memang TOP

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Re: Selalu httpd Syntax error
« Reply #3 on: 2015-07-24, 08:14:24 »
di VPS lain kasusnya sama, tapi saya tidak pernah berhasil mengaktifkan apache. padahal sudah di "none" berkali-kali.

Coba start via ssh, hasilnya:

Quote
[root@server1 ~]# service httpd start
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

Sysinfo
Quote
A. Kloxo-MR: 7.0.0.b-2015072103
   - Web: hiawatha-9.13.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.43-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: server1.ronotogaiqbal.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.43-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: suphp
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.3-1.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1514        439       1074         26         27        244
   -/+ buffers/cache:        168       1345
   Swap:         3071          0       3071
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        76G  2.1G   70G   3% /

Terima kasih atas pencerahannya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Selalu httpd Syntax error
« Reply #4 on: 2015-07-24, 09:47:16 »
Php type jangan pilih suphp, tapi suphp_worker atau suphp_event.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Re: Selalu httpd Syntax error
« Reply #5 on: 2015-07-27, 11:15:06 »
tetap failed. hasilnya seperti ini  :-[

Quote
[root@server1 ~]# service httpd start
Starting httpd: httpd.worker: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 8 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/libphp5-zts.so into server: /etc/httpd/modules/libphp5-zts.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Jika diganti type lain, misal ruid. Hasilnya
Quote
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/ruid2.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Selalu httpd Syntax error
« Reply #6 on: 2015-07-27, 12:21:01 »
Coba rename file php.conf ke php.nonconf di /etc/httpd/conf.d
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Re: Selalu httpd Syntax error
« Reply #7 on: 2015-07-27, 17:38:43 »
masih tetap. hanya apache yang tidak bisa. VPS sebelumnya juga mengalami masalah seperti ini.
saya pernah reinstall kloxo, juga tetap ga bisa.

Plz Help

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Selalu httpd Syntax error
« Reply #8 on: 2015-07-27, 17:53:16 »
Coba pilih 'none' pada 'web' di 'switch programs' dan kemudian pilih 'apache'.

Usahakan jangan pilih suphp tapi suphp_event atau suphp_worker pada 'webserver configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline redpages

  • Senior Member
  • *
  • Posts: 316
  • Karma: +0/-0
    • View Profile
Re: Selalu httpd Syntax error
« Reply #9 on: 2015-07-27, 23:06:57 »
saya sudah tidak pakai suphp lagi, baik event maupun workers. sebelumnya saya pakai suphp worker juga tetap ga bisa.

Quote
A. Kloxo-MR: 7.0.0.b-2015072602
   - Web: hiawatha-9.14.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.43-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: server1.ronotogaiqbal.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.43-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: mod_php_itk
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: djbdns-1.05-17.4.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Selalu httpd Syntax error
« Reply #10 on: 2015-07-28, 06:38:22 »
Suphp dan itk cenderung lambat. Coba pakai php-fpm_event saja.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.052 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM