Apache stops

Discussion in 'General' started by Wakan84, Apr 23, 2019.

  1. Wakan84

    Wakan84 New Member

    Hello, I have not touched my server for weeks and apache today stopped. I restart it and it takes a little bit and stops again here are the logs:

    -- Logs begin at Tue 2019-04-23 18:36:28 UTC, end at Tue 2019-04-23 19:11:02 UTC
    avril 23 18:36:39 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:36:49 ns361255 apachectl[626]: AH00548: NameVirtualHost has no effec
    avril 23 18:36:51 ns361255 apachectl[626]: [Tue Apr 23 18:36:51.950893 2019] [al
    avril 23 18:36:51 ns361255 apachectl[626]: [Tue Apr 23 18:36:51.950946 2019] [al
    avril 23 18:36:53 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:49:38 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:49:38 ns361255 apachectl[3733]: AH00548: NameVirtualHost has no effe
    avril 23 18:49:38 ns361255 apachectl[3733]: [Tue Apr 23 18:49:38.113294 2019] [a
    avril 23 18:49:38 ns361255 apachectl[3733]: [Tue Apr 23 18:49:38.113326 2019] [a
    avril 23 18:49:39 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:49:39 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:49:39 ns361255 apachectl[3747]: AH00548: NameVirtualHost has no effe
    avril 23 18:49:39 ns361255 apachectl[3747]: [Tue Apr 23 18:49:39.618805 2019] [a
    avril 23 18:49:39 ns361255 apachectl[3747]: [Tue Apr 23 18:49:39.618837 2019] [a
    avril 23 18:49:39 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:53:16 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:53:16 ns361255 apachectl[4601]: AH00548: NameVirtualHost has no effe
    avril 23 18:53:16 ns361255 apachectl[4601]: [Tue Apr 23 18:53:16.685169 2019] [a
    avril 23 18:53:16 ns361255 apachectl[4601]: [Tue Apr 23 18:53:16.685201 2019] [a
    avril 23 18:53:17 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:53:17 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:53:17 ns361255 apachectl[4614]: AH00548: NameVirtualHost has no effe
    lines 1-23...skipping...
    -- Logs begin at Tue 2019-04-23 18:36:28 UTC, end at Tue 2019-04-23 19:11:02 UTC. --
    avril 23 18:36:39 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:36:49 ns361255 apachectl[626]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:36:51 ns361255 apachectl[626]: [Tue Apr 23 18:36:51.950893 2019] [alias:warn] [pid 691] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 will
    avril 23 18:36:51 ns361255 apachectl[626]: [Tue Apr 23 18:36:51.950946 2019] [alias:warn] [pid 691] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 will
    avril 23 18:36:53 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:49:38 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:49:38 ns361255 apachectl[3733]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:49:38 ns361255 apachectl[3733]: [Tue Apr 23 18:49:38.113294 2019] [alias:warn] [pid 3735] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:49:38 ns361255 apachectl[3733]: [Tue Apr 23 18:49:38.113326 2019] [alias:warn] [pid 3735] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:49:39 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:49:39 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:49:39 ns361255 apachectl[3747]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:49:39 ns361255 apachectl[3747]: [Tue Apr 23 18:49:39.618805 2019] [alias:warn] [pid 3750] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:49:39 ns361255 apachectl[3747]: [Tue Apr 23 18:49:39.618837 2019] [alias:warn] [pid 3750] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:49:39 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:53:16 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:53:16 ns361255 apachectl[4601]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:53:16 ns361255 apachectl[4601]: [Tue Apr 23 18:53:16.685169 2019] [alias:warn] [pid 4603] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:53:16 ns361255 apachectl[4601]: [Tue Apr 23 18:53:16.685201 2019] [alias:warn] [pid 4603] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:53:17 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:53:17 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:53:17 ns361255 apachectl[4614]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:53:17 ns361255 apachectl[4614]: [Tue Apr 23 18:53:17.230412 2019] [alias:warn] [pid 4617] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:53:17 ns361255 apachectl[4614]: [Tue Apr 23 18:53:17.230444 2019] [alias:warn] [pid 4617] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:53:17 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:56:16 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:56:16 ns361255 apachectl[5302]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:56:16 ns361255 apachectl[5302]: [Tue Apr 23 18:56:16.966542 2019] [alias:warn] [pid 5304] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:56:16 ns361255 apachectl[5302]: [Tue Apr 23 18:56:16.966621 2019] [alias:warn] [pid 5304] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:56:17 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:56:44 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:56:44 ns361255 apachectl[5380]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:56:44 ns361255 apachectl[5380]: [Tue Apr 23 18:56:44.327609 2019] [alias:warn] [pid 5383] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:56:44 ns361255 apachectl[5380]: [Tue Apr 23 18:56:44.327641 2019] [alias:warn] [pid 5383] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:56:44 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 18:59:03 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 18:59:03 ns361255 apachectl[5967]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:59:03 ns361255 apachectl[5967]: [Tue Apr 23 18:59:03.545960 2019] [alias:warn] [pid 5969] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:59:03 ns361255 apachectl[5967]: [Tue Apr 23 18:59:03.545992 2019] [alias:warn] [pid 5969] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:59:04 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 18:59:04 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 18:59:04 ns361255 apachectl[5981]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 18:59:04 ns361255 apachectl[5981]: [Tue Apr 23 18:59:04.073795 2019] [alias:warn] [pid 5984] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 18:59:04 ns361255 apachectl[5981]: [Tue Apr 23 18:59:04.073827 2019] [alias:warn] [pid 5984] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 18:59:04 ns361255 systemd[1]: Started The Apache HTTP Server.
    avril 23 19:03:44 ns361255 systemd[1]: Stopping The Apache HTTP Server...
    avril 23 19:03:44 ns361255 apachectl[7001]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 19:03:44 ns361255 apachectl[7001]: [Tue Apr 23 19:03:44.164117 2019] [alias:warn] [pid 7003] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 19:03:44 ns361255 apachectl[7001]: [Tue Apr 23 19:03:44.164149 2019] [alias:warn] [pid 7003] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi
    avril 23 19:03:44 ns361255 systemd[1]: Stopped The Apache HTTP Server.
    avril 23 19:03:44 ns361255 systemd[1]: Starting The Apache HTTP Server...
    avril 23 19:03:44 ns361255 apachectl[7014]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73
    avril 23 19:03:44 ns361255 apachectl[7014]: [Tue Apr 23 19:03:44.703734 2019] [alias:warn] [pid 7017] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 63 wi
    avril 23 19:03:44 ns361255 apachectl[7014]: [Tue Apr 23 19:03:44.703766 2019] [alias:warn] [pid 7017] AH00671: The Alias directive in /etc/apache2/sites-enabled/ispconfig.conf at line 65 wi

    Thanks for your help
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The lines are cut, so no idea what the complete error message is. It might be helpful. Also what might be helpful is Operating system and ISPConfig version. See https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
    Please paste logs in CODE tags. Please post only the relevant part of log, not half an hour worth of repeating lines.
    Apache seems to stop and start repeatedly. What starts it back?
    Anyway, if examining the complete error message does not help you. stop apache, then start apache from command line, paste the lines from error.log in CODE tags that are the result of that starting attempt. Check your paste shows the complete lines.
     
  3. Wakan84

    Wakan84 New Member

    Hello,
    It worked for several days and now it starts again ...
    Apache does not take more than 5 minutes and stops?
    How to get the error log file?
    When I try this is what I get:

    ~# -bash: /var/log/apache2/error.log: Permission non accordée
    -bash: -bash: : commande introuvable

    Thank you for your help
    Regards,
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Code:
    less /var/log/apache2/error.log
     
  5. Wakan84

    Wakan84 New Member

    Code:
    [ 2019-04-28 06:39:05.7100 13816/7f0c0ba69600 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2019-04-28 06:39:05.7188 13819/7efd87eec600 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2019-04-28 06:39:05.7189 13819/7efd87eec600 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2019-04-28 06:39:05.7201 13819/7efd87eec600 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 13819
    [ 2019-04-28 06:39:05.7306 13828/7f0649e4f600 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2019-04-28 06:39:05.7312 13828/7f0649e4f600 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 13828
    [Sun Apr 28 06:39:05.764112 2019] [:error] [pid 14061] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
    [Sun Apr 28 06:39:05.764182 2019] [:error] [pid 14061] python_init: Python executable found '/usr/bin/python'.
    [Sun Apr 28 06:39:05.764187 2019] [:error] [pid 14061] 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'.
    [Sun Apr 28 06:39:05.764197 2019] [:notice] [pid 14061] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Sun Apr 28 06:39:05.764206 2019] [:notice] [pid 14061] mod_python: using mutex_directory /tmp
    
     
  6. Qtechservers

    Qtechservers New Member

    Can you open your httpd.conf file and check what you have set for Virtualhost' ? It usually is
    <VirtualHost xxx.xx.xxx.xx:80> where (xxx is your IP )
    You will need to replace it with : <VirtualHost *:80> and restart apache and see if it works for you.
     

Share This Page