MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Releases => Topic started by: hoangsang on 2016-01-23, 16:26:44

Title: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 16:26:44
After update MRKloxo (via sh sh /script/upcp -y ).
Serrver is error:
1. Kloxo-MR login Alert: Login Unsuccessful
2. Run sh /script/restart-all show error:
Code: [Select]
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
..........................................
3. Access website (use code xenforo) is page space ( http://bachngocsach.com/forum )

Please help me.
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 16:33:38


Code: [Select]
[root@bns ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016012103
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: bns.bbbh.com
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.41-1.ius.el6
        * php55m-5.5.25-1.ius.el6
        * php56m-5.6.9-1.ius.el6
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: [unknown]
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7857        670       7186          0         45        292
   -/+ buffers/cache:        332       7524
   Swap:         7999          0       7999
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_bbbh-lv_root
                          50G   36G   11G  77% /


Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 16:34:51
Running 'sh /script/upcp -y' is not for update. It's for 'reinstall' Kloxo-MR.

Update with 'yum clean all; yum update -y; sh /script/cleanup' for the same major version (6.5 to 6.5 and 7.0 to 7.0).
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 16:36:57
For 'supervise: fatal: unable to start log/run: file does not exist' issue, try:
Code: [Select]
rm -f /var/qmail/supervise/clamav; sh /script/restart-mail -y
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 16:51:24
For 'supervise: fatal: unable to start log/run: file does not exist' issue, try:
Code: [Select]
rm -f /var/qmail/supervise/clamav; sh /script/restart-mail -y
Thanks!
But login to Kloxo-MR (admin control panel) show Alert: Login Unsuccessful :(
And webpage is page space
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 16:56:34
Try reset mysql root password with 'sh /script/reset-mysql-root-password YOURPASSWORD'.
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 17:03:26
Try reset mysql root password with 'sh /script/reset-mysql-root-password YOURPASSWORD'.
After run 'sh /script/reset-mysql-root-password YOURPASSWORD'. And login Kloxo-MR is show Alert: Login Unsuccessful :(

And server don't run php file :(
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 17:04:20
Inform here 'sh /script/restart-all -y'.
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 17:13:25
Inform here 'sh /script/restart-all -y'.
Still displaying notices Alert: Login Unsuccessful :(
I show sysinfo and see
Code: [Select]
3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: [unknown]
Maybe PHP Type errors? how to fix it?
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 17:21:11
Try 'sh /script/mysql-optimize --select=repair; sh /script/restart-all -y'. And make sure set '#skip-innodb' in /etc/my.cnf.d/server.cnf.
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 17:35:47
Try 'sh /script/mysql-optimize --select=repair; sh /script/restart-all -y'. And make sure set '#skip-innodb' in /etc/my.cnf.d/server.cnf.
Okie. I'm log in  Admin control panel. How to changr php-type?
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-23, 17:44:34
Go to 'webserver configure' and then select 'php-fpm_event' for 'php type'.
Title: Re: Error after update MRKloxo
Post by: hoangsang on 2016-01-23, 18:53:14
Go to 'webserver configure' and then select 'php-fpm_event' for 'php type'.
The problem is latest version of apr. Downgrade with 'yum downgrade apr*' make httpd running well
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 14:19:29
I by nonsense executed the
Code: [Select]
sh/script/upcp- yand now the panel and the sites don't open.
whether it is possible to correct it?
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-29, 14:36:47
I by nonsense executed the
Code: [Select]
sh/script/upcp- yand now the panel and the sites don't open.
whether it is possible to correct it?

Look like the command is wrong.
Try:
Code: [Select]
sh /script/upcp -y
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 16:25:05
I by nonsense executed the
Code: [Select]
sh/script/upcp- yand now the panel and the sites don't open.
whether it is possible to correct it?

Look like the command is wrong.
Try:
Code: [Select]
sh /script/upcp -y
whether it is possible to restore somehow everything as was?
now the panel opens only on ip:7778 and I can't enter according to old data
(http://amney.ml/screens/2016-01-29_183503.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-29, 16:35:20
Find out 'skip-innodb' in '/etc/my.cnf' and change to '#skip-innodb'. After that, run 'sh /script/restart-all -y'.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 16:47:56
Find out 'skip-innodb' in '/etc/my.cnf' and change to '#skip-innodb'. After that, run 'sh /script/restart-all -y'.
I made, but in the console now it:
(http://amney.ml/screens/2016-01-29_185646.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-29, 16:52:53
Run 'rm -rf /var/qmail/supervise/clamd'
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 17:23:43
and how now to start the sites and the main domain at which the panel works?
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 17:28:32
it seems, everything works, only the sites don't work.
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-29, 17:30:01
Need re-setup for 'switch programs' and 'webserver config'.
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-29, 17:30:57
And also run 'sh /script/fix-chownchmod' via ssh (or under 'webserver config').
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-29, 19:14:03
Need re-setup for 'switch programs' and 'webserver config'.
everything is adjusted as well as was.
but the sites still don't work.
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-30, 00:10:55
Inform here 'sh /script/sysinfo; sh /script/restart-all -y'.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-01-30, 01:26:11
Inform here 'sh /script/sysinfo; sh /script/restart-all -y'.
(http://amney.ml/screens/2016-01-30_032935.png)
(http://amney.ml/screens/2016-01-30_033616.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-01-30, 01:40:02
From sysinfo, your hostname is 'serverfree'. It's not FQDN. Read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/ and http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-02-01, 01:00:36
From sysinfo, your hostname is 'serverfree'. It's not FQDN. Read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/ and http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/
what at me here not so?
(http://amney.ml/screens/2016-02-01_031000.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-01, 01:54:29
Is serverfree.ru hosting in your server?.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-02-01, 02:29:03
Is serverfree.ru hosting in your server?.
I switched with bind to nsd and earned.
but now there are following mistakes which to me are unclear
(http://amney.ml/screens/2016-02-01_043123.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-01, 02:48:11
Is serverfree.ru hosting in your server?.
I switched with bind to nsd and earned.
but now there are following mistakes which to me are unclear
(http://amney.ml/screens/2016-02-01_043123.png)
It's different issue. Try 'sh /script/restart-all -y'. If found error, try reboot.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-02-01, 22:49:48
Is serverfree.ru hosting in your server?.
I switched with bind to nsd and earned.
but now there are following mistakes which to me are unclear
(http://amney.ml/screens/2016-02-01_043123.png)
It's different issue. Try 'sh /script/restart-all -y'. If found error, try reboot.
mistakes aren't present. But changed nothing
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-01, 23:00:16
Parameters like php_flag, php_value and php_admin_value not work in .htaccess. Remove it.
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-01, 23:02:25
Also something wrong with php-fpm.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-02-02, 15:37:58
Also something wrong with php-fpm.
and how to see, what for a problem?
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-03, 01:02:33
Inform here 'cat /home/admin/scary-movie.ru/.htaccess; sh /script/restart-all -y'.
Title: Re: Error after update MRKloxo
Post by: Amney on 2016-02-06, 03:22:12
Inform here 'cat /home/admin/scary-movie.ru/.htaccess; sh /script/restart-all -y'.
(http://amney.ml/screens/2016-02-06_053150.png)
(http://amney.ml/screens/2016-02-06_053222.png)
Title: Re: Error after update MRKloxo
Post by: MRatWork on 2016-02-06, 03:32:48
Remove between '<IfModule mod_php>' and '</IfModule>'. Also 'AddHandler' line.