View previous topic :: View next topic |
Author |
Message |
strafer -
Joined: 03 Dec 2007 Posts: 2
|
Posted: Mon Dec 03, 2007 10:55 pm Post subject: User account not working |
|
|
I've installed and set up and tested my server and it works just fine if I manually start it or if I have it automatically start when I logon to my (administrator) account. My problem is that I get this error when I try to start Abyss from my other user account.
-- Default host on port 80 has errors and is stopped (Local URL http://127.0.0.1)
The system cannot find the file specified. (key: root/server/host/scripting/cgi/errorfile - file: C:\Program Files\Abyss Web Server\abyss.conf - line: 48 - col: 5)
Error while reading/setting the configuration of module scripting (key: root/server/host/scripting/cgi/errorfile - file: C:\Program Files\Abyss Web Server\abyss.conf - line: 48 - col: 5)
Console local URL: http://127.0.0.1:9999
The problem is that I need Abyss to start ether when windows starts or when any users logon. My wife will sometimes reboot the machine and if she doesn't logon to my account I'll have no Abyss. I've made sure that she has no other programs using the port. I tried to change ports but still get the same error. How come it works on one account but not the other? |
|
Back to top |
|
|
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
Posted: Tue Dec 04, 2007 5:57 pm Post subject: Re: User account not working |
|
|
strafer wrote: | I've installed and set up and tested my server and it works just fine if I manually start it or if I have it automatically start when I logon to my (administrator) account. My problem is that I get this error when I try to start Abyss from my other user account.
-- Default host on port 80 has errors and is stopped (Local URL http://127.0.0.1)
The system cannot find the file specified. (key: root/server/host/scripting/cgi/errorfile - file: C:\Program Files\Abyss Web Server\abyss.conf - line: 48 - col: 5)
Error while reading/setting the configuration of module scripting (key: root/server/host/scripting/cgi/errorfile - file: C:\Program Files\Abyss Web Server\abyss.conf - line: 48 - col: 5)
Console local URL: http://127.0.0.1:9999 |
If the server is installed by user A, the log files are owned by A and user B has no permission to read/write to them. So when you start Abyss Web Server in user B account, Windows refuses to let Abyss Web Server open these files which is "owned" by A. That's the Windows file permissions system in action.
If you want both users to be able to launch Abyss Web Server, you'll need to tweak the permissions of the log files which are located inside the log/ subdirectory. You may also need to give B write access to abyss.conf so that the configuration could be updated too.
But the best is to set up Abyss Web Server to run as a Windows service. _________________ Beta Testing Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|