• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Pretty bad problem: Server starts successfully and starts all services but stops them again.

Fuchur

New Pleskian
Hello guys,

thank you for taking the time to have a look at this thread.
I have a big problem: My server is no longer responding to SSH (directly), webaccess or anything else.
I have a recovery system accessable by SSH where I can have a look at the logs and change files, but I can only run SSH comments int the recovery system, not the normal boot system like that.

I am pretty sure that I've got a configuration error or a write problem, but I am not sure how to go on from there.
It seems like the server starts up fine but then one process after another which just has been started stops again.

Oct 31 01:53:06 h2230302 rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="280" x-info="The rocket-fast Syslog Server - rsyslog"] start
Oct 31 01:53:06 h2230302 rsyslogd-3003: invalid or yet-unknown config file command 'KLogPermitNonKernelFacility' - have you forgotten to load a module? [v8.16.0 try You searched for error 3003 - rsyslog ]
Oct 31 01:53:06 h2230302 rsyslogd: rsyslogd's groupid changed to 110
Oct 31 01:53:06 h2230302 rsyslogd: rsyslogd's userid changed to 106
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '1' to 'kernel/kptr_restrict', ignoring: Permission denied
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '1' to 'fs/protected_hardlinks', ignoring: Permission denied
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '1' to 'fs/protected_symlinks', ignoring: Permission denied
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '176' to 'kernel/sysrq', ignoring: Permission denied
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '1' to 'net/ipv4/tcp_syncookies', ignoring: No such file or directory
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '1' to 'kernel/yama/ptrace_scope', ignoring: Permission denied
Oct 31 01:53:06 h2230302 systemd-sysctl[77]: Couldn't write '65536' to 'vm/mmap_min_addr', ignoring: Operation not permitted

Oct 31 01:53:06 h2230302 systemd[1]: Started Remount Root and Kernel File Systems.
....
Oct 31 01:53:06 h2230302 systemd[1]: Started /etc/rc.local Compatibility.
Oct 31 01:53:06 h2230302 cron[260]: (CRON) INFO (Running @reboot jobs)
Oct 31 01:53:06 h2230302 sh[283]: ifup: interface venet0 already configured
Oct 31 01:53:06 h2230302 systemd[1]: Started Permit User Sessions.
Oct 31 01:53:06 h2230302 psa-firewall[262]: iptables: No chain/target/match by that name.
Oct 31 01:53:06 h2230302 psa-firewall[262]: psa-firewall: failed to apply firewall configuration

Oct 31 01:53:06 h2230302 systemd[1]: Found device /sys/subsystem/net/devices/venet0.
Oct 31 01:53:06 h2230302 systemd[1]: psa-firewall.service: Control process exited, code=exited status=1
Oct 31 01:53:06 h2230302 systemd[1]: Failed to start LSB: Plesk firewall.
Oct 31 01:53:06 h2230302 systemd[1]: psa-firewall.service: Unit entered failed state.
Oct 31 01:53:06 h2230302 systemd[1]: psa-firewall.service: Failed with result 'exit-code'.

Oct 31 01:53:06 h2230302 systemd[1]: Starting Hold until boot process finishes up...
...
Oct 31 01:53:06 h2230302 systemd[1]: Started Console Getty.
Oct 31 01:53:06 h2230302 systemd[1]: Reached target Login Prompts.
Oct 31 01:53:06 h2230302 apache2[273]: * Starting Apache httpd web server apache2
Oct 31 01:53:06 h2230302 systemd[1]: Started OpenBSD Secure Shell server.
Oct 31 01:53:06 h2230302 systemd[1]: Started System Logging Service.
Oct 31 01:53:06 h2230302 dovecot[271]: doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
Oct 31 01:53:06 h2230302 dovecot[271]: doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:2: ssl_protocols has been replaced by ssl_min_protocol
Oct 31 01:53:06 h2230302 dovecot[271]: doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:6: ssl_dh_parameters_length is no longer needed
Oct 31 01:53:06 h2230302 systemd[1]: sw-cp-server.service: Failed to read PID from file /run/sw-cp-server.pid: Invalid argument
Oct 31 01:53:06 h2230302 systemd[1]: Started Startup script for Plesk control panel server.
...
Oct 31 01:53:07 h2230302 dovecot: master: Dovecot v2.3.7.2 (3c910f64b) starting up for imap, pop3, sieve (core dumps disabled)
Oct 31 01:53:07 h2230302 xinetd[275]: * Starting internet superserver xinetd
Oct 31 01:53:07 h2230302 dovecot: doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
...
Oct 31 01:53:07 h2230302 dovecot: config: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:6: ssl_dh_parameters_length is no longer needed
Oct 31 01:53:07 h2230302 xinetd[275]: ...done.
Oct 31 01:53:07 h2230302 systemd[1]: Started LSB: Starts or stops the xinetd daemon..
Oct 31 01:53:07 h2230302 xinetd[362]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
...
Oct 31 01:53:07 h2230302 xinetd[362]: Reading included configuration file: /etc/xinetd.d/poppassd_psa [file=/etc/xinetd.d/poppassd_psa] [line=18]
Oct 31 01:53:07 h2230302 systemd[1]: Started LSB: modules.dep creation..
Oct 31 01:53:07 h2230302 xinetd[362]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=16]
Oct 31 01:53:07 h2230302 xinetd[362]: removing chargen
...
Oct 31 01:53:07 h2230302 xinetd[362]: removing time
Oct 31 01:53:07 h2230302 xinetd[362]: xinetd Version 2.3.15 started with libwrap loadavg options compiled in.
Oct 31 01:53:07 h2230302 xinetd[362]: Started working: 2 available services
Oct 31 01:53:11 h2230302 apache2[273]: [Sat Oct 31 01:53:11.051821 2020] [so:warn] [pid 385] AH01574: module proxy_module is already loaded, skipping
Oct 31 01:53:11 h2230302 apache2[273]: [Sat Oct 31 01:53:11.052334 2020] [so:warn] [pid 385] AH01574: module proxy_http_module is already loaded, skipping
Oct 31 01:53:11 h2230302 apache2[273]: [Sat Oct 31 01:53:11.053049 2020] [so:warn] [pid 385] AH01574: module proxy_module is already loaded, skipping
Oct 31 01:53:11 h2230302 apache2[273]: [Sat Oct 31 01:53:11.053060 2020] [so:warn] [pid 385] AH01574: module proxy_http_module is already loaded, skipping
...
Oct 31 01:53:12 h2230302 systemd[1]: Started Startup script for Panel sw-engine.
Oct 31 01:53:12 h2230302 systemd[1]: Started The PHP 7.2.34 FastCGI Process Manager.
Oct 31 01:53:12 h2230302 spamd[277]: logger: removing stderr method
Oct 31 01:53:13 h2230302 apache2[273]: *
Oct 31 01:53:13 h2230302 systemd[1]: Started LSB: Apache2 web server.
Oct 31 01:53:15 h2230302 spamd[406]: zoom: able to use 330/346 'body_0' compiled rules (95.375%)
Oct 31 01:53:17 h2230302 systemd[1]: Started MySQL Community Server.
Oct 31 01:53:17 h2230302 systemd[1]: Starting Plesk Panel...
Oct 31 01:53:17 h2230302 systemd[1]: Started Plesk Panel.

Oct 31 01:53:30 h2230302 spamd[406]: spamd: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.2)
Oct 31 01:53:30 h2230302 spamd[406]: spamd: server pid: 406
...
Oct 31 01:53:31 h2230302 systemd[1]: Started Update UTMP about System Runlevel Changes.
Oct 31 01:53:31 h2230302 systemd[1]: Startup finished in 26.663s.
Oct 31 01:53:31 h2230302 postfix/master[593]: /etc/postfix/master.cf: line 122: using backwards-compatible default setting chroot=y
Oct 31 01:53:31 h2230302 postfix/master[593]: /etc/postfix/master.cf: line 124: using backwards-compatible default setting chroot=y
Oct 31 01:53:31 h2230302 postfix/master[593]: daemon started -- version 3.1.0, configuration /etc/postfix
Oct 31 01:53:31 h2230302 postfix/pickup[596]: 32F1BB2A435: uid=999 from=<psaadm>
Oct 31 01:53:44 h2230302 ntpdate[136]: name server cannot be used: Temporary failure in name resolution (-3)
Oct 31 01:55:11 h2230302 postfix/cleanup[598]: warning: connect to TCP map 127.0.0.1:12346: Connection timed out
Oct 31 01:55:36 h2230302 systemd[1]: Stopped target Mail Transport Agent
.
...
Oct 31 01:55:36 h2230302 systemd[1]: Stopping LSB: Postfix Mail Transport Agent...
...
Oct 31 01:55:36 h2230302 systemd[1]: Stopping The PHP 7.2.34 FastCGI Process Manager...
Oct 31 01:55:36 h2230302 systemd[1]: Stopping LSB: Apache2 web server...
Oct 31 01:55:36 h2230302 systemd[1]: Stopping Plesk mail filter service for Postfix...
Oct 31 01:55:36 h2230302 systemd[1]: Stopped Plesk Panel.
Oct 31 01:55:36 h2230302 systemd[1]: Stopping Startup script for Plesk control panel server...

...
Oct 31 01:55:36 h2230302 rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="280" x-info="The rocket-fast Syslog Server - rsyslog"] exiting on signal 15.

As you can see first there are some permission problems but I think they do not matter for this that much.
The more important stuff might be the firewall? But I am not sure.

As for now, the server ist starting all the more important services to show plesk and run websites/E-Mails and after that it just shuts them down a couple of seconds later.
Does anybody have a solution for this problem?

This is a Ubuntu 16.04 LTS 64bit + Plesk Onyx 17.8.11 recently updated to 18.0.31 vServer. I ran into mail problems when I tried to install a SSL certificate recently to the mail system and then it all went downhill. I think my configuration was no longer boot safe and when I restarted it the problem occured somehow.

I am pretty much stuck at the moment and can not get the server to do anything for now. Thank you very much for any help in advance.

Best regards
*Fuchur*

PS: had to shorten the log alot. Please the attached file for more.
 

Attachments

  • system_log.zip
    3.6 KB · Views: 2
Okay, I can run a .sh-file with a crontab/job as it seems. I tried to run plesk repair all -y but it did not work out. Same behaviour is invoked as in the system log above starting and closing everything. Anybody has any idea?
 
Back
Top