When I try to restart apache I receive this error:

/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
Syntax error on line 26 of /etc/apache2/sites-enabled/mysite.com:
SSLCertificateKeyFile: file '/etc/ssl/private/ssl-cert-snakeoil.key' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

Comments

Anonymous’s picture

Fixed by prepending sudo to command.

mike stewart’s picture

Status: Active » Closed (works as designed)