MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: murshed on 2016-02-15, 06:04:57

Title: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 06:04:57
Quote
*** Restart services - BEGIN ***

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

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

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  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
Starting kloxo-hiawatha: Error loading private key from /usr/local/lxlabs/kloxo/etc/program.pem: PK - Invalid key tag or value (-0x3D00)
                                                           [FAILED]
-------------------------------------------------------------------
*** Restart services - END ***


*** Process Time: 00:00:00:57.57614 (dd:hh:mm:ss:xxxxxx) ***

or

Quote
[root@core tmp]# sh /script/restart-all

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

*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
  - Process: reload
 SUCCESS! Reloading service MySQL
No message for reload
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php-fpm:                                         [  OK  ]
-------------------------------------------------------------------

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

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for KLOXO service ***
  - No need started
  - Process: reload
Reloading kloxo-hiawatha:                                  [FAILED]
-------------------------------------------------------------------

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

Can't login from 7778 or 7777 port. Backend down.
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-15, 06:10:25
Try 'yum reinstall kloxomr7 -y; sh /script/cleanup'
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 06:19:30
same issue!

Quote
* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Starting kloxo-hiawatha: Error loading private key from /usr/local/lxlabs/kloxo/etc/program.pem: PK - Invalid key tag or value (-0x3D00)
                                                           [FAILED]
-------------------------------------------------------------------
*** Restart services - END ***
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-15, 06:36:49
Inform here 'dir -l /usr/local/lxlabs/kloxo/etc/program.*'
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 06:47:08
Quote
[root@core ~]# dir -l /usr/local/lxlabs/kloxo/etc/program.*
-rw-r--r-- 1 lxlabs lxlabs 1674 Feb  6 00:13 /usr/local/lxlabs/kloxo/etc/program.ca
-rw-r--r-- 1 lxlabs lxlabs 1789 Feb  6 00:13 /usr/local/lxlabs/kloxo/etc/program.crt
-rw-r--r-- 1 lxlabs lxlabs 1704 Feb  6 00:13 /usr/local/lxlabs/kloxo/etc/program.key
-rw-r--r-- 1 lxlabs lxlabs    0 Feb  6 00:13 /usr/local/lxlabs/kloxo/etc/program.pem
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-15, 06:51:45
Run 'cp -f  /usr/local/lxlabs/kloxo/file/ssl/program.* /usr/local/lxlabs/kloxo/etc/program.*'
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 06:52:31
Quote
[root@core ~]# cp -f  /usr/local/lxlabs/kloxo/file/ssl/program.* /usr/local/lxlabs/kloxo/etc/program.*
cp: target `/usr/local/lxlabs/kloxo/etc/program.pem' is not a directory
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-15, 07:14:21
Try 'cp -f  /usr/local/lxlabs/kloxo/file/ssl/program.* /usr/local/lxlabs/kloxo/etc/'
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 12:47:38
Quote
yum reinstall kloxomr7 -y; sh /script/cleanup

Then change nginxproxy to nginx.

Now OK but HTTPD not works.

Quote
Stopping httpd:                                            [FAILED]
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-15, 13:00:10
Look like you choose apache 2.4.

Update Kloxo-MR 7.0 with 'yum clean all; yum update -y' and then run 'sh /script/cleanup'.
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: murshed on 2016-02-15, 18:56:44
Not work. apache not work. Apache single or NginxProxy

Quote
*** Process for HTTPD service ***
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
  - Process with 'httpd': restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Now im using Hiwatha as a webserver. Its fast also.
Title: Re: Cant start KLOXO Service with Hiwatha
Post by: MRatWork on 2016-02-16, 01:53:51
Delete '/etc/httpd/conf.d/perl.conf' file and then restart-web.