LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2017, 04:48 PM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835

Quote:
Originally Posted by penyuan View Post
OK, I did:
  1. ran "systemctl stop httpd"
  2. "sudo netstat -tanpl|grep 80" showed nothing (so I guessed httpd was really stopped)
  3. checked "htop" and "sudo htop" for httpd or apache and nothing was listed
  4. checked my httpd.conf configuration file to make sure there's only one "Listen 80"
  5. did "systemctl start httpd"
  6. It fails with the same errors as before...
  7. Tried to reboot server with same result...

Anything else I can try??? Sorry about being difficult but I appreciate your help!
Are you sure you're running "systemctl start httpd" as root or through sudo? You can take a look at error_log to see if you find more clues.

Other than that, I cannot thing of else. Also apache confirms that there are 3 reasons why you may get this error.
 
1 members found this post helpful.
Old 05-21-2017, 01:50 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,296
Blog Entries: 9

Rep: Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376Reputation: 4376
here's something i wanted to say since post #1, and after 4 days of fruitless troubleshooting i think i should:

manjaro is not a good server distro.

as you know it is based on archlinux, and even devoted archlinux users (such as myself) will tell you "you can use archlinux as a server, but..."
fwiw, my desktop runs archlinux, my server runs debian stable, and never a problem with that.
 
1 members found this post helpful.
Old 05-21-2017, 08:27 AM   #18
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 188

Original Poster
Rep: Reputation: 19
Question

Quote:
Originally Posted by ondoho View Post
here's something i wanted to say since post #1, and after 4 days of fruitless troubleshooting i think i should:

manjaro is not a good server distro.

as you know it is based on archlinux, and even devoted archlinux users (such as myself) will tell you "you can use archlinux as a server, but..."
fwiw, my desktop runs archlinux, my server runs debian stable, and never a problem with that.
Yes I'm starting to agree with that!! Unfortunately even though I own the physical server I won't have physical access to it to re-install a different distribution until later this year. I don't suppose there's a way to remotely re-install the OS??? BTW just curious: How did you decide on Debian instead of other server distributions like Red Hat derivatives or others?

Quote:
Originally Posted by bathory View Post
Are you sure you're running "systemctl start httpd" as root or through sudo? You can take a look at error_log to see if you find more clues.

Other than that, I cannot thing of else. Also apache confirms that there are 3 reasons why you may get this error.
Sorry I discovered I was stupid and didn't use "sudo" when running the "/usr/bin/httpd -k start -DFOREGROUND" command. After running it with sudo, it goes back to this error in /var/log/httpd/error_log:
Quote:
[Sun May 21 21:15:36.673749 2017] [ssl:emerg] [pid 5139] AH01903: Failed to configure CA certificate chain!
[Sun May 21 21:15:36.673919 2017] [ssl:emerg] [pid 5139] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
Thank you all for your patience and for helping me narrow down the issue a little bit. Do let me know in case you think of something else, in the meantime I'll try to take this to ServerFault in case anyone there has ideas....
 
Old 05-21-2017, 10:33 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Quote:
Thank you all for your patience and for helping me narrow down the issue a little bit. Do let me know in case you think of something else, in the meantime I'll try to take this to ServerFault in case anyone there has ideas....
Well, you may give this post a try

Cheers
 
1 members found this post helpful.
Old 05-21-2017, 02:37 PM   #20
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 188

Original Poster
Rep: Reputation: 19
Thumbs up

Quote:
Originally Posted by bathory View Post
Well, you may give this post a try
Cheers
WOW, this did it! My Apache server is finally working normally yet again. Thank you so much for your help and patience!!

(that said, I agree it's probably a good idea to move to another distro in the future, so do let me know if you have recommendations)
 
Old 05-22-2017, 01:58 AM   #21
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Quote:
Originally Posted by penyuan View Post
WOW, this did it! My Apache server is finally working normally yet again. Thank you so much for your help and patience!!

(that said, I agree it's probably a good idea to move to another distro in the future, so do let me know if you have recommendations)
Glad to see it worked!

Even though I'm using Slackware for my servers, I'd suggest, that if you want to use Linux professionally, to use RHEL (if you can afford the support fees), or else go for Centos.

Regards
 
1 members found this post helpful.
Old 05-26-2017, 08:00 AM   #22
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 188

Original Poster
Rep: Reputation: 19
Thumbs up

Quote:
Originally Posted by bathory View Post
Glad to see it worked!

Even though I'm using Slackware for my servers, I'd suggest, that if you want to use Linux professionally, to use RHEL (if you can afford the support fees), or else go for Centos.

Regards
Just an FYI for anyone seeing this: I just noticed that RedHat has a no-cost developer subscription available for RHEL here.

Anyway, thanks again for your help!
 
  


Reply

Tags
apache, certificates, manjaro, server, ssl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] XAMPP fails to start. Another web server with SSL already running, can't stop it Draper Linux - Server 5 08-01-2013 12:09 PM
Apache Server fails to start sniper8752 Linux - Server 21 05-14-2013 01:16 AM
how to start apache web server anindyanuri Debian 3 06-19-2006 02:12 AM
How do I start apache web server? JockVSJock Slackware 25 05-15-2005 12:22 PM
Apache web server install fails westone Linux - Networking 1 07-05-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration