New to Linux and in need of desperate help!
Hi all,
So here is my issue: See below
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-04-08 23:43:43 EDT; 56s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 1471 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 1469 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 1469 (code=exited, status=1/FAILURE)
Apr 08 23:43:43 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Apr 08 23:43:43 localhost.localdomain httpd[1469]: AH00526: Syntax error on line 1 of /etc/htt...f:
Apr 08 23:43:43 localhost.localdomain httpd[1469]: Invalid command ':', perhaps misspelled or ...on
Apr 08 23:43:43 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exi...RE
Apr 08 23:43:43 localhost.localdomain kill[1471]: kill: cannot find process ""
Apr 08 23:43:43 localhost.localdomain systemd[1]: httpd.service: control process exited, code=...=1
Apr 08 23:43:43 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Apr 08 23:43:43 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Apr 08 23:43:43 localhost.localdomain systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Aside from this, I also have this error below. I have tried locating it and deleting the SWP file, but I cannot locate it at all! It as well will tell me that there is no such file or directory. Unless this directory is wrong: /etc/httpd/conf.d/server-status.conf.swp I have been trying to fix these two issues for a few hours. Any help or direction would be greatly appreciated! I have been reading the apache docs, but I still cannot find what I need to do!
E325: ATTENTION
Found a swap file by the name "/etc/httpd/conf.d/.server-status.conf.swp"
owned by: root dated: Sun Apr 8 22:55:12 2018
file name: /etc/httpd/conf.d/server-status.conf
modified: YES
user name: root host name: localhost.localdomain
process ID: 1454
While opening file "/etc/httpd/conf.d/server-status.conf"
dated: Sun Apr 8 22:15:56 2018
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/httpd/conf.d/server-status.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/httpd/conf.d/.server-status.conf.swp"
to avoid this message.
"/etc/httpd/conf.d/server-status.conf" 1L, 1C
|