Re: apache install problem

2003-11-13 Thread Cordula's Web
 I just installed Apache2 and not sure how to proceed, if I'm doing things 
 wrong from here or there is some other problem:
 
 
 $ which apachectl
 /usr/local/sbin/apachectl
 $ apachectl start
 httpd: Could not determine the server's fully qualified domain name, using 
 127.0.0.1 for ServerName
 (13)Permission denied: make_sock: could not bind to address [::]:80
 no listening sockets available, shutting down
 Unable to open logs

You need to edit:
  /usr/local/etc/apache2/httpd.conf

Among others, set ServerName to your hostname,
and check the other directives in httpd.conf too.

Don't forget to use the -dist templates in
/usr/local/etc/apache2, e.g.:

 cp mime.times-dist mime.types

Good luck.

-- 
Cordula's Web. http://www.cordula.ws/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache install problem

2003-11-13 Thread Luke Kearney

On Thu, 13 Nov 2003 12:21:23 -0500
Marty Landman [EMAIL PROTECTED] spake thus:

 I just installed Apache2 and not sure how to proceed, if I'm doing things 
 wrong from here or there is some other problem:
 
 
 $ which apachectl
 /usr/local/sbin/apachectl
 $ apachectl start
 httpd: Could not determine the server's fully qualified domain name, using 
 127.0.0.1 for ServerName
 (13)Permission denied: make_sock: could not bind to address [::]:80
 no listening sockets available, shutting down
 Unable to open logs

mate, what does the log message say ? 

 (13)Permission denied: make_sock: could not bind to address [::]:80

one of two things spring to mind, the apache start is not being run by
root or you have something else listening on that port. what you need to
do next is this,  make sure you are root when you execute the apachectl
commands, if that still doesn't work then *as* root execute 

#sockstat -4 | grep 80 

and post the output

HTH

LK
-- 
Luke Kearney [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: apache install problem

2003-11-13 Thread Terry Tyson
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Marty Landman
 Sent: Thursday, November 13, 2003 11:21 AM
 To: [EMAIL PROTECTED]
 Subject: apache install problem


 I just installed Apache2 and not sure how to proceed, if
 I'm doing things
 wrong from here or there is some other problem:


 $ which apachectl
 /usr/local/sbin/apachectl
 $ apachectl start
 httpd: Could not determine the server's fully qualified
 domain name, using
 127.0.0.1 for ServerName
 (13)Permission denied: make_sock: could not bind to address [::]:80
 no listening sockets available, shutting down
 Unable to open logs

 $

I just had this problem the other day. It wasn't httpd.conf, it was
/etc/hosts. I looked at my OpenBSD box that was working properly and
copied the format listed there.

::1 localhost.domain.com localhost
127.0.0.1 localhost.domain.com localhost
127.0.0.1 hostname.domain.com hostname

I can't really explain this like others on this list, i just know it
worked.

Hope this helps,

Terry

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache install problem

2003-11-13 Thread Jez Hancock
On Thu, Nov 13, 2003 at 12:21:23PM -0500, Marty Landman wrote:
 I just installed Apache2 and not sure how to proceed, if I'm doing things 
 wrong from here or there is some other problem:
 
 
 $ which apachectl
 /usr/local/sbin/apachectl
 $ apachectl start
 httpd: Could not determine the server's fully qualified domain name, using 
 127.0.0.1 for ServerName
 (13)Permission denied: make_sock: could not bind to address [::]:80
 no listening sockets available, shutting down
 Unable to open logs
Sounds as though:
- there's no ServerName set up in httpd.conf
  (the Could not determine...  error)
  - check and make sure the ServerName line is right for your domain (or
just use localhost to test it out)
- you started the server once already and it's already listening on port
  80 (the make_sock error)
  - make sure the server isn't already running when you issue:
apachectl start
- a perms problem exists on the logfile, again check the logfile setup
  in httpd.conf and make sure the file is writeable by the www user
  (although this problem may be related to the previous one) 

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: apache install problem

2003-11-13 Thread Marty Landman
At 01:32 PM 11/13/2003, Terry Tyson wrote:

I just had this problem the other day. It wasn't httpd.conf, it was
/etc/hosts.
I changed the httpd.conf as recommended too, it didn't fix it but afaik was 
still good/necessary.

::1 localhost.domain.com localhost
127.0.0.1 localhost.domain.com localhost
127.0.0.1 hostname.domain.com hostname
Yep, did this next and that fixed it, thanks man.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache install problem

2003-11-13 Thread Sunil Sunder Raj
Hi,
Are you running apache as root user.
If yes.
sockstat | grep 80 and check which process is holding the port. Kill the 
process and restart apache.

Regards
SSR

From: Marty Landman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: apache install problem
Date: Thu, 13 Nov 2003 12:21:23 -0500
I just installed Apache2 and not sure how to proceed, if I'm doing things 
wrong from here or there is some other problem:

$ which apachectl
/usr/local/sbin/apachectl
$ apachectl start
httpd: Could not determine the server's fully qualified domain name, using 
127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

$



Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
The Great MSN Sale. Get shopping discounts. http://www.msn.co.in/Shopping 
Win exciting prizes!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache install problem...

2003-03-21 Thread David Banning
 many systems the same way, and this is the first time it failed.
 
 Any ideas from anyone?

Did you check whether the cvsup went OK or had errors?
I would try deleting the port and doing cvsup again. FYI, installed
the apache-modssl with the same version number with no errors.

I would also look at any dependencies, and how old they are. You might 
have to uninstall/reinstall the dependencies.

Just some thoughts-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message