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, 08:59:31

Author Topic: SSL port does not start  (Read 3739 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
SSL port does not start
« on: 2015-06-30, 17:05:07 »
It starts but pages are down. Why ?

Quote
/etc/init.d/httpd restart
Zatrzymywanie httpd:                                       [NIEUDANE]
Uruchamianie httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
                                                           [  OK  ]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL port does not start
« Reply #1 on: 2015-06-30, 17:17:06 »
Possible other web server or 'zombie' httpd still running and use this port.

For httpd24, try 'yum reinstall httpd24u* mod24u* -y; pkill httpd; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SSL port does not start
« Reply #2 on: 2015-06-30, 18:45:13 »
Possible other web server or 'zombie' httpd still running and use this port.

For httpd24, try 'yum reinstall httpd24u* mod24u* -y; pkill httpd; sh /script/restart-web -y'.

It seems cleanup messed my httpd24 files again:

Quote
[root@backup ~]# yum reinstall httpd24u* mod24u* -y; pkill httpd; sh /script/restart-web -y
Wczytane wtyczki: fastestmirror, priorities, protectbase, replace
Ustawianie procesu ponownej instalacji
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.ovh.net
 * epel: epel.mirrors.ovh.net
 * extras: centos.mirrors.ovh.net
 * mratwork-epel: epel.mirrors.ovh.net
 * mratwork-ius-stable: lon.mirror.rackspace.com
 * remi: ftp.arnes.si
 * remi-php56: ftp.arnes.si
 * updates: centos.mirrors.ovh.net
0 packages excluded due to repository protections
Rozwi?zywanie zale?no?ci
--> Wykonywanie sprawdzania transakcji
---> Package httpd24u.x86_64 0:2.4.12-5.ius.el6 will be ponownie zainstalowany
---> Package httpd24u-filesystem.noarch 0:2.4.12-5.ius.el6 will be ponownie zainstalowany
---> Package httpd24u-tools.x86_64 0:2.4.12-5.ius.el6 will be ponownie zainstalowany
---> Package mod24u_ruid2.x86_64 0:0.9.8-3.mr.el6 will be ponownie zainstalowany
---> Package mod24u_session.x86_64 0:2.4.12-5.ius.el6 will be ponownie zainstalowany
---> Package mod24u_ssl.x86_64 1:2.4.12-5.ius.el6 will be ponownie zainstalowany
---> Package mod24u_suphp.x86_64 0:0.7.2-3.mr.el6 will be ponownie zainstalowany
--> Uko?czono rozwi?zywanie zale?no?ci

Rozwi?zano zale?no?ci

========================================================================================
 Pakiet               Architektura
                              Wersja               Repozytorium                   Rozmiar
========================================================================================
Ponowne instalowanie:
 httpd24u             x86_64  2.4.12-5.ius.el6     mratwork-ius-stable            1.1 M
 httpd24u-filesystem  noarch  2.4.12-5.ius.el6     mratwork-ius-stable             20 k
 httpd24u-tools       x86_64  2.4.12-5.ius.el6     mratwork-ius-stable             76 k
 mod24u_ruid2         x86_64  0.9.8-3.mr.el6       mratwork-release-version-arch   24 k
 mod24u_session       x86_64  2.4.12-5.ius.el6     mratwork-ius-stable             45 k
 mod24u_ssl           x86_64  1:2.4.12-5.ius.el6   mratwork-ius-stable             96 k
 mod24u_suphp         x86_64  0.7.2-3.mr.el6       mratwork-release-version-arch  666 k

Podsumowanie transakcji
========================================================================================
Ponowna instalacja                7 pakiet(y)

Ca?kowity rozmiar pobierania: 2.0 M
Rozmiar po zainstalowaniu: 6.8 M
Pobieranie pakietów:
(1/7): httpd24u-2.4.12-5.ius.el6.x86_64.rpm                      | 1.1 MB     00:00
(2/7): httpd24u-filesystem-2.4.12-5.ius.el6.noarch.rpm           |  20 kB     00:00
(3/7): httpd24u-tools-2.4.12-5.ius.el6.x86_64.rpm                |  76 kB     00:00
(4/7): mod24u_ruid2-0.9.8-3.mr.el6.x86_64.rpm                    |  24 kB     00:00
(5/7): mod24u_session-2.4.12-5.ius.el6.x86_64.rpm                |  45 kB     00:00
(6/7): mod24u_ssl-2.4.12-5.ius.el6.x86_64.rpm                    |  96 kB     00:00
(7/7): mod24u_suphp-0.7.2-3.mr.el6.x86_64.rpm                    | 666 kB     00:00
----------------------------------------------------------------------------------------
Razem                                                   881 kB/s | 2.0 MB     00:02
Wykonywanie rpm_check_debug
Wykonywanie testu transakcji
Test transakcji zosta? uko?czony powodzeniem
Wykonywanie transakcji
  Instalowanie             : httpd24u-filesystem-2.4.12-5.ius.el6.noarch            1/7
  Instalowanie             : httpd24u-tools-2.4.12-5.ius.el6.x86_64                 2/7
  Instalowanie             : httpd24u-2.4.12-5.ius.el6.x86_64                       3/7
  Instalowanie             : mod24u_ruid2-0.9.8-3.mr.el6.x86_64                     4/7
  Instalowanie             : mod24u_session-2.4.12-5.ius.el6.x86_64                 5/7
  Instalowanie             : 1:mod24u_ssl-2.4.12-5.ius.el6.x86_64                   6/7
  Instalowanie             : mod24u_suphp-0.7.2-3.mr.el6.x86_64                     7/7
  Verifying                : mod24u_ruid2-0.9.8-3.mr.el6.x86_64                     1/7
  Verifying                : httpd24u-2.4.12-5.ius.el6.x86_64                       2/7
  Verifying                : mod24u_session-2.4.12-5.ius.el6.x86_64                 3/7
  Verifying                : httpd24u-filesystem-2.4.12-5.ius.el6.noarch            4/7
  Verifying                : 1:mod24u_ssl-2.4.12-5.ius.el6.x86_64                   5/7
  Verifying                : httpd24u-tools-2.4.12-5.ius.el6.x86_64                 6/7
  Verifying                : mod24u_suphp-0.7.2-3.mr.el6.x86_64                     7/7

Zainstalowano:
  httpd24u.x86_64 0:2.4.12-5.ius.el6
  httpd24u-filesystem.noarch 0:2.4.12-5.ius.el6
  httpd24u-tools.x86_64 0:2.4.12-5.ius.el6
  mod24u_ruid2.x86_64 0:0.9.8-3.mr.el6
  mod24u_session.x86_64 0:2.4.12-5.ius.el6
  mod24u_ssl.x86_64 1:2.4.12-5.ius.el6
  mod24u_suphp.x86_64 0:0.7.2-3.mr.el6

Uko?czono.

Zatrzymywanie squid: ................                      [  OK  ]
Uruchamianie squid: .                                      [  OK  ]
-------------------------------------------------------------------

Zatrzymywanie php-fpm:                                     [  OK  ]
Uruchamianie php-fpm:                                      [  OK  ]
-------------------------------------------------------------------

Zatrzymywanie httpd:                                       [NIEUDANE]
Uruchamianie httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
                                                           [  OK  ]
-------------------------------------------------------------------

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL port does not start
« Reply #3 on: 2015-06-30, 19:03:17 »
Look like trouble with squid. If enable webcache, webserver port 8080/8443.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SSL port does not start
« Reply #4 on: 2015-06-30, 19:37:52 »
Look like trouble with squid. If enable webcache, webserver port 8080/8443.

I'm using squid only as my personal proxy not as web-proxy.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL port does not start
« Reply #5 on: 2015-06-30, 19:48:56 »
But squid and apache possible using the same port.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SSL port does not start
« Reply #6 on: 2015-06-30, 21:11:24 »
But squid and apache possible using the same port.

My squid is running on port 11

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL port does not start
« Reply #7 on: 2015-06-30, 22:05:17 »
Try 'service squid stop; service httpd start' to know squid listen port 443 or not.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: SSL port does not start
« Reply #8 on: 2015-06-30, 23:39:01 »
Try 'service squid stop; service httpd start' to know squid listen port 443 or not.

It's not squid. It /script/cleanup restoring wrong init.conf and httpd.conf when server does not have any domains (it's used as backup server + DNS server).

Restored these two files from backup and now it works fine.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.076 seconds with 20 queries.

web stats analysis