View previous topic :: View next topic |
Author |
Message |
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Mon Aug 08, 2011 6:08 pm Post subject: Listening error on Port 80 |
|
|
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 |
|
|
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Mon Aug 08, 2011 6:30 pm Post subject: |
|
|
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 |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Wed Aug 10, 2011 10:47 pm Post subject: |
|
|
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 |
|
|
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Wed Aug 10, 2011 11:15 pm Post subject: |
|
|
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 |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1300
|
Posted: Sat Aug 13, 2011 12:18 am Post subject: Re: Listening error on Port 80 |
|
|
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 |
|
|
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Sat Aug 13, 2011 12:29 am Post subject: |
|
|
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 |
|
|
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Sat Aug 13, 2011 12:56 am Post subject: Re: Listening error on Port 80 |
|
|
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 |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1300
|
Posted: Sun Aug 14, 2011 5:30 pm Post subject: Re: Listening error on Port 80 |
|
|
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 |
|
|
redlion -
Joined: 14 Feb 2005 Posts: 63 Location: Toronto, Ontario, Canada
|
Posted: Sun Aug 14, 2011 5:39 pm Post subject: Re: Listening error on Port 80 |
|
|
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 |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1300
|
Posted: Tue Aug 16, 2011 2:17 pm Post subject: Re: Listening error on Port 80 |
|
|
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 |
|
|
|