Author Topic: Mail filter service stopped  (Read 2465 times)

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Mail filter service stopped
« on: December 10, 2014, 10:51:58 am »
Hi people,

After an update yesterday the mail filter stopped working. Mail is now qeued up in my mailqeue.

These were the updates:
spamassassin spamc xserver-common xserver-xorg-core

Starting the service results in nothing. it looks that its running, but after 10 seconds the service stops again. Everything else is running as it should be...

looking at the zentyal log this is the only error i see after starting the mail filter service:

2014/12/10 10:48:07 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.


Is there some other log that i should read?
« Last Edit: December 10, 2014, 10:57:09 am by Progressed »

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #1 on: December 10, 2014, 12:06:43 pm »
still not working but did some steps to try and resolve.

Because it happened after installing the spamassassin i tried to recreate te DB with the following commands:

sudo -s # enter superuser shell
echo "DROP DATABASE spamassassin;" | mysql --defaults-file=/etc/mysql/debian.cnf
/usr/share/zentyal-mailfilter/create-spamassassin-db
reboot


so we can rule this one out i think?

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #2 on: December 10, 2014, 02:13:45 pm »
disabling mail filter module and enabling it didnt help either. I hoped that the mailfilter would reinstall itself with a fresh config.

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #3 on: December 10, 2014, 02:26:24 pm »
hoping an update would trigger some response. I saw an update of openchange 4.0.5 so i went allong and install it
here were the results:
Setting up zentyal-openchange (4.0.5) ...
/var/lib/dpkg/info/zentyal-openchange.postinst: line 12: syntax error near unexpected token `)'
/var/lib/dpkg/info/zentyal-openchange.postinst: line 12: `    triggered)'
dpkg: error processing package zentyal-openchange (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 zentyal-openchange
E: Sub-process /usr/bin/dpkg returned an error code (1)


according to the upgrade module page i should run the following:
To solve this situation, please try to execute the following command in the console:

sudo dpkg --configure -a

After the above command is finished you can reload this page. If the problem persists, you can ask for help in the community forum or file a ticket in the Zentyal trac.


unfortunatly this resulted in the following response
Setting up zentyal-openchange (4.0.5) ...
/var/lib/dpkg/info/zentyal-openchange.postinst: line 12: syntax error near unexpected token `)'
/var/lib/dpkg/info/zentyal-openchange.postinst: line 12: `    triggered)'
dpkg: error processing package zentyal-openchange (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 zentyal-openchange


mrbigg1978

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #4 on: December 10, 2014, 04:09:27 pm »
I just installed a new server from scratch and getting same issue on package zentyal-openchange (4.0.5)

/var/lib/dpkg/info/zentyal-openchange.postinst: line 12: syntax error near unexpected token `)'

Adding a line with ;; just before line 12 - triggered) seems to have fixed the issue



Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #5 on: December 10, 2014, 04:18:53 pm »
good job! Fixed it for me to... the installation-part of it... Mail-filter isnt starting and now the openchange module isnt starting either...


Seems that the implemented a fix. They released zentyal-openchange 4.0.6
« Last Edit: December 10, 2014, 04:41:30 pm by Progressed »

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #6 on: December 10, 2014, 06:58:35 pm »
i tried to start the mailfilter service by commandline. Indeed no errors and it says it started succefully:

sudo service zentyal mailfilter start
 * Restarting Zentyal module: mailfilter                                 [ OK ]


when going to the dashboard it still says stopped.

Hoping some of you can really REALLY help me....

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #7 on: December 11, 2014, 11:51:24 am »
Im scared that no employee has responded...

This problem is bigger then i tought even with a clean install the mailfilter is stopped without error

Progressed

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Mail filter service stopped
« Reply #8 on: December 11, 2014, 02:57:56 pm »
i can confirm that after the update of spamassassin this whole thing went wrong. Also on new installs the mail filter is being stopped because on new install of zentyal it gets the latests version of spamassassin.

papajulio

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 64
  • Karma: +6/-0
    • View Profile
Re: Mail filter service stopped
« Reply #9 on: December 11, 2014, 03:27:51 pm »
We are aware of the problem, we will get back to you shortly with a solution.

Sorry for the inconvenience.

Check this ticket in tracker to see the status: https://tracker.zentyal.org/issues/2729
« Last Edit: December 11, 2014, 03:35:14 pm by papajulio »
--
Julio José García Martín - QA Engineer

papajulio

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 64
  • Karma: +6/-0
    • View Profile
Re: Mail filter service stopped
« Reply #10 on: December 11, 2014, 06:02:37 pm »
Already fixed the issue check the ticket in tracker  https://tracker.zentyal.org/issues/2729 for a workaround while we get a new package with the fix out.

Sorry for the delay.
--
Julio José García Martín - QA Engineer