MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2014-04-15, 15:56:06

Title: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-15, 15:56:06
While it should ... :/

Kloxo-MR 6.5.1.b-2014041501 + php52s
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-15, 17:24:18
I think 6.5.1.b will have a trouble with 'old' php52s (before update).

I am not sure 6.5.1.b will running well under php52s because 6.5.1.b code tend to refer to php 5.3.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-15, 18:05:54
I think 6.5.1.b will have a trouble with 'old' php52s (before update).

I am not sure 6.5.1.b will running well under php52s because 6.5.1.b code tend to refer to php 5.3.

I've switched to php52s because php53s cause these errors when removing domain under customer.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-15, 18:11:00
I think 2014041504 already fix this issue.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-15, 20:48:31
I think 2014041504 already fix this issue.

No - it's not fixed:

Quote
[root@online lang]# /script/fixweb --client=admin3
- For help, type '/script/fixweb --help'

Fixing Web server config
[root@online lang]# lxphp.exe -v
PHP 5.3.28 (cli) (built: Mar  5 2014 17:33:49)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-15, 21:11:00
Fixweb must running in master but 'sh /script/fixweb --server=<slave>'.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-15, 23:39:56
Fixweb must running in master but 'sh /script/fixweb --server=<slave>'.

I know:

Quote
[root@online ~]# sh /script/fixweb --server=backup.onlinexxx.pl

- For help, type '/script/fixweb --help'

Fixing Web server config
[root@online ~]#
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-16, 03:22:53
See log or enable debug to know what's happens.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-16, 10:52:30
See log or enable debug to know what's happens.

Which file exactly ?
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-16, 11:00:36
Create /usr/local/lxlabs/kloxo/httpdocs/commands.php with content '2' (without quote).
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-17, 13:39:08
Create /usr/local/lxlabs/kloxo/httpdocs/commands.php with content '2' (without quote).

Added and still no logs ;/ Slave is also using php53s.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-17, 13:46:56
Inform here 'lxphp.exe -m' from slave.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-17, 16:13:34
Inform here 'lxphp.exe -m' from slave.

Here you are:

Quote
[root@backup ~]# lxphp.exe -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
ldap
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-17, 16:22:46
What's about if fixdns. Also the same?.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-18, 16:23:14
What's about if fixdns. Also the same?.

Yes the same. I use slave as second/third DNS server...
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-18, 18:29:01
Slave customers got this:

Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-18, 19:53:35
Translate please!.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-18, 21:55:02
Translate please!.

Requires update of php.ini file to make sure webpage will be able to process php files. Click here to set it. Similar for slave server.

All pages on slave shows this:
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-18, 22:09:44
If all page show the same page (aka webmail page) that mean php work but something wrong with web server config.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-19, 11:31:38
If all page show the same page (aka webmail page) that mean php work but something wrong with web server config.

OK. But how to fix this ???
Title: Re: /script/fixweb doesn't work for slave domains
Post by: MRatWork on 2014-04-19, 12:29:21
Use 'old trick'. Switch web and then switch back.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-19, 13:54:24
Use 'old trick'. Switch web and then switch back.

Does not work - it installs everything for another server, but it still says nginxproxy in Kloxo - it seems slave is using setting from master server.

Manual trick also does not work...

[root@backup httpdocs]# lxphp.exe ../bin/common/misc/changedriver.php web nginxproxy
This is a Slave Server. Operate it at the Master server.
Title: Re: /script/fixweb doesn't work for slave domains
Post by: Spacedust on 2014-04-22, 23:46:39
Please help !!!!