View previous topic :: View next topic |
Author |
Message |
moogle81 -
Joined: 31 May 2005 Posts: 12
|
Posted: Fri Mar 24, 2006 2:29 am Post subject: ubuntu linux problem |
|
|
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 |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Mar 24, 2006 8:39 am Post subject: |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Sat Mar 25, 2006 2:50 am Post subject: Re: ubuntu linux problem |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Mar 25, 2006 1:40 pm Post subject: Re: ubuntu linux problem |
|
|
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 |
|
|
moogle81 -
Joined: 31 May 2005 Posts: 12
|
Posted: Sun Mar 26, 2006 5:00 am Post subject: Thanks |
|
|
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 |
|
|
|