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 (2 Replies, Read 2288 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: 55
Status:
working good for me after apache won't start after added a new domain
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 8, 2020, 10:56 am.

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