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, 16:51:53

Author Topic: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error  (Read 5715 times)

0 Members and 1 Guest are viewing this topic.

Offline gian95

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Selamat malam sudara :)

Saya install kloxo MR 7 di VPS centos 6.8 64 bit, proses berjalan dengan lancar. namun ada beberapa error yang yang tidak bisa saya atasi sendiri.

1. ketika saya restart php-fpm error, dengan keterangan ssebagai berikut.
Code: [Select]
  - Process: restart
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: [25-Aug-2016 14:33:14] ERROR: Unable to globalize '/opt/configs/php-fpm/conf/php/*.conf' (ret=2) from /etc/php-fpm.conf at line 18.
[25-Aug-2016 14:33:14] ERROR: failed to load configuration file '/etc/php-fpm.conf'
[25-Aug-2016 14:33:14] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------
2. Halaman konfigurasi PHP error, gak bisa sett PHP-fpm Type dan time zone.

muncul notif di bagian footer, seperti di bawah.
Code: [Select]
Fatal error: Call to a member function getClass() on a non-object in /usr/local/lxlabs/kloxo/httpdocs/driver/pserver/phpinilib.php on line 360
ketika saya sett time zone dan php-fpm type "static" dan klik update malah muncul pesan "Fatal error: Call to undefined method stdClass::modify() in /usr/local/lxlabs/kloxo/httpdocs/lib/html/objectactionlib.php on line 526"

3. HTTPD error setelah saya sett DNS ke NSD.

 
Code: [Select]
- Process: restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

Lebih jelas lihat SS di bawah ini.
1. halaman php-configure http://i.imgur.com/6GNzQz2.png
2. notif error setelah klik update http://i.imgur.com/D51soEv.png

ini saya fresh install Kloxo-MR 7.0.0.b-2016082402 ,

Sudah beberapa kali saya melakukan installl ulang, namun hasil nya tetap sama, mohon bantuan nya :) terimakasih

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
The same problem here. I installed a fresh copy of CentOS 6.8 on a new dedicated server and installed Kloxo MR 7 after that. I'm reading the forum since this morning and I've tried everything I could find here but with no success. When I create a client and setup a new domain PHP is not working. I can upload a simple index.html and it would show, but index.php won't work.
Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016082402
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: host.*********.com
C. Services:
   1. MySQL: --uninstalled--
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php53m-5.3.29-1.ius.el6
      - Used: --PHP Branch--
error reading information on service phpm-fpm: No such file or directory
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-1.el6.x86_64
     - Nginx: nginx-1.11.3-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         15638       2039      13599          0         67       1469
   -/+ buffers/cache:        502      15136
   Swap:         8191          0       8191
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/md2       1008G  2.3G  955G   1% /


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

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Coba infokan 'dir -l /etc/yum.repos.d; php -m; lxphp.exe -m'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gian95

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Coba infokan 'dir -l /etc/yum.repos.d; php -m; lxphp.exe -m'.

ini pak
Code: [Select]
total 40
-rw-r--r--. 1 root root 1991 May 18 19:47 CentOS-Base.repo
-rw-r--r--. 1 root root  647 May 18 19:47 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  289 May 18 19:47 CentOS-fasttrack.repo
-rw-r--r--. 1 root root  630 May 18 19:47 CentOS-Media.repo
-rw-r--r--. 1 root root 6259 May 18 19:47 CentOS-Vault.repo
-rw-r--r--  1 root root  123 Aug 25 14:45 mod-pagespeed.repo
-rw-r--r--  1 root root 8621 Aug 25 14:22 mratwork.repo
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
imap
intl
ionCube Loader
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unco                          nfigured)

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
mysqlnd_ms
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
uploadprogress
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Saya baru saja lakukan fresh install dan saya tidak menemukan masalah.

Bisa jadi ada file yang corrupt pada Kloxo-MR. Coba lakukan 'yum downgrade kloxomr7; yum update kloxomr7; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gian95

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Saya baru saja lakukan fresh install dan saya tidak menemukan masalah.

Bisa jadi ada file yang corrupt pada Kloxo-MR. Coba lakukan 'yum downgrade kloxomr7; yum update kloxomr7; sh /script/cleanup'.

sudah tuan, hasil nya tetap sama :( , saya fresh install nya ikut tutorial install nya di sini https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt

oh ya saya pakai CentOS 6.8 64 bit, RAM 2GB server SG di digitalocean.

ada solusi lain ?
« Last Edit: 2016-08-26, 07:38:05 by gian95 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Coba lakukan 'yum reinstall kloxomr7; sh /script/upcp -y'. Ada masalah di server anda terkait php-fpm.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Hal yang sama untukku. Aku di server Hetzner didedikasikan. Diinstal CentOS 6.8 minimal melalui panel mereka dan mengikuti petunjuk pada link yang sama.
Ketika saya mengaktifkan beberapa PHP, ini adalah apa yang saya dapatkan ketika restart:

Code: [Select]
sh /script/restart-all

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

Stopping httpry:                                           [  OK  ]
Starting httpry:                                           [  OK  ]
-------------------------------------------------------------------

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

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

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]
-------------------------------------------------------------------

Stopping php52m-fpm (Multiple Php):                        [FAILED]
Stopping php53m-fpm (Multiple Php):                        [FAILED]
Stopping php54m-fpm (Multiple Php):                        [FAILED]
Stopping php55m-fpm (Multiple Php):                        [FAILED]
Stopping php56m-fpm (Multiple Php):                        [FAILED]
Stopping php70m-fpm (Multiple Php):                        [FAILED]

Starting php52m-fpm (Multiple Php): I/O warning : failed to load external entity "/opt/configs/php-fpm/conf/php52m/php-fpm.conf"
Aug 26 07:55:02.714879 [ERROR] fpm_conf_init_main(), line 522: failed to load configuration file: failed to parse conf file
                                                           [FAILED]
Starting php53m-fpm (Multiple Php): [26-Aug-2016 07:55:02] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php53m/php-fpm.conf': No such file or directory (2)
[26-Aug-2016 07:55:02] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php53m/php-fpm.conf'
[26-Aug-2016 07:55:02] ERROR: FPM initialization failed
                                                           [FAILED]
Starting php54m-fpm (Multiple Php): [26-Aug-2016 07:55:02] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php54m/php-fpm.conf': No such file or directory (2)
[26-Aug-2016 07:55:02] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php54m/php-fpm.conf'
[26-Aug-2016 07:55:02] ERROR: FPM initialization failed
                                                           [FAILED]
Starting php55m-fpm (Multiple Php): [26-Aug-2016 07:55:02] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php55m/php-fpm.conf': No such file or directory (2)
[26-Aug-2016 07:55:02] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php55m/php-fpm.conf'
[26-Aug-2016 07:55:02] ERROR: FPM initialization failed
                                                           [FAILED]
Starting php56m-fpm (Multiple Php): [26-Aug-2016 07:55:02] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php56m/php-fpm.conf': No such file or directory (2)
[26-Aug-2016 07:55:02] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php56m/php-fpm.conf'
[26-Aug-2016 07:55:02] ERROR: FPM initialization failed
                                                           [FAILED]
Starting php70m-fpm (Multiple Php): [26-Aug-2016 07:55:02] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php70m/php-fpm.conf': No such file or directory (2)
[26-Aug-2016 07:55:02] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php70m/php-fpm.conf'
[26-Aug-2016 07:55:02] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

*** 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 KLOXO service ***
  - Process: restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Inform here 'dir -l /opt/php*m/usr/sbin'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Code: [Select]
/opt/php*m/usr/sbin
/opt/php52m/usr/sbin:
total 3456
-rwxr-xr-x 1 root root 3535824 Jun  4  2014 php-fpm

/opt/php53m/usr/sbin:
total 4088
-rwxr-xr-x 1 root root 4183016 Aug 14  2014 php-fpm

/opt/php54m/usr/sbin:
total 4156
-rwxr-xr-x 1 root root 4255600 Sep  4  2015 php-fpm

/opt/php55m/usr/sbin:
total 3956
-rwxr-xr-x 1 root root 4048112 Jul 21 21:16 php-fpm

/opt/php56m/usr/sbin:
total 3956
-rwxr-xr-x 1 root root 4050320 Aug 16 17:29 php-fpm

/opt/php70m/usr/sbin:
total 3876
-rwxr-xr-x 1 root root 3966536 Jul 21 18:22 php-fpm



Offline gian95

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error
« Reply #10 on: 2016-08-26, 07:53:59 »
Coba lakukan 'yum reinstall kloxomr7; sh /script/upcp -y'. Ada masalah di server anda terkait php-fpm.

Sudah pak,, yang teratasi httpd sudah engga error, yang lain masih tetep masalah nya :(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error
« Reply #11 on: 2016-08-26, 07:59:13 »
Try 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error
« Reply #12 on: 2016-08-26, 08:07:14 »
Masih sama. Saya akan mencoba untuk menginstal ulang CentOS dan Kloxo lagi. Aku melakukannya 4 kali kemarin dan saya selalu memiliki hasil yang sama.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error
« Reply #13 on: 2016-08-26, 08:19:30 »
Masih sama. Saya akan mencoba untuk menginstal ulang CentOS dan Kloxo lagi. Aku melakukannya 4 kali kemarin dan saya selalu memiliki hasil yang sama.
Ada anda sudah 'add domain'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gian95

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: (HELP) Fresh install kloxoMR 7 php-fpm + PHP Configure error
« Reply #14 on: 2016-08-26, 08:22:12 »
Try 'sh /script/cleanup'.

hasil nya ttep tuan error...

oh ya, padahal saya install kloxoMr7 pada pertengahan agustus lalu (sekitar tgl 15-18)  saya tidak menemukan error seperti ini,, baru kmaren2 nya ane install lagi saya menemukan masalah ini...

kloxoMr di update tgl 24 lalu kah ?? mungkin ada masalah d update terbaru ini pak

 


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

Page created in 0.043 seconds with 18 queries.

web stats analysis