Page 1 of 1
Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 17:20
by lieferstunde
Habe einmal den Server Neugestartet. Nun startet KeyHlep nicht automatisch mit. Wie behebe ich das mit welchem Befehlt?
Welche lösung gibt es damit bei einem Neustart des Servers, Keyhelp automatisch wieder startet.?
Linux Debian9
LG Ron
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 17:54
by Tobi
Startet denn Apache?
Bzw. welche Services starten überhaupt?
Gibt es eine Fehlermeldung?
Gibt es ein Logfile?
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 18:04
by lieferstunde
Tobi wrote: ↑Mon 22. Apr 2019, 17:54
Startet denn Apache?
Bzw. welche Services starten überhaupt?
Gibt es eine Fehlermeldung?
Gibt es ein Logfile?
nutze dieses befehl: sudo /etc/init.d/apache2 restart
Meldung: Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 18:14
by Jolinar
lieferstunde wrote: ↑Mon 22. Apr 2019, 18:04
See "systemctl status apache2.service" and "journalctl -xe" for details.
Dann poste mal die Ausgabe dieser beiden Befehle.
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 18:18
by lieferstunde
Aktive:
root 1 0.4 0.1 139056 6952 ? Ss 18:04 0:02 /sbin/init
root 2 0.0 0.0 0 0 ? S 18:04 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 18:04 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/0:0]
root 5 0.0 0.0 0 0 ? S< 18:04 0:00 [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S 18:04 0:00 [rcu_sched]
root 8 0.0 0.0 0 0 ? S 18:04 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S 18:04 0:00 [migration/0]
root 10 0.0 0.0 0 0 ? S< 18:04 0:00 [lru-add-drain]
root 11 0.0 0.0 0 0 ? S 18:04 0:00 [watchdog/0]
root 12 0.0 0.0 0 0 ? S 18:04 0:00 [cpuhp/0]
root 13 0.0 0.0 0 0 ? S 18:04 0:00 [cpuhp/1]
root 14 0.0 0.0 0 0 ? S 18:04 0:00 [watchdog/1]
root 15 0.0 0.0 0 0 ? S 18:04 0:00 [migration/1]
root 16 0.0 0.0 0 0 ? S 18:04 0:00 [ksoftirqd/1]
root 18 0.0 0.0 0 0 ? S< 18:04 0:00 [kworker/1:0H]
root 20 0.0 0.0 0 0 ? S 18:04 0:00 [kdevtmpfs]
root 21 0.0 0.0 0 0 ? S< 18:04 0:00 [netns]
root 22 0.0 0.0 0 0 ? S 18:04 0:00 [khungtaskd]
root 23 0.0 0.0 0 0 ? S 18:04 0:00 [oom_reaper]
root 24 0.0 0.0 0 0 ? S< 18:04 0:00 [writeback]
root 25 0.0 0.0 0 0 ? S 18:04 0:00 [kcompactd0]
root 26 0.0 0.0 0 0 ? SN 18:04 0:00 [ksmd]
root 27 0.0 0.0 0 0 ? SN 18:04 0:00 [khugepaged]
root 28 0.0 0.0 0 0 ? S< 18:04 0:00 [crypto]
root 29 0.0 0.0 0 0 ? S< 18:04 0:00 [kintegrityd]
root 30 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 31 0.0 0.0 0 0 ? S< 18:04 0:00 [kblockd]
root 32 0.0 0.0 0 0 ? S< 18:04 0:00 [devfreq_wq]
root 33 0.0 0.0 0 0 ? S< 18:04 0:00 [watchdogd]
root 34 0.0 0.0 0 0 ? S 18:04 0:00 [kswapd0]
root 35 0.0 0.0 0 0 ? S< 18:04 0:00 [vmstat]
root 47 0.0 0.0 0 0 ? S< 18:04 0:00 [kthrotld]
root 48 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/1:1]
root 49 0.0 0.0 0 0 ? S< 18:04 0:00 [ipv6_addrconf]
root 84 0.0 0.0 0 0 ? S< 18:04 0:00 [ata_sff]
root 85 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 86 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 88 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 89 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 91 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 94 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 97 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/u4:1]
root 98 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 101 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 116 0.0 0.0 0 0 ? S 18:04 0:00 [scsi_eh_0]
root 117 0.0 0.0 0 0 ? S< 18:04 0:00 [scsi_tmf_0]
root 118 0.0 0.0 0 0 ? S 18:04 0:00 [scsi_eh_1]
root 119 0.0 0.0 0 0 ? S< 18:04 0:00 [scsi_tmf_1]
root 124 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/u4:3]
root 125 0.0 0.0 0 0 ? S 18:04 0:00 [scsi_eh_2]
root 126 0.0 0.0 0 0 ? S< 18:04 0:00 [scsi_tmf_2]
root 127 0.0 0.0 0 0 ? S< 18:04 0:00 [bioset]
root 385 0.0 0.0 0 0 ? S< 18:04 0:00 [kworker/0:1H]
root 387 0.0 0.0 0 0 ? S< 18:04 0:00 [kworker/1:1H]
root 404 0.0 0.0 0 0 ? S< 18:04 0:00 [kworker/u5:0]
root 414 0.0 0.0 0 0 ? S 18:04 0:00 [jbd2/sda2-8]
root 415 0.0 0.0 0 0 ? S< 18:04 0:00 [ext4-rsv-conve
root 442 0.1 0.1 42964 5404 ? Ss 18:04 0:00 /lib/systemd/sy
root 449 0.0 0.0 0 0 ? S 18:04 0:00 [kauditd]
root 461 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/1:3]
root 465 0.0 0.0 0 0 ? S 18:04 0:00 [kworker/0:4]
root 501 0.0 0.1 45916 4096 ? Ss 18:04 0:00 /lib/systemd/sy
root 568 0.0 0.0 0 0 ? S< 18:04 0:00 [ttm_swap]
root 598 0.0 0.0 0 0 ? S< 18:04 0:00 [edac-poller]
root 629 0.0 0.0 0 0 ? S 18:04 0:00 [jbd2/sda1-8]
root 630 0.0 0.0 0 0 ? S< 18:04 0:00 [ext4-rsv-conve
root 656 0.0 0.0 250112 3160 ? Ssl 18:04 0:00 /usr/sbin/rsysl
clamav 657 0.0 0.6 150356 25192 ? Ss 18:04 0:00 /usr/bin/freshc
message+ 658 0.0 0.0 45128 3664 ? Ss 18:04 0:00 /usr/bin/dbus-d
root 680 0.0 0.1 46420 4596 ? Ss 18:04 0:00 /lib/systemd/sy
root 681 0.0 0.0 4204 1136 ? Ss 18:04 0:00 /usr/sbin/acpid
root 684 0.0 0.0 29664 2772 ? Ss 18:04 0:00 /usr/sbin/cron
clamav 692 7.0 17.0 929780 688884 ? Ssl 18:04 0:33 /usr/sbin/clamd
bind 835 0.0 0.5 286856 21920 ? Ssl 18:04 0:00 /usr/sbin/named
root 837 0.0 1.0 408448 42444 ? Ss 18:04 0:00 php-fpm: master
root 858 0.0 0.0 14524 1728 tty1 Ss+ 18:04 0:00 /sbin/agetty --
root 890 0.0 0.1 69952 6216 ? Ss 18:04 0:00 /usr/sbin/sshd
ntp 916 0.0 0.0 102104 3952 ? Ssl 18:04 0:00 /usr/sbin/ntpd
opendkim 917 0.0 0.0 91768 3476 ? Ss 18:04 0:00 /usr/sbin/opend
opendkim 918 0.0 0.1 198416 6696 ? Sl 18:04 0:00 /usr/sbin/opend
mysql 1052 0.1 4.0 1839672 162032 ? Ssl 18:04 0:00 /usr/sbin/mysql
root 1072 0.3 2.3 185056 93512 ? Ss 18:04 0:01 /usr/bin/perl -
root 1075 0.0 0.0 22340 2712 ? Ss 18:04 0:00 /usr/sbin/dovec
dovecot 1078 0.0 0.0 9488 988 ? S 18:04 0:00 dovecot/anvil
root 1079 0.0 0.0 9620 2316 ? S 18:04 0:00 dovecot/log
root 1081 0.0 0.0 25148 3668 ? S 18:04 0:00 dovecot/config
root 1285 0.2 0.4 442160 17756 ? Sl 18:04 0:01 /usr/bin/python
amavis 1861 0.2 3.4 281112 140060 ? Ss 18:04 0:01 /usr/sbin/amavi
root 2111 0.0 2.1 185056 86920 ? S 18:04 0:00 spamd child
root 2112 0.0 2.1 185056 86920 ? S 18:04 0:00 spamd child
root 2407 0.0 0.1 81180 4396 ? Ss 18:04 0:00 /usr/lib/postfi
postfix 2409 0.0 0.1 83248 6592 ? S 18:04 0:00 pickup -l -t fi
postfix 2410 0.0 0.1 83296 6772 ? S 18:04 0:00 qmgr -l -t fifo
amavis 2411 0.0 3.3 282632 136100 ? S 18:04 0:00 /usr/sbin/amavi
amavis 2412 0.0 3.3 282632 136100 ? S 18:04 0:00 /usr/sbin/amavi
root 2607 0.0 0.3 444240 14944 ? Ss 18:05 0:00 php-fpm: master
root 2817 0.0 0.1 95296 7016 ? Ss 18:06 0:00 sshd: root@nott
root 2819 0.0 0.1 56404 5184 ? Ss 18:07 0:00 /lib/systemd/sy
root 2820 0.0 0.0 82556 1692 ? S 18:07 0:00 (sd-pam)
root 2826 0.0 0.0 12684 1848 ? Ss 18:07 0:00 /usr/lib/openss
root 3219 0.0 0.0 0 0 ? S 18:10 0:00 [kworker/1:0]
root 3307 0.0 0.1 95296 6976 ? Ss 18:11 0:00 sshd: root@pts/
root 3326 0.0 0.0 0 0 ? S 18:11 0:00 [kworker/0:1]
root 3368 0.0 0.0 19872 3728 pts/0 Ss 18:11 0:00 -bash
root 3492 0.0 0.0 38304 3312 pts/0 R+ 18:12 0:00 ps aux
------------------------------------------------------------------------------------------------------------------------
Start STOP RESTART MÖGLICHE Programme laut init.d
acpid bind9 fail2ban mysql procps spamassassin
amavis clamav-daemon hwclock.sh networking proftpd ssh
amavisd-snmp-subagent clamav-freshclam keyboard-setup.sh ntp quota sudo
amavis-mc console-setup.sh keyhelp-php71-fpm opendkim quotarpc udev
apache2 cron keyhelp-php72-fpm php7.0-fpm resolvconf
apache-htcacheclean dbus keyhelp-php73-fpm postfix rsync
apparmor dovecot kmod postgrey rsyslog
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 18:25
by Jolinar
Jolinar wrote: ↑Mon 22. Apr 2019, 18:14
lieferstunde wrote: ↑Mon 22. Apr 2019, 18:04
See "systemctl status apache2.service" and "journalctl -xe" for details.
Dann poste mal die Ausgabe dieser beiden Befehle.
Die Ausgabe von "systemctl status apache2.service" sollte etwa so aussehen:
Code: Select all
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: active (running) since Fr 2019-04-05 03:00:45 CEST; 2 weeks 3 days ago
Process: 17482 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─11880 /usr/sbin/apache2 -k start
├─17505 /usr/sbin/apache2 -k start
├─17506 /usr/sbin/fcgi-pm -k start
├─17507 /usr/sbin/apache2 -k start
└─17508 /usr/sbin/apache2 -k start
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 18:35
by lieferstunde
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-04-22 18:35:01 CEST; 27s ago
Process: 5056 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Apr 22 18:35:01 mail.exox.eu systemd[1]: Starting The Apache HTTP Server...
Apr 22 18:35:01 mail.exox.eu apachectl[5056]: AH00526: Syntax error on line 34 of /etc/apache2/keyhelp/keyhelp.conf:
Apr 22 18:35:01 mail.exox.eu apachectl[5056]: SSLCertificateFile: file '/etc/ssl/keyhelp/keyhelp.pem' does not exist or
is empty
Apr 22 18:35:01 mail.exox.eu apachectl[5056]: Action 'start' failed.
Apr 22 18:35:01 mail.exox.eu apachectl[5056]: The Apache error log may have more information.
Apr 22 18:35:01 mail.exox.eu systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 22 18:35:01 mail.exox.eu systemd[1]: Failed to start The Apache HTTP Server.
Apr 22 18:35:01 mail.exox.eu systemd[1]: apache2.service: Unit entered failed state.
Apr 22 18:35:01 mail.exox.eu systemd[1]: apache2.service: Failed with result 'exit-code'.
Re: Kein Start von Keyhalp nach Server Reset
Posted: Mon 22. Apr 2019, 20:12
by Tobi
Das Problem ist, dass das SSL Zertifikat für KeyHelp ( aus welchen Gründen auch immer) fehlt.
Daher startet der Apache nicht.
Anscheinend ist in der Datei /etc/apache2/keyhelp/keyhelp.conf ein Fehler.
Bitte poste diese.
Re: Kein Start von Keyhalp nach Server Reset [GELÖST]
Posted: Mon 22. Apr 2019, 20:23
by Jolinar
Und verwende bitte für Bildschirmausgaben oder Dateiinhalte die CODE-Tags, dann ist der Beitrag leichter lesbar.
Danke.
BTW:
Wenn ich deinen FQDN im Browser aufrufe, erscheint der KH-Login, also sollte dein Webserver eigentlich laufen...