ubuntu linux problem

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


Joined: 31 May 2005
Posts: 12

PostPosted: Fri Mar 24, 2006 2:29 am    Post subject: ubuntu linux problem Reply with quote

Hi!


I'm having a problem installing any version of abyss on my Ubuntu breezy. When i enter, sudo ./abyssws in a terminal it says

Critical: Cannot execute the server using root privileges (key: root/server/parameters/opsys/sysuser - file: /home/mandrakethepenguin/abyssws/abyss.conf - line: 0 - col: 0)

Any help would be apreciated
Back to top View user's profile Send private message Send e-mail Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Mar 24, 2006 8:39 am    Post subject: Reply with quote

From the looks of the error it means you are running as a root user and it doesnt allow you to run abyss as a root user, which is unusual. Its normally a non-root user that has problems.

Try changing to a non-root user and try again.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Mar 24, 2006 11:25 am    Post subject: Re: ubuntu linux problem Reply with quote

moogle81,

For security reasons, Abyss Web Server won't run in with your root account privileges (unless you force it with the -r switch).

We suggest reading http://www.aprelium.com/forum/viewtopic.php?p=51123#51123 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Mar 25, 2006 2:50 am    Post subject: Re: ubuntu linux problem Reply with quote

aprelium wrote:
For security reasons, Abyss Web Server won't run in with your root account privileges.


I can run Abyss using the root-account, without the -r switch.
I'm just curious why I can use the root-account and he can't...

Quote:
kisom@debian:~$ su
Password:
root@debian:/home/kisom# cd webserver/
root@debian:/home/kisom/webserver# '/home/kisom/webserver/abyssws'
Abyss Web Server X1 (v 2.3.0.4)
Copyright (C) Aprelium Technologies - 2001-2006


-- Default host on port 80 is up and running (Local URL http://127.0.0.1)

Console local URL: http://127.0.0.1:1337
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Mar 25, 2006 1:40 pm    Post subject: Re: ubuntu linux problem Reply with quote

cmxflash wrote:
aprelium wrote:
For security reasons, Abyss Web Server won't run in with your root account privileges.


I can run Abyss using the root-account, without the -r switch.
I'm just curious why I can use the root-account and he can't...


The difference is that you have launched abyssws for the first time from a normal user account. So when Abyss created the abyss.conf file, it captured the user account name and saved it in the configuration file ( http://www.aprelium.com/data/doc/2/abyssws-linux-doc-html/servergeneral.html#SERVER-PARAMETERS-OPSYS ). When you have restarted abyssws using the root account, it has taken advantage of the root privileges to use ports < 1024 but immediately switched to the less privileged user account before starting the service.

At the contrary, moogle81 started Abyss Web Server for the first time from his root account. So abyssws has no way to know which unprivileged user account it will have to use later, hence the error message.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Sun Mar 26, 2006 5:00 am    Post subject: Thanks Reply with quote

Thanks for all the help guys! I re-extracted abyss and exec'd it under normal user priveliges, then root priveleges and it worked!
Back to top View user's profile Send private message Send e-mail 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