Crash apache2 after migration site to new client on ispconfig

Discussion in 'Installation/Configuration' started by SebastianK, Jan 25, 2022.

  1. SebastianK

    SebastianK New Member

    Hi!

    i have on my ispconfig more clients. When i yesterday migration on ispconfig panel site from my account to client account - then apache2 crash.

    In the first i not have idea what is problem, then i remove ssl-conf
    Please look:
    Code:
    [email protected]:/var/www# service apache2 restart
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    Code:
    [email protected]:/var/www# systemctl status apache2.service
    ● apache2.service - The Apache HTTP Server
         Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Tue 2022-01-25 11:11:52 UTC; 19s ago
           Docs: https://httpd.apache.org/docs/2.4/
        Process: 7155 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
    
    sty 25 11:11:52 server apachectl[7174]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled>
    sty 25 11:11:52 server apachectl[7174]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
    sty 25 11:11:52 server apachectl[7174]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
    sty 25 11:11:52 server apachectl[7174]: no listening sockets available, shutting down
    sty 25 11:11:52 server apachectl[7174]: AH00015: Unable to open logs
    sty 25 11:11:52 server apachectl[7155]: Action 'start' failed.
    sty 25 11:11:52 server apachectl[7155]: The Apache error log may have more information.
    sty 25 11:11:52 server systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    sty 25 11:11:52 server systemd[1]: apache2.service: Failed with result 'exit-code'.
    sty 25 11:11:52 server systemd[1]: Failed to start The Apache HTTP Server.
    Code:
    [email protected]:/var/www# journalctl -xe
    sty 25 11:10:01 server postfix/smtpd[7129]: connect from localhost.localdomain[127.0.0.1]
    sty 25 11:10:01 server postfix/smtpd[7129]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    sty 25 11:10:01 server postfix/smtpd[7129]: disconnect from localhost.localdomain[127.0.0.1] commands=0/0
    sty 25 11:10:01 server CRON[7034]: pam_unix(cron:session): session closed for user root
    sty 25 11:10:57 server postfix/anvil[6609]: statistics: max connection rate 1/60s for (smtp:106.38.58.138) at Jan 25 11:06:36
    sty 25 11:10:57 server postfix/anvil[6609]: statistics: max connection count 1 for (smtp:106.38.58.138) at Jan 25 11:06:36
    sty 25 11:10:57 server postfix/anvil[6609]: statistics: max cache size 1 at Jan 25 11:06:36
    sty 25 11:11:01 server CRON[7135]: pam_unix(cron:session): session opened for user root by (uid=0)
    sty 25 11:11:01 server CRON[7134]: pam_unix(cron:session): session opened for user root by (uid=0)
    sty 25 11:11:01 server CRON[7137]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/lo>
    sty 25 11:11:01 server CRON[7136]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/>
    sty 25 11:11:01 server CRON[7134]: pam_unix(cron:session): session closed for user root
    sty 25 11:11:01 server CRON[7135]: pam_unix(cron:session): session closed for user root
    sty 25 11:11:52 server systemd[1]: Starting The Apache HTTP Server...
    -- Subject: Rozpoczęto wykonywanie zadania uruchamiania dla jednostki apache2.service
    -- Defined-By: systemd
    -- Support: http://www.ubuntu.com/support
    --
    -- Rozpoczęto wykonywanie zadania uruchamiania dla jednostki apache2.service.
    --
    -- Identyfikator zadania: 2670.
    sty 25 11:11:52 server apachectl[7174]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled>
    sty 25 11:11:52 server apachectl[7174]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
    sty 25 11:11:52 server apachectl[7174]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
    sty 25 11:11:52 server apachectl[7174]: no listening sockets available, shutting down
    sty 25 11:11:52 server apachectl[7174]: AH00015: Unable to open logs
    sty 25 11:11:52 server apachectl[7155]: Action 'start' failed.
    sty 25 11:11:52 server apachectl[7155]: The Apache error log may have more information.
    sty 25 11:11:52 server systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    -- Subject: Proces jednostki zakończył działanie
    -- Defined-By: systemd
    -- Support: http://www.ubuntu.com/support
    --
    -- Proces ExecStart= należący do jednostki apache2.service zakończył działanie.
    --
    -- Kod wyjścia procesu: „exited”, jego stan wyjścia: 1.
    sty 25 11:11:52 server systemd[1]: apache2.service: Failed with result 'exit-code'.
    -- Subject: Jednostka się nie powiodła
    -- Defined-By: systemd
    -- Support: http://www.ubuntu.com/support
    --
    -- Jednostka apache2.service przeszła do stanu „failed” (niepowodzenia)
    -- z wynikiem „exit-code”.
    sty 25 11:11:52 server systemd[1]: Failed to start The Apache HTTP Server.
    -- Subject: Zadanie uruchamiania dla jednostki apache2.service się nie powiodło
    -- Defined-By: systemd
    -- Support: http://www.ubuntu.com/support
    --
    -- Zadanie uruchamiania dla jednostki apache2.service zostało ukończone z niepowodzeniem.
    --
    -- Identyfikator zadania: 2670, wynik zadania: failed.
    sty 25 11:12:01 server CRON[7181]: pam_unix(cron:session): session opened for user root by (uid=0)
    sty 25 11:12:01 server CRON[7182]: pam_unix(cron:session): session opened for user root by (uid=0)
    sty 25 11:12:01 server CRON[7183]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/lo>
    sty 25 11:12:01 server CRON[7184]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/>
    sty 25 11:12:01 server CRON[7181]: pam_unix(cron:session): session closed for user root
    sty 25 11:12:01 server CRON[7182]: pam_unix(cron:session): session closed for user root
    sty 25 11:12:16 server named[786]: network unreachable resolving 'lIn5eRqhj34Q8wvgsf7RSQqsAm.dwl.dnswl.org/A/IN': 2600:3c01::21:1faa#53
    sty 25 11:12:16 server named[786]: network unreachable resolving 'lIn5eRqhj34Q8wvgsf7RSQqsAm.dwl.dnswl.org/A/IN': 2400:8901::f03c:91ff:fee9:a89#53
    sty 25 11:12:16 server named[786]: network unreachable resolving 'lIn5eRqhj34Q8wvgsf7RSQqsAm.dwl.dnswl.org/A/IN': 2a01:4f8:1c0c:708f::53#53
    Code:
    [email protected]:/var/www# apache2ctl configtest
    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7
    Syntax OK
    I no have idea how to fix it...
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. SebastianK

    SebastianK New Member

    Code:
    [Tue Jan 25 00:00:08.417149 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 00:00:08.417310 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 00:00:08.417321 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8080:0 for stapling
    [Tue Jan 25 00:00:08.417669 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 00:00:08.417781 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 00:00:08.417792 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8081:0 for stapling
    [ 2022-01-25 00:00:08.4306 2750000/7f776b446e40 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2022-01-25 00:00:08.4427 2750016/7fefe2cd6e40 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2022-01-25 00:00:08.4428 2750016/7fefe2cd6e40 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2022-01-25 00:00:08.4450 2750016/7fefe2cd6e40 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 2750016
    [ 2022-01-25 00:00:08.4593 2750035/7ff18e306e40 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2022-01-25 00:00:08.4602 2750035/7ff18e306e40 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 2750035
    [Tue Jan 25 00:00:08.460652 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.
    [Tue Jan 25 00:00:08.460733 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python executable found '/usr/bin/python'.
    [Tue Jan 25 00:00:08.460741 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
    [Tue Jan 25 00:00:08.460754 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: Creating 8 session mutexes based on 4 max processes and 25 max threads.
    [Tue Jan 25 00:00:08.460765 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: using mutex_directory /tmp
    [Tue Jan 25 00:00:08.471749 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f Phusion_Passenger/5.0.30 mod_python/3.3.1 Python/2.7.18 configured -- resuming normal operations
    [Tue Jan 25 00:00:08.471770 2022] [core:notice] [pid 2480358:tid 139911913610304] AH00094: Command line: '/usr/sbin/apache2'
    [Tue Jan 25 00:00:08.471830 2022] [mpm_event:warn] [pid 2480358:tid 139911913610304] AH00488: long lost child came home! (pid 2725789)
    [Tue Jan 25 06:03:32.200416 2022] [proxy_fcgi:error] [pid 2751038:tid 139910572930816] [client 103.26.142.79:41308] AH01071: Got error 'Primary script unknown'
     
  4. SebastianK

    SebastianK New Member

    Code:
    [Tue Jan 25 07:40:29.172808 2022] [proxy_fcgi:error] [pid 2750078:tid 139911369811712] [client 50.59.99.143:38330] AH01071: Got error 'Primary script unknown'
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/php/20190902/apc.so: undefined symbol: zif_apcu_store), /usr/lib/php/20190902/apc.so.so (/usr/lib/php/20190902/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    suexec policy violation: see suexec log for more details
    [Tue Jan 25 09:11:02.490759 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00493: SIGUSR1 received.  Doing graceful restart
    
    [ 2022-01-25 09:11:02.5083 2750035/7ff18e211700 age/Ust/UstRouterMain.cpp:421 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:02.5083 2750035/7ff18e306e40 age/Ust/UstRouterMain.cpp:491 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:02.5084 2750035/7ff18d98f700 Ser/Server.h:816 ]: [UstRouterApiServer] Freed 0 spare client objects
    
    [ 2022-01-25 09:11:02.5084 2750035/7ff18d98f700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
    [ 2022-01-25 09:11:02.5084 2750016/7fefe2307700 age/Cor/CoreMain.cpp:531 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:02.5084 2750035/7ff18e211700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
    [ 2022-01-25 09:11:02.5085 2750016/7fefe2cd6e40 age/Cor/CoreMain.cpp:900 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:02.5086 2750016/7fefe1a85700 Ser/Server.h:816 ]: [ServerThr.2] Freed 128 spare client objects
    [ 2022-01-25 09:11:02.5087 2750016/7fefe1a85700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
    [ 2022-01-25 09:11:02.5087 2750016/7fefe2307700 Ser/Server.h:816 ]: [ServerThr.1] Freed 128 spare client objects
    [ 2022-01-25 09:11:02.5087 2750016/7fefe2307700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
    [ 2022-01-25 09:11:02.5088 2750016/7fefe1203700 Ser/Server.h:816 ]: [ServerThr.3] Freed 128 spare client objects
    [ 2022-01-25 09:11:02.5088 2750016/7fefe1203700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
    [ 2022-01-25 09:11:02.5088 2750016/7fefe0981700 Ser/Server.h:816 ]: [ServerThr.4] Freed 128 spare client objects
    [ 2022-01-25 09:11:02.5088 2750016/7fefe0981700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
    [ 2022-01-25 09:11:02.5090 2750035/7ff18e306e40 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
    [ 2022-01-25 09:11:02.5092 2750016/7fefb3fff700 Ser/Server.h:816 ]: [ApiServer] Freed 0 spare client objects
    [ 2022-01-25 09:11:02.5093 2750016/7fefb3fff700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
    [ 2022-01-25 09:11:02.5622 2750016/7fefe2cd6e40 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
    [Tue Jan 25 09:11:05.760276 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 09:11:05.760420 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 09:11:05.760431 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8080:0 for stapling
    [Tue Jan 25 09:11:05.760770 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 09:11:05.760886 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 09:11:05.760896 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8081:0 for stapling
    
     
  5. SebastianK

    SebastianK New Member

    Code:
    [ 2022-01-25 09:11:05.7806 3057857/7f6755c96e40 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2022-01-25 09:11:05.7936 3057860/7fbb5ec22e40 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2022-01-25 09:11:05.7937 3057860/7fbb5ec22e40 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2022-01-25 09:11:05.7952 3057860/7fbb5ec22e40 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 3057860
    [ 2022-01-25 09:11:05.8074 3057869/7f037d59de40 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2022-01-25 09:11:05.8081 3057869/7f037d59de40 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 3057869
    [Tue Jan 25 09:11:05.811468 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.
    [Tue Jan 25 09:11:05.812438 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python executable found '/usr/bin/python'.
    [Tue Jan 25 09:11:05.812454 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
    [Tue Jan 25 09:11:05.812474 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: Creating 8 session mutexes based on 4 max processes and 25 max threads.
    [Tue Jan 25 09:11:05.812489 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: using mutex_directory /tmp
    [Tue Jan 25 09:11:05.825421 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f Phusion_Passenger/5.0.30 mod_python/3.3.1 Python/2.7.18 configured -- resuming normal operations
    [Tue Jan 25 09:11:05.825439 2022] [core:notice] [pid 2480358:tid 139911913610304] AH00094: Command line: '/usr/sbin/apache2'
    [Tue Jan 25 09:11:05.825466 2022] [mpm_event:warn] [pid 2480358:tid 139911913610304] AH00488: long lost child came home! (pid 2749966)
    [Tue Jan 25 09:11:12.534419 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00493: SIGUSR1 received.  Doing graceful restart
    
     
  6. SebastianK

    SebastianK New Member

    Code:
    [ 2022-01-25 09:11:12.5469 3057860/7fbb5e253700 age/Cor/CoreMain.cpp:531 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:12.5469 3057869/7f03754a8700 age/Ust/UstRouterMain.cpp:421 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:12.5469 3057860/7fbb5ec22e40 age/Cor/CoreMain.cpp:900 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:12.5469 3057869/7f037d59de40 age/Ust/UstRouterMain.cpp:491 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:12.5470 3057869/7f037d427700 Ser/Server.h:816 ]: [UstRouterApiServer] Freed 0 spare client objects
    [ 2022-01-25 09:11:12.5470 3057869/7f037d427700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
    [ 2022-01-25 09:11:12.5470 3057860/7fbb5d9d1700 Ser/Server.h:816 ]: [ServerThr.2] Freed 128 spare client objects
    [ 2022-01-25 09:11:12.5470 3057860/7fbb5d9d1700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
    [ 2022-01-25 09:11:12.5471 3057869/7f03754a8700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
    [ 2022-01-25 09:11:12.5471 3057860/7fbb5d14f700 Ser/Server.h:816 ]: [ServerThr.3] Freed 128 spare client objects
    [ 2022-01-25 09:11:12.5471 3057860/7fbb5d14f700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
    [ 2022-01-25 09:11:12.5472 3057860/7fbb5c8cd700 Ser/Server.h:816 ]: [ServerThr.4] Freed 128 spare client objects
    [ 2022-01-25 09:11:12.5472 3057860/7fbb5c8cd700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
    [ 2022-01-25 09:11:12.5472 3057860/7fbb5e253700 Ser/Server.h:816 ]: [ServerThr.1] Freed 128 spare client objects
    [ 2022-01-25 09:11:12.5472 3057860/7fbb5e253700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
    [ 2022-01-25 09:11:12.5473 3057860/7fbb2ffff700 Ser/Server.h:816 ]: [ApiServer] Freed 0 spare client objects
    [ 2022-01-25 09:11:12.5473 3057860/7fbb2ffff700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
    [ 2022-01-25 09:11:12.5476 3057869/7f037d59de40 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
    [ 2022-01-25 09:11:12.6009 3057860/7fbb5ec22e40 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
    [Tue Jan 25 09:11:12.901421 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 09:11:12.901552 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 09:11:12.901563 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8080:0 for stapling
    [Tue Jan 25 09:11:12.901904 2022] [ssl:warn] [pid 2480358:tid 139911913610304] AH01906: server.kowalec.pl:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Jan 25 09:11:12.902014 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / issuer: CN=server.kowalec.pl,OU=IT,O=None,L=None,ST=None,C=DE / serial: 632F2B45485891FF61D11145CABB20DF930F26AD / notbefore: Sep 16 14:30:12 2021 GMT / notafter: Sep 14 14:30:12 2031 GMT]
    [Tue Jan 25 09:11:12.902025 2022] [ssl:error] [pid 2480358:tid 139911913610304] AH02604: Unable to configure certificate server.kowalec.pl:8081:0 for stapling
    [ 2022-01-25 09:11:12.9159 3058039/7f8efadb7e40 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2022-01-25 09:11:12.9272 3058042/7f701ea23e40 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2022-01-25 09:11:12.9273 3058042/7f701ea23e40 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2022-01-25 09:11:12.9287 3058042/7f701ea23e40 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 3058042
    [ 2022-01-25 09:11:12.9400 3058051/7f0d44a52e40 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2022-01-25 09:11:12.9408 3058051/7f0d44a52e40 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 3058051
    [Tue Jan 25 09:11:12.941250 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.
    [Tue Jan 25 09:11:12.941330 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python executable found '/usr/bin/python'.
    [Tue Jan 25 09:11:12.941338 2022] [:error] [pid 2480358:tid 139911913610304] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
    [Tue Jan 25 09:11:12.941350 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: Creating 8 session mutexes based on 4 max processes and 25 max threads.
    [Tue Jan 25 09:11:12.941362 2022] [:notice] [pid 2480358:tid 139911913610304] mod_python: using mutex_directory /tmp
    [Tue Jan 25 09:11:12.951516 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f Phusion_Passenger/5.0.30 mod_python/3.3.1 Python/2.7.18 configured -- resuming normal operations
    [Tue Jan 25 09:11:12.951533 2022] [core:notice] [pid 2480358:tid 139911913610304] AH00094: Command line: '/usr/sbin/apache2'
    [Tue Jan 25 09:11:12.952764 2022] [mpm_event:warn] [pid 2480358:tid 139911913610304] AH00488: long lost child came home! (pid 3057854)
    
    [ 2022-01-25 09:11:39.3955 3058042/7f701e054700 age/Cor/CoreMain.cpp:531 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:39.3956 3058042/7f701ea23e40 age/Cor/CoreMain.cpp:900 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:39.3957 3058042/7f701d7d2700 Ser/Server.h:816 ]: [ServerThr.2] Freed 128 spare client objects
    [ 2022-01-25 09:11:39.3957 3058042/7f701d7d2700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
    [ 2022-01-25 09:11:39.3958 3058042/7f701cf50700 Ser/Server.h:816 ]: [ServerThr.3] Freed 128 spare client objects
    [ 2022-01-25 09:11:39.3958 3058042/7f701cf50700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
    [ 2022-01-25 09:11:39.3959 3058042/7f6ff77fe700 Ser/Server.h:816 ]: [ApiServer] Freed 0 spare client objects
    [ 2022-01-25 09:11:39.3959 3058042/7f6ff77fe700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
    [ 2022-01-25 09:11:39.3959 3058042/7f701e054700 Ser/Server.h:816 ]: [ServerThr.1] Freed 128 spare client objects
    [ 2022-01-25 09:11:39.3959 3058042/7f701e054700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
    [ 2022-01-25 09:11:39.3960 3058042/7f6ff7fff700 Ser/Server.h:816 ]: [ServerThr.4] Freed 128 spare client objects
    [ 2022-01-25 09:11:39.3960 3058042/7f6ff7fff700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
    
    [ 2022-01-25 09:11:39.4004 3058051/7f0d4495d700 age/Ust/UstRouterMain.cpp:421 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2022-01-25 09:11:39.4004 3058051/7f0d44a52e40 age/Ust/UstRouterMain.cpp:491 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2022-01-25 09:11:39.4004 3058051/7f0d37fff700 Ser/Server.h:816 ]: [UstRouterApiServer] Freed 0 spare client objects
    [ 2022-01-25 09:11:39.4005 3058051/7f0d37fff700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
    [ 2022-01-25 09:11:39.4005 3058051/7f0d4495d700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
    
    [ 2022-01-25 09:11:39.4045 3058051/7f0d4495d700 age/Ust/UstRouterMain.cpp:421 ]: Signal received. Gracefully shutting down... (send signal 1 more time(s) to force shutdown)
    [ 2022-01-25 09:11:39.4092 3058051/7f0d44a52e40 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
    [ 2022-01-25 09:11:39.4474 3058042/7f701ea23e40 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
    [Tue Jan 25 09:11:42.659727 2022] [core:warn] [pid 2480358:tid 139911913610304] AH00045: child process 3058070 still did not exit, sending a SIGTERM
    [Tue Jan 25 09:11:44.662012 2022] [core:warn] [pid 2480358:tid 139911913610304] AH00045: child process 3058070 still did not exit, sending a SIGTERM
    [Tue Jan 25 09:11:46.664288 2022] [core:warn] [pid 2480358:tid 139911913610304] AH00045: child process 3058070 still did not exit, sending a SIGTERM
    [Tue Jan 25 09:11:48.666561 2022] [core:error] [pid 2480358:tid 139911913610304] AH00046: child process 3058070 still did not exit, sending a SIGKILL
    [Tue Jan 25 09:11:49.667862 2022] [mpm_event:notice] [pid 2480358:tid 139911913610304] AH00491: caught SIGTERM, shutting down
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Go to the directory /etc/apache2/sites-enabled/ and remove the symlink for the vhost file that you moved and then restart apache. Also check if there is a second file for this website name, maybe you accidentally made a copy of that file by editing it with vi or nano or you used certbot on the shell for this site which also creates copies of vhost files.
     
  8. SebastianK

    SebastianK New Member

    i move all symlink
    Code:
    [email protected]:/etc/apache2/sites-enabled# ls -a
    .  ..  000-apps.vhost  000-default.conf  000-ispconfig.conf  000-ispconfig.vhost  999-acme.conf
    
    Code:
    [email protected]:/etc/apache2/sites-enabled# service apache2 restart
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    please check that the ssl certs exist that are used in 000-ispconfig.vhost file.
     
  10. SebastianK

    SebastianK New Member

    Code:
      # SSL Configuration
      SSLEngine On
        SSLProtocol All -SSLv3 -TLSv1 -TLSv1.1
        SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
      SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
      #SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
    
      SSLCipherSuite ********************>
      SSLHonorCipherOrder On
    
    Code:
    [email protected]:/usr/local/ispconfig/interface/ssl# ls -a
    .  ..  empty.dir  ispserver.crt  ispserver.key  ispserver.pem
     
  11. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Were you trying to install apcu? That should not have ".so.so" in the file name, search for that (eg. 'grep -R apc.so.so /etc/php') if needed and fix it.
     
  12. SebastianK

    SebastianK New Member

    I install all via automated install for ubuntu.
    Code:
    [email protected]:/etc/php# grep -R apc.so
    7.4/fpm/conf.d/25-apcu_bc.ini:extension=apc.so
    7.4/cgi/conf.d/25-apcu_bc.ini:extension=apc.so
    7.4/mods-available/apcu_bc.ini:extension=apc.so
    7.4/cli/conf.d/25-apcu_bc.ini:extension=apc.so
    [email protected]:/etc/php# grep -R apc.so.so
    [email protected]:/etc/php# 
    I see in /var/log/ispconfig/cron.log ->

    Code:
    wto, 25 sty 2022, 09:06:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:06:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:06:01 UTC finished server.php.
    wto, 25 sty 2022, 09:06:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:07:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:07:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:07:01 UTC finished server.php.
    wto, 25 sty 2022, 09:07:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:08:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:08:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:08:01 UTC finished server.php.
    wto, 25 sty 2022, 09:08:01 UTC PHP Warning:  PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/lib/php/20190902/apc.so (/usr/lib/>
    wto, 25 sty 2022, 09:09:01 UTC finished server.php.
    I now remove apcu - this is not repair
     
    Last edited: Jan 25, 2022
  13. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Those logs were hours old at the time you posted them; do you continue to have new logs about apc.so show up? You might ensure you purge the php7.4-apcu-bc package, not just uninstall it. You can also uninstall all mod_php versions (and be sure to a2enconf php7.4-fpm) and then a broken php setup should not prevent apache from starting. I see in your initial logs that you tried to start apache and the error at that time was that another apache was already running - have you tried stopping apache2, then ensure all apache processes are stopped, and started again?
     
  14. SebastianK

    SebastianK New Member

    At the moment nothing is added to the logs - because apache is not working ... There are over twenty pages on the server and I would not want to change too much in the configuration. The server was restarted - nothing helped ...
     
  15. SebastianK

    SebastianK New Member

    ok... i repair problem
    Code:
    [email protected]:/var/log# netstat -tulpn | grep :80
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1027/nginx: master
    tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      1027/nginx: master
    tcp6       0      0 :::80                   :::*                    LISTEN      1027/nginx: master
    tcp6       0      0 :::8081                 :::*                    LISTEN      1027/nginx: master  
    Code:
    [email protected]:/var/log# kill -9 1027
    and... finaly is work...

    well that it is fixed, the question - where does the problem come from?
     
    Last edited: Jan 25, 2022
  16. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you answer the question I asked in #2?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you started nginx manually using an init script while ISPConfig is using systemd, services started via init script can not be stopped or restarted via systemd.
     
  18. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Normally you only install one web server; it is likely safe to uninstall nginx if you intend to use Apache (or vice-versa).
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, did not notice that he was using apache initially. In this case, uninstall nginx.
     
  20. SebastianK

    SebastianK New Member

    I wonder where nginx came from, the server was installed according to the automatic ISPconfig installation for ubuntu, maybe it used to be one beer too many like I was doing ... but this is just a guess :) most importantly - fixed! Thank you for your help!
     

Share This Page