Hello,
I had installed first, Ubuntu 6.06 LTS (and others packages) by using 3 DVDs found in a magazine: I had installed apache2, php5, mysql-server, java without problem.
After a problem, I was obliged to formate all and re-install the OS.I have succesed to re-install it, but the problem is that I can not re-install apache2(by using both, synaptic an command line, and using those DVDs of course, becouse I've not the net).
My question is : what kind of configuration must I do to re-install apache2(so I can developp under php)?
Thanks in advence for the help.
[solved][apache2]: re-installation
Moderator: General Moderators
-
cheikhbouchihda
- Forum Commoner
- Posts: 51
- Joined: Thu Mar 02, 2006 2:08 pm
- Location: France.
[solved][apache2]: re-installation
Last edited by cheikhbouchihda on Wed Oct 04, 2006 11:04 am, edited 2 times in total.
-
cheikhbouchihda
- Forum Commoner
- Posts: 51
- Joined: Thu Mar 02, 2006 2:08 pm
- Location: France.
Hello,
In fact, apache2 is well installed(I've verified it), but the problem is when I do:
I get the following message:
What must I do in this case, to start apache2?
Thanks in advance for the help.
In fact, apache2 is well installed(I've verified it), but the problem is when I do:
Code: Select all
$sudo /etc/init.d/apache2 reload*Reloading apache2.0 configuration....
apache2 : Could not determine the server's fully qualified domaine name, using 127.0.1.1 for ServerName
httpd not running, trying to start
( 98 )Address already in use : make_sock : could not bind to adresse [::]:80
no listening sockets available, shutting down
Unable to open logs [fail]
What must I do in this case, to start apache2?
Thanks in advance for the help.
Address already in use : make_sock : could not bind to adresse [::]:80
Looks like you already have a server running. Open your browser and point it to localhost see if some web page comes up.
Or try running nmap -v localhost and see if port 80 is in use. You can also edit your httpd.conf and change the default port to say 8080 and try starting it again and see if that works.
Ibbo
Looks like you already have a server running. Open your browser and point it to localhost see if some web page comes up.
Or try running nmap -v localhost and see if port 80 is in use. You can also edit your httpd.conf and change the default port to say 8080 and try starting it again and see if that works.
Ibbo
-
cheikhbouchihda
- Forum Commoner
- Posts: 51
- Joined: Thu Mar 02, 2006 2:08 pm
- Location: France.
Yes, apache/1.3.34 was running so I've desinstalled it and rm all directories and files concerning apache/1.3.34 and then added the ligne:
Then it(apache2) works now.
Thanks.
to the file:SeverName localhot
Code: Select all
/etc/apache2/apache2.confThanks.