starting apache "failed" whed adding SSL

Discussion in 'ISPConfig 3 Priority Support' started by livetv, Jan 13, 2015.

  1. livetv

    livetv Member

    now i can start apache but cant log to ispconfig or other sites
    and after reboot, apache does not start auto...
    /etc/init.d/apache2 start [....] Starting web server: apache2[Wed Jan 14 15:46:13 2015] [error] VirtualHost _default_:8082 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    [Wed Jan 14 15:46:13 2015] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Wed Jan 14 15:46:13 2015] [warn] NameVirtualHost *:443 has no VirtualHosts
    . ok
    root@vps-16121:~# /etc/init.d/apache2 status
    Apache2 is running (pid 7991).
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which errors do you get in your sites or ispconfig?
     
  3. livetv

    livetv Member

    my HTTPS://.IP:8080 I GET -
    my www.DOMAIN I GET
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Regardng ispconfig:you commented out the ssl settings in the ispconfig vhost, please undo that.

    Regarding the web page: check with:

    netstat -ntap

    if apache is listening on port 80.
     
  5. livetv

    livetv Member

    SAME
    SSL connection error
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you restart apache?
     
  7. livetv

    livetv Member

    now i can start apache and i can load ispconfig ,
    but phpmyadmin and other site doesn't load
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get when you try to open pghpmyadmin or another site?
     
  9. livetv

    livetv Member

    This webpage is not available


    Reload
    Hide details
    The connection to jimtalk.com was interrupted.
    Check your Internet connection
    Check any cables and reboot any routers, modems, or other network devices you may be using.
    Allow Chrome to access the network in your firewall or antivirus settings.
    If it is already listed as a program allowed to access the network, try removing it from the list and adding it again.
    If you use a proxy server...
    Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chrome menu > Settings > Show advanced settings... > Change proxy settings... > LAN Settings and deselect "Use a proxy server for your LAN".
    Error code: ERR_CONNECTION_RESET
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

  11. livetv

    livetv Member

    1. i get -
      [WARN] Port 80 (Webserver) seems NOT to be listening
      so i add - Listen 80
      to /etc/apache2/ports.conf
      and restart apache and seems that every thing working fine

      but after reboot apache does not start

    2. i googled for solution -
      sysv-rc-conf --list apache2
      apache2 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
      but didnt find how to change it
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you mean that apache did not start automatically after you rebooted or are you unable to start apacge manually after you rebooted the server?
     
  13. livetv

    livetv Member

    apache did not start automatically after you rebooted
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    try:

    update-rc.d apache2 defaults

    to start apache at boot time again.
     
  15. livetv

    livetv Member

    now apache start automatic after reboot.
    when command
    update-rc.d apache2 defaults
    update-rc.d: using dependency based boot sequencing
    insserv: warning: script 'K01php-5.6.0-fpm' missing LSB tags and overrides
    insserv: warning: script 'php-5.6.0-fpm' missing LSB tags and overrides
    those warning are ok?
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats ok.
     

Share This Page