Error "Segmentation fault" during forced-ads cron job
Q: When my forced-ads cron job runs, I receive an error message similar to the following:
/usr/local/apache/bin/apachectl: line 81: 20657 Segmentation fault $HTTPD -t >/dev/null 2>&1
How do I fix this?
This error message is generated by Apache, not iPanel/iAds. iPanel/iAds needs to modify your Apache configuration each time its cron job runs in order to rotate your ads and apply ads to new accounts. After modifying the Apache configuration, it needs to restart Apache so that Apache will see the updated configuration.
This error message indicates that Apache itself is crashing upon trying to restart. This indicates a serious problem with Apache's modules or Apache itself -- often the result of a failed or incorrect mod_layout installation.
To correct this problem, you'll need to have your systems administrator investigate the cause of the segmentation fault and correct the underlying problem with Apache or its modules.