Failed to start LSB: Apache2 web server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I use Ubuntu 16.02. When i try sudo service apache2 restart, it says:



Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.


Then I type: journalctl -xe, and request:



abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler. 
-- Subject: Unit cups.path has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.path has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:09 server anacron[1047]: Job `cron.daily' terminated
abr 02 03:14:09 server anacron[1047]: Normal exit (1 job run)
abr 02 03:14:10 server ddclient[2286]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:14:10 server ddclient[2290]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:14:10 server ddclient[2290]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:09:10 2018 failed.
abr 02 03:14:10 server ddclient[2290]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:15:01 server CRON[2294]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session closed for user root
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:17:01 server CRON[2307]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session closed for user root
abr 02 03:20:01 server CRON[2325]: pam_unix(cron:session): session opened for user smmsp by (uid=0)
abr 02 03:20:01 server CRON[2326]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendm
abr 02 03:20:01 server sm-msp-queue[2345]: My unqualified host name (server) unknown; sleeping for retry
abr 02 03:21:01 server sm-msp-queue[2345]: unable to qualify my own domain name (server) -- using short name
abr 02 03:21:01 server CRON[2325]: pam_unix(cron:session): session closed for user smmsp
abr 02 03:23:55 server systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
abr 02 03:23:55 server systemd-tmpfiles[2364]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
abr 02 03:23:55 server systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:24:11 server ddclient[2370]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:25:01 server CRON[2376]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session closed for user root
abr 02 03:29:11 server ddclient[2396]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:29:11 server ddclient[2400]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:29:11 server ddclient[2400]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:24:11 2018 failed.
abr 02 03:29:11 server ddclient[2400]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:35:01 server CRON[2430]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session closed for user root


And when systemctl status apache2.service Its reaqest:



apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since lun 2018-04-02 03:12:34 CEST; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 2045 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

abr 02 03:12:34 server apache2[2045]: *
abr 02 03:12:34 server apache2[2045]: * The apache2 configtest failed.
abr 02 03:12:34 server apache2[2045]: Output of config test was:
abr 02 03:12:34 server apache2[2045]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 50 of /etc/apache2/sites-e
abr 02 03:12:34 server apache2[2045]: Action 'configtest' failed.
abr 02 03:12:34 server apache2[2045]: The Apache error log may have more information.
abr 02 03:12:34 server systemd[1]: apache2.service: Control process exited, code=exited status=1
abr 02 03:12:34 server systemd[1]: Failed to start LSB: Apache2 web server.
abr 02 03:12:34 server systemd[1]: apache2.service: Unit entered failed state.
abr 02 03:12:34 server systemd[1]: apache2.service: Failed with result 'exit-code'.


What is wrong? Where is an interrupt? Please help!










share|improve this question



















  • 1




    Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
    – guiverc
    Apr 2 at 3:40














up vote
0
down vote

favorite












I use Ubuntu 16.02. When i try sudo service apache2 restart, it says:



Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.


Then I type: journalctl -xe, and request:



abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler. 
-- Subject: Unit cups.path has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.path has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:09 server anacron[1047]: Job `cron.daily' terminated
abr 02 03:14:09 server anacron[1047]: Normal exit (1 job run)
abr 02 03:14:10 server ddclient[2286]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:14:10 server ddclient[2290]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:14:10 server ddclient[2290]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:09:10 2018 failed.
abr 02 03:14:10 server ddclient[2290]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:15:01 server CRON[2294]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session closed for user root
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:17:01 server CRON[2307]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session closed for user root
abr 02 03:20:01 server CRON[2325]: pam_unix(cron:session): session opened for user smmsp by (uid=0)
abr 02 03:20:01 server CRON[2326]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendm
abr 02 03:20:01 server sm-msp-queue[2345]: My unqualified host name (server) unknown; sleeping for retry
abr 02 03:21:01 server sm-msp-queue[2345]: unable to qualify my own domain name (server) -- using short name
abr 02 03:21:01 server CRON[2325]: pam_unix(cron:session): session closed for user smmsp
abr 02 03:23:55 server systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
abr 02 03:23:55 server systemd-tmpfiles[2364]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
abr 02 03:23:55 server systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:24:11 server ddclient[2370]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:25:01 server CRON[2376]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session closed for user root
abr 02 03:29:11 server ddclient[2396]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:29:11 server ddclient[2400]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:29:11 server ddclient[2400]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:24:11 2018 failed.
abr 02 03:29:11 server ddclient[2400]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:35:01 server CRON[2430]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session closed for user root


And when systemctl status apache2.service Its reaqest:



apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since lun 2018-04-02 03:12:34 CEST; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 2045 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

abr 02 03:12:34 server apache2[2045]: *
abr 02 03:12:34 server apache2[2045]: * The apache2 configtest failed.
abr 02 03:12:34 server apache2[2045]: Output of config test was:
abr 02 03:12:34 server apache2[2045]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 50 of /etc/apache2/sites-e
abr 02 03:12:34 server apache2[2045]: Action 'configtest' failed.
abr 02 03:12:34 server apache2[2045]: The Apache error log may have more information.
abr 02 03:12:34 server systemd[1]: apache2.service: Control process exited, code=exited status=1
abr 02 03:12:34 server systemd[1]: Failed to start LSB: Apache2 web server.
abr 02 03:12:34 server systemd[1]: apache2.service: Unit entered failed state.
abr 02 03:12:34 server systemd[1]: apache2.service: Failed with result 'exit-code'.


What is wrong? Where is an interrupt? Please help!










share|improve this question



















  • 1




    Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
    – guiverc
    Apr 2 at 3:40












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I use Ubuntu 16.02. When i try sudo service apache2 restart, it says:



Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.


Then I type: journalctl -xe, and request:



abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler. 
-- Subject: Unit cups.path has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.path has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:09 server anacron[1047]: Job `cron.daily' terminated
abr 02 03:14:09 server anacron[1047]: Normal exit (1 job run)
abr 02 03:14:10 server ddclient[2286]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:14:10 server ddclient[2290]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:14:10 server ddclient[2290]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:09:10 2018 failed.
abr 02 03:14:10 server ddclient[2290]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:15:01 server CRON[2294]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session closed for user root
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:17:01 server CRON[2307]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session closed for user root
abr 02 03:20:01 server CRON[2325]: pam_unix(cron:session): session opened for user smmsp by (uid=0)
abr 02 03:20:01 server CRON[2326]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendm
abr 02 03:20:01 server sm-msp-queue[2345]: My unqualified host name (server) unknown; sleeping for retry
abr 02 03:21:01 server sm-msp-queue[2345]: unable to qualify my own domain name (server) -- using short name
abr 02 03:21:01 server CRON[2325]: pam_unix(cron:session): session closed for user smmsp
abr 02 03:23:55 server systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
abr 02 03:23:55 server systemd-tmpfiles[2364]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
abr 02 03:23:55 server systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:24:11 server ddclient[2370]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:25:01 server CRON[2376]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session closed for user root
abr 02 03:29:11 server ddclient[2396]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:29:11 server ddclient[2400]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:29:11 server ddclient[2400]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:24:11 2018 failed.
abr 02 03:29:11 server ddclient[2400]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:35:01 server CRON[2430]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session closed for user root


And when systemctl status apache2.service Its reaqest:



apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since lun 2018-04-02 03:12:34 CEST; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 2045 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

abr 02 03:12:34 server apache2[2045]: *
abr 02 03:12:34 server apache2[2045]: * The apache2 configtest failed.
abr 02 03:12:34 server apache2[2045]: Output of config test was:
abr 02 03:12:34 server apache2[2045]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 50 of /etc/apache2/sites-e
abr 02 03:12:34 server apache2[2045]: Action 'configtest' failed.
abr 02 03:12:34 server apache2[2045]: The Apache error log may have more information.
abr 02 03:12:34 server systemd[1]: apache2.service: Control process exited, code=exited status=1
abr 02 03:12:34 server systemd[1]: Failed to start LSB: Apache2 web server.
abr 02 03:12:34 server systemd[1]: apache2.service: Unit entered failed state.
abr 02 03:12:34 server systemd[1]: apache2.service: Failed with result 'exit-code'.


What is wrong? Where is an interrupt? Please help!










share|improve this question















I use Ubuntu 16.02. When i try sudo service apache2 restart, it says:



Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.


Then I type: journalctl -xe, and request:



abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler. 
-- Subject: Unit cups.path has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.path has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:05 server systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:14:09 server anacron[1047]: Job `cron.daily' terminated
abr 02 03:14:09 server anacron[1047]: Normal exit (1 job run)
abr 02 03:14:10 server ddclient[2286]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:14:10 server ddclient[2290]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:14:10 server ddclient[2290]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:09:10 2018 failed.
abr 02 03:14:10 server ddclient[2290]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:15:01 server CRON[2294]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:15:01 server CRON[2293]: pam_unix(cron:session): session closed for user root
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:17:01 server CRON[2307]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
abr 02 03:17:01 server CRON[2306]: pam_unix(cron:session): session closed for user root
abr 02 03:20:01 server CRON[2325]: pam_unix(cron:session): session opened for user smmsp by (uid=0)
abr 02 03:20:01 server CRON[2326]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendm
abr 02 03:20:01 server sm-msp-queue[2345]: My unqualified host name (server) unknown; sleeping for retry
abr 02 03:21:01 server sm-msp-queue[2345]: unable to qualify my own domain name (server) -- using short name
abr 02 03:21:01 server CRON[2325]: pam_unix(cron:session): session closed for user smmsp
abr 02 03:23:55 server systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
abr 02 03:23:55 server systemd-tmpfiles[2364]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
abr 02 03:23:55 server systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
abr 02 03:24:11 server ddclient[2370]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:25:01 server CRON[2376]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:25:01 server CRON[2375]: pam_unix(cron:session): session closed for user root
abr 02 03:29:11 server ddclient[2396]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
abr 02 03:29:11 server ddclient[2400]: WARNING: skipping update of ubuntugdc.sytes.net from <nothing> to 192.168.1.59.
abr 02 03:29:11 server ddclient[2400]: WARNING: last updated <never> but last attempt on Mon Apr 2 03:24:11 2018 failed.
abr 02 03:29:11 server ddclient[2400]: WARNING: Wait at least 5 minutes between update attempts.
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session opened for user root by (uid=0)
abr 02 03:35:01 server CRON[2430]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
abr 02 03:35:01 server CRON[2429]: pam_unix(cron:session): session closed for user root


And when systemctl status apache2.service Its reaqest:



apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since lun 2018-04-02 03:12:34 CEST; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 2045 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

abr 02 03:12:34 server apache2[2045]: *
abr 02 03:12:34 server apache2[2045]: * The apache2 configtest failed.
abr 02 03:12:34 server apache2[2045]: Output of config test was:
abr 02 03:12:34 server apache2[2045]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 50 of /etc/apache2/sites-e
abr 02 03:12:34 server apache2[2045]: Action 'configtest' failed.
abr 02 03:12:34 server apache2[2045]: The Apache error log may have more information.
abr 02 03:12:34 server systemd[1]: apache2.service: Control process exited, code=exited status=1
abr 02 03:12:34 server systemd[1]: Failed to start LSB: Apache2 web server.
abr 02 03:12:34 server systemd[1]: apache2.service: Unit entered failed state.
abr 02 03:12:34 server systemd[1]: apache2.service: Failed with result 'exit-code'.


What is wrong? Where is an interrupt? Please help!







apache2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 at 7:19









pa4080

12.2k52256




12.2k52256










asked Apr 2 at 1:37









Dumitru Cristi Gordas

1




1







  • 1




    Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
    – guiverc
    Apr 2 at 3:40












  • 1




    Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
    – guiverc
    Apr 2 at 3:40







1




1




Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
– guiverc
Apr 2 at 3:40




Have you looked at line 219 of the apache2.conf? as reported being in error (it may just point to next error). Also line 50 of sites-e that contains an error? *There was no February release of Ubuntu in 2016 - only april hence 16.04 (or october 16.10 which is now past EOL)
– guiverc
Apr 2 at 3:40















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021199%2ffailed-to-start-lsb-apache2-web-server%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021199%2ffailed-to-start-lsb-apache2-web-server%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491