{"id":48725,"date":"2018-04-04T12:21:00","date_gmt":"2018-04-04T17:21:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=48725"},"modified":"2018-04-04T12:21:00","modified_gmt":"2018-04-04T17:21:00","slug":"problem-with-recent-easyapache-update","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/problem-with-recent-easyapache-update\/","title":{"rendered":"Problem with Recent EasyApache Update"},"content":{"rendered":"
Last night, we pushed an update to EasyApache4 wherein after the update was installed Apache service may fail to restart properly. Upon checking the Apache error log, you may see error messaging similar to the following:<\/p>\n
We have pushed an update to resolve the issue for any servers that update in the future. The root cause was a failure where servers did not receive a required EasyApache rpm (ea-apr-util) during the update. If you have experienced this problem, you can resolve it immediately by following the steps below.<\/p>\n On your server, run the following commands<\/p>\n It may be that your PHP Handlers will need to be redefined as well. You can run this command to see what your current handlers are set to:<\/p>\n If you see that you have no handlers defined, you can either re-provision your PHP handlers in WHM >> MultiPHP Manager, under the PHP Handlers tab, or you can do set them with this command on the command line, replacing the $i with the ea-php## package name:<\/p>\n For example:<\/p>\n If you want to set all of the versions of PHP to the same handler, you can use this command:<\/p>\n We understand the frustration this has caused and is causing, and sincerely apologize for that. We will be updating the situation with more information as we receive it, and thank you for your patience. If you need any further help at all, feel free to open a ticket with our support team: https:\/\/tickets.cpanel.net\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Last night, we pushed an update to EasyApache4 wherein after the update was installed Apache service may fail to restart properly. Upon checking the Apache error log, you may see error messaging similar to the following: Server xxxxxxx.com Primary IP Address xxxxxxxxxx Service Name httpd Service Status failed Notification The service \u201chttpd\u201d appears to be […]<\/p>\n","protected":false},"author":77,"featured_media":64857,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-48725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products"],"acf":[],"yoast_head":"\nServer xxxxxxx.com
\nPrimary IP Address xxxxxxxxxx
\nService Name httpd
\nService Status failed
\nNotification The service \u201chttpd\u201d appears to be down.
\nService Check Method The system failed to connect to this service\u2019s TCP\/IP port.
\nReason Service check failed to complete
\nUnable to connect to port 80 on 127.0.0.1: Connection refused: Died
\nNumber of Restart Attempts 49
\nStartup Log \/usr\/sbin\/httpd: symbol lookup error: \/usr\/sbin\/httpd: undefined symbol: apr_bucket_alloc_aligned_floor
\nLog Messages [Tue Apr 03 22:54:35.759371 2018] [mpm_prefork:notice] [pid 12717] AH00163: Apache\/2.4.29 (cPanel) OpenSSL\/1.0.2n mod_bwlimited\/1.4 configured -- resuming normal operations<\/code><\/p>\nyum clean all<\/code>
\nyum -y update<\/code><\/p>\n
\/usr\/local\/cpanel\/bin\/rebuild_phpconf --current<\/code><\/p>\n
\/usr\/local\/cpanel\/bin\/rebuild_phpconf --$i=cgi --$i=suphp<\/code><\/p>\n
\/usr\/local\/cpanel\/bin\/rebuild_phpconf --ea-php55=cgi --ea-php56=suphp<\/code><\/p>\n
for i in $(ls -1 \/etc\/scl\/prefixes\/|grep ^ea); do \/usr\/local\/cpanel\/bin\/rebuild_phpconf --$i=cgi; done<\/code><\/p>\n