MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: bluearrow on 2015-10-17, 15:54:39

Title: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-17, 15:54:39
I installed 6.5 and then upgraded to 7 before adding sites or anything. Here's what I did,

01. Set DNS and then updated NS2 with my second ip.
02. created a client and then added nameserver domain.

DNS seems all fine,

http://leafdns.com/index.cgi?testid=BF92E011

(http://s2.postimg.org/mzo1w9x09/DNS.jpg)

Services
(http://s21.postimg.org/4gchqxh3r/services.jpg)

buyprint.info pings without any loss too. But the site simply doesn't load.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-17, 17:38:02
Inform here 'sh /script/restart-all -y'.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-17, 18:00:09
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

/script/restart.inc: /etc/init.d/httpd: /bin/bash^M: bad interpreter: No such file or directory
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-17, 18:21:58
There are something wrong with httpd and try 'yum reinstall httpd* -y; sh /script/restart-web -y'.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-17, 19:46:52
Now it shows all working. But the problem is I have uploaded 2 Wordpress blogs and both shows just white space in browser. One is a new blog and other one is old one which was working.

You can see my test site at buyprint.info


Code: [Select]
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 02:26:45
Try 'sh /script/fix-chownchmod' from ssh or panel (in 'webserver configure').
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 04:56:05
That didn't work. Still it's all white. :(

I think this must be something to do with php.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 05:08:31
Try install all 'multiple php' in 'webserver configure'. If all installed, then select 'php54m' in 'php used'.

If still not work, maybe application need specific module in php where not installed.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 05:54:37
Did as you say and rebooted but still same.

It's just Wordpress a clean install only have ftped files. What could be the problem ?

Wordpress doesn't work in Kloxo-MR v7 ?
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 07:06:59
Most issue for wordpress under Kloxo-MR is permissions/ownership of files/directories. Run fix-chownchmod usually fixed this issue.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 07:15:08
Hmm I'm getting a command not found..
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 07:31:14
Need running 'sh /script/fix-chownchmod'
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 07:39:21
ah yes that I tried before. I will try to install 6.5 again and see how it works. :(
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 09:28:11
Before installing 6.5 I gave another try at 7 by using this servermom tutorial.

When I try 'sh /script/restart-all -y  now  I get  this

Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 90 of /etc/httpd/conf.d/~lxcenter.conf: Syntax error on line 374 of /opt/configs/apache/conf/domains/buyprint.info.conf: Could not open configuration file /home/kloxo/client/buyprint/prefork.inc: No such file or directory
                                                           [FAILED]

tried yum reinstall httpd* -y too but same result. Services show green light for Apache. I even restarted it from there.


btw in that tutorial php type which used is suphp.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 09:49:41
Try 'php-fpm_event' instead other php-types.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 10:15:48
Yes when it changed to php-fpm_event I got Kloxo default page. But the moment I uploaded Wordpress script it went all white.

I ran sh /script/fix-chownchmod too but no change.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 11:42:42
Make your wordpress plugins specifications. Something they need certain modules where not installed/activated by defaults.

By comparison, http://mratwork.com (single website) and http://riginta.com (multiple website) also using wordpress. No issues found.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 11:46:37
Try access to http://webmail.buyprint.info or http://cp.buyprint.info. They also using php.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 12:07:04
There are no plugins it's just the Wordpress script even before connecting to DB. I have turned Debug mode in Wordpress and it shows a Error 500 - Internal Server Error. All other php pages shows

If you are seeing this page, it means that web has not been configured for this domain on this server.

msg
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 12:10:23
Give me an access to your ssh and KLoxo-MR panel. I want to know what's happen.

Send to PM.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 12:24:02
Login details sent. Plz check. Thanks.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 12:40:14
Didn't receive PM (personal message).
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 12:51:20
I have sent it again. Plz check.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 13:02:37
Your website already ok but need adjustment mysql password.
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 13:34:54
Yeah now it's working both Wordpress and also php pages. Did you change anything ? I like to keep the steps recorded since its not the first time happened it.

Now that I have got Wordpress working I noticed the next problem. Looks like mail doesn't work either. None of the welcome mails for client accounts I created haven't received and also mail from Wordpress contact page hasn't received.
Title: Re: Kloxo MR v7 installed but not working
Post by: MRatWork on 2015-10-18, 13:37:09
Find out what's different things in 'webserver configure', 'switch programs' and 'php configure' (in admin, 'client' and server).
Title: Re: Kloxo MR v7 installed but not working
Post by: bluearrow on 2015-10-18, 14:19:02
Yes I noticed you have changed few php options and also changed the DNS server.

But not sure what i can do about mail problem.