Task Freewebs check disk usage kills z-push [FIXED]

About Zarafa appliance or Zarafa managed by Artica

Task Freewebs check disk usage kills z-push [FIXED]

New postby goofy180173 » Thu Sep 19, 2013 7:34 pm

I installed the new Webapp for Zarafa and enabled z-push.
Befor I had used the standard webapp on port 9010 and had a seperate z-push webservice on freewebs.
Every day at 21:30 a task is running checking Disk-usage of Freewebs.
After this task z-push isn't working any more. I tried to restart apache but the only way to get it working again is to restart the server.
goofy180173
 
Posts: 96
Joined: Mon Jan 02, 2012 11:02 am
Artica servers number: 1
Linux System: Debian
Technical skills: A Linux developper

Re: Task Freewebs check disk usage kills z-push

New postby goofy180173 » Mon Apr 14, 2014 7:40 pm

The reason why z-push is not working any more is, that this task changes the owner of the directory /var/www/<mydomain>/mobile and all subdir to root:root
If I change it back to www-data:www-data all works fine.
How could I avoid this?
goofy180173
 
Posts: 96
Joined: Mon Jan 02, 2012 11:02 am
Artica servers number: 1
Linux System: Debian
Technical skills: A Linux developper

Re: Task Freewebs check disk usage kills z-push

New postby admin » Mon Apr 14, 2014 11:13 pm

Extract this file under /usr/share/artica-postfix/framework directory

do

Code: Select all
echo 1 >/etc/artica-postfix/settings/Daemons/DebugChownFunc


it will log all chown functions/actions in /var/log/artica.chown.debug
verifiy what artica do on your web servers directories.
Attachments
class.unix.inc.tar.gz
(54.65 KiB) Downloaded 242 times
User avatar
admin
Site Admin
 
Posts: 11942
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Task Freewebs check disk usage kills z-push

New postby goofy180173 » Tue Apr 15, 2014 7:51 pm

If I replace the file and all works, no permissions are changed. In the debug message I see the permissions are set the right way.
If I change the file back to the original I get the old error and if I check the permissions I see them set to root:root
So changed the file back to yours, set the value to 0 in the File DebugChownFunc and no more debug info is written.
Thank´s a lot
goofy180173
 
Posts: 96
Joined: Mon Jan 02, 2012 11:02 am
Artica servers number: 1
Linux System: Debian
Technical skills: A Linux developper


Return to Zarafa mail server

Who is online

Users browsing this forum: No registered users and 2 guests

cron