apache web server not starting in xampp ubuntu code example Example: Starting Apache...fail. sudo /etc/init.d/apache2 stop sudo /opt/lampp/lampp start