Connected Tutorial(This question is a follow-up to this tutorial):
How To Troubleshoot Common Apache Errors
sudo systemctl status httpd -l --no-pager
â httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2021-01-13 17:28:02 UTC; 1min 9s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 28427 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 28459 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
Tasks: 6
Memory: 6.7M
CGroup: /system.slice/httpd.service
ââ28459 /usr/sbin/httpd -DFOREGROUND
ââ28460 /usr/sbin/httpd -DFOREGROUND
ââ28461 /usr/sbin/httpd -DFOREGROUND
ââ28462 /usr/sbin/httpd -DFOREGROUND
ââ28463 /usr/sbin/httpd -DFOREGROUND
ââ28464 /usr/sbin/httpd -DFOREGROUND
what is the meaning of vendor and preset disabled when running the systemctl status?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @edgarbg585,
If the Vendor preset is Disabled, this means that if your server gets rebooted the service, in your case httpd will not be started automatically.
To change that you can enable the service with the following command:
systemctl enable service_name
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.