LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2004, 03:42 PM   #1
arimus25
Member
 
Registered: Feb 2004
Location: Toledo, OH
Distribution: Mandrake 10.0
Posts: 50

Rep: Reputation: 15
Cant Start Apache


When I try to start apache2, this error comes up:

Quote:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
I had apache2 running before, but I forgot how to do it.
 
Old 03-27-2004, 03:54 PM   #2
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
Looks like you already have somethign bound to port 80? Are you sure that it is not already running?
 
Old 03-27-2004, 04:00 PM   #3
arimus25
Member
 
Registered: Feb 2004
Location: Toledo, OH
Distribution: Mandrake 10.0
Posts: 50

Original Poster
Rep: Reputation: 15
no, it is not running

Quote:
[root@localhost root]# /usr/local/apache2/bin/apachectl stop
httpd (no pid file) not running
[root@localhost root]#
 
Old 03-28-2004, 03:36 PM   #4
arimus25
Member
 
Registered: Feb 2004
Location: Toledo, OH
Distribution: Mandrake 10.0
Posts: 50

Original Poster
Rep: Reputation: 15
Apache Prob

OK, so now I have apache 2 up and running. When I go to 127.0.0.1, the apache test page comes up like it is supposed to. But when I go to my ip address (192.168.1.10), it just says "The connection was refused when attempting to connect to 192.168.1.10."

I am confused on what exactly to do next. I searched this site and google for that past 2 days, and cant really find out what to do next. I looked at http://httpd.apache.org/docs-2.0/ as well, but cant find what I am looking for.

What I beleive the next step is would be to change the httpd.conf file in the "listen" section. For example, it says #Listen 12.34.56.78:80. I tried changing this to by ip address amd to my LAN gateway, and it still doenst work. Am I supposed to change this?
 
Old 03-29-2004, 05:23 AM   #5
rcs1000
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
I suspect this is a problem with hosts.allow, hosts.deny. Try opening these up and restarting xinet (assuming Apache is run from there.) If this doesn't work, then I have no idea ;-)
 
Old 03-30-2004, 12:05 PM   #6
arimus25
Member
 
Registered: Feb 2004
Location: Toledo, OH
Distribution: Mandrake 10.0
Posts: 50

Original Poster
Rep: Reputation: 15
I found out what the prob was. I was configure Apache and was configure the http server that came with Fedora, so there was a conflict there. I removed the http that came with Fedora and now my server runs great.
 
  


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
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 10:51 AM
apache can't start akbar_nasr Linux - Software 2 07-13-2004 04:29 PM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 07:17 PM
Apache won't start FNC Linux - Software 9 06-25-2003 03:50 AM
apache won't start at all... ctzimmerman Linux - Networking 3 06-01-2001 10:04 AM


All times are GMT -5. The time now is 12:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration