Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th March 2013, 20:22
rlischer rlischer is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Default nginx will not start after update today

So I installed the latest server updates today on the server and nginx would not start, the error is:
"nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)"

I did a search and found that "fuser -n tcp 80" fixes the problem. Now it seems that I have to run this command after every reboot.

Any ideas?

Config looks like this:
Code:
server {
        listen 80;
        #listen [::]:80 default_server;
Debian Squeeze Perfect Server, nginx, ISP Config 3.0.5.1

Thanks!

Last edited by rlischer; 7th March 2013 at 21:24.
Reply With Quote
Sponsored Links
  #2  
Old 8th March 2013, 14:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is there anything else (e.g. Apache) listening on port 80 already?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th March 2013, 15:11
rlischer rlischer is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
Is there anything else (e.g. Apache) listening on port 80 already?
Not that I know of. I never installed Apache. Everything was fine until I did an update, whatever packages that were updated within this past week caused it.
Reply With Quote
  #4  
Old 8th March 2013, 16:41
rlischer rlischer is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Default Here is what it says on boot-up.

Here is what it says on boot-up.
Attached Images
 
Reply With Quote
  #5  
Old 8th March 2013, 17:08
rlischer rlischer is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Default

I just noticed it says starting "Apache2" I have no idea where or how Apache got on this server. I checked my command history, I never installed it. Would an update install Apache or add it to the startup? How can I get rid of a startup program that's not really installed?

Code:
root@server:~# apt-get remove apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Last edited by rlischer; 8th March 2013 at 17:15.
Reply With Quote
  #6  
Old 8th March 2013, 17:24
rlischer rlischer is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Default

Ok, this command fixed my problem: "sudo update-rc.d -f apache2 remove"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in using : perfect-server-ubuntu-12.10-apache2-bind-dovecot-ispconfig-3, rezabagheri Installation/Configuration 7 30th October 2012 22:55
Some problems after upgrade OS lenny to squeeze matiasCU Installation/Configuration 3 31st May 2011 22:53
The Perfect Server - Ubuntu 10.10 [ISPConfig 3] artifact66 Installation/Configuration 3 14th March 2011 13:06
Mandriva free 2009 fail to start after update nasril Installation/Configuration 5 29th September 2009 09:33
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26


All times are GMT +2. The time now is 08:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.