• Register
0 votes

Problem :

I want to view my php files locally on my mac.

I am trying to run Yosemite on my mac.

I have the MAMP installed on my mac. When I press start my MySQL server starts as usual but my Apache doesn't start at all. An error message is shown as below :

 'Error. Apache couldn't be started. Please check your MAMP installation'

I have tried changing 'envvars' to '_envvars' but nothing really works for me.

I also tried reinstalling the OSX and that worked but until I shut down my mac the problem reoccurs.

Can anyone help with the solution on above error?

6 5 3
7,540 points

1 Answer

0 votes

Solution :

If you are trying to start your server from the terminal then it is likely that it will tell you what is wrong with it e.g.

$ sudo /Applications/MAMP/bin/startApache.sh


‘Error :(49)Address already in use: make_sock: could not bind to address [::]:8888 (49)Address already in use: make_sock: could not bind to address no listening sockets available, shutting down Unable to open logs’

In the above explained case, I was trying to run the Blockstack browser out of 8888, so just changing the MAMP to 8887 allowed it to start.

Hope this will help you in resolving your issue.

9 7 4
38,600 points

Related questions

0 votes
1 answer 746 views
Problem : When attempting to start the servers, Apache fails to start, and MAMP claims that my port ([::]:8888) is already in the use. I have tried virtually every way I know of determining what the process is using that port (as well as many of other solutions ... what(if anything) is really using my port, or somehow convince the MAMP that my port is not actually in use. Any suggestions on this?
asked Jan 17 jwilliam 3.9k points
0 votes
1 answer 323 views
Problem : My code works perfectly on my friend's laptop But throws below error on my laptop. “Error: a jni error has occurred, please check your installation and try again” I have tried running the code on a Eclipse Juno using Java 7. I have also tested it and ... my final year project and I need it to work on my laptop at any case, I will be very grateful to anyone who solves it.
asked Jan 18 jwilliam 3.9k points
0 votes
1 answer 148 views
Problem : I have my Spark app which runs without any problem in the local mode, but have some problems when trying to submit to my Spark cluster. The error message is as below: 20/01/05 15:42:06 WARN scheduler.TaskSetManager: Lost task 2.0 in stage 0.0 (TID 2, ... but I have already provided the "--master" parameter to my spark-submit. Anybody who can fix above problem? My Spark version : 1.6.1
asked Jan 6 alecxe 7.5k points
1 vote
1 answer 109 views
Problem : Currently I am using Hadoop 2.7.1 and apache-hive-1.2.1 versions installed on my ubuntu 14.0. 1. Why below error is occurring ? 2. Do I need to do metastore installation ? 3. When we are typing the hive command on terminal how the ... Still the above error persist #HIVE home directory configuration export HIVE_HOME=/usr/local/hive/apache-hive-1.2.1-bin export PATH="$PATH:$HIVE_HOME/bin"
asked Dec 12, 2019 alecxe 7.5k points
0 votes
1 answer 148 views
Problem : I am having trouble with my website. It has been slowed down a little in last couple of days. I have carefully looked into my error log & found a lots of following logs: [Sat Nov 30 00:09:53 2019] [error] [client] Request ... core.c(3126): [client] redirected from r->uri = /images/2019/02/600x376_0.076827001313237200_pixnaz_ir_1.jpg How to solve this issue?
asked Nov 30, 2019 alecxe 7.5k points