apache2ctl graceful
will generate such an error from make_sock (and mention not opening log files).
The fix for this particular issue is running the command as privileged, e.g.,
sudo apache2ctl graceful
I do not know whether that will suffice for your larger objective.