Re: Problem after upgrading debian wheezy to jessie

2018-04-29 Thread Dr. Harry Knitter
Solution:
1. cyrus was not enabled via systemctl
2. Some symbolic links were not set:
ln -s /usr/sbin/cyrus /usr/sbin/ctl_cyrusdb
ln -s /usr/sbin/cyrus /usr/sbin/cyr_expire
ln -s /usr/sbin/cyrus /usr/sbin/tls_prune

WTF caused this?

Greetings

Harry



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Problem after upgrading debian wheezy to jessie

2018-04-29 Thread Dr. Harry Knitter
Am Samstag, 28. April 2018, 14:51:07 CEST schrieb Dan White:
> On 04/28/18 20:43 +0200, Dr. Harry Knitter wrote:
> >after upgrading debian wheezy to jessie a socket has gone:
> >/var/run/cyrus/socket/lmtp
> >
> >How to get out of this problem?
> 
> The lmtp unix domain socket is started by master via its /etc/cyrus.conf
> config file, commonly in an entry called 'lmtpunix', which will specificy
> the location for the socket. Check your syslog for errors, such as a
> permissions problem with the path.

Cyrus does not start at all. I found root@gateway:~# /etc/init.d/cyrus-imapd 
start
[ ok ] Starting cyrus-imapd (via systemctl): cyrus-imapd.service.
root@gateway:~# /etc/init.d/cyrus-imapd status
* cyrus-imapd.service - Cyrus IMAP/POP3 daemons
   Loaded: loaded (/lib/systemd/system/cyrus-imapd.service; disabled)
   Active: active (running) since Sun 2018-04-29 09:00:56 CEST; 3s ago
  Process: 30341 ExecStartPre=/usr/sbin/cyrus init-helper start (code=exited, 
status=0/SUCCESS)
 Main PID: 30365 (cyrmaster)
   CGroup: /system.slice/cyrus-imapd.service
   |-30365 /usr/sbin/cyrmaster -l 32 -C /etc/imapd.conf -M /etc/
cyrus.conf
   `-30389 notifyd

Apr 29 09:00:56 gateway cyrus/master[30387]: about to exec /usr/sbin/tls_prune
Apr 29 09:00:56 gateway cyrus/master[30365]: process 30387 exited, status 71
Apr 29 09:00:56 gateway cyrus/master[30365]: unable to setsocketopt(IP_TOS): 
Operation not supported
Apr 29 09:00:56 gateway cyrus/master[30365]: unable to setsocketopt(IP_TOS): 
Operation not supported
Apr 29 09:00:56 gateway cyrus/master[30365]: ready for work
Apr 29 09:00:56 gateway cyrus/master[30388]: about to exec /usr/sbin/
ctl_cyrusdb
Apr 29 09:00:56 gateway cyrus/master[30389]: about to exec /usr/lib/cyrus/bin/
notifyd
Apr 29 09:00:56 gateway cyrus/master[30388]: can't exec /usr/sbin/ctl_cyrusdb 
on schedule: No such file or directory
Apr 29 09:00:56 gateway cyrus/master[30365]: process 30388 exited, status 71
Apr 29 09:00:56 gateway cyrus/notify[30389]: executed
root@gateway:~# tail /var/log/mail.err
Apr 29 08:40:40 gateway cyrus/deliver[28762]: connect(/var/run/cyrus/socket/
lmtp) failed: No such file or directory
Apr 29 08:40:40 gateway cyrus/deliver[28765]: connect(/var/run/cyrus/socket/
lmtp) failed: No such file or directory
Apr 29 09:00:40 gateway cyrus/deliver[30319]: connect(/var/run/cyrus/socket/
lmtp) failed: No such file or directory
Apr 29 09:00:56 gateway cyrus/master[30385]: can't exec /usr/sbin/ctl_cyrusdb 
for startup: No such file or directory
Apr 29 09:00:56 gateway cyrus/master[30365]: process 30385 exited, status 71
Apr 29 09:00:56 gateway cyrus/master[30386]: can't exec /usr/sbin/cyr_expire 
for startup: No such file or directory
Apr 29 09:00:56 gateway cyrus/master[30365]: process 30386 exited, status 71
Apr 29 09:00:56 gateway cyrus/master[30387]: can't exec /usr/sbin/tls_prune 
for startup: No such file or directory
Apr 29 09:00:56 gateway cyrus/master[30365]: process 30387 exited, status 71
Apr 29 09:00:56 gateway cyrus/master[30388]: can't exec /usr/sbin/ctl_cyrusdb 
on schedule: No such file or directory

Harry




signature.asc
Description: This is a digitally signed message part.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Problem after upgrading debian wheezy to jessie

2018-04-29 Thread Dr. Harry Knitter
Am Samstag, 28. April 2018, 14:51:07 CEST schrieb Dan White:
> On 04/28/18 20:43 +0200, Dr. Harry Knitter wrote:
> >after upgrading debian wheezy to jessie a socket has gone:
> >
> >
> >How to get out of this problem?
> 
> The lmtp unix domain socket is started by master via its /etc/cyrus.conf
> config file, commonly in an entry called 'lmtpunix', which will specificy
> the location for the socket. Check your syslog for errors, such as a
> permissions problem with the path.


Thanks for your answer.
The socket /var/run/cyrus/socket/lmtp does not exist at all anymore. I can't 
see any permission problem.

Harry

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Problem after upgrading debian wheezy to jessie

2018-04-28 Thread Dan White

On 04/28/18 20:43 +0200, Dr. Harry Knitter wrote:

after upgrading debian wheezy to jessie a socket has gone:
/var/run/cyrus/socket/lmtp

How to get out of this problem?


The lmtp unix domain socket is started by master via its /etc/cyrus.conf
config file, commonly in an entry called 'lmtpunix', which will specificy
the location for the socket. Check your syslog for errors, such as a
permissions problem with the path.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Problem after upgrading debian wheezy to jessie

2018-04-28 Thread Dr. Harry Knitter
Hello folks,

after upgrading debian wheezy to jessie a socket has gone:
/var/run/cyrus/socket/lmtp

How to get out of this problem?

Thanks

Harry


signature.asc
Description: This is a digitally signed message part.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus