[Kolab-devel] kolab 2.1 snapshots error: spamd
Fabio Pietrosanti
lists at pietrosanti.it
Wed Dec 7 16:02:45 CET 2005
mail-it-srv1:/data# /etc/init.d/kolab start
OpenPKG: start: openpkg, openldap, sasl, spamassassin:FAILED
openpkg:rc:WARNING: /kolab:spamassassin:%start: failed with return code 9
openpkg:rc:NOTICE: output from stdout/stderr is following:
+----------------------------------------------------------------------
| Bareword found where operator expected at /kolab/bin/spamd line 1838,
near "Mail::SpamAssassin::dbg('daemonized"
| (Might be a runaway multi-line '' string starting on line 1836)
| Bareword found where operator expected at /kolab/bin/spamd line 1860,
near "# If TMPDIR isn't"
| (Might be a runaway multi-line '' string starting on line 1838)
| (Missing operator before t?)
| Bareword found where operator expected at /kolab/bin/spamd line 1860,
near ") will"
| (Missing operator before will?)
| syntax error at /kolab/bin/spamd line 1838, near
"Mail::SpamAssassin::dbg('daemonized"
| syntax error at /kolab/bin/spamd line 1862, near ");"
| Global symbol "$tmpdir" requires explicit package name at
/kolab/bin/spamd line 1864.
| syntax error at /kolab/bin/spamd line 1903, near "}"
| Execution of /kolab/bin/spamd aborted due to compilation errors.
+----------------------------------------------------------------------
OpenPKG: start: amavisd, apache, clamav, imapd, postfix, proftpd, kolabd.
Differencies between 2.0 and 2.1 snapshots of spamd:
1835,1836c1835,1836
< # Now we can redirect the errors, too.
< open STDERR, '>&STDOUt: $!\n";
---
> # Now we can redirect the errors, too.
> open STDERR, '>&STDOUT' or die "Can't duplicate stdout: $!\n";
It seems an typo error because looking with vim the file i see:
# Now we can redirect the
erro^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@rs, too.
open STDERR, '>&STDOUt: $!\n";
which must be changed to
open STDERR, '>&STDOUt: $!\n';
note the ' instead of " to close the statement.
With this modification spamd start correctly without errors.
More information about the devel
mailing list