Getting access denied on installing stardog 1.2.1

26 views
Skip to first unread message

vishnudev k

unread,
May 12, 2013, 8:56:09 AM5/12/13
to sta...@clarkparsia.com
I am getting this error when i tried to install and start stardog. ram size is 3 gb.


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


E:\apps\apps\programing\NOSQL\stardog-1.2.1>install-service.bat
AMD64 Architecture detected

The following parameters will be set for the service

Stardog installation directory is E:\apps\apps\programing\NOSQL\stardog-1.2.1
STARDOG_HOME is E:\apps\apps\programing\NOSQL\stardog-1.2.1
Stardog server will use 2048 MB
Server logs will be written to E:\apps\apps\programing\NOSQL\stardog-1.2.1\logs

Installing Service "Stardog Server"

Failed to install "Stardog Server"
Inspect E:\apps\apps\programing\NOSQL\stardog-1.2.1\logs for more details

E:\apps\apps\programing\NOSQL\stardog-1.2.1>stardog-admin server start
Error occurred during initialization of VM
Could not reserve enough space for object heap
E:\apps\apps\programing\NOSQL\stardog-1.2.1>




I am getting access denied error in log.

[2013-05-12 12:25:20] [info]  Commons Daemon procrun (1.0.10.0 64-bit) started
[2013-05-12 12:25:20] [error] Unable to open the Service Manager
[2013-05-12 12:25:20] [error] Access is denied.
[2013-05-12 12:25:20] [error] Commons Daemon procrun failed with exit value: 8 (Failed to install service)
[2013-05-12 12:25:20] [error] Access is denied.

Al Baker

unread,
May 12, 2013, 4:20:34 PM5/12/13
to Stardog
Have you validated you can run Stardog in your environment via the batch file, i.e. stardog-admin.bat server start?

You should 'run as administrator' both from the command line (1) , and make sure the executables are set with compatibility mode (2):

(1) http://technet.microsoft.com/en-us/library/cc947813%28WS.10%29.aspx
(2) Right click -> Compatibility -> Run as administrator

FYI with respect to your configuration, you may run up on memory limits depending on the amount of memory dedicated to Stardog, the size of the databases you use, the amount consumed by Windows, and anything else on your machine. By default, if the STARDOG_JAVA_ARGS is not set, it will initialize the JVM heap with 2GB. 

Feel free to either change the envrionment variable or remove the "-Xmx2g and -Xms2g" from the stardog-admin.bat and stardog.bat files.

Once this is working, you can then validate the windows service.

Please refer to the documentation for resource allocation recommendations based on database size: http://stardog.com/docs/admin/#resource-requirements

Regards,
Al Baker




--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
 
 

Reply all
Reply to author
Forward
0 new messages