-
Notifications
You must be signed in to change notification settings - Fork 8
troubles building from current script #70
Comments
Correct. The installer is broken since the last updates. The patching was for 4.84.3 Jeremy McSpadden | Flux Labs On Oct 26, 2015, at 3:46 PM, jmhorne125 <notifications@github.commailto:notifications@github.com> wrote: hello, trying to build from the current baruwa install.sh script. have tried with my normal centos server build, as well as minimal install. both yeild same result. mailscanner install fails to find files it wants to patch: Now let's patch it up. % Total % Received % Xferd Average Speed Time Time Time Current The text leading up to this was: |diff -ruN MailScanner-4.84.3-1.orig/lib/MailScanner/Config.pm MailScanner-4.84.3-1/lib/MailScanner/Config.pm |+++ MailScanner-4.84.3-1/lib/MailScanner/Config.pm 2012-02-04 13:55:17.538190609 +0200 File to patch: The text leading up to this was: |diff -ruN MailScanner-4.84.3-1.orig/lib/MailScanner/ConfigSQL.pm MailScanner-4.84.3-1/lib/MailScanner/ConfigSQL.pm |+++ MailScanner-4.84.3-1/lib/MailScanner/ConfigSQL.pm 2012-02-04 13:58:08.035941768 +0200 File to patch: attempting to start mailscanner at the end of the whole script shows these errors: [root@ens-bmx01 tmp]# /etc/init.d/MailScanner restart
/etc/init.d/MailScanner: line 297: [: =: unary operator expected Waiting for MailScanner to die gracefully dead. Reply to this email directly or view it on GitHubhttps://github.com//issues/70. |
ah, i see. is there anything i can do in the meantime? is it possible to get an older version of the script that references mailscanner 4.84.3? |
We would have to try an old git pull ... Pre new baruwa updates. I haven't had the time to work out the patches or updates. Jeremy McSpadden | Flux Labs On Oct 26, 2015, at 3:52 PM, jmhorne125 <notifications@github.commailto:notifications@github.com> wrote: ah, i see. is there anything i can do in the meantime? is it possible to get an older version of the script that references mailscanner 4.84.3? Reply to this email directly or view it on GitHubhttps://github.com//issues/70#issuecomment-151281432. |
if that would be possible i would very grateful... i am desperate to get one of these up and running. on a side (but vaguely related) note... does the install.sh script self-delete? i have checked all the ones i have installed recently, and not a single one of them still has its install.sh script anymore. |
No. It should still be where you executed it from. Jeremy McSpadden | Flux Labs On Oct 26, 2015, at 3:58 PM, jmhorne125 <notifications@github.commailto:notifications@github.com> wrote: if that would be possible i would very grateful... i am desperate to get one of these up and running. on a side (but vaguely related) note... does the install.sh script self-delete? i have checked all the ones i have installed recently, and not a single one of them still has its install.sh script anymore. Reply to this email directly or view it on GitHubhttps://github.com//issues/70#issuecomment-151283050. |
I believe the temp directory empties on reboot Ashley On 26 Oct 2015, at 20:58, jmhorne125 <notifications@github.commailto:notifications@github.com> wrote: if that would be possible i would very grateful... i am desperate to get one of these up and running. on a side (but vaguely related) note... does the install.sh script self-delete? i have checked all the ones i have installed recently, and not a single one of them still has its install.sh script anymore. Reply to this email directly or view it on GitHubhttps://github.com//issues/70#issuecomment-151283050. |
well i was able to get the previous version of MailScanner to build, but i cant get around whatever is causing this error: Waiting for MailScanner to die gracefully dead. is there any possible work around? |
Looks like it failed to compile everything. Missing quick peek. Jeremy McSpadden | Flux Labs On Oct 27, 2015, at 10:46 AM, jmhorne125 <notifications@github.commailto:notifications@github.com> wrote: well i was able to get the previous version of MailScanner to build, but i cant get around whatever is causing this error: Waiting for MailScanner to die gracefully dead. is there any possible work around? Reply to this email directly or view it on GitHubhttps://github.com//issues/70#issuecomment-151546416. |
hello, trying to build from the current baruwa install.sh script. have tried with my normal centos server build, as well as minimal install. both yeild same result.
mailscanner install fails to find files it wants to patch:
Now let's patch it up.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1413 100 1413 0 0 3433 0 --:--:-- --:--:-- --:--:-- 13083
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2003 100 2003 0 0 6309 0 --:--:-- --:--:-- --:--:-- 19259
patching file MailScanner
Hunk #1 succeeded at 400 (offset 1 line).
Hunk #2 succeeded at 435 (offset 1 line).
Hunk #3 succeeded at 623 (offset 1 line).
Hunk #4 succeeded at 960 (offset 1 line).
install.sh: line 730: cd: /usr/lib/MailScanner/MailScanner: No such file or directory
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -ruN MailScanner-4.84.3-1.orig/lib/MailScanner/Config.pm MailScanner-4.84.3-1/lib/MailScanner/Config.pm
|--- MailScanner-4.84.3-1.orig/lib/MailScanner/Config.pm 2010-11-25 17:12:05.000000000 +0200
|+++ MailScanner-4.84.3-1/lib/MailScanner/Config.pm 2012-02-04 13:55:17.538190609 +0200
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -ruN MailScanner-4.84.3-1.orig/lib/MailScanner/ConfigSQL.pm MailScanner-4.84.3-1/lib/MailScanner/ConfigSQL.pm
|--- MailScanner-4.84.3-1.orig/lib/MailScanner/ConfigSQL.pm 2010-05-26 17:57:47.000000000 +0200
|+++ MailScanner-4.84.3-1/lib/MailScanner/ConfigSQL.pm 2012-02-04 13:58:08.035941768 +0200
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
attempting to start mailscanner at the end of the whole script shows these errors:
[root@ens-bmx01 tmp]# /etc/init.d/MailScanner restart
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
/etc/init.d/MailScanner: line 84: [: =: unary operator expected
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
/etc/init.d/MailScanner: line 84: [: =: unary operator expected
Shutting down MailScanner daemons:
MailScanner: [FAILED]
incoming : /etc/init.d/MailScanner: line 262: [: =: unary operator expected
/etc/init.d/MailScanner: line 267: [: =: unary operator expected
/etc/init.d/MailScanner: line 270: [: =: unary operator expected
/etc/init.d/MailScanner: line 276: [: =: unary operator expected
[FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
/etc/init.d/MailScanner: line 297: [: =: unary operator expected
/etc/init.d/MailScanner: line 299: [: =: unary operator expected
/etc/init.d/MailScanner: line 303: [: =: unary operator expected
[FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
Waiting for MailScanner to die gracefully dead.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='mta', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingworkdir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='incomingqueuedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='quarantinedir', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
DBD::Pg::st execute failed: ERROR: relation "quickpeek" does not exist
LINE 1: SELECT dbvalue(value) AS value FROM quickpeek WHERE external...
^ [for Statement "SELECT dbvalue(value) AS value FROM quickpeek WHERE external = ? AND (hostname = ? OR hostname='default') LIMIT 1" with ParamValues: 1='runasuser', 2='ens-bmx01'] at /usr/share/MailScanner/MailScanner/ConfigSQL.pm line 134.
/etc/init.d/MailScanner: line 84: [: =: unary operator expected
Starting MailScanner daemons:
incoming : /etc/init.d/MailScanner: line 103: [: =: unary operator expected
/etc/init.d/MailScanner: line 115: [: =: unary operator expected
/etc/init.d/MailScanner: line 125: [: =: unary operator expected
/etc/init.d/MailScanner: line 145: [: =: unary operator expected
[FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
outgoing : /etc/init.d/MailScanner: line 164: [: =: unary operator expected
/etc/init.d/MailScanner: line 174: [: =: unary operator expected
/etc/init.d/MailScanner: line 184: [: =: unary operator expected
/etc/init.d/MailScanner: line 189: [: =: unary operator expected
[FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
MailScanner: /etc/init.d/MailScanner: line 232: [: =: unary operator expected
[ OK ]
[root@ens-bmx01 tmp]#
The text was updated successfully, but these errors were encountered: