starting on a Mac
|
|
I have just read the help info coming with the stack, and on the site, but can’t find the answer to this for a Mac. Each time I start up the computer and try to access the wiki (http://127.0.0.1:8080/dokuwiki) I get an error saying no connection can be made with the server. I assume Apache needs to be started up first? But how to do that on a Mac. Thanks, |
|
|
Hi Gerben, To start the Apache server on Mac is similar to start on Linux distributions. You have to start a Terminal an go to DokuWiki installation directory:
And then you can start/stop the server using:
You will see a message similar to: And you can access to dokuwiki at http://127.0.0.1:8080. |
|
|
Hi Antonio, Thanks. I am half-way there: changing to the installation directory is no problem. But nothing happens after I use ”$ ./ctlscript.sh start”. I get no message… Gerben |
|
|
Ok, it works now, one ”$” too much apparently… Thanks! |
|
|
So I am also getting the error (Failed to Connect Firefox can’t establish a connection to the server at 127.0.0.1:8080. Though the site seems valid, the browser was unable to establish a connection.
after rebooting my Mac. So I tried the fix above and it worked fine. However, I remembered a post on the MediaWiki forum that gave directions at link http://bitnami.org/article/how-to-install-services-on-osx that would create a .plist file to AUTOMATICALLY perform this task at startup. The problem is it doesn’t (at least for me). My .plist config is (<?xml version=”1.0” encoding=”UTF-8”?> and it is saved in ~/Library/LaunchDeamons. Am I doing something wrong? Why would it work from the terminal but not from the .plist? Thanks for any help. |
|
|
I guess for now I will just run this applescript at boot : bq.do shell script “launchctl load -w /Library/LaunchDaemons/com.bitnami-dokuwiki.services.plist”bq. |
|
|
Man, how DO you do the blockquotes? |
|
|
Hi, If you run
What services are running? Is Apache and MySQL running? Could you post the result of this action?
(You can put the blockquotes starting with a bq. in a new line.) |
|
|
The following came directly from my terminal session: Last login: Fri Jun 27 08:00:51 on console |
|
|
I think beltran meant launchctl not launchclt |
|
|
Okay, so I put the following in an applescript and saved it as an application: do shell script “launchctl load -w /Library/LaunchDaemons/com.bitnami-dokuwiki.services.plist” and set it as a login item in system preferences and NOW DokuWiki comes up fine – but why? Why isn’t the .plist being initialized on it’s own WITHOUT this extra step? I guess I should just be happy it works but I hate stuff that doesn’t make sense. |
