Problem with restarting Apache2 on Ubuntu Server 14.04












2














I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error:



Restarting web server apache2
[Fri May 23 18:50:56.662042 2014] [alias:warn]
[pid 8635] AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


[fail]
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems


Can somebody help me to fix this error?










share|improve this question
























  • WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
    – Rinzwind
    May 23 '14 at 17:18












  • i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
    – user283469
    May 23 '14 at 17:45










  • i tried that command but also same error...
    – user283469
    May 27 '14 at 16:45










  • can you please post how you solved the problem? thank you
    – user431739
    Jul 21 '15 at 14:16
















2














I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error:



Restarting web server apache2
[Fri May 23 18:50:56.662042 2014] [alias:warn]
[pid 8635] AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


[fail]
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems


Can somebody help me to fix this error?










share|improve this question
























  • WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
    – Rinzwind
    May 23 '14 at 17:18












  • i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
    – user283469
    May 23 '14 at 17:45










  • i tried that command but also same error...
    – user283469
    May 27 '14 at 16:45










  • can you please post how you solved the problem? thank you
    – user431739
    Jul 21 '15 at 14:16














2












2








2







I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error:



Restarting web server apache2
[Fri May 23 18:50:56.662042 2014] [alias:warn]
[pid 8635] AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


[fail]
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems


Can somebody help me to fix this error?










share|improve this question















I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error:



Restarting web server apache2
[Fri May 23 18:50:56.662042 2014] [alias:warn]
[pid 8635] AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


[fail]
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems


Can somebody help me to fix this error?







14.04 apache2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 19 '17 at 22:40









Videonauth

23.8k126898




23.8k126898










asked May 23 '14 at 16:55









user283469

24227




24227












  • WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
    – Rinzwind
    May 23 '14 at 17:18












  • i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
    – user283469
    May 23 '14 at 17:45










  • i tried that command but also same error...
    – user283469
    May 27 '14 at 16:45










  • can you please post how you solved the problem? thank you
    – user431739
    Jul 21 '15 at 14:16


















  • WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
    – Rinzwind
    May 23 '14 at 17:18












  • i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
    – user283469
    May 23 '14 at 17:45










  • i tried that command but also same error...
    – user283469
    May 27 '14 at 16:45










  • can you please post how you solved the problem? thank you
    – user431739
    Jul 21 '15 at 14:16
















WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
– Rinzwind
May 23 '14 at 17:18






WHY do you not include the command you used? Now someone has to ask: did you start it with or without sudo? and did you look at "The Apache error log" since "... may have more information."
– Rinzwind
May 23 '14 at 17:18














i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
– user283469
May 23 '14 at 17:45




i typed sudo /etc/init.d/apache2 restart ... thats the command i used for this and get this error ....
– user283469
May 23 '14 at 17:45












i tried that command but also same error...
– user283469
May 27 '14 at 16:45




i tried that command but also same error...
– user283469
May 27 '14 at 16:45












can you please post how you solved the problem? thank you
– user431739
Jul 21 '15 at 14:16




can you please post how you solved the problem? thank you
– user431739
Jul 21 '15 at 14:16










1 Answer
1






active

oldest

votes


















0














Adding "Include /etc/phpmyadmin/apache.conf" leads to the following error:




[warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3
will probably never match because it overlaps an earlier Alias.




when restarting Apache.



Commenting it out again resolves this issue.



According to this https://help.ubuntu.com/community/phpMyAdmin adding the include line should not be necessary, at least not in Ubuntu 9.04 (and presumably it also works fine in Ubuntu 12.04).



Source: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 (comments from Arjan Dasselaar )



You can also try to rename your phpmyadmin.conf for a test.






share|improve this answer























  • OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
    – user283469
    May 23 '14 at 19:19












  • Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
    – TuKsn
    May 23 '14 at 20:09












  • Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
    – user283469
    May 24 '14 at 13:11













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f471187%2fproblem-with-restarting-apache2-on-ubuntu-server-14-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Adding "Include /etc/phpmyadmin/apache.conf" leads to the following error:




[warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3
will probably never match because it overlaps an earlier Alias.




when restarting Apache.



Commenting it out again resolves this issue.



According to this https://help.ubuntu.com/community/phpMyAdmin adding the include line should not be necessary, at least not in Ubuntu 9.04 (and presumably it also works fine in Ubuntu 12.04).



Source: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 (comments from Arjan Dasselaar )



You can also try to rename your phpmyadmin.conf for a test.






share|improve this answer























  • OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
    – user283469
    May 23 '14 at 19:19












  • Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
    – TuKsn
    May 23 '14 at 20:09












  • Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
    – user283469
    May 24 '14 at 13:11


















0














Adding "Include /etc/phpmyadmin/apache.conf" leads to the following error:




[warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3
will probably never match because it overlaps an earlier Alias.




when restarting Apache.



Commenting it out again resolves this issue.



According to this https://help.ubuntu.com/community/phpMyAdmin adding the include line should not be necessary, at least not in Ubuntu 9.04 (and presumably it also works fine in Ubuntu 12.04).



Source: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 (comments from Arjan Dasselaar )



You can also try to rename your phpmyadmin.conf for a test.






share|improve this answer























  • OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
    – user283469
    May 23 '14 at 19:19












  • Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
    – TuKsn
    May 23 '14 at 20:09












  • Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
    – user283469
    May 24 '14 at 13:11
















0












0








0






Adding "Include /etc/phpmyadmin/apache.conf" leads to the following error:




[warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3
will probably never match because it overlaps an earlier Alias.




when restarting Apache.



Commenting it out again resolves this issue.



According to this https://help.ubuntu.com/community/phpMyAdmin adding the include line should not be necessary, at least not in Ubuntu 9.04 (and presumably it also works fine in Ubuntu 12.04).



Source: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 (comments from Arjan Dasselaar )



You can also try to rename your phpmyadmin.conf for a test.






share|improve this answer














Adding "Include /etc/phpmyadmin/apache.conf" leads to the following error:




[warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3
will probably never match because it overlaps an earlier Alias.




when restarting Apache.



Commenting it out again resolves this issue.



According to this https://help.ubuntu.com/community/phpMyAdmin adding the include line should not be necessary, at least not in Ubuntu 9.04 (and presumably it also works fine in Ubuntu 12.04).



Source: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 (comments from Arjan Dasselaar )



You can also try to rename your phpmyadmin.conf for a test.







share|improve this answer














share|improve this answer



share|improve this answer








edited May 23 '14 at 19:15

























answered May 23 '14 at 19:08









TuKsn

3,46011437




3,46011437












  • OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
    – user283469
    May 23 '14 at 19:19












  • Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
    – TuKsn
    May 23 '14 at 20:09












  • Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
    – user283469
    May 24 '14 at 13:11




















  • OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
    – user283469
    May 23 '14 at 19:19












  • Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
    – TuKsn
    May 23 '14 at 20:09












  • Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
    – user283469
    May 24 '14 at 13:11


















OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
– user283469
May 23 '14 at 19:19






OK i commented that i now its not showing that,but still have issue with this: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 How can i fix that?
– user283469
May 23 '14 at 19:19














Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
– TuKsn
May 23 '14 at 20:09






Try this Apache: Could not bind address to port (make_sock) or this make_sock: could not bind to address
– TuKsn
May 23 '14 at 20:09














Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
– user283469
May 24 '14 at 13:11






Thank you,but I solve this problem and everything is working just fine now ..... Thank you all.
– user283469
May 24 '14 at 13:11




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f471187%2fproblem-with-restarting-apache2-on-ubuntu-server-14-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”