{"id":39,"date":"2016-12-26T11:30:49","date_gmt":"2016-12-26T11:30:49","guid":{"rendered":"http:\/\/aps.test\/wp\/?p=39"},"modified":"2017-11-26T19:46:57","modified_gmt":"2017-11-26T19:46:57","slug":"apache-debian-wheezy-upgrade-failure","status":"publish","type":"post","link":"https:\/\/thinkdebian.net\/blog\/apache-debian-wheezy-upgrade-failure\/","title":{"rendered":"apache 2 on debian wheezy upgrade failure"},"content":{"rendered":"<p>After running <\/p>\n<pre lang=\"bash\">apt-get update && apt-get upgrade<\/pre>\n<p> on a Debian Wheezy server package apache2-mpm-prefork:amd64 was removed and package apache2-mpm-itk:amd64 installed instead. \u00a0After this change in Apache worker, all Virtualhosts sites on the server stopped working, with the following error format in the logs:<\/p>\n<p><code><br \/>\n[Mon Nov 21 09:57:41 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4012<br \/>\n[Mon Nov 21 09:57:55 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4019<br \/>\n[Mon Nov 21 09:57:58 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4025<br \/>\n[Mon Nov 21 09:58:23 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4058<br \/>\n[Mon Nov 21 09:59:23 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4092<br \/>\n[Mon Nov 21 10:00:47 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4737<br \/>\n[Mon Nov 21 10:01:47 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4770<br \/>\n[Mon Nov 21 10:02:23 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can't lock process table in pid 4813<br \/>\n<\/code><\/p>\n<p>PHP version was Wheezy default at the time,\u00a05.4.45-0+deb7u5<\/p>\n<p>Apache version was\u00a02.2.22-13+deb7u7<\/p>\n<p>ISPConfig hosting control panel was installed. \u00a0PHP in ISPConfig was set as FastCGI.<\/p>\n<p>After the upgrade, Apache could not start. I had to do a:<\/p>\n<pre lang=\"bash\">killall -9 apache2<\/pre>\n<p>and check the system ports to verify no process was still using port 80.<\/p>\n<pre lang=\"bash\">netstat -pnat | grep :80<\/pre>\n<p> showed no process, so Apache would start, but websites would not work.<\/p>\n<p>After running\u00a0<\/p>\n<pre lang=\"bash\">apt-get install apache2-mpm-prefork\u00a0<\/pre>\n<p>the prefork worker\u00a0was installed, the newly installed itk worker was removed, and normal operation of the virtualhosts was resumed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After running apt-get update &#038;&#038; apt-get upgrade on a Debian Wheezy server package apache2-mpm-prefork:amd64 was removed and package apache2-mpm-itk:amd64 installed instead. \u00a0After this change in Apache worker, all Virtualhosts sites on the server stopped working, with the following error format in the logs: [Mon Nov 21 09:57:41 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can&#8217;t &#8230; <a title=\"apache 2 on debian wheezy upgrade failure\" class=\"read-more\" href=\"https:\/\/thinkdebian.net\/blog\/apache-debian-wheezy-upgrade-failure\/\" aria-label=\"More on apache 2 on debian wheezy upgrade failure\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,8],"tags":[9,12,13],"_links":{"self":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/39"}],"collection":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":7,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/posts\/39\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkdebian.net\/blog\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}