Forums Articles

HowTo: Install services on OSX

Subscribe to HowTo: Install services on OSX 3 post(s), 3 voice(s)

 
Avatar antonio Administrator 487 post(s)

This post is used to comment the article on how to install services on OSX that you can find at http://bitnami.org/article/how-to-install-services-on-osx

 
Avatar snozboz 1 post

Hi there. Great programs, website, and help-blog-article thing – thanks.

I made a plist file for a MAMP stack, but when I restarted my MacBook, MySQL was not running (according to phpMyAdmin) even though Apache and PHP were.

I tried restarting, without the plist file, and then manually entering
bq. (/Applications/mampstack-0.9.4/ctlscript.sh start)
at the terminal. This worked fine – MySQL worked along with everything else.

So I think there must be something wrong with my plist file. Any thoughts?

(<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE plist PUBLIC ”-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version="”1.0”">
<dict> <key>Label</key> <string>com.bitnami-mamp.services</string> <key>ProgramArguments</key> <array> <string>/Applications/mampstack-0.9.4/ctlscript.sh</string> <string>start</string> </array> <key>UserName</key> <string>root</string> <key>RunAtLoad</key> <true /> <key>OnDemand</key> <false />
</dict>
</plist>
<!- made by me, Martin, from http://bitnami.org/article/how-to-install-services-on-osx and http://bitnami.org/files/stacks/mampstack/mampstack.pdf -> )

 
Avatar beltran Administrator 371 post(s)

Hi Snozboz,

I think the plist file is correct. Maybe you have installed the MAMPStack as a normal user. You need to install the MAMPStack as root user:

$ sudo ./bitnami-mampstack-*.app/Contents/MacOS/installbuilder.sh

Forums Articles