Hello,
if /var/piler/store/00 does not exist, then create it, and chown it to
piler.
Janos
On 2018-04-25 16:09, John Huong wrote:
Hi,
I'm seeing these in the syslog.
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1d86672c005304895f97: mkdir
/var/piler/store/00/5ae/5f/97: error=No such file or directory
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1d86672c005304895f97: cannot open:
/var/piler/store/00/5ae/5f/97/400000005ae0a7cf1d86672c005304895f97.a1
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1d86672c005304895f97: error storing attachment:
400000005ae0a7cf1d86672c005304895f97.a1
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e217a6400fbba2a1f04: mkdir
/var/piler/store/00/5ae/1f/04: error=No such file or directory
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e217a6400fbba2a1f04: cannot open:
/var/piler/store/00/5ae/1f/04/400000005ae0a7cf1e217a6400fbba2a1f04.m
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e217a6400fbba2a1f04: error storing message:
400000005ae0a7cf1e217a6400fbba2a1f04.m
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e86cfcc00aec29de87b: mkdir
/var/piler/store/00/5ae/e8/7b: error=No such file or directory
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e86cfcc00aec29de87b: cannot open:
/var/piler/store/00/5ae/e8/7b/400000005ae0a7cf1e86cfcc00aec29de87b.a1
Apr 26 00:07:33 archive pilerimport[12512]:
400000005ae0a7cf1e86cfcc00aec29de87b: error storing attachment:
400000005ae0a7cf1e86cfcc00aec29de87b.a1
Hope you can advise on the next step. The folder permissions seems to
be correct.
On Wed, Apr 25, 2018 at 8:23 PM, Janos SUTO <s...@acts.hu> wrote:
Hello,
check the logs. If piler encounters a problem, it will syslog it.
Janos
________________________________
From: John Huong
Sent: Wed Apr 25 09:11:27 GMT+02:00 2018
To: Piler User
Subject: Re: Running pilter.pl as a service
Hi I got pilter.pl running in the background.
I'm not sure if I'm doing things correctly but when i run pilterimport
it generates errors instead.
pilerimport -d /var/piler/imap/cur -D
failed to import: /var/piler/imap/cur/1524639972-820035-4378-EMYFRKOW
(id: 400000005ae029c0076ab844005dcd3da30b)
error importing: '/var/piler/imap/cur/1524639972-820035-4378-EMYFRKOW'
failed to import: /var/piler/imap/cur/1524639776-195775-4378-PBG39UA4
(id: 400000005ae029c00866fa64006ff10703e0)
error importing: '/var/piler/imap/cur/1524639776-195775-4378-PBG39UA4'
failed to import: /var/piler/imap/cur/1524640059-82319-4380-LWGG0P2Z
(id: 400000005ae029c008988214001a841dbe7e)
error importing: '/var/piler/imap/cur/1524640059-82319-4380-LWGG0P2Z'
failed to import: /var/piler/imap/cur/1524639684-292356-4376-QMNNYITL
(id: 400000005ae029c008c268a400752fdace29)
error importing: '/var/piler/imap/cur/1524639684-292356-4376-QMNNYITL'
processed: 0
On Sat, Apr 21, 2018 at 9:25 PM, <s...@acts.hu> wrote:
Hello,
well, pilter.pl can run in the foreground, so any service
manager should be able to handle it. You should check some
examples of your favourite implementation.
Try this:
https://wiki.ubuntu.com/SystemdForUpstartUsers#Example_Systemd_service
Janos
On 2018-04-19 22:16, John Huong wrote:
HI,
Can anyone share their experience or give pointers how to run
pilter.pl [1] as a service in Ubuntu 16.04? Think they are using
systemd.