You are not logged in.
Pages: 1
# service httpd start
Got message like :--------------------------
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
on checkig log file :: -----------------------------------------------i found this.
# journalctl -xn
-- Logs begin at Sun 2013-01-27 20:38:14 IST, end at Mon 2013-01-28 13:57:43 IST. --
Jan 28 13:56:50 nitk.admin systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 28 13:56:50 nitk.admin httpd[26019]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/aeolus-conductor.con
Jan 28 13:56:50 nitk.admin httpd[26019]: httpd (no pid file) not running
Jan 28 13:56:50 nitk.admin systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jan 28 13:56:50 nitk.admin systemd[1]: Unit httpd.service entered failed state
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3377
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 49
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.resource_tracker [-] Compute_service record updated for nitk.admin
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.manager [-] Updating host status
(END)
Can anyone help me to decide, where is the problem???????????
content of the file ; /usr/lib/systemd/system/httpd.service
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=notify
PIDFile=/var/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Last edited by hunter.ashish (2013-01-28 08:32:52)
Offline
Could you check if you have this directory? (It can be empty):
/var/run/httpd
permissions should be root:root, mod:755
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
Please use
[code ][/code ]
tags.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1