port 80 keeps going to 8000

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


Joined: 30 May 2007
Posts: 28

PostPosted: Tue Jul 10, 2007 7:28 pm    Post subject: port 80 keeps going to 8000 Reply with quote

I installed abyss on linux, and it keeps going to 8000 when i set it to 80 in the config.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Jul 10, 2007 7:37 pm    Post subject: Reply with quote

Try running Abyss Web Server with root priviledges and I bet it works. Your running Abyss as a normal user, which only has access to ports 1024 and up.
You can run with root privileges using one of the two commands below.

Quote:
./abyssws -r

Quote:
sudo ./abyssws


Kind regards, Josh
Back to top View user's profile Send private message Visit poster's website
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Tue Jul 10, 2007 7:48 pm    Post subject: Reply with quote

i get:

Critical: Bad path (key: root/server/parameters/root - file: /home/ben/abyssws/abyss.conf - line: 5 - col: 3)
ben@ben-desktop:~/abyssws$ sudo ./abyssws
Password:
Abyss Web Server X1 (v 2.4)
Copyright (C) Aprelium Technologies - 2001-2007


Critical: Bad path (key: root/server/parameters/root - file: /home/ben/abyssws/abyss.conf - line: 5 - col: 3)
ben@ben-desktop:~/abyssws$
Back to top View user's profile Send private message
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Tue Jul 10, 2007 8:02 pm    Post subject: Reply with quote

Also i redid it, and got: ben@ben-desktop:~$ ./abyssws -r
bash: ./abyssws: is a directory
ben@ben-desktop:~$ sudo ./abyssws
sudo: ./abyssws: command not found
ben@ben-desktop:~$
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Jul 10, 2007 8:16 pm    Post subject: Reply with quote

You have to be in the abyssws folder when you execute that command. Also, it would be a good idea to start with a new abyssws folder instead of using the old one that you used as a normal user.
http://www.aprelium.com/data/doc/2/abyssws-linux-doc-html/install.html
Back to top View user's profile Send private message Visit poster's website
roganty
-


Joined: 08 Jun 2004
Posts: 357
Location: Bristol, UK

PostPosted: Tue Jul 10, 2007 11:00 pm    Post subject: Reply with quote

To run abyss on ports <1024 on linux, you need to run abyss as root user, but by default it will not run like this!

What you have to do is:
1. Install abyss as a normal user
2. Run abyss as a normal user for the first time, then stop it
3. Go to the command line and execute as root user
Code:
# chown root:root abyss.conf
# chown root:root abyssws

This will set the user and group of abyss and the config file
4. Then execute, again as root
Code:
# chmod +s abyssws


5. Now as normal user start abyss
Code:
abyssws -d

This will start abyss as a daemon

You can now use ports <1024

Go to 127.0.0.1:9999 to configure abyss
_________________
Anthony R

Roganty
| Links-Links.co.uk
Back to top View user's profile Send private message Visit poster's website
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