LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-21-2007, 06:47 AM   #1
Alvin Harrison
LQ Newbie
 
Registered: Aug 2007
Location: WIlliamstown NJ
Posts: 5

Rep: Reputation: 0
Post Permission Denied on 0.0.0.0:80


Ok folks, I am using FreeBSD 6.2 and apache22. I am getting a response of 'Permission Denied' make_sock: could not Bind 0.0.0.0:80. Orignally I receive a response of 'Could not reliably determine the server's fully qualified domain name', using alclasystems.com as the server name.
Now Binding to, I assume, port 80 is the problem. Yes, I am at the root under 'su'. I believe I was not at the root for the latter portion of this message for DN orginally. I have nothing using this port that I may be aware of. This OS(FBSD) and apache22 is running without any other activity. What am I missing here?
 
Old 08-21-2007, 07:40 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516

Rep: Reputation: 240Reputation: 240Reputation: 240
the clue is here:

Bind 0.0.0.0:80

who's IP adress is that ?!?!?
 
Old 08-21-2007, 07:52 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by bigearsbilly View Post
the clue is here:

Bind 0.0.0.0:80

who's IP adress is that ?!?!?
Who's address indeed! That is the broadcast address. It is not assigned to any specific computer.

Edit: just in case anyone reads this later, the x.x.x.0 is the network number and x.x.x.255 is the broadcast address. Ooops.
http://www.networkcomputing.com/unix...orial/001.html

Last edited by stress_junkie; 08-21-2007 at 03:38 PM.
 
Old 08-21-2007, 07:53 AM   #4
Alvin Harrison
LQ Newbie
 
Registered: Aug 2007
Location: WIlliamstown NJ
Posts: 5

Original Poster
Rep: Reputation: 0
Response to Bigearsbilly

Quote:
Originally Posted by bigearsbilly View Post
the clue is here:

Bind 0.0.0.0:80

who's IP adress is that ?!?!?
What do you mean?
Are you saying this is someone's IP address? If so, Am I suppose to apply an IP address? If so, How?
I thought when logging in through FBSD and 'su', starting the apache22 applic, via command: apachectl start, this would automatically connect me. Am I suppose to map an address. If so, how? I do have a registered DN and I am connected through a router with the address 192.168.1.1

Alvin
 
Old 08-21-2007, 07:55 AM   #5
Alvin Harrison
LQ Newbie
 
Registered: Aug 2007
Location: WIlliamstown NJ
Posts: 5

Original Poster
Rep: Reputation: 0
What do you mean?
Are you saying this is someone's IP address? If so, Am I suppose to apply an IP address? If so, How?
I thought when logging in through FBSD and 'su', starting the apache22 applic, via command: apachectl start, this would automatically connect me. Am I suppose to map an address. If so, how? I do have a registered DN and I am connected through a router with the address 192.168.1.1
 
Old 08-21-2007, 08:03 AM   #6
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516

Rep: Reputation: 240Reputation: 240Reputation: 240
we are saying this address is NOT valid.

well, ok, good, using apachectl is correct.
usually it will start it up on the localhost, it would seem the
config is wrong. maybe it's a freebsd thing.

it seems odd.

so you are doing
/usr/sbin/apachectl start ?

are you sure it's not up already?
tried localhost in a host browser
 
Old 08-21-2007, 09:00 AM   #7
Alvin Harrison
LQ Newbie
 
Registered: Aug 2007
Location: WIlliamstown NJ
Posts: 5

Original Poster
Rep: Reputation: 0
Not sure. I'll check (/usr/sbin/
Thanks
Alvin
 
Old 08-21-2007, 02:56 PM   #8
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Quote:
Originally Posted by bigearsbilly View Post
we are saying this address is NOT valid.
Why would it not be valid? 0.0.0.0 would mean the server is listening on all available interfaces.
 
Old 08-23-2007, 05:10 PM   #9
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Alvin Harrison
I am getting a response of 'Permission Denied' make_sock: could not Bind 0.0.0.0:80. Orignally I receive a response of 'Could not reliably determine the server's fully qualified domain name'
It's trivial enough to check whether something is already listening on tcp port 80.

sockstat -4
 
Old 08-23-2007, 10:20 PM   #10
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by reverse View Post
Why would it not be valid?
The following paper will help give you the background to answer this question:

http://www.3com.com/other/pdfs/infra..._US/501302.pdf
 
Old 08-24-2007, 06:10 AM   #11
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
*SIGH*

From `netstat -tunap`:

Quote:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2538/lighttpd
Do you understand what I've meant by it being valid now?
 
Old 08-24-2007, 08:09 AM   #12
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516

Rep: Reputation: 240Reputation: 240Reputation: 240
well there you go
i stand corrected
 
Old 08-24-2007, 08:24 AM   #13
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by reverse View Post
From `netstat -tunap`...
I suspect that netstat is merely displaying the 32-bit value configured with no bounds-checking. In many ways, I would not want netstat to be checking every value it receives as this would be additional administrative overhead.

If you read the paper previously linked, you will find classful & classless (CIDR) addressing discussed. In either model, the all-ones address & all-zeroes address have special meanings. You will also find that the 32-bit IPV4 addressing scheme used today is based on inefficient assumptions, & has been overly patched to meet today's need of addressing millions of hosts as opposed to 2^32.
 
Old 08-25-2007, 06:58 AM   #14
Alvin Harrison
LQ Newbie
 
Registered: Aug 2007
Location: WIlliamstown NJ
Posts: 5

Original Poster
Rep: Reputation: 0
Ipv4

Quote:
Originally Posted by ocicat View Post
I suspect that netstat is merely displaying the 32-bit value configured with no bounds-checking. In many ways, I would not want netstat to be checking every value it receives as this would be additional administrative overhead.

If you read the paper previously linked, you will find classful & classless (CIDR) addressing discussed. In either model, the all-ones address & all-zeroes address have special meanings. You will also find that the 32-bit IPV4 addressing scheme used today is based on inefficient assumptions, & has been overly patched to meet today's need of addressing millions of hosts as opposed to 2^32.
I am somewhat familiar with the limited ability usage of IPV4. But this problem(Permission denied) is persistent.

Alvin
 
  


Reply

Tags
freebsd


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
permission denied stasik SUSE / openSUSE 7 12-17-2006 09:43 PM
permission denied :( wogga Linux - Software 2 05-28-2004 12:52 PM
ls/cp ... : permission denied Roadrunner Linux - Newbie 5 09-09-2003 06:00 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:17 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
Open Source Consulting | Domain Registration