You are not logged in.

#1 2013-01-28 08:29:38

hunter.ashish
Member
Registered: 2013-01-28
Posts: 1

Problem i starting Apache web server

# 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

#2 2013-02-01 10:08:28

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: Problem i starting Apache web server

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

#3 2013-02-02 02:12:55

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Problem i starting Apache web server

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

Board footer

Powered by FluxBB