Updated, now SQL, Apache and Postfix fail to start on boot

Discussion in 'General' started by c0loredardvark, Jan 30, 2019.

  1. c0loredardvark

    c0loredardvark New Member

    Pretty much the title. Systemctl says they are enabled. No errors are thrown, they just don't start. Also after the update all of Wordpress sites can't send mail as they are complaining about the mail function being disabled... This is not the case though, as I can send mail from a php snippet on the command line. I am at a bit of a loss as to what is going on. Please find versions below, logs available on request.

    itsupport@panel:~$ php -v
    PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v2.7.0beta1, Copyright (c) 2002-2018, by Derick Rethans
    with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
    itsupport@panel:~$ mysql -V
    mysql Ver 15.1 Distrib 10.1.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
    itsupport@panel:~$ postconf -d | grep mail_version
    mail_version = 3.3.0
    milter_macro_v = $mail_name $mail_version
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Updated what?
    How are you starting them?
     
  3. c0loredardvark

    c0loredardvark New Member

    Hey Taleman,
    I am starting them manually, they do not start on boot.
    I updated the entire OS....
    sudo apt update
    sudo apt upgrade

    as for the wordpress issue, i am still troubleshooting that as well.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get in the syslog or mail.log when you start them?
     
  5. c0loredardvark

    c0loredardvark New Member

    There were none... .they just didn't come up... I have a stop gap solution in production, having rc.local starting them at the moment. The more pressing issue is the wordpress mail not being sent.

    PHP's mail() function works properly, i have a PHP snippet that will send mail from the CLI, so not sure why WP is complaining.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Mail may not be sent because some service is not running. It is surprising there would not be any message anywhere if some service fails to start.
    Have you tried
    Code:
    systemctl --state=failed
    Then for those services that command lists as failed, for example mariadb do
    Code:
    systemctl status mariadb.service
    and follow the instructions if that tells you how to get more information.
    And check again the log files for the failed services.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you deleted some SSL certificates? Missing ssl certs cause services to stop and e.g. apache fails even without an error in the logs.
     
  8. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Please redo the relevant perfect server tutorial for the new version of your OS. Make sure all softwares for it is properly installed. Then update ISPConfig and reconfigire all of its services.
     

Share This Page