Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-16-2007, 05:23 AM
|
#1
|
Member
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 966
Rep:
|
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
|
|
|
05-16-2007, 05:30 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Is there anything in your logs (not sure if you want to check the httpd logs or messages)
|
|
|
05-16-2007, 05:54 AM
|
#3
|
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:
|
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
|
|
|
05-16-2007, 06:04 AM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
I don't know if this will work, but does
httpd -f /etc/httpd/conf/httpd.conf
do anything?
|
|
|
05-16-2007, 06:07 AM
|
#5
|
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:
|
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
|
|
|
05-16-2007, 06:34 AM
|
#6
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
If you don't need it, comment out the relevant line in httpd.conf
|
|
|
05-16-2007, 06:47 AM
|
#7
|
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:
|
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
|
|
|
05-16-2007, 06:53 AM
|
#8
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Did it work?
|
|
|
05-16-2007, 06:59 AM
|
#9
|
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:
|
Quote:
Originally Posted by billymayday
Did it work?
|
NO, it didn't, it gets asking to remove more mods
TT
|
|
|
05-16-2007, 07:03 AM
|
#10
|
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:
|
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
|
|
|
05-16-2007, 07:09 AM
|
#11
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
According to the apache docs, you need
mod_authz_host
installed to use "Order"
Where did your httpd.conf come from?
|
|
|
05-16-2007, 07:15 AM
|
#12
|
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:
|
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
|
|
|
05-16-2007, 07:32 AM
|
#13
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Line 10 of manual.conf is Order allow,deny
I'd be tempted to uninstall httpd and reinstall
|
|
|
05-16-2007, 08:24 AM
|
#14
|
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:
|
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
|
|
|
07-19-2007, 10:58 AM
|
#15
|
Member
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|