I'm busy migrating a physical server to a LXC container and am running into the problem that when I resync ISPCFG3 I immediately get 2 emails: So I used sdiff to see the differences between somedomain.com.vhost and somedomain.com.vhost.err and found it was these lines: Code: sdiff /etc/nginx/sites-available/somedomain.com.vhost /etc/nginx/sites-available/somedomain.com.vhost.err server { server { listen *:80; listen *:80; > if ( $is_bot ) { > return 444; > } So I thought, ok, lets remove them and resynced again. And again I get the nginx restarting problem email but now there is only one line of difference: So now I have no idea where to start looking. I looked through all logs but can't find anything related: Code: grep -R -i 'nginx' /var/log/ | grep bus yields nothing. And yet nginx runs just fine. Even when restarted manually via command line i.e. /etc/init.d/nginx restart all is good, no errors whatsoever. Please ask any questions you think might relevant I'll be happy to share more info about the server.
I have got some leads, is ISPCFG3 by any chance running systemctl when resyncing? 'cause there seems to be some problems inside LXC containers :-(
When systemd is installed then ispconfig uses systemctl. If no systemd is installed, then it will use init scripts.
I'm running proxmox and found a thread in their forums saying - is this related? Does ISPCFG3 need that or am I following the completely wrong lead here? http://forum.proxmox.com/threads/24408-systemctl-fails-on-jessie-template Hm, somehow I ended up having systemd inside my LXC. Have removed it now and am analyzing to see if anything broke