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, 19:19:22

Author Topic: Lots of errors while starting Kloxo  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Lots of errors while starting Kloxo
« on: 2016-04-29, 15:26:12 »
What's wrong ? Latest upload.

Quote
/etc/init.d/kloxo restart
PHP Warning:  PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: curl: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: dom: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: geoip: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: imap: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: intl: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: json: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: mysqlnd: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_ms.so' - /usr/lib64/php/modules/mysqlnd_ms.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysql.so' - /usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysqli.so' - /usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysqlnd.so' - /usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_sqlite.so' - /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning:  PHP Startup: Phar: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: posix: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: pspell: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: recode: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: snmp: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/soap.so' - /usr/lib64/php/modules/soap.so: undefined symbol: zend_unmangle_property_name_ex in Unknown on line 0
PHP Warning:  PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: sysvmsg: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: sysvsem: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: sysvshm: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: tidy: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/wddx.so' - /usr/lib64/php/modules/wddx.so: undefined symbol: zend_unmangle_property_name_ex in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so' - /usr/lib64/php/modules/xmlreader.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: xmlwriter: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: zip: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Fatal error:  Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]

« Last Edit: 2016-04-29, 15:45:34 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #1 on: 2016-04-29, 16:53:50 »
Why it looks inside /etc ?

Configuration File (php.ini) Path    /etc
Loaded Configuration File    /opt/php54s/custom/php.ini

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #2 on: 2016-04-29, 17:13:55 »
What's wrong with your server?. I haven't found this this issue in fresh install or update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #3 on: 2016-04-29, 17:15:20 »
What's wrong with your server?. I haven't found this this issue in fresh install or update.

Main php (php 5.6 from remi this time) was conflicting with php54s as always so I've changed it from /opt/php54s to /etc and it worked perfectly and then it happened ;(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #4 on: 2016-04-29, 17:16:47 »
I don't recommended using php from other source!. So, fix by yourself if you use php from repo other then ius and webtatic.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #5 on: 2016-04-29, 17:19:43 »
I don't recommended using php from other source!. So, fix by yourself if you use php from repo other then ius and webtatic.

I use it for a long time and it was always working properly. However my other server works fine.

It seems php54s is doing export which affects the whole system.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #6 on: 2016-04-29, 19:07:57 »
I don't recommended using php from other source!. So, fix by yourself if you use php from repo other then ius and webtatic.

I use it for a long time and it was always working properly. However my other server works fine.

It seems php54s is doing export which affects the whole system.
Every 'multiple php' using 'export'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #7 on: 2016-04-29, 20:27:35 »
Only this one causes problems. All others works well. It seems each Kloxo restart is causing this.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #8 on: 2016-05-02, 10:54:08 »
How to fix lxphp ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #9 on: 2016-05-03, 19:15:54 »
Again, don't use remi repo.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #10 on: 2016-05-03, 19:31:29 »
Again, don't use remi repo.

I've fixed it:

Quote
#!/bin/sh

php_rc='/opt/php54s/etc/php.ini'
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/sbin/php-fpm'

#export PHPRC=$php_rc
export PHP_INI_SCAN_DIR=$php_scan

exec /opt/php54s/usr/sbin/php-fpm -c /opt/php54s/etc/php.ini $*

Then you can use any repo as main PHP.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #11 on: 2016-05-03, 20:56:04 »
What's going on?.

Content of /opt/php54s/custom/php-fpm.sh is:
Code: [Select]
#!/bin/sh

php_rc='/opt/php54s/custom/php.ini'
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/sbin/php-fpm'

#export PHPRC=$php_rc
export PHP_INI_SCAN_DIR=$php_scan

exec $php_prog -c $php_rc $*
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #12 on: 2016-05-03, 21:19:39 »
export PHPRC=$php_rc must be disabled in all files that's why I've rewritten it so it will be always permanent instead of export.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Lots of errors while starting Kloxo
« Reply #13 on: 2016-05-03, 23:53:50 »
export PHPRC=$php_rc must be disabled in all files that's why I've rewritten it so it will be always permanent instead of export.
Did you compare your code with my code?. Is it differrent?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Lots of errors while starting Kloxo
« Reply #14 on: 2016-05-04, 11:20:58 »
It could be like this:

Quote
#!/bin/sh

php_scan='/opt/php54s/etc/php.d'

export PHP_INI_SCAN_DIR=$php_scan

exec /opt/php54s/usr/sbin/php-fpm -c /opt/php54s/etc/php.ini $*

Similar for php-cgi.sh, php-cli.sh and php-ls.sh.

I'm only curious about that one in php-fpm.conf:

Quote
include=/etc/php-fpm.d/*.conf

Shouldn't this be:

Quote
include=/opt/php54s/etc/php-fpm.d/*.conf ?

 


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

Page created in 0.041 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM