PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > apache2 won't start
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

apache2 won't start

Réponse
 
LinkBack Outils de la discussion
Vieux 11/05/2005, 21h03   #1
bruce@fixer.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apache2 won't start

I have ben running FreeBSD for about 10 years. I have the PHP-Mysql
system on my computer. It always worked great when I was using
apache-1.3. After running a lot PHP scripts, apache crashed. I didn't
know why, so I installed apache2. Thats where the problem begins.

As soon as I log in, I run ps -aux to see if apache is running. It is
not. So I type httpd, the command to start it, and I get:

(48)Address already in use: make_sock: could not bind to address
[::]:80
no listening sockets available, shutting down
Unable to open logs

I think my only problem is "that here no socket". I tried this with
and with the /tmp directory installed. I tried to figure out how to
make a socket, but I couln't. If anyone could me out, I would
appreciate it.

Thanks in advance.

bruce

  Réponse avec citation
Vieux 12/05/2005, 17h28   #2
Jim Hayter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache2 won't start

On 11 May 2005 13:03:30 -0700, in comp.infosystems.www.servers.unix,
bruce@fixer.com wrote:

<snip>
> So I type httpd, the command to start it, and I get:
>
>(48)Address already in use: make_sock: could not bind to address
>[::]:80
>no listening sockets available, shutting down
>Unable to open logs
>


Your problem is the "Address already in use" - some existing process
is using port 80.

HTH,
Jim
  Réponse avec citation
Vieux 12/05/2005, 21h24   #3
bruce@fixer.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache2 won't start


This computer will mostly be used offline. It will only connect when
I'm updating my website.

It says " Address already in use" but that's not the case.
I ran 'netstat' and 'ifconfig'. These programs display network
actitvity and nothing about port 80 was found.

I did two installations. The first installation was my ordinary
project and the second installation was a test install for apache2.
This installation only had apache2 installed.
They both performed the same.

On the test machine, I deleted apache2 and installed apache-1.3.
Apache-1.3 now works perfect.

There is still something screwy about apache2.
Hope someone can .

Thanks,
bruce

  Réponse avec citation
Vieux 14/05/2005, 06h34   #4
bruce@fixer.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache2 won't start

I finnally fixed it!

Thanks to a tip I got on the FreeBSD newsgroup. It said:

>do you have apache2_enable="YES" in rc.conf?


I put that in my rc.conf and presto!!! --IT WORKED--

Thanks everybody,
bruce

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h05.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11822 seconds with 12 queries