begin mjmainsrv