hey how are you starting mgcamd.
I had a similar problem were mgcamd would not start from image cam manger but cccam would.
So I downloaded ts panel and used that to stop and start the cams and it worked
I think I uninstalled mgcamd and installed fresh from ts panel