Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Ampps 3.9 on macOS Catalina - Apache won't start



Threaded Mode | Print  

 Ampps 3.9 on macOS Catalina - Apache won't start, Workarounds to make Apache start on Ampps 3.9 with macOS Catalina (4 Replies, Read 22540 times)
luizhop
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi,

I recently updated to macOS Catalina and, as Ampps 3.8 is not supported on that new version of OS, I needed to update to Ampps 3.9.

Initially everything worked fine, but the problems started when I added a domain to be used as virtual host. I checked the box to add an SSL record to be used for that domain, then got an error: 'Cert File was not created due to unknown reason'. So I tried again unchecking the SSL box and it worked, the domain was created.

When I restarted the computer the Apache wouldn't start, so I debugged running "/Applications/AMPPS/apache/bin/httpd" command on terminal, and was getting the following errors from file "/Applications/Ampps/apache/conf/extra/httpd-vhosts.conf", all related to SSL:

  • line 25: cannot define multiple Listeners on the same IP:port (so the port 443 was already being used)
  • line 53: file '/Applications/Ampps/apache/conf/ssl_crt/server.crt' does not exist or is empty
  • line 54: file '/Applications/Ampps/apache/conf/ssl_key/server.key' does not exist or is empty
Tried to comment those lines, but when creating a new domain Ampps would rewrite that file, so I would lose the editing made. So the solution I found was:
  • On file '/Applications/Ampps/apache/conf/httpd.conf' comment the line 'Include conf/extra/httpd-ssl.conf' as the content of this file (not exactly but very similar) was already being loaded from the Ampps auto-generated file '/Applications/Ampps/apache/conf/extra/httpd-vhosts.conf'
  • Duplicate the file '/Applications/Ampps/apache/conf/ssl_crt/localhost.crt' and rename it to 'server.crt', as this is the name that Ampps auto-generated file tries to load
  • Duplicate the file '/Applications/Ampps/apache/conf/ssl_key/localhost.key' and rename it to 'server.key', as this is the name that Ampps auto-generated file tries to load


Hope this can help people facing the same issues.
IP: --   

Ampps 3.9 on macOS Catalina - Apache won't start
ishpifuri
Group: Member
Post Group: Newbie
Posts: 1
Status:
Thank you very much, worked like a charm.
IP: --   

Ampps 3.9 on macOS Catalina - Apache won't start
jamesc
Group: Member
Post Group: Working Newbie
Posts: 59
Status:
working good for me after apache won't start after added a new domain
IP: --   

Ampps 3.9 on macOS Catalina - Apache won't start
mrajasays
Group: Member
Post Group: Newbie
Posts: 1
Status:
You are a legend!
IP: --   

Ampps 3.9 on macOS Catalina - Apache won't start
amisalabir
Group: Member
Post Group: Newbie
Posts: 1
Status:
Great ! you are the boss. Thank you very much. I got solved my problem with your instruction. Much appreciation for you.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 1:46 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.023