Welcome Guest. Please Login or Register  


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



Normal 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 22739 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: --   


Threads
 luizhop   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 22739 times)
    |--  ishpifuri   Thank you very...   on May 3, 2020, 2:12 pm
    |--  jamesc   working good for...   on June 6, 2020, 11:31 pm
    |--  mrajasays   You are a...   on July 29, 2020, 2:20 am
    |--  amisalabir   Great ! you...   on September 26, 2020, 9:09 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 29, 2024, 5:38 pm.

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