Discuss Scratch

cocolover76
Scratcher
100+ posts

[PLEASE CLOSE] Apache help

I was redoing the webserver on my website because it was not very good. I tried to install phpMyAdmin (I'm using PostgreSQL and I don't like it's terminal interface(although I'm fine with bash)) and now when I start it, it says:
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
systemctl status httpd.service says:
httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Sat 2013-10-26 18:13:11 EDT; 8s ago
Process: 19108 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE)
Process: 19139 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
Main PID: 19052 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/httpd.service

Oct 26 18:13:11 RArch systemd[1]: Starting Apache Web Server...
Oct 26 18:13:11 RArch apachectl[19139]: httpd: Syntax error on line 480 of /...y
Oct 26 18:13:11 RArch systemd[1]: httpd.service: control process exited, co...=1
Oct 26 18:13:11 RArch systemd[1]: Failed to start Apache Web Server.
Oct 26 18:13:11 RArch systemd[1]: Unit httpd.service entered failed state.
and journalctl -xn says:
-- Logs begin at Wed 2013-06-12 18:46:38 EDT, end at Sat 2013-10-26 18:22:45 EDT
Oct 26 18:09:09 RArch systemd[1]: Unit httpd.service entered failed state.
Oct 26 18:13:11 RArch systemd[1]: Starting Apache Web Server...
-- Subject: Unit httpd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Oct 26 18:13:11 RArch apachectl[19139]: httpd: Syntax error on line 480 of /etc/
Oct 26 18:13:11 RArch systemd[1]: httpd.service: control process exited, code=ex
Oct 26 18:13:11 RArch systemd[1]: Failed to start Apache Web Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02c
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Oct 26 18:13:11 RArch systemd[1]: Unit httpd.service entered failed state.
Oct 26 18:17:40 RArch smbd[372]: [2013/10/26 18:17:40.122715, 0] ../source3/pri
Oct 26 18:17:40 RArch smbd[372]: Unable to open printcap file /etc/printcap for
Oct 26 18:22:45 RArch systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Oct 26 18:22:45 RArch 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.
Please help me with this, because I want to get my website back up soon.
If this is in the wrong forum, the mods can move it.

EDIT: no replies, and as I said, I need it soon, so I will ask on a website that people actually answer your questions on.
this can be closed

Last edited by cocolover76 (Oct. 26, 2013 22:40:29)

terminator68
Scratcher
100+ posts

[PLEASE CLOSE] Apache help

Sorry that nobody responded, but that doesn't mean people aren't helpful here . I am just assuming that not everyone knows how to use Apache.
blob8108
Scratcher
1000+ posts

[PLEASE CLOSE] Apache help

StackOverflow or SuperUser are good sites for questions like this, particularly if you need an answer quickly.
blob8108
Scratcher
1000+ posts

[PLEASE CLOSE] Apache help

Though just in case you still haven't figured it out, from the log you posted, it looks like there's an error on line 480 of some file:
httpd: Syntax error on line 480 of /etc
The log you posted has cut off the end of the line, but I'm guessing it's something like `/etc/apache2/httpd.conf`. Maybe you should post the contents of that file?
Paddle2See
Scratch Team
1000+ posts

[PLEASE CLOSE] Apache help

Closed by request of the topic owner. Please use the Report button in the future - or look in the lower left corner of the post listing - you may well be able to close it yourself

Powered by DjangoBB