MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: bigdigillc on 2016-06-05, 21:19:53
-
I was using NGINX proxy, but am now getting this error:
*** Process for NGINX service ***
- Process: restart
Stopping nginx: [FAILED]
Starting nginx: nginx: [emerg] the "http2" parameter requires ngx_http_v2_module in /opt/configs/nginx/conf/globals/listen_ssl_default.conf:1
[FAILED]
-------------------------------------------------------------------
and this is what i get with lighttpd
*** Process for LIGHTTPD service ***
- Process: restart
Starting lighttpd: 2016-06-05 14:43:52: (configfile.c.974) source: /opt/configs/ lighttpd/conf/globals/switch_standard.conf line: 29 pos: 5 parser failed somehow near here: }
2016-06-05 14:43:52: (configfile.c.974) source: cat /opt/configs/lighttpd/conf/d efaults/*.conf line: 36 pos: 1 parser failed somehow near here: (EOL)
2016-06-05 14:43:52: (configfile.c.974) source: /etc/lighttpd/conf.d/~lxcenter.c onf line: 2 pos: 14 parser failed somehow near here: (EOL)
2016-06-05 14:43:52: (configfile.c.974) source: /etc/lighttpd/lighttpd.conf line : 133 pos: 1 parser failed somehow near here: (EOL)
[FAILED]
I have tried switching between servers, but none of them seem to be working anymore.
Thoughts?
Also, what is 'Web-Selected' "Font end vs Back end" under web features?
-
better update again with 'yum clean all; yum update -y; sh /script/cleanup'.
Look like you are using old nginx version. Nginx latest version is 1.11.1.
-
When using web proxy like nginx-proxy, you can set using 'pure' nginx (front) or nginx-proxy (back; nginx in front and apache in back-end).
-
Ok, I'm trying to update now. Apache won't start either since update this morning.
-
It says there are no packages marked for update.
-
Just sent you a PM
-
Kloxo-MR 7.0 latest upload is 2016060505.
Try 'yum clean all' 3-4 times and then run 'yum update -y'.
-
I did. Says there is nothing to update. I'm running the latest version. Once I upgraded is when things stopped working.
-
This is what happens when i try and use Apache.
Shutting down kernel logger: [ OK ]
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
-------------------------------------------------------------------
*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
- Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------
*** Process for NSD service ***
- Process with 'nsd-control': transfer + write + reload + notify
- transfer: ok, 0 zones
- write: ok
- reload: ok
- notify: ok
-------------------------------------------------------------------
*** Process for PHP-FPM service ***
- Process: restart
Stopping php54m-fpm (PHP Used): [ OK ]
Starting php54m-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
Stopping php54m-fpm (Multiple Php): [ OK ]
Stopping php55m-fpm (Multiple Php): [ OK ]
Starting php54m-fpm (Multiple Php): [ OK ]
Starting php55m-fpm (Multiple Php): [ OK ]
-------------------------------------------------------------------
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: [FAILED]
-------------------------------------------------------------------
*** 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 ***
- Process: restart
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode): [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-all [--help|-h]'
-
Already fixed.
-
Thank you! Can you share the steps you took?
-
It's a bug in Kloxo-MR 7.0 in current upload. Will be fix tomorrow.
At this moment, remove 'self assign' ssl (create via 'add ssl certificate'). And then to make sure, run 'sh /script/fixweb; sh /script/restart-web -y'.
-
Thank you for the update. After I did 'yum update' nothing works again. Can you let me know when I should or should not update to the latest version? I understand it is beta, but should i downgrade to 6.5 for stability?
-
Thank you for the update. After I did 'yum update' web servers don't works again. Can you let me know when I should or should not update to the latest version? I understand it is beta, but should i downgrade to 6.5 for stability?
-
No guarantee for downgrade.
-
Apache says:
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 54 of /opt/configs/apache/conf/domains/xxxxxx.com.conf:
FastCgiExternalServer /home/kloxo/httpd/cp/cp.xxxxxx.com.0fake: invalid option: Branch---apache.sock
[FAILED]
-------------------------------------------------------------------
Hawiatha says:
*** Process for HIAWATHA service ***
- Process: restart
Stopping Hiawatha web server: [FAILED]
Starting Hiawatha web server: Directory 'stats_dir_for_xxx_xxxx_xxxx' not found.
[FAILED]
-------------------------------------------------------------------
Lighttd:
*** Process for LIGHTTPD service ***
- Process: restart
Stopping lighttpd: [FAILED]
Starting lighttpd: 2016-06-11 01:01:04: (configfile.c.974) source: /opt/configs/lighttpd/conf/globals/switch_standard.conf line: 29 pos: 5 parser failed somehow near here: }
2016-06-11 01:01:04: (configfile.c.974) source: cat /opt/configs/lighttpd/conf/defaults/*.conf line: 36 pos: 1 parser failed somehow near here: (EOL)
2016-06-11 01:01:04: (configfile.c.974) source: /etc/lighttpd/conf.d/~lxcenter.conf line: 2 pos: 14 parser failed somehow near here: (EOL)
2016-06-11 01:01:04: (configfile.c.974) source: /etc/lighttpd/lighttpd.conf line: 133 pos: 1 parser failed somehow near here: (EOL)
[FAILED]
-------------------------------------------------------------------
NGinx said:
Stopping nginx: [FAILED]
Starting nginx: nginx: [emerg] the "http2" parameter requires ngx_http_v2_module in /opt/configs/nginx/conf/globals/listen_ssl_default.conf:1
[FAILED]
-------------------------------------------------------------------
-
Update your Kloxo-MR. Make no custom files inside /opt/configs.
-
No custom files. I can get apache to start if I run it with fcgi only. Is it a cert problem again? How do I fix it?
-
*** Process for PHP-FPM service ***
- Process: restart
Stopping php55m-fpm (PHP Used): [FAILED]
Starting php55m-fpm (PHP Used): [11-Jun-2016 13:13:00] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-xxxxxxx.sock
[11-Jun-2016 13:13:00] ERROR: FPM initialization failed
[FAILED]
-
For php-fpm issue, try 'pkill -9 php-fpm; sh /script/restart -y; sh /script/restart-web -y'.
-
I fixed the php-fpm issue by deleting everything in '/opt/configs/php-fpm/sock' and running fixweb, but I'm still getting an SSL error when trying to start Apache .
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 6 of /opt/configs/apache/conf/globals/ssl_base.conf:
This version of openssl does not support configuring compression within <VirtualHost> sections.
[FAILED]
-
Using httpd 2.2 or 2.4?. And using CentOS 5 or 6?.
-
If using Apache 2.2 and or CentOS 5, copy '/opt/configs/apache/conf/globals/ssl_base.conf' to 'custom.base_ssl.conf'.
And then modified 'custom.base_ssl.conf' with change 'SSLCompression Off' to '#SSLCompression Off'.
After that, run 'sh /script/fixweb; sh /script/restart-web -y'.
-
Ok, I did notice that when I removed that line it would start, but it keeps coming back. What is the path of the custom.base_ssl.conf?
Also, I would like to run a proxy server like Nginx or Lighttpd but both give SSL errors.
Lightppd:
Stopping lighttpd: [FAILED]
Starting lighttpd: 2016-06-11 14:17:18: (network.c.591) SSL: ssl.pemfile only works in SSL socket binding context as openssl version does not support TLS extensions
[FAILED]
Nginx:
nginx: [emerg] the "http2" parameter requires ngx_http_v2_module in /opt/configs/nginx/conf/globals/listen_ssl_default.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
-
Same location with base_ssl.conf.
But, I didn't issue with nginx. Maybe version too old. Inform here 'nginx -v; yum list installed nginx'.
-
Says there is no such package installed:
0 packages excluded due to repository protections
Error: No matching Packages to list
I ran sysinfo and got this:
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016061105
- Web: hiawatha-10.3.0-f.1.mr.el5
- PHP: php54s-5.4.45-1.ius.el5 (fpm mode)
B. Plateform:
- OS: CentOS release 5.11 (Final) i686
- Hostname: bighost2.bigdigi.net
C. Services:
1. MySQL: MariaDB-server-10.0.25-1
2. PHP:
- 'Branch' installed: php54-cli-5.4.45-1.ius.el5
- 'Multiple' installed:
* php53m-5.3.29-1.ius.el5
* php54m-5.4.45-1.ius.el5
* php55m-5.5.33-1.w5
* php56m-
* php70m-
- 'Used' selected: php54m-fpm
- 'Multiple' status: enable
3. Web Used: nginxproxy
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: nginx-1.11.1-1.el5.ngx
- Httpd: httpd-2.2.31-1.mr.el5
- PHP Type: fcgid_event
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: pdns
- Bind: --uninstalled--
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: pdns-3.3.3-101.mr.el5
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el5
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.19.mr.el5
- spam: package none is not installed
D. Memory:
total used free shared buffers cached
Mem: 4054 2164 1890 0 494 1182
-/+ buffers/cache: 487 3566
Swap: 5535 0 5535
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
139G 96G 37G 73% /
-
For nginx, already latest version and error appear possibility becaue using CentOS 5.
-
Ok, I also have Lighttpd: lighttpd-1.4.39-3.el5 with this error.
Stopping lighttpd: [FAILED]
Starting lighttpd: 2016-06-11 14:42:49: (network.c.591) SSL: ssl.pemfile only works in SSL socket binding context as openssl version does not support TLS extensions
[FAILED]
-
Lighttpd still not work for ssl.
Using hiawatha-proxy.
-
Ok. Hiawatha proxy started, but pages are taking over 2 minutes to open. I don't see any errors though. Also is there an easy way to migrate all my sites to a new Kloxo server running Centos 7?
-
CentOS 7 still not work. Still in progress to implementing Kloxo-MR 7 in CentOS 7.
About too long page loading, try clear/delete cache in application.
-
Thanks, I don't know where else I could clear the cache. What about moving to a Centos 6 setup? Is there a easy way to move everything over?
-
Thanks, I don't know where else I could clear the cache. What about moving to a Centos 6 setup? Is there a easy way to move everything over?
Just backup all data, install Kloxo-MR 7.0 in CentOS 6, and restore data.
-
Since update this morning Apache won't start again.
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 54 of /opt/configs/apache/conf/domains/admin-services.xxxxxxx.com.conf:
FastCgiExternalServer /home/kloxo/httpd/cp/cp.admin-services.xxxxxx.com.0fake: invalid option: Branch---apache.sock
[FAILED]
-------------------------------------------------------------------
Any ideas?
-
Update to kloxomr7-7.0.0.b-2016061301 or more.
-
I was able to fix it by setting 'php used' under domains. I still am having trouble getting Lighttpd and Hiawatha to start. Lighttpd gives an SSL pem error TLS error and Hiawath gives this:
directory 'stats_dir_for_xxxxxxxx_com' not found.
-
I was able to fix it by setting 'php used' under domains. I still am having trouble getting Lighttpd and Hiawatha to start. Lighttpd gives an SSL pem error TLS error and Hiawath gives this:
directory 'stats_dir_for_xxxxxxxx_com' not found.
1. SSL already work under Lighttpd in latest version
2. Check stats dir inside /home/httpd/<domain>