Bug 62679 - apache2.service: Failed to run 'start' task: No such file or directory
Summary: apache2.service: Failed to run 'start' task: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.4.25
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-05 10:04 UTC by freeman_tristan
Modified: 2018-09-05 10:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freeman_tristan 2018-09-05 10:04:49 UTC
I can't start my apache server on debian 9.


I tried reinstall :

    sudo apt-get autoremove --purge apache2 && sudo apt-get install apache2

but no change...

    Job for apache2.service failed because of unavailable resources or another system error.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript apache2, action "restart" failed.


systemctl status apache2.service

    ● apache2.service - The Apache HTTP Server
       Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
       Active: failed (Result: resources)
    
	
journalctl -xeu apache2.service
(I set loglevel to debug mod)

    Sep 05 11:45:44 systemd[1]: apache2.service: Failed with result 'resources'.
    Sep 05 11:50:26 systemd[1]: apache2.service: Changed dead -> failed
    Sep 05 11:50:27 systemd[1]: apache2.service: Trying to enqueue job apache2.service/stop/replace
    Sep 05 11:50:27 systemd[1]: apache2.service: Installed new job apache2.service/stop as 1415
    Sep 05 11:50:27 systemd[1]: apache2.service: Enqueued job apache2.service/stop as 1415
    Sep 05 11:50:27 systemd[1]: apache2.service: Job apache2.service/stop finished, result=done
    Sep 05 11:50:27 systemd[1]: apache2.service: Changed dead -> failed
    Sep 05 11:50:30 systemd[1]: apache2.service: Failed to run 'start' task: No such file or directory
    Sep 05 11:50:30 systemd[1]: Failed to start The Apache HTTP Server.
    -- Subject: Unit apache2.service has failed
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    -- 
    -- Unit apache2.service has failed.
    -- 
    -- The result is failed.
    Sep 05 11:50:30 systemd[1]: apache2.service: Failed with result 'resources'.

what's wrong?
Comment 1 Luca Toscano 2018-09-05 10:10:55 UTC
Hi! This bugzilla reporting tool is only for bugs related to httpd code, not issues with packages from Linux distributions. Please follow up with the Debian community :)