Hi,
At the suggestion of tosoboso I am posting my problem in this forum. I am writing in English as my German has suffered due to non-use.
Over a year ago I my kopano4s was victim of malware which I tried to fix without success. At a certain moment kopano4s stopped working and I abandoned it but it kept nagging me that I could not get it work. It did for more than 6 years, if I remember well. This week I suddenly got succes and the beta version started working. I understand that it should be downgraded but then again the container would start and stop after some time. Below is the Docker log file from my latest effort.
The first line starts with "grep: /etc/kopano/server.cfg: No such file or directory". How is that possible from a fresh reinstall?
In line 41 Kopano core is restarted. What action is necessary with the error of line 40? When kopano stops again the output "local: 17018: bad variable name" changes whenever kopano stops working and restarts. In this case from 17018 to 633, 631 and 629.
Can someone help me out to get kopano working on a permanent basis like it did before? How can you find the source of malware? I am afraid that when I import my mariadb it will misbehave again.
Any help, even in German, will be highly appreciated.
Thanks,
Ronald
kopano4s
date stream content
1 05-05-2021 02:54 stderr grep: /etc/kopano/server.cfg: No such file or directory
2 05-05-2021 02:54 stdout "image intializing UID, GID, etc-cfg, log, ssl, post-build"
3 05-05-2021 02:54 stdout initializing virtual aliases and pwd e.g. for proxy..
4 05-05-2021 02:54 stdout modifying kopano user and group ids (1043 / 65537
5 05-05-2021 02:54 stdout 65544) plus file limits ..
6 05-05-2021 02:54 stderr Usage: groupmod [options] GROUP
7 05-05-2021 02:54 stderr
8 05-05-2021 02:54 stderr Options:
9 05-05-2021 02:54 stderr " -g, --gid GID change the group ID to GID"
10 05-05-2021 02:54 stderr " -h, --help display this help message and exit"
11 05-05-2021 02:54 stderr " -n, --new-name NEW_GROUP change the name to NEW_GROUP"
12 05-05-2021 02:54 stderr " -o, --non-unique allow to use a duplicate (non-unique) GID"
13 05-05-2021 02:54 stderr " -p, --password PASSWORD change the password to this (encrypted)"
14 05-05-2021 02:54 stderr PASSWORD
15 05-05-2021 02:54 stderr " -R, --root CHROOT_DIR directory to chroot into"
16 05-05-2021 02:54 stderr
17 05-05-2021 02:54 stderr usermod: group '65537' does not exist
18 05-05-2021 02:54 stdout increasing file-limits for user kopano adn www-data running sockets..
19 05-05-2021 02:54 stdout increasing php upload_max_filesize to 15M..
20 05-05-2021 02:54 stdout setting xxxxxx.synology.me in /etc/mailname
21 05-05-2021 02:54 stdout "setting acl, ssl, fetchmail and plugins.."
22 05-05-2021 02:54 stdout running postbuild with custom packages etc...
23 05-05-2021 02:57 stdout initializing av database..
24 05-05-2021 02:57 stdout Active services: kopano-server kopano-spooler kopano-dagent kopano-gateway postfix clamav-daemon amavis nginx php7.3-fpm
25 05-05-2021 02:57 stdout Starting Kopano core ...
26 05-05-2021 02:57 stdout Starting server: kopano-server.
27 05-05-2021 02:57 stdout Starting spooler: kopano-spooler.
28 05-05-2021 02:57 stdout Starting LMTP dagent: kopano-dagent.
29 05-05-2021 02:57 stdout Starting gateway: kopano-gateway.
30 05-05-2021 02:57 stdout Starting Kopano web ...
31 05-05-2021 02:57 stdout Starting nginx: nginx.
32 05-05-2021 02:57 stdout Starting Kopano mail ...
33 05-05-2021 02:57 stdout Starting Postfix Mail Transport Agent: postfix.
34 05-05-2021 02:57 stdout Starting ClamAV daemon: clamd .
35 05-05-2021 02:57 stdout Starting amavisd: amavisd-new.
36 05-05-2021 02:57 stdout Starting Kopano sys ...
37 05-05-2021 02:57 stdout Starting enhanced syslogd: rsyslogd.
38 05-05-2021 02:57 stdout Starting periodic command scheduler: cron.
39 05-05-2021 02:57 stdout Started clamav-daemon in bg mode restarting amavis once it is loaded..
40 05-05-2021 02:57 stderr /usr/local/bin/init.sh: 233: local: 17018: bad variable name
41 05-05-2021 02:58 stdout Starting Kopano core ...
42 05-05-2021 02:58 stdout Starting server: kopano-server.
43 05-05-2021 02:58 stdout Starting spooler: kopano-spooler.
44 05-05-2021 02:58 stdout Starting LMTP dagent: kopano-dagent.
45 05-05-2021 02:58 stdout Starting gateway: kopano-gateway.
46 05-05-2021 02:58 stdout Starting Kopano web ...
47 05-05-2021 02:58 stdout Starting nginx: nginx.
48 05-05-2021 02:58 stdout Starting Kopano mail ...
49 05-05-2021 02:58 stdout Starting Postfix Mail Transport Agent: postfix.
50 05-05-2021 02:58 stdout Starting ClamAV daemon: clamd .
51 05-05-2021 02:58 stdout Starting amavisd: amavisd-new.
52 05-05-2021 02:58 stdout Starting Kopano sys ...
53 05-05-2021 02:58 stdout Starting enhanced syslogd: rsyslogd.
54 05-05-2021 02:58 stdout Starting periodic command scheduler: cron.
55 05-05-2021 02:58 stdout Started clamav-daemon in bg mode restarting amavis once it is loaded..
56 05-05-2021 02:58 stderr /usr/local/bin/init.sh: 233: local: 633: bad variable name
57 05-05-2021 02:58 stdout Starting Kopano core ...
and so on ......
At the suggestion of tosoboso I am posting my problem in this forum. I am writing in English as my German has suffered due to non-use.
Over a year ago I my kopano4s was victim of malware which I tried to fix without success. At a certain moment kopano4s stopped working and I abandoned it but it kept nagging me that I could not get it work. It did for more than 6 years, if I remember well. This week I suddenly got succes and the beta version started working. I understand that it should be downgraded but then again the container would start and stop after some time. Below is the Docker log file from my latest effort.
The first line starts with "grep: /etc/kopano/server.cfg: No such file or directory". How is that possible from a fresh reinstall?
In line 41 Kopano core is restarted. What action is necessary with the error of line 40? When kopano stops again the output "local: 17018: bad variable name" changes whenever kopano stops working and restarts. In this case from 17018 to 633, 631 and 629.
Can someone help me out to get kopano working on a permanent basis like it did before? How can you find the source of malware? I am afraid that when I import my mariadb it will misbehave again.
Any help, even in German, will be highly appreciated.
Thanks,
Ronald
kopano4s
date stream content
1 05-05-2021 02:54 stderr grep: /etc/kopano/server.cfg: No such file or directory
2 05-05-2021 02:54 stdout "image intializing UID, GID, etc-cfg, log, ssl, post-build"
3 05-05-2021 02:54 stdout initializing virtual aliases and pwd e.g. for proxy..
4 05-05-2021 02:54 stdout modifying kopano user and group ids (1043 / 65537
5 05-05-2021 02:54 stdout 65544) plus file limits ..
6 05-05-2021 02:54 stderr Usage: groupmod [options] GROUP
7 05-05-2021 02:54 stderr
8 05-05-2021 02:54 stderr Options:
9 05-05-2021 02:54 stderr " -g, --gid GID change the group ID to GID"
10 05-05-2021 02:54 stderr " -h, --help display this help message and exit"
11 05-05-2021 02:54 stderr " -n, --new-name NEW_GROUP change the name to NEW_GROUP"
12 05-05-2021 02:54 stderr " -o, --non-unique allow to use a duplicate (non-unique) GID"
13 05-05-2021 02:54 stderr " -p, --password PASSWORD change the password to this (encrypted)"
14 05-05-2021 02:54 stderr PASSWORD
15 05-05-2021 02:54 stderr " -R, --root CHROOT_DIR directory to chroot into"
16 05-05-2021 02:54 stderr
17 05-05-2021 02:54 stderr usermod: group '65537' does not exist
18 05-05-2021 02:54 stdout increasing file-limits for user kopano adn www-data running sockets..
19 05-05-2021 02:54 stdout increasing php upload_max_filesize to 15M..
20 05-05-2021 02:54 stdout setting xxxxxx.synology.me in /etc/mailname
21 05-05-2021 02:54 stdout "setting acl, ssl, fetchmail and plugins.."
22 05-05-2021 02:54 stdout running postbuild with custom packages etc...
23 05-05-2021 02:57 stdout initializing av database..
24 05-05-2021 02:57 stdout Active services: kopano-server kopano-spooler kopano-dagent kopano-gateway postfix clamav-daemon amavis nginx php7.3-fpm
25 05-05-2021 02:57 stdout Starting Kopano core ...
26 05-05-2021 02:57 stdout Starting server: kopano-server.
27 05-05-2021 02:57 stdout Starting spooler: kopano-spooler.
28 05-05-2021 02:57 stdout Starting LMTP dagent: kopano-dagent.
29 05-05-2021 02:57 stdout Starting gateway: kopano-gateway.
30 05-05-2021 02:57 stdout Starting Kopano web ...
31 05-05-2021 02:57 stdout Starting nginx: nginx.
32 05-05-2021 02:57 stdout Starting Kopano mail ...
33 05-05-2021 02:57 stdout Starting Postfix Mail Transport Agent: postfix.
34 05-05-2021 02:57 stdout Starting ClamAV daemon: clamd .
35 05-05-2021 02:57 stdout Starting amavisd: amavisd-new.
36 05-05-2021 02:57 stdout Starting Kopano sys ...
37 05-05-2021 02:57 stdout Starting enhanced syslogd: rsyslogd.
38 05-05-2021 02:57 stdout Starting periodic command scheduler: cron.
39 05-05-2021 02:57 stdout Started clamav-daemon in bg mode restarting amavis once it is loaded..
40 05-05-2021 02:57 stderr /usr/local/bin/init.sh: 233: local: 17018: bad variable name
41 05-05-2021 02:58 stdout Starting Kopano core ...
42 05-05-2021 02:58 stdout Starting server: kopano-server.
43 05-05-2021 02:58 stdout Starting spooler: kopano-spooler.
44 05-05-2021 02:58 stdout Starting LMTP dagent: kopano-dagent.
45 05-05-2021 02:58 stdout Starting gateway: kopano-gateway.
46 05-05-2021 02:58 stdout Starting Kopano web ...
47 05-05-2021 02:58 stdout Starting nginx: nginx.
48 05-05-2021 02:58 stdout Starting Kopano mail ...
49 05-05-2021 02:58 stdout Starting Postfix Mail Transport Agent: postfix.
50 05-05-2021 02:58 stdout Starting ClamAV daemon: clamd .
51 05-05-2021 02:58 stdout Starting amavisd: amavisd-new.
52 05-05-2021 02:58 stdout Starting Kopano sys ...
53 05-05-2021 02:58 stdout Starting enhanced syslogd: rsyslogd.
54 05-05-2021 02:58 stdout Starting periodic command scheduler: cron.
55 05-05-2021 02:58 stdout Started clamav-daemon in bg mode restarting amavis once it is loaded..
56 05-05-2021 02:58 stderr /usr/local/bin/init.sh: 233: local: 633: bad variable name
57 05-05-2021 02:58 stdout Starting Kopano core ...
and so on ......