Listening error on Port 80

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Mon Aug 08, 2011 6:08 pm    Post subject: Listening error on Port 80 Reply with quote

Hi, I have switched my installation back to Abyss X1, on my Ubuntu 11.04 box... and updated to the latest version. I am now running only one website, my own. I got everything installed (I thought) and tweaked correctly (I thought) but when I try to run the server I get "Listening error" in the console. Any ideas? Website should be up at brashley46.no-ip.info ...
_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Mon Aug 08, 2011 6:30 pm    Post subject: Reply with quote

Switching off Skype made not difference either.

Further to this, when I switch to Port 8000 I see no problem. I suppose i shall have to log into my no-ip account and switch that port ... unless there is another solution?
_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Toasty
-


Joined: 21 Feb 2008
Posts: 298
Location: Chicago, IL

PostPosted: Wed Aug 10, 2011 10:47 pm    Post subject: Reply with quote

Is the process already running?

Is there a different listener process running?

I'm not too good with Linux, but I swear there's a command where you can see what is using each port, etc...
_________________
Audit the secure configuration of your server headers!
Back to top View user's profile Send private message Visit poster's website
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Wed Aug 10, 2011 11:15 pm    Post subject: Reply with quote

Don't know, Toasty. I've shut everything down and am going to do a reinstall ... & open Port 8000 right from the get-go. This was so much easier on Windows, but that box died.
_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Toasty
-


Joined: 21 Feb 2008
Posts: 298
Location: Chicago, IL

PostPosted: Thu Aug 11, 2011 2:45 am    Post subject: Reply with quote

Maybe this link will help?

http://www.clarksys.com/blog/2006/03/31/list-ports-and-processes-on-linux/


Check that out before you go through all the work of a reinstall!!
_________________
Audit the secure configuration of your server headers!
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Sat Aug 13, 2011 12:18 am    Post subject: Re: Listening error on Port 80 Reply with quote

redlion,

If you are running Abyss Web Server from your normal user account you can't have access to ports < 1024. Only the root user has access to these ports.

So the clean solution on Linux is to install Abyss Web Server as a daemon. This way, it will run from the root account to get the ports < 1024 and will later switch to a less privileged user account (for obvious security reasons).

The procedure is explained in http://www.aprelium.com/forum/viewtopic.php?p=159000#159000 .
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Sat Aug 13, 2011 12:29 am    Post subject: Reply with quote

Thanks, Aprelium, I wll look into that!
_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Sat Aug 13, 2011 12:56 am    Post subject: Re: Listening error on Port 80 Reply with quote

That worked, I am back online! Thank you. The only refinement I have to make is that I had to run
Code:
./autostart-setup install
as
Code:
sudo ./autostart-setup install
to get it to work.
admin wrote:
redlion,

If you are running Abyss Web Server from your normal user account you can't have access to ports < 1024. Only the root user has access to these ports.

So the clean solution on Linux is to install Abyss Web Server as a daemon. This way, it will run from the root account to get the ports < 1024 and will later switch to a less privileged user account (for obvious security reasons).

The procedure is explained in http://www.aprelium.com/forum/viewtopic.php?p=159000#159000 .

_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Sun Aug 14, 2011 5:30 pm    Post subject: Re: Listening error on Port 80 Reply with quote

redlion wrote:
That worked, I am back online! Thank you. The only refinement I have to make is that I had to run
Code:
./autostart-setup install
as
Code:
sudo ./autostart-setup install
to get it to work.


Strange. The script contains a call to sudo. We'll check why it did not work as expected.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
redlion
-


Joined: 14 Feb 2005
Posts: 63
Location: Toronto, Ontario, Canada

PostPosted: Sun Aug 14, 2011 5:39 pm    Post subject: Re: Listening error on Port 80 Reply with quote

admin wrote:
redlion wrote:
That worked, I am back online! Thank you. The only refinement I have to make is that I had to run
Code:
./autostart-setup install
as
Code:
sudo ./autostart-setup install
to get it to work.


Strange. The script contains a call to sudo. We'll check why it did not work as expected.

Ubuntu is easy for a non-geek to work with, which is why I like it, but a lot of it is not Linux-standard code that way. Or the usual for GNU I guess I should say.
_________________
Red Lion
B. Ross Ashley
"The liberation of the working class is the task of the workers themselves."
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Tue Aug 16, 2011 2:17 pm    Post subject: Re: Listening error on Port 80 Reply with quote

redlion wrote:
admin wrote:
redlion wrote:
That worked, I am back online! Thank you. The only refinement I have to make is that I had to run
Code:
./autostart-setup install
as
Code:
sudo ./autostart-setup install
to get it to work.


Strange. The script contains a call to sudo. We'll check why it did not work as expected.

Ubuntu is easy for a non-geek to work with, which is why I like it, but a lot of it is not Linux-standard code that way. Or the usual for GNU I guess I should say.


Contrarily to the popular belief, Ubuntu is fairly standard as it is built upon the venerable Debian distribution (and remains compatible with it). Some issues come from the choice of certain low level libraries or combination of tools which are not relevant even to the purists.

We used to use Debian and Redhat (before it became Fedora) but we started moving slowly to Ubuntu and our last world facing servers are all powered with Ubuntu too.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group