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-19, 22:14:18

Author Topic: Unable to start nginx and httpd after latest updates !  (Read 4150 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
What's wrong ??? /script/fixweb and /script/fixssl does not help...

Quote
nginx: [emerg] PEM_read_bio_X509_AUX("/home/kloxo/ssl/informacje.xxx.pl.pem") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
nginx: configuration file /etc/nginx/nginx.conf test failed

for http:

Quote
[root@onlinecity ssl]# httpd -t
Syntax OK
[root@onlinecity ssl]# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [FAILED]
[root@onlinecity ssl]# tail -f /var/log/httpd/error_log
[Thu Jun 09 17:21:52 2016] [suexec:notice] [pid 17111] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [online]
AH00016: Configuration Failed
[Thu Jun 09 17:21:54 2016] [suexec:notice] [pid 17128] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [online]
AH00016: Configuration Failed
[Thu Jun 09 17:21:56 2016] [suexec:notice] [pid 17144] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [online]
AH00016: Configuration Failed
[Thu Jun 09 17:21:57 2016] [suexec:notice] [pid 17163] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [online]
AH00016: Configuration Failed
[Thu Jun 09 17:22:22 2016] [suexec:notice] [pid 17458] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [online]
AH00016: Configuration Failed
« Last Edit: 2016-06-09, 17:06:25 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start nginx and httpd after latest updates !
« Reply #1 on: 2016-06-09, 17:20:02 »
Delete all domain ssl in /home/kloxo/ssl and then run 'sh /script/fixssl; sh /script/fixweb'.
..:: 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: Unable to start nginx and httpd after latest updates !
« Reply #2 on: 2016-06-09, 17:36:56 »
Done it but the same:
Quote
"nginx: [emerg] PEM_read_bio_X509_AUX("/home/kloxo/ssl/xxx.pl.pem") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
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: Unable to start nginx and httpd after latest updates !
« Reply #3 on: 2016-06-09, 17:44:17 »
Maybe .pem is corrupt or missing something.
..:: 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: Unable to start nginx and httpd after latest updates !
« Reply #4 on: 2016-06-09, 21:33:19 »
No it's not. I've also removed all SSL certs from panel and readded one by one. And it worked only for 6 domains, then all other domains despite properly added SSL has not created their SSL files so SSL cert was unusable ;(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start nginx and httpd after latest updates !
« Reply #5 on: 2016-06-09, 22:38:49 »
Try update Kloxo-MR.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Unable to start nginx and httpd after latest updates !
« Reply #6 on: 2016-06-10, 21:31:57 »
@Spacedust
Exactly the same heppened to me a couple of days ago when i updated Kloxo-MR after several months.

IIRC, one of the cert files didn't have a line break after the last --end certificate-- line.
Check the content of that specific cert it's complaining about!

"Bad end line" in /home/kloxo/ssl/informacje.xxx.pl.pem.
Take a look at this cert and you'll probably see that one of the lines doesn't have the linebreak as it should.

« Last Edit: 2016-06-10, 22:13:01 by fossxplorer (formerly 'Mella') »
Kloxo-MR!

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unable to start nginx and httpd after latest updates !
« Reply #7 on: 2016-06-11, 12:53:59 »
It worked well on latest update ;)

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.072 seconds with 20 queries.

web stats analysis