{"id":387,"date":"2007-08-03T08:47:32","date_gmt":"2007-08-03T07:47:32","guid":{"rendered":"http:\/\/wp.devco.net\/?p=387"},"modified":"2009-10-09T17:42:31","modified_gmt":"2009-10-09T16:42:31","slug":"exim_on_centos_4","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2007\/08\/03\/exim_on_centos_4.php","title":{"rendered":"Exim on CentOS 4"},"content":{"rendered":"

I recently bought a new machine from Layeredtech<\/a> for my commercial mail anti spam system and am having endless troubles with it. I have a similar machine at Hetzner<\/a> also running CentOS 5 and it too is having problems, though less frequently.<\/p>\n

The short of it is that the drives disconnect, file systems go read only and the box needs a reboot:<\/p>\n

\n
\nata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen\nata1.00: (BMDMA stat 0x4)\nata1.00: tag 0 cmd 0xca Emask 0x4 stat 0x40 err 0x0 (timeout)\nata1: soft resetting port\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: qc timeout (cmd 0xec)\nata1.00: failed to IDENTIFY (I\/O error, err_mask=0x4)\nata1.00: revalidation failed (errno=-5)\nsd 0:0:0:0: SCSI error: return code = 0x00040000\nend_request: I\/O error, dev sda, sector 226813249\nBuffer I\/O error on device sda3, logical block 27835568\nlost page write due to I\/O error on sda3\nsd 0:0:0:0: SCSI error: return code = 0x00040000\nend_request: I\/O error, dev sda, sector 227360961\nBuffer I\/O error on device sda3, logical block 27904032\nlost page write due to I\/O error on sda3\n<\/pre>\n<\/blockquote>\n

So in an effort to figure out if this is a CentOS 5 problem – both ISPs certify CentOS 4 on their hardware – I needed to get my application going on CentOS 4. This turned out to be quite a mission involving getting Exim with MySQL and the recently integrate exiscan rather than the patched version.<\/p>\n

I looked at the various options and decided to just backport CentOS 5’s Exim package to CentOS 4.<\/p>\n

As it turns out I haven’t yet had a machine re-installed with CentOS 4 as I found some posts suggesting some kernel parameters that might fix things, I’ve applied these now to the machines and wait.<\/p>\n

My Exim RPMs can be found below:<\/p>\n

exim-4.63-3.src.rpm<\/a>
\n
exim-4.63-3.i386.rpm<\/a>
\n
exim-mon-4.63-3.i386.rpm<\/a>
\n
exim-sa-4.63-3.i386.rpm<\/a><\/p>\n

As with the CentOS 5 ones you’ll need various DB client libraries installed as this supports speaking to Postgres, MySQL, SQLite etc.<\/p>\n

This should be useful to anyone who just wants a more recent version of Exim on their CentOS\/RedHat 4 machines.<\/p>\n","protected":false},"excerpt":{"rendered":"

I recently bought a new machine from Layeredtech for my commercial mail anti spam system and am having endless troubles with it. I have a similar machine at Hetzner also running CentOS 5 and it too is having problems, though less frequently. The short of it is that the drives disconnect, file systems go read […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[6],"tags":[31,30,33],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/387"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=387"}],"version-history":[{"count":2,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":964,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/387\/revisions\/964"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}