Make sure this portion of the script ran. sed -i 's:MailScanner Version Number = 4.84.3:MailScanner Version Number = 4.84.5:' /etc/MailScanner/MailScanner.conf sed -i 's:Virus Scanners = none:Virus Scanners = clamd:' /etc/MailScanner/MailScanner.conf sed -i 's:EXIM:#EXIM:' /etc/sysconfig/MailScanner sed -i 's:Custom Functions Dir = /usr/share/MailScanner/MailScanner/CustomFunctions:Custom Functions Dir = /usr/lib/MailScanner/MailScanner/CustomFunctions:' /etc/MailScanner/MailScanner.conf
The script will not work with 2 different systems. It was written for all on the same. -- Jeremy McSpadden Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955 On Jan 17, 2013, at 1:39 PM, Anis Jendoubi <[email protected]<mailto:[email protected]>> wrote: Jeremy thanks for the prompt reply, Well 192.168.1.20 = ns.domain.local (an internal lab DNS server) smtp.domain.local = 192.168.1.60 yes CeleryD (aka baruwa ;) ) process is there when I ps -aux it (below is the proof): ------------------------------------- [root@smtp httpd]# ps -aux | grep celeryd Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root 1312 0.0 0.0 131084 1420 ? S 18:32 0:00 runuser -s /bin/bash baruwa -c ulimit -S -c 0 >/dev/null 2>&1 ; /home/baruwa/px/bin/paster celeryd /etc/baruwa/production.ini -f /var/log/baruwa/celeryd.log --pidfile=/var/run/baruwa/celeryd.pid -l INFO baruwa 1313 0.0 0.0 106056 1332 ? Ss 18:32 0:00 bash -c ulimit -S -c 0 >/dev/null 2>&1 ; /home/baruwa/px/bin/paster celeryd /etc/baruwa/production.ini -f /var/log/baruwa/celeryd.log --pidfile=/var/run/baruwa/celeryd.pid -l INFO baruwa 1314 0.0 4.1 413276 79224 ? S 18:32 0:05 /home/baruwa/px/bin/python /home/baruwa/px/bin/paster celeryd /etc/baruwa/production.ini -f /var/log/baruwa/celeryd.log --pidfile=/var/run/baruwa/celeryd.pid -l INFO root 3006 0.0 0.0 103236 868 pts/1 S+ 20:38 0:00 grep celeryd ------------------------------------- However I found this error with MailScanner services not running: -------------------------------------------------------------------------- [root@smtp httpd]# /etc/init.d/MailScanner status DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist LINE 1: SELECT value FROM quickpeek WHERE external = $1 AND (hostnam... ^ [for Statement "SELECT value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='smtp.domain.local'] at /usr/lib/MailScanner/MailScanner/ConfigSQL.pm line 134. /etc/init.d/MailScanner: line 84: [: =: unary operator expected Checking MailScanner daemons: MailScanner: [FAILED] /etc/init.d/MailScanner: line 335: [: =: unary operator expected /etc/init.d/MailScanner: line 349: [: =: unary operator expected ----------------------------------------------------------------------------------------------------------- On 17 January 2013 20:32, Jeremy McSpadden <[email protected]<mailto:[email protected]>> wrote: CeleryD setup to listen on smtp.domain.local ? Is that entry in your hosts file ? It is setup to listen and operate on itself correct ? 192.168.1.20 = smtp.domain.local ? -- Jeremy McSpadden Flux Labs | Endless Solutions Cell : 850-890-2543 | Fax : 850-254-2955 On Jan 17, 2013, at 1:27 PM, "Anis Jendoubi" <[email protected]<mailto:[email protected]>> wrote: Hi, I used Jeremy's script posted here ( http://baruwa-users-list.963389.n3.nabble.com/CentOS-6-x64-86-Installer-for-Baruwa-2-0-tp4025621p4025646.html ), everything goes well until I go to the url and put the admin username and password set during scripted install and hit the "login" button, after about 2 or 3 seconds loading it throws me an error 500 (see attachment). I checked baruwa-error_log file and this is what I get (the log is filled with such errors), the smtp.domain.local is the baruwa machine, the 192.168.1.20 is the machine I connect to baruwa's frontpage. ------------------------------------------------------------------------------ [root@smtp httpd]# tail /var/log/httpd/baruwa-error_log [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] <pre>Traceback (most recent call last):, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] File "/home/baruwa/px/lib/python2.6/site-packages/weberror/errormiddleware.py", line 450, in send_report, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] rep.report(exc_data), referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] File "/home/baruwa/px/lib/python2.6/site-packages/weberror/reporter.py", line 45, in report, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] server = smtplib.SMTP(self.smtp_server), referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] File "/usr/lib64/python2.6/smtplib.py", line 241, in __init__, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] raise SMTPConnectError(code, msg), referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] SMTPConnectError: (451, 'Temporary local problem - please try later'), referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:01 2013] [error] [client 192.168.1.20] </pre>, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F [Thu Jan 17 20:11:02 2013] [error] [client 192.168.1.20] </p>, referer: http://smtp.domain.local/accounts/login?came_from=http%3A%2F%2Fsmtp.domain.local%2F ------------------------------------------------------------------------------ Any idea? Thanks for the help. Anis <baruwa2-error500.JPG> _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056 _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056 _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

