auto create /var/run/megam/megamd dir.