[MacPorts] #19248: Incorrect launchctl item for notes in mysql install
#19248: Incorrect launchctl item for notes in mysql install ------------------------------+--------------------------------------------- Reporter: scott@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------+--------------------------------------------- I just did a port install mysql5 +server When it was done, it output a small instruction, included below: ########################################################### # A startup item has been generated that will aid in # starting mysql5 with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist That file does not exist, the closest I have to it is org.macports.mysql5-devel.plist -- Ticket URL: <http://trac.macports.org/ticket/19248> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ------------------------------+--------------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: mysql5 mysql5-devel ------------------------------+--------------------------------------------- Changes (by raimue@…): * owner: macports-tickets@… => ryandesign@… * port: => mysql5 mysql5-devel Old description:
I just did a port install mysql5 +server When it was done, it output a small instruction, included below:
########################################################### # A startup item has been generated that will aid in # starting mysql5 with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
That file does not exist, the closest I have to it is org.macports.mysql5-devel.plist
New description: I just did a port install mysql5 +server When it was done, it output a small instruction, included below: {{{ ########################################################### # A startup item has been generated that will aid in # starting mysql5 with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist }}} That file does not exist, the closest I have to it is org.macports.mysql5-devel.plist -- Comment: Make sure the correct port is active. Check `port installed mysql5 mysql5-devel`. If mysql5 is not active, switch by using `port deactivate` and `port activate`. Please remember WikiFormatting. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: The instructions are being output by MacPorts base at the same time that the plist is created. So they cannot be incorrect. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by chrswllms@…): Replying to [comment:2 ryandesign@…]:
The instructions are being output by MacPorts base at the same time that the plist is created. So they cannot be incorrect.
I also installed mysql5 and everything's running fine but the plist for mysql5 isn't there: $ ls /Library/LaunchDaemons/org* /Library/LaunchDaemons/org.macports.apache2.plist Not sure what the fix is for this but could someone post what the contents of this file should be in the meantime? -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by blb@…): Replying to [comment:3 chrswllms@…]:
I also installed mysql5 and everything's running fine but the plist for mysql5 isn't there:
$ ls /Library/LaunchDaemons/org* /Library/LaunchDaemons/org.macports.apache2.plist
Not sure what the fix is for this but could someone post what the contents of this file should be in the meantime?
Did you install "mysql5" or "mysql5 +server" as the +server variant is what sets up the plist? -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by chrswllms@…): Replying to [comment:4 blb@…]:
Did you install "mysql5" or "mysql5 +server" as the +server variant is what sets up the plist?
I didn't use the +server variant. I ended up installing mysql5 through the install of php5 +mysql5. Is there any way to get the server variant of mysql5 added to my mysql5 installation? -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by chrswllms@…): FYI - I just did an update of mysql5 using the -server variant but still don't have the file in either /Library/LaunchDaemons or /opt/local/etc/LaunchDaemons. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): To add the +server variant to an existing mysql5 install: {{{ sudo port -nf upgrade mysql5 +server }}} Note: "-server" __deselects__ the server variant (which has no effect since it's deselected by default). "+server" __selects__ the server variant. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by chrswllms@…): Perfect. I was doing an update and not an upgrade. That worked. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by scott@…): Interesting, I installed mysql5 and forgot the +server variant last night. I ran sudo port upgrade mysql5-devel +server. If all it has to do is a little launchd fiddling, it ended up rebuilding the entire thing. I did not trust it, removed it and started it clean. Is this not the intended behavior? I referenced the correct command as I pulled it from http://www.nabble.com/Forgot-to-add-%2Bvariant-td22877156.html#a22877156 My bash history shows sudo port -d upgrade mysql5-devel +server -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19248: Incorrect launchctl item for notes in mysql install ----------------------------------+----------------------------------------- Reporter: scott@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: mysql5 mysql5-devel | ----------------------------------+----------------------------------------- Comment(by chrswllms@…): Replying to [comment:10 scott@…]:
My bash history shows sudo port -d upgrade mysql5-devel +server
Try it again with the -nf flags. -- Ticket URL: <http://trac.macports.org/ticket/19248#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts