I had a server (Deb12 per Till) and it was not responding to roundcube. I logged in remotely with ILO5 and did a reset. The server came back up but roundcube displayed a 503 error. sshing in and looking at my services (systemctl no parameters) a BUNCH were in red. clamav-daemon, fail2ban, haveged, memcached, all the phpxxx-fpm, postfix@-, redis-server, rspamd, systemd-hostnamed, named, dovecot, postgrey I manually restarted all of them - and server seems happy. but why would these NOT have started properly? and is there a shortcut to having to put 20 systemctl commands? is there a way to have ALL services restarted from one command. and again - why didnt a reset from ILO bring everything up??? Inquiring minds and all that! sympathies for that horrible event in Munich btw. Meanwhile - my attempts to direct emails to folders in ispconfig still fails completely. and it matters not if ebay is in subject or ebay.com is the domain - or of the folder is ebayemails or INBOX/ebayemails. All emails are in the inbox exclusively. Any other ideas? I've attached a zipped syslog starting at midnight - any change you could take a peek see anything odd?? thanks craig.
These services are configured to start at boot by default, so something must have happened that prevented that systemd could start them this time. You can e.g. check the logs to find out why this happened, also check that your harddisk is not full. You can also let systemd list which services it tries to start at boot: systemctl list-dependencies default.target and compare if any of the services you want to get started is not listed there.
I checked and the ones not starting are indeed in the systemctl list-dependencies. hard drive has 30TB free space. I uploaded a syslog file zipped above. I'm looking through it now, but so far I have seen nothing odd (the logrotate errors are because lots of websites I migrated to ns11 are actually not running OFF ns11 - so no access logs etc generated I notice the following this morning --snip-- 2025-02-14T00:06:17.082302-05:00 ns11 dbus-daemon[1616]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.866' (uid=0 pid=380317 comm="/usr/bin/gdbus call --system --dest org.freedeskto") 2025-02-14T00:06:17.123923-05:00 ns11 systemd[1]: Starting packagekit.service - PackageKit Daemon... 2025-02-14T00:06:17.133278-05:00 ns11 PackageKit: daemon start 2025-02-14T00:06:17.167019-05:00 ns11 dbus-daemon[1616]: [system] Successfully activated service 'org.freedesktop.PackageKit' 2025-02-14T00:06:17.167335-05:00 ns11 systemd[1]: Started packagekit.service - PackageKit Daemon. --snip this normal? 617am. the zillion named errors are all we cant reach ipv6 addresses. anyway to turn these off? ADDITIONAL - problem manifested itself at 7:57 - this is when dovecot started getting database errors: -snip- 2025-02-14T07:57:20.729309-05:00 ns11 dovecot: auth-worker(460377): Error: mysql(localhost): Connect failed to database (dbispconfig): Too many connections - waiting for 1 seconds before retry -snip- going back at 7:54: 2025-02-14T07:54:12.508443-05:00 ns11 postfix/proxymap[460013]: warning: connect to mysql server 127.0.0.1: Too many connections 2025-02-14T07:54:12.508974-05:00 ns11 postfix/trivial-rewrite[460012]: warning: virtual_alias_domains: proxy:mysql:/etc/postfix/mysql-virtual_alias_domains.cf: table lookup problem 2025-02-14T07:54:12.509086-05:00 ns11 postfix/trivial-rewrite[460012]: warning: virtual_alias_domains lookup failure 2025-02-14T07:54:12.602253-05:00 ns11 postfix/trivial-rewrite[460012]: warning: virtual_alias_domains: proxy:mysql:/etc/postfix/mysql-virtual_alias_domains.cf: table lookup problem but I'm not seeing anything complaining. I have OODLES of ram. not sure why mysql would have a problem. maybe its being attacked?? any thoughts?
Then the only reliable way to know if there is a problem is to restart the server to see if the services start now. If yes, everything is fine. if no, then you know you must investigate that further.
True. but the reason I had to restart the server was mail failed (dovecot) and started seeing messages too many connections to mysql. the default connections are 100 right? any REASON these might have been legitimately exceeded? and do I need to increase this number? where does ispconfig put it? my.cnf?
Check how many connections you have set and increase them if needed. if a limit is right or not depends on your system only. If many emails come in, more connections might be needed. But it all depends on your system, there is no general one fits all setting for this. https://forum.howtoforge.com/threads/too-many-connections.84841/#post-406386