MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: dfreddie on 2013-02-26, 23:09:53

Title: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-26, 23:09:53
I've started a topic in romanian section but seems there a few that could help.
I had for more than a year and a half a kloxo 6.1.12 working w/o no problems. Somehow a need to install owncloud that needs PHP > 5.3. I thought that's time to upgrade to kloxo-mr and I ran the upgrade scripts.
Finally ... after I upgraded manually to php54 and install mcrypt for it all webpages worked but I had no access to kloxo login page (my-ip:7778 returns blank page w/o no errors). I had disabled firewall ... nothing changed.
Last thing I've done was ti run once again "sh kloxo-installer.sh --type=master" and after reboot I still have no access to login page and more I screwed web pages with php and maybe mysql.

Can be something done to get it back?

Thanks a lot!
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:23:39
Have you run 'sh /script/cleanup; sh /script/restart' after update?
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 00:30:59
First thank you for quick replay.

I've managed to update to 6.5.x.x after I've used "kloxo-mr-dev" script.
Right now ... it's ... let's say ok :)
Why? ... 'cause all clients web pages are  redirected to Apache CentOS default Test page. The only page working is for the default domain.
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:35:47
Need also 'sh /script/fixweb; sh /script/restart-services'.

But, better you change php-branch and php-type on 'webserver config'
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:37:40
Because use php 5.2 and mod_php may have a problem.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 00:38:51
Ok ... but I'm using php54!
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:44:00
inform here 'sh /script/sysinfo'
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 00:46:31
A. Kloxo-MR: 6.5.0.c.2013022603

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.0.96-1
   2. PHP: php54-5.4.11-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-1.03-1.5.15

D. Php-type (for Httpd/proxy): mod_php_itk

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          5400       1009       4391          0        172        319
   -/+ buffers/cache:        517       4883
   Swap:         7391          0       7391
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:49:43
Don't use  mod_php_itk. Choose mod_php_ruid or php-fpm_event.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 00:50:54
I've tried with mod_php_itk and ruid2, fpm_event. Same thing.
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 00:52:42
After change better run again 'sh /script/fixweb; sh /script/restart-services'.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 00:56:57
Stopping php-fpm:                                          [FAILED]
Starting php-fpm:                                          [FAILED]
Quote from: "MRatWork"
After change better run again 'sh /script/fixweb; sh /script/restart-services'.
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 01:24:18
If you select php-type other than php-fpm_worker/_event, you don't need php-fpm. For this situation 'yum remove php*-fpm' and then 'sh /script/fixweb; sh /script/restart-services'. For sure, delete php-fpm service with 'rm -f /etc/rc.d/init.d/php-fpm'.

Otherwise, run 'yum install php54-fpm' and than 'sh /script/fixweb; sh /script/restart-services'.

Php54 from ius not the same behaviour with php53u/php. It's make sometime trouble with using php54.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 01:37:49
It seems that something is wrong ... maybe is me :P
I changed PHP to php53u in webserver config, fixweb and restart services ... but no improvment.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 01:48:50
If matters ... I can't uncheck "Enable Php 5.2 (use Lxphp) As Secondary Php".
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 02:40:59
I've switched from apache to nginix. From Apache Default Welcom page I've got "403 Forbidden".
Right now I've reverted back to apache. It shows same as before. :(
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 03:10:45
Inform here what's you mean 'Apache Default Welcom page'. Use image as attachment.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 03:23:31
[attachment=0:11zdy075]apache-test-page.jpg[/attachment:11zdy075]  

Offf ... I really don't know from where to start to resolve this.

I did some changes in kloxo admin page and now all pages are redirected to default domain web page ...
Title: Re: Hello to everyone .. and please help
Post by: MRatWork on 2013-02-27, 04:36:02
Look like something wrong with httpd.

Inform here for run 'sh /script/restart-services'.
Title: Re: Hello to everyone .. and please help
Post by: dfreddie on 2013-02-27, 05:03:18
I've gave up.
Right now I'm setting a fresh new CentOS 6.3 with kloxo-mr.
Title: Re: Hello to everyone .. and please help
Post by: opotoiki on 2013-02-28, 14:52:42
I thought it was a dns issue, which was not pointed on the domain directory but only pointed to ip, I have experienced this and problems can be solved by run sh /script/fixdns and sh /script/fixweb or you can check manually your dns setting.