MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: WISTFUL on 2013-02-17, 20:34:46

Title: Webserver Configuration Issue
Post by: WISTFUL on 2013-02-17, 20:34:46
Hello everyone!

I have CentOS 6.3 (64 bit) on KVM VPS
I'm using kloxo-mr 6.5.0.c.2013021701 by nginx-proxy + bind

I've configured my webserver as follows:
Php Branch : php54_(as_5.4.11)
Php Type : php-fpm_event
Enable Php 5.2 (use Lxphp) As Secondary Php
Apache Memory Optimize : default
Mysql Convert : to-myisam

As you can see in the attached picture, iptables and php-fpm are stopped:
(before Adding kloxo main domain, php-fpm was started)
[attachment=0:37gpemqj]Untitled-4.png[/attachment:37gpemqj]
I try follow on ssh:
Code: [Select]
# service iptables restart
# service php-fpm restart
Stopping php-fpm: [FAILED]
Starting php-fpm: [FAILED]
Title: Re: Webserver Configuration Issue
Post by: MRatWork on 2013-02-17, 20:39:11
Try back to php (on Centos 6 mean 5.3 version) and then switch again to php54. I found this issue but it's not Kloxo-MR fault but ius repo itself.

Remember, only php-fpm_worker/_event need php-fpm. Mod_php, suphp and fgcid doesn't need it.
Title: Re: Webserver Configuration Issue
Post by: WISTFUL on 2013-02-17, 21:46:42
I try back to php 5.3 by selecting "php_(as_5.3.21)" as Php Branch from Webserver Config.
Now when I try to switch again to php54 nothing will happen and php_(as_5.3.21) is still active.

If my actions is wrong, pls tell me other instruction for it.

Thanks
Title: Re: Webserver Configuration Issue
Post by: MRatWork on 2013-02-17, 21:49:17
Try running 'yum update' from ssh. Usually it's because fail in yum process (conflict and or missing depencencies)
Title: Re: Webserver Configuration Issue
Post by: WISTFUL on 2013-02-17, 22:17:18
# yum update
Code: [Select]
Installed:
  kloxomr-addon-extjs.noarch 0:1.1-4.mr                kloxomr-addon-fckeditor.noarch 0:2.6.8-3.mr              kloxomr-addon-yui-dragdrop.noarch 0:2.9.0-3.mr
  kloxomr-thirdparty-phpmyadmin.noarch 0:3.5.7-1.mr    kloxomr-thirdparty-sshterm-applet.noarch 0:0.2.2-3.mr    kloxomr-webmail-afterlogic.noarch 0:6.5.1-3.mr
  kloxomr-webmail-horde.noarch 0:1.2.11-9.mr           kloxomr-webmail-horde-dimp.noarch 0:1.2.11-9.mr          kloxomr-webmail-horde-imp.noarch 0:1.2.11-9.mr
  kloxomr-webmail-horde-ingo.noarch 0:1.2.11-9.mr      kloxomr-webmail-horde-kronolith.noarch 0:1.2.11-9.mr     kloxomr-webmail-horde-mimp.noarch 0:1.2.11-9.mr
  kloxomr-webmail-horde-mnemo.noarch 0:1.2.11-9.mr     kloxomr-webmail-horde-nag.noarch 0:1.2.11-9.mr           kloxomr-webmail-horde-pear.noarch 0:1.2.11-9.mr
  kloxomr-webmail-horde-turba.noarch 0:1.2.11-9.mr     kloxomr-webmail-roundcube.noarch 0:0.8.5-1.mr            kloxomr-webmail-squirrelmail.noarch 0:1.4.22-3.mr
  kloxomr-webmail-t-dah.noarch 0:3.2.0.2.3-3.mr

Updated:
  apr.x86_64 0:1.4.6-1.mr.el6 apr-util.x86_64 0:1.4.1-1.mr.el6 apr-util-ldap.x86_64 0:1.4.1-1.mr.el6 libssh2.x86_64 0:1.4.1-2.el6 pure-ftpd.x86_64 0:1.0.36-4.mr.el6

Replaced:
  kloxo-afterlogic.noarch 0:6.5.1-3.mr     kloxo-extjs.noarch 0:1.1-4.mr          kloxo-fckeditor.noarch 0:2.6.8-3.mr    kloxo-horde.noarch 0:1.2.11-9.mr
  kloxo-horde-dimp.noarch 0:1.2.11-9.mr    kloxo-horde-imp.noarch 0:1.2.11-9.mr   kloxo-horde-ingo.noarch 0:1.2.11-9.mr  kloxo-horde-kronolith.noarch 0:1.2.11-9.mr
  kloxo-horde-mimp.noarch 0:1.2.11-9.mr    kloxo-horde-mnemo.noarch 0:1.2.11-9.mr kloxo-horde-nag.noarch 0:1.2.11-9.mr   kloxo-horde-pear.noarch 0:1.2.11-9.mr
  kloxo-horde-turba.noarch 0:1.2.11-9.mr   kloxo-phpMyAdmin.noarch 0:3.5.6-1.mr   kloxo-roundcube.noarch 0:0.8.4-4.mr    kloxo-squirrelmail.noarch 0:1.4.22-3.mr
  kloxo-sshterm-applet.noarch 0:0.2.2-3.mr kloxo-t-dah.noarch 0:3.2.0.2.3-3.mr    kloxo-yui-dragdrop.noarch 0:2.9.0-3.mr

Complete!
# php -v
Code: [Select]
PHP 5.3.21 (cli) (built: Jan 20 2013 10:14:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
php version still is 5.3.21!
Title: Re: Webserver Configuration Issue
Post by: MRatWork on 2013-02-17, 22:21:58
Try 'sh /script/php-branch --select=php54' and if still not work, try 'yum replace php --replace-with=php54'
Title: Re: Webserver Configuration Issue
Post by: WISTFUL on 2013-02-17, 23:19:21
Pls follow this issue from: viewtopic.php?f=5&t=1300#p2990 (http://forum.mratwork.com/viewtopic.php?f=5&t=1300#p2990)
Title: Re: Webserver Configuration Issue
Post by: WISTFUL on 2013-02-18, 22:18:20
Quote from: "MRatWork"
Already fix now. The problem is latest version of apr. Downgrade with 'yum downgrade apr*' make httpd running well.

I will remove new apr from kloxo-mr repo. It's possible new apr only for incoming httpd 2.4 (not ready for Kloxo-MR) and current httpd is 2.2.23.

Very Thanks mostafa...
Why iptables still stopped?
Title: Re: Webserver Configuration Issue
Post by: MRatWork on 2013-02-18, 22:34:56
Quote from: "WISTFUL"
Quote from: "MRatWork"
Already fix now. The problem is latest version of apr. Downgrade with 'yum downgrade apr*' make httpd running well.

I will remove new apr from kloxo-mr repo. It's possible new apr only for incoming httpd 2.4 (not ready for Kloxo-MR) and current httpd is 2.2.23.

Very Thanks mostafa...
Why iptables still stopped?
Because no /etc/sysconfig/iptables and ip6tables. You are lucky because if exist possible you can't access your server except via ssh with port 22.