Report this

What is the reason for this report?

How to Solve this error, while making apache Virual Host?

Posted on September 4, 2017

Hi,

I have Install the Lamp on my New Server and want to make Apache Virtual Host. First of all, i will install the Updates on Centos 7 bycommand (sudo yum updates). Second, after update the Server, i install the Lamp Stack and continue to make Apache Virtual Host. After making Apache Virtual Host, when i will goes to restart the Apache by command (sudo apachectl restart), a error found.

Error Result:

{ Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details. { When i will try to Enter this command on PuTTy, the error found.

Error Result: { ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2017-09-04 07:06:47 EDT; 47s ago Docs: man:httpd(8) man:apachectl(8) Process: 13017 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 13016 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 13016 (code=exited, status=1/FAILURE)

Sep 04 07:06:47 example.com systemd[1]: Starting The Apache HTTP Server… Sep 04 07:06:47 example.com systemd[1]: httpd.service: main process exite…E Sep 04 07:06:47 example.com kill[13017]: kill: cannot find process “” Sep 04 07:06:47 example.com systemd[1]: httpd.service: control process ex…1 Sep 04 07:06:47 example.com systemd[1]: Failed to start The Apache HTTP S… Sep 04 07:06:47 example.com systemd[1]: Unit httpd.service entered failed… Sep 04 07:06:47 example.com systemd[1]: httpd.service failed. Hint: Some lines were ellipsized, use -l to show in full. {

How to Solve this issue?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well without giving us your vhost we can’t do much about it.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.