MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: henry on 2016-02-14, 13:18:43
-
Follow your instructions here at:
https://forum.mratwork.com/indonesia-users/(ask)-kloxo-mr-7-the-domain-is-pointing-to-the-wrong-kloxo-server/10/?wap2
'yum reinstall httpd-* mod_* -y; chkconfig httpd on; sh /script/cleanup'.
The problem remains same.
I have this problem after the recent update.
[root@server2 ~]# sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016021202
- Web: hiawatha-10.1.0-f.6.mr.el6.i686
- PHP: php54s-5.4.45-1.ius.el6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) i686
- Hostname: server2.lowcostebuilder.com
C. Services:
1. MySQL: MariaDB-server-10.0.23-1.el6.i686
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.i686
- Used: --Use PHP Branch--
3. Httpd: httpd-2.2.31-1.mr.el6.i386
- PHP Type: php-fpm_event
4. Lighttpd: --uninstalled--
5. Hiawatha: --unused--
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: bind-9.9.7-1.mr.el6.i386
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
total used free shared buffers cached
Mem: 1024 324 699 3 0 118
-/+ buffers/cache: 206 817
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 40G 4.2G 36G 11% /
*** Process Time: 00:00:00:03.3474 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
-
Inform here 'yum list installed httpd* mod*; dir -l /etc/httpd/conf; dir -l /etc/httpd/conf.d'
-
Here it is
[root@server2 ~]# yum list installed httpd* mod*; dir -l /etc/httpd/conf; dir -l /etc/httpd/conf.d
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: bay.uchicago.edu
* extras: mirror.tzulo.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-webtatic: repo.webtatic.com
* updates: mirror.tzulo.com
0 packages excluded due to repository protections
Installed Packages
httpd.i386 2.2.31-1.mr.el6 @mratwork-release-version-arch
httpd-tools.i386 2.2.31-1.mr.el6 @mratwork-release-version-arch
mod_define.i386 2.2-3.mr.el6 @mratwork-release-version-arch
mod_fastcgi.i386 2.4.7-4.mr.el6 @mratwork-release-version-arch
mod_fcgid.i386 2.3.9-1.mr.el6 @mratwork-release-version-arch
mod_perl.i686 2.0.4-11.el6_5 @base
mod_rpaf.i686 0.6-4.mr.el6 @mratwork-release-version-arch
mod_ruid2.i386 0.9.8-3.mr.el6 @mratwork-release-version-arch
mod_ssl.i386 1:2.2.31-1.mr.el6 @mratwork-release-version-arch
mod_suphp.i386 0.7.2-3.mr.el6 @mratwork-release-version-arch
module-init-tools.i686 3.9-25.el6 @base
total 76
-rw-r--r-- 1 root root 9115 Feb 14 03:17 httpd.conf
-rw-r--r-- 1 root root 34419 Aug 18 01:57 httpd.conf.rpmnew
-rw-r--r-- 1 root root 9115 Feb 14 03:09 httpd.conf.rpmsave
-rw-r--r-- 1 root root 12958 Jul 22 2015 magic
total 104
-rw-r--r-- 1 root root 392 Jul 22 2015 README
-rw-r--r-- 1 root root 121 Feb 14 03:17 __version.conf
-rw-r--r-- 1 root root 111 Feb 14 03:17 _inactive_.conf
-rw-r--r-- 1 root root 78 Feb 14 03:17 define.conf
-rw-r--r-- 1 root root 78 Feb 14 03:09 define.conf.rpmsave
-rw-r--r-- 1 root root 254 Feb 14 03:17 fastcgi.conf
-rw-r--r-- 1 root root 254 Feb 14 03:09 fastcgi.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 03:17 fcgid.conf
-rw-r--r-- 1 root root 111 Feb 14 03:09 fcgid.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 02:29 itk.conf
-rw-r--r-- 1 root root 110 Feb 14 03:17 perl.conf
-rw-r--r-- 1 root root 110 Feb 14 03:09 perl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 03:17 php.conf
-rw-r--r-- 1 root root 111 Feb 14 03:09 php.conf.rpmsave
-rw-r--r-- 1 root root 566 Dec 5 2005 proxy_ajp.conf
-rw-r--r-- 1 root root 111 Feb 14 03:17 proxy_fcgi.conf
-rw-r--r-- 1 root root 526 Feb 14 03:17 rpaf.conf
-rw-r--r-- 1 root root 111 Feb 14 03:17 ruid2.conf
-rw-r--r-- 1 root root 867 Feb 14 03:17 ssl.conf
-rw-r--r-- 1 root root 867 Feb 14 03:09 ssl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 03:17 suphp.conf
-rw-r--r-- 1 root root 111 Feb 14 03:09 suphp.conf.rpmsave
-rw-r--r-- 1 root root 665 Feb 14 02:29 suphp2.conf
-rw-r--r-- 1 root root 352 Apr 25 2012 webalizer.conf
-rw-r--r-- 1 root root 299 Sep 9 2004 welcome.conf
-rw-r--r-- 1 root root 1755 Oct 16 02:35 ~lxcenter.conf
-
Try 'sh /script/cleanup'.
-
# sh /script/cleanup
Same...
Fixing Hiawatha service
*** Executing Update (cleanup) - END ***
*** Restart services - BEGIN ***
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 pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
-------------------------------------------------------------------
* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
*** Restart services - END ***
-
I did try for a domain mapping in Kloxomr panel.
However, it will only to one particular domain. Other domain will point to this one domain too.
-
If switch to 'nginx' from 'apache', what's an issue still exists?.
-
Huh?
After switched to "Nginx", fixed the problem.
Thank you
-
And then back to use 'apache' (but better not enable apache24 at this moment).
-
Back to Apache, same problem again.
-
Inform here 'yum list installed httpd* mod* nginx*; dir -l /etc/httpd/conf; dir -l /etc/httpd/conf.d'
-
Here is.
[root@server2 ~]# yum list installed httpd* mod* nginx*; dir -l /etc/httpd/conf; dir -l /etc/httpd/conf.d
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.rackspace.com
* extras: mirror.tzulo.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-webtatic: us-east.repo.webtatic.com
* updates: mirror.sesp.northwestern.edu
0 packages excluded due to repository protections
Installed Packages
module-init-tools.i686 3.9-25.el6 @base
nginx.i386 1.9.11-1.el6.ngx @mratwork-nginx
total 60
-rw-r--r-- 1 root root 9115 Feb 14 22:55 httpd.conf
-rw-r--r-- 1 root root 34959 Mar 29 2010 httpd.conf.rpmnew
-rw-r--r-- 1 root root 9115 Feb 14 22:53 httpd.conf.rpmsave
total 116
-rw-r--r-- 1 root root 121 Feb 14 22:55 __version.conf
-rw-r--r-- 1 root root 111 Feb 14 22:55 _inactive_.conf
-rw-r--r-- 1 root root 78 Feb 14 22:55 define.conf
-rw-r--r-- 1 root root 112 Aug 31 2014 define.conf.rpmnew
-rw-r--r-- 1 root root 78 Feb 14 22:53 define.conf.rpmsave
-rw-r--r-- 1 root root 254 Feb 14 22:55 fastcgi.conf
-rw-r--r-- 1 root root 1510 May 12 2015 fastcgi.conf.rpmnew
-rw-r--r-- 1 root root 254 Feb 14 22:53 fastcgi.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 22:55 fcgid.conf
-rw-r--r-- 1 root root 455 Jun 19 2015 fcgid.conf.rpmnew
-rw-r--r-- 1 root root 111 Feb 14 22:53 fcgid.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 02:29 itk.conf
-rw-r--r-- 1 root root 110 Feb 14 22:55 perl.conf
-rw-r--r-- 1 root root 1796 Apr 17 2014 perl.conf.rpmnew
-rw-r--r-- 1 root root 110 Feb 14 22:53 perl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 22:55 php.conf
-rw-r--r-- 1 root root 111 Feb 14 03:09 php.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 22:55 proxy_fcgi.conf
-rw-r--r-- 1 root root 526 Feb 14 22:55 rpaf.conf
-rw-r--r-- 1 root root 111 Feb 14 22:55 ruid2.conf
-rw-r--r-- 1 root root 867 Feb 14 22:55 ssl.conf
-rw-r--r-- 1 root root 425 Apr 7 2014 ssl.conf.rpmnew
-rw-r--r-- 1 root root 867 Feb 14 22:53 ssl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 22:55 suphp.conf
-rw-r--r-- 1 root root 1683 Jun 13 2015 suphp.conf.rpmnew
-rw-r--r-- 1 root root 111 Feb 14 22:53 suphp.conf.rpmsave
-rw-r--r-- 1 root root 665 Feb 14 02:29 suphp2.conf
-rw-r--r-- 1 root root 352 Apr 25 2012 webalizer.conf
-rw-r--r-- 1 root root 1755 Oct 16 02:35 ~lxcenter.conf
-
I mean run above commands for apache
-
Yes, for apache,
root@server2 ~]# yum list installed httpd* mod* nginx*; dir -l /etc/httpd/conf; dir -l /etc/httpd/conf.d
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.rackspace.com
* extras: mirror.tzulo.com
* mratwork-epel: mirror.steadfast.net
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-webtatic: repo.webtatic.com
* updates: mirror.sesp.northwestern.edu
0 packages excluded due to repository protections
Installed Packages
httpd.i386 2.2.31-1.mr.el6 @mratwork-release-version-arch
httpd-tools.i386 2.2.31-1.mr.el6 @mratwork-release-version-arch
mod_define.i386 2.2-3.mr.el6 @mratwork-release-version-arch
mod_fastcgi.i386 2.4.7-4.mr.el6 @mratwork-release-version-arch
mod_fcgid.i386 2.3.9-1.mr.el6 @mratwork-release-version-arch
mod_perl.i686 2.0.4-11.el6_5 @base
mod_rpaf.i686 0.6-4.mr.el6 @mratwork-release-version-arch
mod_ruid2.i386 0.9.8-3.mr.el6 @mratwork-release-version-arch
mod_ssl.i386 1:2.2.31-1.mr.el6 @mratwork-release-version-arch
mod_suphp.i386 0.7.2-3.mr.el6 @mratwork-release-version-arch
module-init-tools.i686 3.9-25.el6 @base
total 76
-rw-r--r-- 1 root root 9115 Feb 14 23:17 httpd.conf
-rw-r--r-- 1 root root 34959 Mar 29 2010 httpd.conf.rpmnew
-rw-r--r-- 1 root root 9115 Feb 14 22:53 httpd.conf.rpmsave
-rw-r--r-- 1 root root 12958 Jul 22 2015 magic
total 128
-rw-r--r-- 1 root root 392 Jul 22 2015 README
-rw-r--r-- 1 root root 121 Feb 14 23:17 __version.conf
-rw-r--r-- 1 root root 111 Feb 14 23:17 _inactive_.conf
-rw-r--r-- 1 root root 78 Feb 14 23:17 define.conf
-rw-r--r-- 1 root root 112 Aug 31 2014 define.conf.rpmnew
-rw-r--r-- 1 root root 78 Feb 14 22:53 define.conf.rpmsave
-rw-r--r-- 1 root root 254 Feb 14 23:17 fastcgi.conf
-rw-r--r-- 1 root root 1510 May 12 2015 fastcgi.conf.rpmnew
-rw-r--r-- 1 root root 254 Feb 14 22:53 fastcgi.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 23:17 fcgid.conf
-rw-r--r-- 1 root root 455 Jun 19 2015 fcgid.conf.rpmnew
-rw-r--r-- 1 root root 111 Feb 14 22:53 fcgid.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 02:29 itk.conf
-rw-r--r-- 1 root root 110 Feb 14 23:17 perl.conf
-rw-r--r-- 1 root root 1796 Apr 17 2014 perl.conf.rpmnew
-rw-r--r-- 1 root root 110 Feb 14 22:53 perl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 23:17 php.conf
-rw-r--r-- 1 root root 111 Feb 14 03:09 php.conf.rpmsave
-rw-r--r-- 1 root root 566 Dec 5 2005 proxy_ajp.conf
-rw-r--r-- 1 root root 111 Feb 14 23:17 proxy_fcgi.conf
-rw-r--r-- 1 root root 526 Feb 14 23:17 rpaf.conf
-rw-r--r-- 1 root root 111 Feb 14 23:17 ruid2.conf
-rw-r--r-- 1 root root 867 Feb 14 23:17 ssl.conf
-rw-r--r-- 1 root root 425 Apr 7 2014 ssl.conf.rpmnew
-rw-r--r-- 1 root root 867 Feb 14 22:53 ssl.conf.rpmsave
-rw-r--r-- 1 root root 111 Feb 14 23:17 suphp.conf
-rw-r--r-- 1 root root 1683 Jun 13 2015 suphp.conf.rpmnew
-rw-r--r-- 1 root root 111 Feb 14 22:53 suphp.conf.rpmsave
-rw-r--r-- 1 root root 665 Feb 14 02:29 suphp2.conf
-rw-r--r-- 1 root root 352 Apr 25 2012 webalizer.conf
-rw-r--r-- 1 root root 299 Sep 9 2004 welcome.conf
-rw-r--r-- 1 root root 1755 Oct 16 02:35 ~lxcenter.conf
-
1) Why cannot update FTP password or create new FTP user?
2) It kept connecting forever?
3) I cannot "Switch program" too?
(https://lh3.googleusercontent.com/wKc0bobtAzqCzf5iBF1haPn0XApywbwPyJSSm9HXClFbWLcEJ4gvCrV9WmVnRclzVvPuEa-Ofni92zbZIRGLuRmblOy9wIghJauDfaOymsPTkPjsDp-yu_ov7bfYR12mrCKGPCQcpGTZqsF8-Wy8RmCyO6tnK0qu-8GgAuyt0ofkSqcV-muMM-oc9DtGpytnY_Q5OILblA2NOMsDAcEevHdteQHSLjMJXJT9LIUA9HKuQE3OZawvSvVtPZkN8AtAz8IjV99VwK1n9Hpy7Us308rumFOLnfAnvwxFVM0bqZbZc4KjUELl_7jlfkK9DakSBbBrXmTigi3KiXt6poTYC5pVIdA7H4fu6rau1zSfyRMIEXgNZGyBpkFQpODGNLwqE6HahDsZ3JzJd8csJXBgorYGfXqTUGbE7gFukkz87NTRopfnMznpO-4Gjk423F-Bq5eVNd007JmzL1ibMtYjVw5DjXpmj6lPD9hw0zmJyd6wBDvwsKoRxT9zB-GBX9JACcBfxSKgKlxC7rDxe1_22zvDdp1l2L9C6fvWV9qvUr9USPuXKY7g1UCgdR4eYbJguTU=w1160-h467-no)
-
Maybe something wrong with database. Try 'sh /script/mysql-optimize --select=repair'.
-
Followed the instruction.
However, I have to re-run commands like normal.
# yum update
# sh /script/cleanup
# sh /script/fixweb
# sh /script/restart-all
reboot
Only then okay.
That the strange thing is, I cannot login from FTP after updated password.
Additionally, I did try this for 2 servers.
How come?
-
Try 'sh /script/set-kloxo-php pfm' and then update password again.
-
Still cannot use FTP as usual.
[root@server3 ~]# sh /script/set-kloxo-php pfm
- For help, type '/script/set-kloxo-php --help'
Stopping kloxo-phpcgi: [FAILED]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode): [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart [--help|-h]'
Password updated successfully, but failed to connect.
(http://s19.postimg.org/f1ad2cw0z/1_Critical_error_could_not_connect_to_server.png)
-
Set your ftp client to use 'passive mode'.
-
After playing around with KloxoMr panel, I found the solution to FTP setting.
Browse and find FTP configure,
Check Enable SSL/TLS
That's all. :D 8)
(http://s19.postimg.org/dgi2794pv/Kloxo_Mr_FTP_Setting.png)
-
I was trying to switch in a new VPS hosting because faster loading speed. But with the following problem now.
(http://s19.postimg.org/4w35qttlv/IPMapping_2016_03_31_1235.png)
1) Done # sh /script/cleanup
Same problem...
2) Switch to Nginx
Same problem...
3) Switched back to Apache
Same problem...
4) 'yum reinstall httpd-* mod_* -y; chkconfig httpd on; sh /script/cleanup'.
Same problem...
5) # sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016032701
- Web: hiawatha-10.1.0-f.6.mr.el6.i686
- PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) i686
- Hostname: future.thenexttrillions.com
C. Services:
1. MySQL: MariaDB-server-10.0.24-1.el6.i686
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.i686
- Used: --Use PHP Branch--
3. Web Used: apache
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: --uninstalled--
- Httpd: httpd-2.2.31-1.mr.el6.i386
- PHP Type: php-fpm_event
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.7-1.mr.el6.i386
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.i386
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
- spam: bogofilter
D. Memory:
total used free shared buffers cached
Mem: 1024 178 845 3 0 42
-/+ buffers/cache: 135 888
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 30G 4.4G 26G 15% /
Why so?
-
Change to 'fcgid_event' and then change back to 'php-fpm_event' for 'php type' under 'webserver configure'.
-
Change to 'fcgid_event' and then change back to 'php-fpm_event' for 'php type' under 'webserver configure'.
Same thing...
-
Found the same issue if select 'nginx' as web server?
-
Found the same issue if select 'nginx' as web server?
Yes,even switch program to "nginx"
Tried this as well
If the "domain configure" to map IP Address, only one domain can be used.
How about other's domain?
(http://s19.postimg.org/6bedqeqeb/Domain_Configure_to_map_IP_address.png)
-
Need 1 domain for shared-IP and other IPs able to assign to certain domain.
-
Need 1 domain for shared-IP and other IPs able to assign to certain domain.
But, I installed the exact same way in the old VPS hosting.
Old VPS hosting with more than 5 domains, no problem.
I actually suspect the OS when having an IP mapping.
I think I will reinstall the OS and kloxoMr again.
( Tomorrow will do it )
Update: My current OS template: Centos 6 X86
I will select template: Centos 6 X86 64
-
Need 1 domain for shared-IP and other IPs able to assign to certain domain.
But, I installed the exact same way in the old VPS hosting.
Old VPS hosting with more than 5 domains, no problem.
I actually suspect the OS when having an IP mapping.
I think I will reinstall the OS and kloxoMr again.
( Tomorrow will do it )
Update: My current OS template: Centos 6 X86
I will select template: Centos 6 X86 64
Are you sure?. It's impossible by design if your server only have 1 IP.
-
I am very sure Mr.Mustafa.
I just finished re-installed and already installed 3 domains with no problem.
I din really know why but it solved the problem.