Ticket #11640 (closed defect: invalid)
BUG and Solution: mpd does not launch, complains about shmget
|Reported by:||ehainry@…||Owned by:||macports-tickets@…|
When I launch mpd, I get
http://mpd.wikia.com/wiki/Music_Player_Daemon_Problems_shmgetting 's suggestion does not work on osx.
The way I have found to avoid that is to modify /etc/rc, change shmmax and shmmax to the double of their original value and it ow works fine. (idea taken from http://www.unidata.ucar.edu/software/mcidas/2005/users_guide/workstation.html but I did not follow their values).
PS: I put this here for further reference if someone needs it. If anyone knows a better way to solve the problem, may he add a comment. However, this bug should be closed as it is not related to macports.