Thank four you reply!
[root@server ~]# ps aux | grep zammad
root 10117 0.0 0.0 112712 964 pts/0 S+ 21:44 0:00 grep --color=auto zammad
If I run su zammad, then zammad run web, then from another console:
zammad 10331 0.0 0.0 115444 2084 pts/0 S+ 21:46 0:00 bash
zammad 10674 2.4 2.1 1267560 220588 pts/0 Tl 21:47 0:07 puma 3.12.2 (tcp://127.0.0.1:3001) [zammad]
postgres 12459 0.0 0.1 239372 13960 ? Ss 21:47 0:00 postgres: zammad zammad [local] idle
postgres 12464 0.0 0.1 238924 10932 ? Ss 21:47 0:00 postgres: zammad zammad [local] idle
Status shows error for restart even at boot:
[root@server ~]# systemctl status zammad-web-1 zammad-worker-1 -l
● zammad-web-1.service
Loaded: loaded (/etc/systemd/system/zammad-web-1.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2020-01-19 21:33:11 CET; 7min ago
Main PID: 1619 (code=exited, status=125)
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-web-1.service: main process exited, code=exited, status=125/n/a
Jan 19 21:33:11 server.mydomain.com systemd[1]: Unit zammad-web-1.service entered failed state.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-web-1.service failed.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-web-1.service holdoff time over, scheduling restart.
Jan 19 21:33:11 server.mydomain.com systemd[1]: Stopped zammad-web-1.service.
Jan 19 21:33:11 server.mydomain.com systemd[1]: start request repeated too quickly for zammad-web-1.service
Jan 19 21:33:11 server.mydomain.com systemd[1]: Failed to start zammad-web-1.service.
Jan 19 21:33:11 server.mydomain.com systemd[1]: Unit zammad-web-1.service entered failed state.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-web-1.service failed.
● zammad-worker-1.service
Loaded: loaded (/etc/systemd/system/zammad-worker-1.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2020-01-19 21:33:11 CET; 7min ago
Main PID: 1621 (code=exited, status=125)
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-worker-1.service: main process exited, code=exited, status=125/n/a
Jan 19 21:33:11 server.mydomain.com systemd[1]: Unit zammad-worker-1.service entered failed state.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-worker-1.service failed.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-worker-1.service holdoff time over, scheduling restart.
Jan 19 21:33:11 server.mydomain.com systemd[1]: Stopped zammad-worker-1.service.
Jan 19 21:33:11 server.mydomain.com systemd[1]: start request repeated too quickly for zammad-worker-1.service
Jan 19 21:33:11 server.mydomain.com systemd[1]: Failed to start zammad-worker-1.service.
Jan 19 21:33:11 server.mydomain.com systemd[1]: Unit zammad-worker-1.service entered failed state.
Jan 19 21:33:11 server.mydomain.com systemd[1]: zammad-worker-1.service failed.
The real reason found in the log:
chroot: invalid group ffe2ff80ff98users@mydomain.comffe2ff80ff99 zammad-web-1.service
chroot: invalid group ffe2ff80ff98domainffe2ff80ff99 zammad-web-1.service
Yes, I followed the wiki, here is the install history:
82 2020-01-04 14:23:19 yum -y install https://mrmarkuz.goip.de/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm
83 2020-01-04 14:23:43 yum install nethserver-zammad
84 2020-01-04 14:29:06 config setprop zammad VirtualHost ticket.mydomain.com
85 2020-01-04 14:29:20 yum install zammad
86 2020-01-04 14:36:10 signal-event nethserver-zammad-update
106 2020-01-04 15:36:13 curl -X GET http://localhost:3001
107 2020-01-04 17:38:00 /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
108 2020-01-04 17:38:54 sysctl -w vm.max_map_count=262144
109 2020-01-04 17:39:49 systemctl stop elasticsearch
110 2020-01-04 17:39:55 systemctl start elasticsearch
111 2020-01-04 17:40:20 zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"
And now I remember that at this point I’ve got the same error message with domain users group while running the zammad command as root (but did not have time to check it until now). But this was still before the first reboot, so zammad was running while I’ve got the error.
Now tried to remove both zammad and elasticsearch and install them again - strangely now elasticsearch is also enabled but not starting (side note: I tried ES7+dev rpm above in the meantime, possibly that messed up).
[root@server ~]# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-01-19 21:50:18 CET; 3s ago
Docs: http://www.elastic.co
Process: 14513 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 14511 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 14513 (code=exited, status=1/FAILURE)
Jan 19 21:50:17 server.mydomain.com systemd[1]: Starting Elasticsearch...
Jan 19 21:50:17 server.mydomain.com systemd[1]: Started Elasticsearch.
Jan 19 21:50:18 server.mydomain.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jan 19 21:50:18 server.mydomain.com systemd[1]: Unit elasticsearch.service entered failed state.
Jan 19 21:50:18 server.mydomain.com systemd[1]: elasticsearch.service failed.
I am not sure what does it tires to do with the domain users group anyway.
I have set LDAP integration, but I cannot recall any setting regarding to the domain users group.
It is possible that there is something else that causes this problem, but all the other services are running as the right user (not root).
Anyhow, it will be postponed again as I will be afk the whole week (but will check this thread, and if there is any reply, I will try it).
Worst case I will install another VM for zammad but wanted to have every e-mail related stuff on one server.