Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 07:33:27

Author Topic: Web Server Trouble after last update  (Read 15404 times)

0 Members and 1 Guest are viewing this topic.

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #15 on: 2016-06-11, 07:48:19 »
Apache says:

Code: [Select]


*** 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:

Code: [Select]

*** 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:

Code: [Select]
*** 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:
Code: [Select]
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]
-------------------------------------------------------------------
« Last Edit: 2016-06-11, 07:51:05 by bigdigillc »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #16 on: 2016-06-11, 07:58:02 »
Update your Kloxo-MR. Make no custom files inside /opt/configs.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #17 on: 2016-06-11, 19:35:12 »
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?
« Last Edit: 2016-06-11, 19:37:43 by bigdigillc »

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #18 on: 2016-06-11, 19:57:50 »
Code: [Select]

*** 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]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #19 on: 2016-06-11, 20:04:26 »
For php-fpm issue, try 'pkill -9 php-fpm; sh /script/restart -y; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #20 on: 2016-06-11, 20:15:46 »
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 .

Code: [Select]
*** 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]


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #21 on: 2016-06-11, 20:46:02 »
Using httpd 2.2 or 2.4?. And using CentOS 5 or 6?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #22 on: 2016-06-11, 20:50:44 »
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'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #23 on: 2016-06-11, 21:04:16 »
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:
Code: [Select]

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:
Code: [Select]

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


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #24 on: 2016-06-11, 21:10:11 »
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'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #25 on: 2016-06-11, 21:19:56 »
Says there is no such package installed:
Code: [Select]
0 packages excluded due to repository protections
Error: No matching Packages to list
I ran sysinfo and got this:

Code: [Select]
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% /


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #26 on: 2016-06-11, 21:24:04 »
For nginx, already latest version and error appear possibility becaue using CentOS 5.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #27 on: 2016-06-11, 21:25:57 »
Ok, I also have Lighttpd: lighttpd-1.4.39-3.el5 with this error.

Code: [Select]

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]


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Web Server Trouble after last update
« Reply #28 on: 2016-06-11, 21:33:45 »
Lighttpd still not work for ssl.

Using hiawatha-proxy.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Web Server Trouble after last update
« Reply #29 on: 2016-06-11, 22:01:57 »
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?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.049 seconds with 18 queries.

web stats analysis