Hello,
I am installing Zammad for testing and for possible production.
I encounter a problem that despite my search did not find a solution.
The famous Nginx 502 Bad Gateway error
I understand that we must change the file /etc/nginx/sites-available/zammad.conf by putting the FQDN.
Being local, I put test.local and in the host of my PC, I added @ipServer -> NameServer
Unfortunately, I still have this error that prevents me from launching the Zammad page.
My config:
Debian 9
Source of installation:
https://docs.zammad.org/en/latest/install-debian.html
https://docs.zammad.org/en/latest/install-elasticsearch.html
I tried several reinstallation of my server, the application without result.
/var/log/nginx/zammad.error.log
*2018/07/23 13:33:32 [error] 22490#22490: 5 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.2.4, server: helpdesk.test.lan, request: “GET / HTTP/1.1”, upstream: “http://[::1]:3000/”, host: “test.lan”
Could you help me ?
thank you in advance
Used Zammad version: 2.6
Used Zammad installation source: (source, package, …) Install on Debian via DEB
Operating system: Debian 9.5
Browser + version: Chrome 69.0.3497.100 / Firefox 62.0.3
I tested with a CentOS 7 to check and I also have the same problem.
With this procedure: https://docs.zammad.org/en/latest/install-centos.html#change-your-webserver-configuration-non-localhost-connections
I’m doing something wrong?
2018/07/23 13:33:32 [error] 22490#22490: 5 connect() failed (111: Connection refused ) while connecting to upstream, client: 192.168.2.4, server: helpdesk.test.lan, request: “GET / HTTP/1.1”, upstream: “http://[::1]:3000/
The Zammad-Service doesn’t seem to be running, is not opening the port (for whatever reason) or a firewall on the system is blocking the access to Port 3000.
Please also provide production.log .
Hello,
Thanks for your feedback.
I have not entered any production.log
Zammad looks OK
root@Zammad:~# systemctl status zammad
● zammad.service
Loaded: loaded (/etc/systemd/system/zammad.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-19 07:34:40 UTC; 1min 40s ago
Main PID: 73 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad.service
└─73 /bin/sleep infinity
Oct 19 07:34:40 Zammad systemd[1]: zammad.service: Failed to reset devices.list: Operation not permitted
Oct 19 07:34:40 Zammad systemd[1]: Started zammad.service.
Port is open
root@Zammad:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:3000
ACCEPT tcp -- anywhere anywhere tcp dpt:http
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:3000
ACCEPT tcp -- anywhere anywhere tcp dpt:http
My zammad.conf
server {
listen 80;
# replace 'localhost' with your fqdn if you want to use zammad from remote
server_name support.zammad.local;
root /opt/zammad/public;
access_log /var/log/nginx/zammad.access.log;
error_log /var/log/nginx/zammad.error.log;
client_max_body_size 50M;
location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) {
expires max;
}
I have these log in zammad.error.log (sorry I made a mistake to copy paste in my first post)
2018/10/19 07:57:38 [error] 246#246: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.15, server: support.zammad.local, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "support.zammad.local"
2018/10/19 07:57:38 [error] 246#246: *25 no live upstreams while connecting to upstream, client: 192.168.1.15, server:support.zammad.local, request: "GET / HTTP/1.1", upstream: "http://zammad-railsserver/", host: "support.zammad.local"
Zammad needs a lot of things to be running:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 790/nginx: master p
tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN 3457/puma 3.11.0 (t
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 765/postgres
tcp 0 0 127.0.0.1:6042 0.0.0.0:* LISTEN 3454/script/websock
tcp6 0 0 :::80 :::* LISTEN 790/nginx: master p
tcp6 0 0 ::1:5432 :::* LISTEN 765/postgres
The list above doesn’t show elasticsearch that in my case is on another server. Elasticsearch is also a requirement. Have a look at your services.
For me it’s OK, no ?
root@Zammad:/var/log/nginx# systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-19 07:34:41 UTC; 4h 4min ago
Docs: http://www.elastic.co
Process: 218 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 220 (java)
Tasks: 55 (limit: 4915)
CGroup: /system.slice/elasticsearch.service
└─220 /usr/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSI
Oct 19 07:34:41 Zammad systemd[1]: Starting Elasticsearch...
Oct 19 07:34:41 Zammad systemd[1]: Started Elasticsearch.
Hello,
Would you have an idea of why the error ?
What’s the output of netstat -tnlp
Here is the result
root@Zammad:/# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 242/nginx: master p
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 221/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 433/master
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 30016/java
tcp6 0 0 ::1:9200 :::* LISTEN 30016/java
tcp6 0 0 :::80 :::* LISTEN 242/nginx: master p
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 30016/java
tcp6 0 0 ::1:9300 :::* LISTEN 30016/java
tcp6 0 0 :::22 :::* LISTEN 221/sshd
tcp6 0 0 ::1:25 :::* LISTEN 433/master
Hannes
October 26, 2018, 6:39am
#10
Hi,
please check the output of
sudo systemctl status zammad-websocket
sudo systemctl status zammad-web
From your latest output it looks like the websocket server and the zammad app server is not running
Yet the result below shows the opposite right?
root@Zammad:/# sudo systemctl status zammad-websocket
● zammad-websocket.service
Loaded: loaded (/etc/systemd/system/zammad-websocket.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-19 07:34:40 UTC; 6 days ago
Main PID: 79 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad-websocket.service
└─79 /bin/sleep infinity
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
root@Zammad:/# sudo systemctl status zammad-web
● zammad-web.service
Loaded: loaded (/etc/systemd/system/zammad-web.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-19 07:34:40 UTC; 6 days ago
Main PID: 84 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad-web.service
└─84 /bin/sleep infinity
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hannes
October 26, 2018, 11:01am
#12
What happens when you enter:
curl http://127.0.0.1:3000/
or http://localhost:3000
do you get a valid responde (which I doubt)
If not your service may not be started successfully.
Please restart the service and post the log output here. Full Log, without personal information.
/var/log/zammad/production.log
/var/log/message or /var/log/syslog depending on your setup
Thanks for your help
I think there is a problem indeed but I do not know how to solve it
root@Zammad:/# curl http://127.0.0.1:3000/
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
root@Zammad:/# curl http://localhost:3000/
curl: (7) Failed to connect to localhost port 3000: Connection refused
When I restart service
root@Zammad:/# systemctl restart zammad
root@Zammad:/# systemctl status zammad
● zammad.service
Loaded: loaded (/etc/systemd/system/zammad.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 12:01:23 UTC; 9s ago
Main PID: 9309 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad.service
└─9309 /bin/sleep infinity
Oct 26 12:01:23 Zammad systemd[1]: Started zammad.service.
root@Zammad:/# systemctl restart zammad-web
root@Zammad:/# systemctl status zammad-web
● zammad-web.service
Loaded: loaded (/etc/systemd/system/zammad-web.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 12:02:38 UTC; 6s ago
Main PID: 11721 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad-web.service
└─11721 /bin/sleep infinity
Oct 26 12:02:38 Zammad systemd[1]: Started zammad-web.service.
root@Zammad:/# systemctl restart zammad-websocket
root@Zammad:/# systemctl status zammad-websocket
● zammad-websocket.service
Loaded: loaded (/etc/systemd/system/zammad-websocket.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 12:03:10 UTC; 6s ago
Main PID: 12806 (sleep)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/zammad-websocket.service
└─12806 /bin/sleep infinity
Oct 26 12:03:10 Zammad systemd[1]: Started zammad-websocket.service.
Directory /var/log/zammad/production.log is empty
root@Zammad:/var/log# cat messages
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:22 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 1' suspended, next retry is Sun Oct 21 06:23:14 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:22:44 Zammad liblogging-stdlog: action 'action 2' suspended, next retry is Sun Oct 21 06:23:14 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 21 06:23:14 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:23:14 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:23:14 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 21 06:23:14 Zammad libloggiOct 24 07:49:56 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:49:56 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:49:56 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:49:56 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:01 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:01 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 1' suspended, next retry is Wed Oct 24 07:50:36 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:06 Zammad liblogging-stdlog: action 'action 2' suspended, next retry is Wed Oct 24 07:50:36 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 24 07:50:36 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:36 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:36 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 24 07:50:36 Zammad libloggiOct 26 06:22:07 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:07 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:07 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:07 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 1' suspended, next retry is Fri Oct 26 06:22:45 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:15 Zammad liblogging-stdlog: action 'action 2' suspended, next retry is Fri Oct 26 06:22:45 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 26 06:22:46 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:46 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:46 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 06:22:46 Zammad libloggiOct 26 07:49:50 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:50 Zammad liblogging-stdlog: action 'action 2' suspended, next retry is Fri Oct 26 07:50:20 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 7' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 07:49:51 Zammad liblogging-stdlog: action 'action 5' suspended, next retry is Fri Oct 26 07:50:21 2018 [v8.24.0try http://www.rsyslog.com/e/2007 ]
Oct 26 07:49:51 Zammad libloggiOct 26 12:07:40 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:07:40 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:07:40 Zammad liblogging-stdlog: action 'action 1' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:07:40 Zammad liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:07:40 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:07:40 Zammad liblogging-stdlog: action 'action 11' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 7' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 5' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 7' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:08:03 Zammad liblogging-stdlog: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:09:00 Zammad kernel: [1188914.608055] audit: type=1400 audit(1540555740.144:467): apparmor="DENIED" operation="file_lock" profile="lxc-container-default-cgns" pid=9533 comm="(ionclean)" family="unix" sock_type="dgram" protocol=0 addr=none
Oct 26 12:09:00 Zammad kernel: [1188914.608069] audit: type=1400 audit(1540555740.144:469): apparmor="DENIED" operation="file_lock" profile="lxc-container-default-cgns" pid=9533 comm="(ionclean)" family="unix" sock_type="dgram" protocol=0 addr=none
Oct 26 12:09:00 Zammad liblogging-stdlog: action 'action 3' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:09:00 Zammad liblogging-stdlog: action 'action 3' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:09:01 Zammad liblogging-stdlog: action 'action 0' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Oct 26 12:09:01 Zammad liblogging-stdlog: action 'action 0' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
root@Zammad:~# tail -200 /var/log/syslog
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `call'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:58:in `run_initializers'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/application.rb:353:in `initialize!'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: /opt/zammad/config/environment.rb:5:in `<top (required)>'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: script/scheduler.rb:14:in `require'
Oct 26 12:17:02 Zammad zammad-worker-1.service[29357]: script/scheduler.rb:14:in `<top (required)>'
Oct 26 12:17:03 Zammad systemd[1]: zammad-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 12:17:03 Zammad systemd[1]: zammad-worker-1.service: Unit entered failed state.
Oct 26 12:17:03 Zammad systemd[1]: zammad-worker-1.service: Failed with result 'exit-code'.
Oct 26 12:17:03 Zammad systemd[1]: zammad-worker-1.service: Service hold-off time over, scheduling restart.
Oct 26 12:17:03 Zammad systemd[1]: Stopped zammad-worker-1.service.
Oct 26 12:17:03 Zammad systemd[1]: zammad-worker-1.service: Failed to reset devices.list: Operation not permitted
Oct 26 12:17:03 Zammad systemd[1]: Started zammad-worker-1.service.
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: bundler: failed to load command: script/scheduler.rb (script/scheduler.rb)
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: PG::ConnectionBad: could not connect to server: No such file or directory
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: #011Is the server running locally and accepting
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: #011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:88:in `connection'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/config/initializers/db_preferences_postgresql.rb:14:in `<top (required)>'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `block in load'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:258:in `load_dependency'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:655:in `block in load_config_initializer'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/notifications.rb:168:in `instrument'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:654:in `load_config_initializer'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `block in <class:Engine>'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `instance_exec'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `run'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:59:in `block in run_initializers'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `tsort_each_child'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `call'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `call'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:58:in `run_initializers'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/application.rb:353:in `initialize!'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: /opt/zammad/config/environment.rb:5:in `<top (required)>'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: script/scheduler.rb:14:in `require'
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: script/scheduler.rb:14:in `<top (required)>'
Oct 26 12:17:05 Zammad systemd[1]: zammad-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 12:17:05 Zammad systemd[1]: zammad-worker-1.service: Unit entered failed state.
Oct 26 12:17:05 Zammad systemd[1]: zammad-worker-1.service: Failed with result 'exit-code'.
Oct 26 12:17:05 Zammad systemd[1]: zammad-worker-1.service: Service hold-off time over, scheduling restart.
Oct 26 12:17:05 Zammad systemd[1]: Stopped zammad-worker-1.service.
Oct 26 12:17:05 Zammad systemd[1]: zammad-worker-1.service: Failed to reset devices.list: Operation not permitted
Oct 26 12:17:05 Zammad systemd[1]: Started zammad-worker-1.service.
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: bundler: failed to load command: script/scheduler.rb (script/scheduler.rb)
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: PG::ConnectionBad: could not connect to server: No such file or directory
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: #011Is the server running locally and accepting
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: #011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:88:in `connection'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/config/initializers/db_preferences_postgresql.rb:14:in `<top (required)>'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `block in load'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:258:in `load_dependency'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:655:in `block in load_config_initializer'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/notifications.rb:168:in `instrument'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:654:in `load_config_initializer'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `each'
Oct 26 12:17:07 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `block in <class:Engine>'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `instance_exec'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `run'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:59:in `block in run_initializers'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `each'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `tsort_each_child'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `call'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `call'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:58:in `run_initializers'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/application.rb:353:in `initialize!'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: /opt/zammad/config/environment.rb:5:in `<top (required)>'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: script/scheduler.rb:14:in `require'
Oct 26 12:17:08 Zammad zammad-worker-1.service[29414]: script/scheduler.rb:14:in `<top (required)>'
Oct 26 12:17:08 Zammad systemd[1]: zammad-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 12:17:08 Zammad systemd[1]: zammad-worker-1.service: Unit entered failed state.
Oct 26 12:17:08 Zammad systemd[1]: zammad-worker-1.service: Failed with result 'exit-code'.
Oct 26 12:17:08 Zammad systemd[1]: zammad-worker-1.service: Service hold-off time over, scheduling restart.
Oct 26 12:17:08 Zammad systemd[1]: Stopped zammad-worker-1.service.
Oct 26 12:17:08 Zammad systemd[1]: zammad-worker-1.service: Failed to reset devices.list: Operation not permitted
Oct 26 12:17:08 Zammad systemd[1]: Started zammad-worker-1.service.
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: bundler: failed to load command: script/scheduler.rb (script/scheduler.rb)
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: PG::ConnectionBad: could not connect to server: No such file or directory
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: #011Is the server running locally and accepting
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: #011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:88:in `connection'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/config/initializers/db_preferences_postgresql.rb:14:in `<top (required)>'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `block in load'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:258:in `load_dependency'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/dependencies.rb:286:in `load'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:655:in `block in load_config_initializer'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.5/lib/active_support/notifications.rb:168:in `instrument'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:654:in `load_config_initializer'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/engine.rb:611:in `block in <class:Engine>'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `instance_exec'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:30:in `run'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:59:in `block in run_initializers'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:48:in `tsort_each_child'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `call'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `call'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/ruby-2.4.4/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/initializable.rb:58:in `run_initializers'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/vendor/bundle/ruby/2.4.0/gems/railties-5.1.5/lib/rails/application.rb:353:in `initialize!'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: /opt/zammad/config/environment.rb:5:in `<top (required)>'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: script/scheduler.rb:14:in `require'
Oct 26 12:17:10 Zammad zammad-worker-1.service[29442]: script/scheduler.rb:14:in `<top (required)>'
Oct 26 12:17:10 Zammad systemd[1]: zammad-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 12:17:10 Zammad systemd[1]: zammad-worker-1.service: Unit entered failed state.
Oct 26 12:17:10 Zammad systemd[1]: zammad-worker-1.service: Failed with result 'exit-code'.
Oct 26 12:17:10 Zammad systemd[1]: zammad-worker-1.service: Service hold-off time over, scheduling restart.
Oct 26 12:17:10 Zammad systemd[1]: Stopped zammad-worker-1.service.
Oct 26 12:17:10 Zammad systemd[1]: zammad-worker-1.service: Failed to reset devices.list: Operation not permitted
Oct 26 12:17:10 Zammad systemd[1]: Started zammad-worker-1.service.
Do you know why it’s blocking?
Ports are yet open
Hannes
October 29, 2018, 9:58am
#16
This means your Zammad is not running at at all.
Which matches your curl to localhost result
we agree.
I followed the procedure, that’s why I’m asking for help.
Your procedure indicates prerequisites that I followed.
I tested your other procedure on CentOS to check if I had misunderstood steps.
I get the same result.
I’m not a pro but the services zammad, zammad-web and zammad-websocket stupid OK, we saw it above.
What can I do to make it work?
Thank you
Hannes
October 29, 2018, 10:22am
#18
From your log:
Oct 26 12:17:05 Zammad zammad-worker-1.service[29386]: PG::ConnectionBad: could not connect to server: No such file or directory
Is your database setup correct? Zammad could not start because it’s missing a database. Maybe your config
/opt/zammad/config/database.yml is not correct
Regards
postgrey seems OK and the file contains that:
root@Zammad:~# systemctl status postgresql.service
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2018-10-19 07:34:40 UTC; 1 weeks 3 days ago
Process: 80 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 80 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/postgresql.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
I did not touch this file, I think it was created at the installation.
production:
adapter: postgresql
database: zammad
pool: 50
timeout: 5000 encoding: utf8
username: zammad
password: xxxxxxxxxxx
Regards
Hannes
October 29, 2018, 11:05am
#20
It is not running. Like the status message says it has “exited” it should be “active”
It also did not show up in your netstat list. The default port is 5432.