Anonymous_User Absent Member.
Absent Member.
447 views

VRDIM Service Loading error on Driver Start


Hi all,

I'm currently setting up an IDM infrastructure.

eDirectory 8.8 SP7 is installed, and IDM 4.0.1 standard too, on a SLES
Server.

When trying to start a driver, i have this error:

"Error -783 Unable to start driver [...] The DirXML Interface Module
(VRDIM) is not currently loaded into NetWare or into DHost"

I have tried to fix this error with the solutions i found by myself
(https://www.novell.com/support/kb/doc.php?id=7002449). Indeed, i have
run NDSTrace to me able to localize the problem.

What i can see in DSTrace when i apply the steps described in the TID
is:

DirXML JVM Interface Initialization failed <Failed -297 [...]>

Please find the full DSTrace log in the attached file (Generated with
+time,+tags,+misc,+dxml,+dvrs,+init)

181

In the documentation, the solutions are provided to fix "-299" Error,
not 297.
The only related topic i found is this one:
https://forums.netiq.com/showthread....es-are-changed

I don't understand this topic very well, and i have have never changed
the heap size, and i don't use the same eDirectory version at all.

Do you have any solution for me to be able to fix it?

Thank you in advance.


+----------------------------------------------------------------------+
|Filename: ndstrace.log |
|Download: https://forums.netiq.com/attachment.php?attachmentid=181 |
+----------------------------------------------------------------------+

--
sniceper
------------------------------------------------------------------------
sniceper's Profile: https://forums.netiq.com/member.php?userid=5188
View this thread: https://forums.netiq.com/showthread.php?t=51439

Labels (1)
0 Likes
9 Replies
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start

Looks like you are short on memory to create the JVM as specified:

JNI_OK 0 /* success */
JNI_ERR (-1) /* unknown error */
JNI_EDETACHED (-2) /* thread detached from the VM */
JNI_EVERSION (-3) /* JNI version error */
JNI_ENOMEM (-4) /* not enough memory */
JNI_EEXIST (-5) /* VM already created */
JNI_EINVAL (-6) /* invalid arguments */

What does the system look like in terms of hardware? Has this ever worked
on this box before? Do you have things working on another (test/dev/qa)
box to be sure the steps you used should work here as well? How many
drivers do you have, and are they all set to auto-start? Which ones do
you have in this server's driverset?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start


Hello,

Thank you for the answer. Interesting.. should i add memory physically
or increase heap size?

The hardware specs are specified in the last sentence of my previous
post.
No, it has never work before. This is the first IDM server installed
(the test server).
We have only one driver for this test (Active Directory Driver), set to
Manual.

thank you


--
sniceper
------------------------------------------------------------------------
sniceper's Profile: https://forums.netiq.com/member.php?userid=5188
View this thread: https://forums.netiq.com/showthread.php?t=51439

0 Likes
Knowledge Partner
Knowledge Partner

Re: VRDIM Service Loading error on Driver Start

On 7/30/2014 11:05 AM, sniceper wrote:
>
> Hello,
>
> Thank you for the answer. Interesting.. should i add memory physically
> or increase heap size?
>
> The hardware specs are specified in the last sentence of my previous
> post.
> No, it has never work before. This is the first IDM server installed
> (the test server).
> We have only one driver for this test (Active Directory Driver), set to
> Manual.


Aaron is asking how much RAM you have. I do not see that info in your
first post.

The default JVM sizing on a fresh install should be fine. It is
possible you just do not have enough free RAM on the box to add in the
couiple of hundred megs of RAM it will use. (defaults to either 64Megs
or 256Megs heap, but also 256MB Permgen mem, and JVM itself, plus Vrdim
space).


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start


Hi Geoffrey,

i have written in my first post:
"The server is a VMWare virtual machine, with 4GB RAM"

I'm currently setting the heapsize manually to 256MB, and will try to
increase it if it doesn't work. I keep you in touch.

Thank you 🙂


--
sniceper
------------------------------------------------------------------------
sniceper's Profile: https://forums.netiq.com/member.php?userid=5188
View this thread: https://forums.netiq.com/showthread.php?t=51439

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start

sniceper wrote:

>
> Hi Geoffrey,
>
> i have written in my first post:
> "The server is a VMWare virtual machine, with 4GB RAM"


4GB should be fine if IDM is the only thing running on the box

> I'm currently setting the heapsize manually to 256MB, and will try to
> increase it if it doesn't work. I keep you in touch.


You shouldn't need to set the heapsize manually unless you actually run into memory problems whilst IDM drivers are running.
If you don't explicitly set this, sane and reasonable defaults will be applied.

Also, the correct way to set the heap size is to set properties on the appropriate DriverSet object within eDirectory (rather than set this in a startup script for example)
This is described here:

https://www.netiq.com/documentation/idm401/idm_common_driver/data/bg0n8f8.html

https://www.netiq.com/support/kb/doc.php?id=7000224


--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: VRDIM Service Loading error on Driver Start

On 7/30/2014 12:18 PM, sniceper wrote:
>
> Hi Geoffrey,
>
> i have written in my first post:
> "The server is a VMWare virtual machine, with 4GB RAM"
>
> I'm currently setting the heapsize manually to 256MB, and will try to
> increase it if it doesn't work. I keep you in touch.


4GB is plenty, and should not have this issue. Especially on Linux
since it should have swap space as well.

Very rare to load IDM and run out of heap right away. Defaults are
pretty good for most use cases.


0 Likes
Knowledge Partner
Knowledge Partner

Re: VRDIM Service Loading error on Driver Start

On 7/30/2014 12:18 PM, sniceper wrote:
>
> Hi Geoffrey,
>
> i have written in my first post:
> "The server is a VMWare virtual machine, with 4GB RAM"


Not to be pedantic, I went back and looked at the first thread in this
post and do not see that text.

So I wonder, if maybe the NNTP-Web gateway stripped a line? (If so, I
want to know, to get it looked at). Or did you mean in a message in
another thread?

(I read newsgroups via NNTP not the web interface. Which also means I
cannot see your attachment easily).

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start

Geoffrey Carman wrote:

>
> Not to be pedantic, I went back and looked at the first thread in this post and do not see that text.


It's because the poster *edited* their first post and added these details about 6 minutes after creating the thread

> So I wonder, if maybe the NNTP-Web gateway stripped a line? (If so, I want to know, to get it looked at).


As you know, there is nothing that can be done about this, and it's off topic anyway.

sniceper: Just a hint for next time, try to keep in mind that changes made via the edit button might not reach all viewers. Often it's better to just reply with your corrections.

Also, regarding your actual problem:

1. Try again without specifying a java heap size and report back whether this was successful or not.

Just to reiterate:
a. do not edit /etc/init.d/pre_ndsd_start
b. check DHOST_JVM_MAX_HEAP and DHOST_JVM_INITIAL_HEAP are not set (use iManager or Designer) in eDirectory

2. In logevent.conf you should change "Loghost=127.0.0.1" to "LogHost=Not Configured"

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: VRDIM Service Loading error on Driver Start

Geoffrey Carman wrote:

> Aaron is asking how much RAM you have. I do not see that info in your first post.


I can't see it in this post or the original post under the Linux eDirectory forum.

> The default JVM sizing on a fresh install should be fine. It is possible you just do not have enough free RAM on the box to add in the couiple of hundred megs of RAM it will use. (defaults to either 64Megs or 256Megs heap, but also 256MB Permgen mem, and JVM itself, plus Vrdim space).


As per the IDM documentation, they recommended a minimum RAM allocation for a metadirectory server of 2GB for metadirectory + 200MB per each driver + 512 MB for underlying SLES/OS.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.