Early this morning ran pkg upgrade. It removed apache22 and some others, and installed apache24. Subsequently uninstalled apache24. Installed apache22.
When attempting to start apache22, it would not start.
if /etc/rc.conf is set with
apache22 will not start and it will produce core dump. It was also display an error [crit] (17)File exists: mod_rewrite: Parent could not create RewriteLock file /usr/local/etc/apache22/locks/systems.rewritelock
Apache22 will start in non ssl mode. When started without -DSSL it doesn't produce the mod_rewrite error and the file is created.
FreeBSD was upgraded to 10.3 from 9.2 while trying to figure out the issue since 9.2 is far too old. Hoped moving to 10.3 would automagically fix the issue. It didn't.
Have tried reinstalling apache22, php56*, openssl, apr1, and many others. Nothing we've tried seems to fix it. All we can tell is this issue is obviously related to SSL.
Fixed the issue with one command:
When attempting to start apache22, it would not start.
if /etc/rc.conf is set with
Code:
apache22_flags="-DSSL"
Apache22 will start in non ssl mode. When started without -DSSL it doesn't produce the mod_rewrite error and the file is created.
FreeBSD was upgraded to 10.3 from 9.2 while trying to figure out the issue since 9.2 is far too old. Hoped moving to 10.3 would automagically fix the issue. It didn't.
Have tried reinstalling apache22, php56*, openssl, apr1, and many others. Nothing we've tried seems to fix it. All we can tell is this issue is obviously related to SSL.
Fixed the issue with one command:
Code:
#portupgrade -rRf apr1 apache22