MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: fossxplorer on 2016-02-21, 11:51:48

Title: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 11:51:48
Hi,
just did a yum clean && yum update with kloxo cleanup, but now i can't even access http:///cp.mysite.com:7777, it's getting redirected to http://mysite.com:7777.
Mustafa, any help appreciated.
[root@mail ~]# /etc/init.d/kloxo restart
[root@mail ~]# /etc/init.d/kloxo status
kloxo-phpcgi dead but subsys locked
kloxo-hiawatha (pid  18755) is running...



kloxo-phpcgi seems dead


Title: Re: Upgraded and Kloxo + sites down!
Post by: MRatWork on 2016-02-21, 11:56:08
Try reboot.
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 11:59:45
Ok, reboot in progress. Hope to get the services up & running after that :)

Try reboot.
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 12:05:53
Still same issue. PM sent :)
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 12:20:33
Now i get an error too:
[root@mail tpl]# /etc/init.d/kloxo status
/etc/init.d/kloxo: line 69: lxphp.exe: command not found
kloxo-phpcgi dead but subsys locked
kloxo-hiawatha (pid  4651) is running...
[root@mail tpl]#
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 12:26:33
Running 'sh /script/cleanup again now to see if it helps...
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 12:35:56
[root@homemachine ~]#curl --insecure  -L https://cp.mysite.com:7777
<script> location.replace('https://mysite.com:7777/'); </script>
      <script>
         top.location = "/login/";
      </script>



Why do you have the location.replace in the index.php of Kloxo? Where can i change that?

Title: Re: Upgraded and Kloxo + sites down!
Post by: MRatWork on 2016-02-21, 12:48:37
If access to cp.domain.com and webmail.domain.com will be redirect to domain.com for panel access.
Title: Re: Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-21, 12:54:36
Hmm ok.
I fixed it by removing the echo location... in the last if of redirect.php
Title: Re: [SOLVED] Upgraded and Kloxo + sites down!
Post by: fossxplorer on 2016-02-22, 15:28:02
Mustafa, what is the proper fix for this?

Any attempt to access cp.anydomain.com:7777 on the server redirects to anydomain.com:7777 without the manual fixi did.


 
Title: Re: Upgraded and Kloxo + sites down!
Post by: MRatWork on 2016-02-22, 15:44:19
Mustafa, what is the proper fix for this?

Any attempt to access cp.anydomain.com:7777 on the server redirects to anydomain.com:7777 without the manual fixi did.


 
No fix because it's 'normal' behaviour for latest update. Only possible is modified use 'customize rule' for inc.php inside login directory.