Hello,
i faced some "minor error" during install KloxoMR 7
CentOS release 6.8 (Final)
Linux vps.centos6.tld 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 i686 i686 i386 GNU/Linux
Installed:
kloxomr7.noarch 0:7.0.0.c-2017031002.mr
This is 512MB RAM VPS and there was memory related error after installation:
Stopping kloxo-phpcgi: /etc/rc.d/init.d/functions: fork: Cannot allocate memory
[ OK ]
Starting kloxo-phpcgi ('php56s' in 'fpm' mode): /opt/php56s/usr/sbin/php-fpm: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Cannot allocate memory
[FAILED]
but this one got fixed by adding more ram (768MB). THis was issue with my server, Kloxo need much less memory.
Other "errors" that appeared during install:
cp: cannot stat `/opt/configs/php-fpm/conf/php/php-fpm.d/default.conf': No such file or directory
- Enable for all php-fpm (branch and multiple phps)
-- Enable for php56s-fpm
=== END 'php56s' install ===
Packages skipped because of dependency problems:
httpd-2.2.31-1.mr.el6.i386 from mratwork-release-version-arch
httpd-tools-2.2.31-1.mr.el6.i386 from mratwork-release-version-arch
php56u-5.6.30-1.ius.centos6.i686 from mratwork-ius-stable
Stopping php-fpm (PHP Used): [FAILED]
Starting php-fpm (PHP Used): [16-Mar-2017 05:42:42] ERROR: No pool defined. at least one pool section must be specified in config file
[16-Mar-2017 05:42:42] ERROR: failed to post process the configuration
[16-Mar-2017 05:42:42] ERROR: FPM initialization failed
[FAILED]
dir -l /opt/configs/php-fpm/conf/php
total 4
-rw-r--r-- 1 root root 0 Mar 12 14:06 php-fpm.conf
drwxr-xr-x 2 root root 4096 Mar 12 14:01 php-fpm.d
files in that directory was all empty.
sh /script/fixphp
Fixing php.ini/php-fpm.conf/php.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php.fcgi' at 'localhost'
sh /script/restart-php-fpm -y
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
Why the php-fpm not worked right away and can this be prevent in future or it is rare case?