Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Start bitnami redmine at boot time on OSX

$
0
0

Hello, I am on osx 10.8.4 and installed the last version of redmine 2.3.2. I am trying to figure out how to settle redmine as a server service automated at boot time, without sucess. I have followed the guide in the wiki but I am not progressing. After creating the plist files and loading them, the manager-osx shows the services as offline and the url is not accessible. If I try to launch manually the services it goes like this:

sudo launchctl load -w com.bitnami-redmine.apache.service.plist com.bitnami-redmine.services: Already loaded

sudo launchctl load -w com.bitnami-redmine.mysql.service.plist ctlscript-mysql: Already loaded

If I check the localhost:8080 it is not running, as foreseen.

So, what is the problem?

I paste the contents of the files just in case:

<?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-redmine.services</string>
        <key>ProgramArguments</key>
        <array>
          <string>/Applications/redmine-2.3.2-0/ctlscript.sh</string>
          <string>start</string>   
          <string>apache</string>    
        </array>
        <key>UserName</key>
        <string>root</string>
        <key>RunAtLoad</key>
        <true/>

        <key>OnDemand</key>
        <false/>
      </dict>
    </plist>

And:

<?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>ctlscript-mysql</string>
        <key>ProgramArguments</key>
        <array>
                <string>/Applications/redmine-2.3.2-0/mysql/bin/mysqld_safe</string>
                <string>--defaults-file=/Applications/redmine-2.3.2-0/mysql/my.cnf</string>
                <string>--port=3306</string>
                <string>--socket=/Applications/redmine-2.3.2-0/mysql/tmp/mysql.sock</string>
                <string>--datadir=/Applications/redmine-2.3.2-0/mysql/data</string>
                <string>--log-error=/Applications/redmine-2.3.2-0/mysql/data/mysqld.log</string>
                <string>--pid-file=/Applications/redmine-2.3.2-0/mysql/data/${machine_hostname}.pid</string>
       </array>
        <key>RunAtLoad</key>
        <true/>
        <key>UserName</key>
        <string>_mysql</string>
        <key>GroupName</key>
        <string>_mysql</string>
</dict>
</plist>

edit: well, now I cant event run it manually, the mysql wont start, here the mysqld.log

130724 14:06:44 mysqld_safe Starting mysqld.bin daemon with databases from /App$ 130724 14:06:44 [ERROR] Fatal error: Please read "Security" section of the manu$

130724 14:06:44 [ERROR] Aborting

130724 14:06:44 [Note] /Applications/redmine-2.3.2-0/mysql/bin/mysqld.bin: Shut$

130724 14:06:44 mysqld_safe mysqld from pid file /Applications/redmine-2.3.2-0/$


Viewing all articles
Browse latest Browse all 2052

Trending Articles