LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-16-2007, 05:23 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Rep: Reputation: 32
httpd


hi all

any one had problems getting httpd to start I cant seem to get it up, can any one point me the right way please.

I'm running fedore core 6

Code:
[root@smegland ~]# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [FAILED]
Code:
[root@smegland ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [FAILED]
TT
 
Old 05-16-2007, 05:30 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is there anything in your logs (not sure if you want to check the httpd logs or messages)
 
Old 05-16-2007, 05:54 AM   #3
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
Is there anything in your logs (not sure if you want to check the httpd logs or messages)
I realy dont see any thing in the messages log at all, nothing about httpd

check to see if i had logs in httpd folder under var and theres nothing there


Code:
[root@smegland var]# ls
account  crash  empty  gdm  local  log   nis  preserve  run    tmp  www
cache    db     games  lib  lock   mail  opt  racoon    spool  tux  yp
[root@smegland var]# cd log/
[root@smegland log]# ls
acpid            cron     mail        samba             wtmp
anaconda.log     cups     maillog     scrollkeeper.log  Xorg.0.log
anaconda.syslog  dmesg    messages    secure            Xorg.0.log.old
anaconda.xlog    faillog  mysqld.log  spooler           yum.log
bittorrent       gdm      ppp         squid
boot.log         httpd    prelink     tallylog
btmp             lastlog  rpmpkgs     vbox
[root@smegland log]# cd httpd/
[root@smegland httpd]# ls
[root@smegland httpd]#
TT
 
Old 05-16-2007, 06:04 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't know if this will work, but does

httpd -f /etc/httpd/conf/httpd.conf

do anything?
 
Old 05-16-2007, 06:07 AM   #5
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
I don't know if this will work, but does

httpd -f /etc/httpd/conf/httpd.conf

do anything?
I got this

Quote:
[root@smegland log]# httpd -f /etc/httpd/conf/httpd.conf
httpd: Syntax error on line 170 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory
Looks to me that its no installed.


TT
 
Old 05-16-2007, 06:34 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you don't need it, comment out the relevant line in httpd.conf
 
Old 05-16-2007, 06:47 AM   #7
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
If you don't need it, comment out the relevant line in httpd.conf
Line has been commented out.

TT
 
Old 05-16-2007, 06:53 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Did it work?
 
Old 05-16-2007, 06:59 AM   #9
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
Did it work?
NO, it didn't, it gets asking to remove more mods

TT
 
Old 05-16-2007, 07:03 AM   #10
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
I comment out those that it said needed

Code:
[root@smegland ~]# httpd -f /etc/httpd/conf/httpd.conf
[Wed May 16 19:02:48 2007] [warn] module unique_id_module is already loaded, skipping
Syntax error on line 10 of /etc/httpd/conf.d/manual.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
[root@smegland ~]#
Is there a spelling mistake

Quote:
#
# This configuration file allows the manual to be accessed at
# http://localhost/manual/
#
AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/manual$1"

<Directory "/var/www/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
TT
 
Old 05-16-2007, 07:09 AM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
According to the apache docs, you need

mod_authz_host

installed to use "Order"

Where did your httpd.conf come from?
 
Old 05-16-2007, 07:15 AM   #12
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
According to the apache docs, you need

mod_authz_host

installed to use "Order"

Where did your httpd.conf come from?
I selected it under the server setting on a clean install, if you get my drift


what do you mean installed to use "Order"

TT
 
Old 05-16-2007, 07:32 AM   #13
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Line 10 of manual.conf is Order allow,deny


I'd be tempted to uninstall httpd and reinstall
 
Old 05-16-2007, 08:24 AM   #14
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by billymayday
Line 10 of manual.conf is Order allow,deny


I'd be tempted to uninstall httpd and reinstall
Funny you should say that, I just had a bloke here that bought a FJ60 steering box off me, knew a thing or two about Linux. he got the httpd going, he allso said it needed to be reinstalled.

but anyway its going now.

TT
 
Old 07-19-2007, 10:58 AM   #15
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Rep: Reputation: 15
Do not use HTTP GUI configuration tool. I have enabled "listen all connections" before starting apache. I was having the same problem. Just undo you done in GUI tool then start editting httpd.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd problem and caused my httpd to shut-down golpemortal Linux - Server 2 04-08-2007 04:44 AM
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 06:07 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 11:31 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM
Many httpd natsudarshan Linux - General 1 12-09-2001 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration