MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Spacedust on 2014-04-10, 13:04:37

Title: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:04:37
I got this after update:

Quote
/etc/init.d/kloxo restart
chmod: cannot access `/usr/local/lxlabs/kloxo/init/php53s-cli.sh': No such file or directory
chmod: cannot access `/usr/local/lxlabs/kloxo/init/php53s-cgi.sh': No such file or directory
/etc/init.d/kloxo: line 72: lxphp.exe: command not found
Stopping kloxo-phpcgi:                                     [FAILED]
Starting kloxo-phpcgi: [10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/curl.so' - /usr/lib64/php/modules/curl.so: undefined symbol: php_output_write in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/dom.so' - /usr/lib64/php/modules/dom.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: enchant: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/fileinfo.so' - /usr/lib64/php/modules/fileinfo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: imap: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/intl.so' - /usr/lib64/php/modules/intl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' - /usr/lib64/php/modules/json.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mbstring.so' - /usr/lib64/php/modules/mbstring.so: undefined symbol: zend_multibyte_set_functions in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo.so' - /usr/lib64/php/modules/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - /usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: 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
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/phar.so' - /usr/lib64/php/modules/phar.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: posix: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: pspell: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: recode: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/snmp.so' - /usr/lib64/php/modules/snmp.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/soap.so' - /usr/lib64/php/modules/soap.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: sysvmsg: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: sysvsem: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: sysvshm: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/tidy.so' - /usr/lib64/php/modules/tidy.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: wddx: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so' - /usr/lib64/php/modules/xmlreader.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlwriter.so' - /usr/lib64/php/modules/xmlwriter.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zip.so' - /usr/lib64/php/modules/zip.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[10-Apr-2014 13:03:13] ERROR: failed to open configuration file '/usr/local/lxlabs/kloxo/init/php53s/php-fpm.conf': No such file or directory (2)
[10-Apr-2014 13:03:13] ERROR: failed to load configuration file '/usr/local/lxlabs/kloxo/init/php53s/php-fpm.conf'
[10-Apr-2014 13:03:13] ERROR: FPM initialization failed
                                                           [FAILED]
Stopping kloxo-hiawatha:                                   [FAILED]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha:                                   [  OK  ]
Title: Re: Unable to start Kloxo
Post by: MRatWork on 2014-04-10, 13:12:08
need running cleanup because change config file (relevance to multiple php). Better running 'sh /script/php53s-installer' again before cleanup
Title: Re: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:19:34
Ok - Kloxo seems to be starting from shell, no errors at all, but only port 7779 started.

Ports 7777 and 7778 doesn't work.

This does nothing :/

[root@onlinecity /]# /usr/local/lxlabs/kloxo/init/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
[root@onlinecity /]#

Title: Re: Unable to start Kloxo
Post by: MRatWork on 2014-04-10, 13:28:44
Inform here 'sh /script/restart'.
Title: Re: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:30:54
It shows something like this:

Kloxo-MR: error 503 found!
Title: Re: Unable to start Kloxo
Post by: MRatWork on 2014-04-10, 13:33:02
Look like php53s not exists or still with 'old' php53s.

Running 'sh /script/php53s-installer' in 2014041001 will be remove 'old' php53s and then install 'new' php53s. After that, run 'sh /script/fixlxphpexe php53s'.
Title: Re: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:36:09
Now it shows something like this:

File not found on:

https://domain.pl:7777/login/
Title: Re: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:37:14
It seems all php version are working fine:

[root@onlinecity /]# /etc/init.d/kloxo restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]

lxphp.exe -v
PHP 5.3.28 (cli) (built: Mar  5 2014 17:33:49)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

ps aux | grep kloxo
root     19794  0.1  0.0 387620 31524 pts/0    S    13:35   0:00 /opt/php53s/usr/bin/php -c /opt/php53s/custom/php53s.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php master
root     19800  0.0  0.0 365896  6924 ?        Ss   13:35   0:00 php-fpm: master process (/usr/local/lxlabs/kloxo/init/kloxo-php-fpm.conf)             
lxlabs   19922  0.0  0.0 319044  2384 ?        Ssl  13:35   0:00 /usr/local/lxlabs/kloxo/init/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
lxlabs   20462  0.0  0.0 463908  1704 ?        Ss   13:05   0:00 /usr/local/lxlabs/kloxo/init/kloxo-phpcgi
lxlabs   20477  0.0  0.0 463908   132 ?        S    13:05   0:00 /usr/local/lxlabs/kloxo/init/kloxo-phpcgi
lxlabs   20478  0.0  0.0 463908   132 ?        S    13:05   0:00 /usr/local/lxlabs/kloxo/init/kloxo-phpcgi
lxlabs   20479  0.0  0.0 463908   132 ?        S    13:05   0:00 /usr/local/lxlabs/kloxo/init/kloxo-phpcgi
lxlabs   20480  0.0  0.0 463908   132 ?        S    13:05   0:00 /usr/local/lxlabs/kloxo/init/kloxo-phpcgi
root     21196  0.0  0.0 103300   828 pts/0    S+   13:36   0:00 grep kloxo

but still:

File not found. :/
Title: Re: Unable to start Kloxo
Post by: Spacedust on 2014-04-10, 13:43:52
I got it - the login page was missing ;)
Title: Re: Unable to start Kloxo
Post by: MRatWork on 2014-04-10, 13:51:15
What's you mean 'file not found'?.

If your all php (standard, php53s and phpXYm) already have latest configure, no reason to appear error.

Running cleanup (not cleanup-simple or cleanup-norestart) also phpXYz-installer (change XY to 52-55 and z to s or m) will be fixed all issue. Yes, except if you have wrong config file (let say, in /etc/php-fpm.d/ exists 'alien' file) or still using 'old' custom file(s).
Title: Re: Unable to start Kloxo
Post by: MRatWork on 2014-04-10, 13:52:45
For missing login page, try 'sh /script/fixskeleton'.