jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

Cannot access mnpp.local or phpmyadmin.local #69

Open tanpet opened 11 years ago

tanpet commented 11 years ago

Good day,

I installed MNPP on Lion but cannot get to mnpp.local or phpmyadmin.local. I'm using Chrome and get either 'website is unavailable' or 'Google could not access ...'.

Based on other threads I read, I have set the environment with 'sudo sh /Applications/MNPP/init/environment.sh'. The hosts file already has 127.0.0.1 for both mnpp.local and phpmyadmin.local

Can anyone suggest any solutions?

Thanks in advance.

jyr commented 11 years ago

Hi @tanpet

Do you have run mnpp and specificlly nginx? try typing with

$ netstat -a -p tcp -n

Can you copy and paste nginx logs here?

tanpet commented 11 years ago

Thanks for responding.

From /logs/nginx -

mnpp.access.log:

127.0.0.1 - - [13/Jun/2013:08:39:19 -0400] "GET / HTTP/1.1" 200 60669 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" 127.0.0.1 - - [13/Jun/2013:08:39:20 -0400] "GET /index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2536 "http://mnpp.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" 127.0.0.1 - - [13/Jun/2013:08:39:20 -0400] "GET /index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2158 "http://mnpp.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" 127.0.0.1 - - [13/Jun/2013:08:39:21 -0400] "GET /favicon.ico HTTP/1.1" 404 570 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36"

mnpp.error.log:

2013/06/13 08:39:21 [error] 9885#0: *1 open() "/Applications/MNPP/htdocs/mnpp/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: mnpp.local, request: "GET /favicon.ico HTTP/1.1", host: "mnpp.local"

I tried starting the services individually in Terminal. When I started Percona I got 'Starting MySQL Percona Server' then lots of .......... I eventually quit Terminal and got an error about the inability to update PID file (/tmp/mysql/mysql.pid). This file does not exist.

theDanielJLewis commented 11 years ago

Any update on this? I can't get MNPP to work on Mountain Lion, either.

norman784 commented 10 years ago

not working on Mavericks too...

ghost commented 10 years ago

i'm on mavericks, phpmyadmin isn't there but mnpp.local works (with phpinfo)