[MacPorts] #20421: mysql5-server port failed to start

MacPorts noreply at macports.org
Tue Aug 4 01:00:59 PDT 2009


#20421: mysql5-server port failed to start
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  1.8.0                  
 Keywords:                      |        Port:  mysql5-server          
--------------------------------+-------------------------------------------

Comment(by conradwt@…):

 The only thing that I see when doing a 'ps ax | grep mysql' is the
 following:

 {{{

 darnoc-laptop:LaunchDaemons conradwt$ ps ax | grep mysql
   203   ??  Ss     0:00.01 /opt/local/bin/daemondo --label=mysql5 --start-
 cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start
 ; --stop-cmd
 /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper stop ;
 --restart-cmd
 /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper restart ;
 --pid=none

 }}

 Also, I'm seeing the following message is generated in the Console when I
 load the standard file:

 {{{

 $ sudo launchctl load -w
 /opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist'

 console result:

 8/4/09 12:44:09 AM      org.macports.mysql5[203]        Starting MySQL
 8/4/09 12:44:09 AM      org.macports.mysql5[203]        .
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[227]) Bug: launchd_core_logic.c:8245
 (23928):0
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[227]) Switching sessions is not allowed in
 the system Mach bootstrap.
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[227]) _vprocmgr_switch_to_session(): kr =
 0x44c
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[228]) Bug: launchd_core_logic.c:8245
 (23928):0
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[228]) Switching sessions is not allowed in
 the system Mach bootstrap.
 8/4/09 12:44:09 AM      com.apple.launchd[1]
 (0x100116c10.anonymous.nohup[228]) _vprocmgr_switch_to_session(): kr =
 0x44c
 8/4/09 12:44:10 AM      org.macports.mysql5[203]        .
 8/4/09 12:44:11 AM      org.macports.mysql5[203]        .
 8/4/09 12:44:12 AM      org.macports.mysql5[203]         ERROR! Manager of
 pid-file quit without updating file.
 8/4/09 12:45:23 AM      com.apple.WebKit.PluginAgent[248]       Debugger()
 was called!

 }}}

 Also, when I unload the above file, I'm seeing the following message in
 the Console:

 {{{

 $ sudo launchctl unload -w
 /opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist

 console result:

 8/4/09 12:54:01 AM      org.macports.mysql5[273]         ERROR! MySQL
 manager or server PID file could not be found!

 }}}

 Lastly, there was no socket path found in '/tmp'.  Also, I wasn't about to
 locate one on the standard path, '/opt/local/var/run/mysql5/'.
 I'll check my PowerMac G5 permissions for MySQL 5 and compare them to what
 I'm seeing on the MacBook Pro.

-- 
Ticket URL: <http://trac.macports.org/ticket/20421#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list