NDSLookupForDB
Hi,
I have a lot of redundant entries in the Sybase DB on my Zen 6.5 Sp1
server and am trying to remove them by running the NDSLookupForDB service.
However, I am getting the following error message in the
zenworksinvservice-xxxxxxxx.log file
<snip>
[9/23/05 12:50:50.136] ZENInv - DB NDS Lookup: NDSLookupForDB started.....
[9/23/05 12:50:50.137] ZENInv - DB NDS Lookup: invServiceDN:CN=Inventory
Service_ZENWORKS.O=ORG_NAME Tree:TREE_NAME
[9/23/05 12:50:50.137] ZENInv - DB NDS Lookup: Performing database lookup...
[9/23/05 12:50:51.881] ZENInv - DB NDS Lookup: Got the workstations list
from Database
[9/23/05 12:50:51.881] ZENInv - DB NDS Lookup:
noOfDNsInSameTree:101,noOfDNsInDifferentTree:0
[9/23/05 12:50:51.915] ZENInv - DB NDS Lookup: Output
File:SYS:\ZENWORKS\inv\Server\WmInv\properties\Del eteWSList.txt
[9/23/05 12:50:51.916] ZENInv - DB NDS Lookup: Got all the distinct
containers
<snip>
<snip>
[9/23/05 12:53:23.811] ZENInv - DB NDS Lookup: AttributesReturn object
return value = 102
[9/23/05 12:53:23.813] ZENInv - DB NDS Lookup:
InventoryAuthUtilities.search returned an ERROR.
[9/23/05 12:53:23.813] ZENInv - DB NDS Lookup: Error occured in
workstation enumeration.
[9/23/05 12:53:23.813] ZENInv - DB NDS Lookup: NDSLookupForDB done and
stopped.....
<snip>
Any idea how to resolve this error?
Thanks in advance!
Problem solved.
Read post from Dae 28/04/2005 Subject: Re: DB NDS Lookup error.
A few months ago I modified the Import policies to import all WS's into
a new OU. I subsequently deleted the old OU's that contained the
obsolete WS objects.
To resolve the problem, I re-created the OU's (As suggested in above
mentioned post) and ran 'startser NDSLookupForDB' which generated a list
of WS objects that had been removed from the deleted OU's a few months
ago. I then removed the re-created OU's after running 'StartSer
RemoveInventory'.
Cheers
Steven Bellamy wrote:
> Hi,
>
> I have a lot of redundant entries in the Sybase DB on my Zen 6.5 Sp1
> server and am trying to remove them by running the NDSLookupForDB service.
> However, I am getting the following error message in the
> zenworksinvservice-xxxxxxxx.log file
>
> <snip>
> [9/23/05 12:50:50.136] ZENInv - DB NDS Lookup: NDSLookupForDB started.....
> [9/23/05 12:50:50.137] ZENInv - DB NDS Lookup: invServiceDN:CN=Inventory
> Service_ZENWORKS.O=ORG_NAME Tree:TREE_NAME
> [9/23/05 12:50:50.137] ZENInv - DB NDS Lookup: Performing database
> lookup...
> [9/23/05 12:50:51.881] ZENInv - DB NDS Lookup: Got the workstations list
> from Database
> [9/23/05 12:50:51.881] ZENInv - DB NDS Lookup:
> noOfDNsInSameTree:101,noOfDNsInDifferentTree:0
> [9/23/05 12:50:51.915] ZENInv - DB NDS Lookup: Output
> File:SYS:\ZENWORKS\inv\Server\WmInv\properties\Del eteWSList.txt
> [9/23/05 12:50:51.916] ZENInv - DB NDS Lookup: Got all the distinct
> containers
> <snip>
>
> <snip>
> [9/23/05 12:53:23.811] ZENInv - DB NDS Lookup: AttributesReturn object
> return value = 102
> [9/23/05 12:53:23.813] ZENInv - DB NDS Lookup:
> InventoryAuthUtilities.search returned an ERROR.
> [9/23/05 12:53:23.813] ZENInv - DB NDS Lookup: Error occured in
> workstation enumeration.
> [9/23/05 12:53:23.813] ZENInv - DB NDS Lookup: NDSLookupForDB done and
> stopped.....
> <snip>
>
> Any idea how to resolve this error?
>
> Thanks in advance!
Similar Messages
-
Zfd32sp3 and startser ndslookupfordb
Hi,
I have scheduled console commands that run startser ndslookupfordb and startser dbdelete running to synchronise NDS with our Zenworks DB's.
Since implementing sp3 though whenever I run these commands it deletes all the workstations in the databases.
Am I doing something wrong or is there another way to synchronize (other than installing Zen4)?
Any help greatly appreciated
PaulPaul,
It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
- You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
NDSLookupForDB fails on deleted OU.
Just a little background to this long-running problem: We're running
ZENworks for Desktops 4.0.1 Inventory across several dozen servers
throughout our organization, all setup to roll-up to regional Intermediate
servers and from there to a single Root database. Most of these servers
were originally 3.2, were upgraded to 4.0.1 and now run with either ir5,
ir6, or ir7. After the upgrade, we had many straggler 3.2 workstations in
the inventory that just wouldn't remove themselves over time. I'm now
trying to come up with a good way to clean-up our inventory state-wide.
I've tried using the NDSLookupforDB service, but on the ir5 servers it
always fails when encountering an OU which doesn't exist. For example:
searching for workstations in the Win9x.Workstations.Davis... OU (Which was
deleted long ago) the following returns in the log file.
ZENInv - DB NDS Lookup: search DirContext:[Root]
ZENInv - DB NDS Lookup: NDAPAuthUtilities: search: Base DN =
WIN9X.WORKSTATIONS.DAVIS...[Etc...], filter = (Object Class=Workstation)
ZENInv - DB NDS Lookup: NamingException
javax.naming.NamingException. Root exception is
com.novell.service.jncp.NDSException: ccode = -601 (0xfffffda7)
at
com.novell.service.jncp.NSIExceptionBuilder.build( NSIExceptionBuilder.java:82)
at
com.novell.service.jncpv2.net.BasicNetService.sear ch(BasicNetService.java:1260)
Etc...
It seems to retry this process about 5 times before giving up and at that
point simply fails and stops the NDSLookupForDB service. The
DeleteWSList.txt of course comes back as a 0 KB file. This never shows up
as a problem on the ir7 servers, but we only have a few of them in the tree
right now, and I'd rather not ask all of the admins to run around upgrading
them all if this will work fine on ir5.
Sorry for the long-winded post, I value any and all input on this matter as
I have tried all I know to try myself.
John SheatsJohn,
It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
- You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Build up of str files in ScanDir
We have a build up of sevral thousand of these files in ScanDir files.
Looking at several places on groups i have found that two services need to
be running before these can take place.
The storer service and selector service. The selector service is not
present in the list when i do a listser. Present in the list are:-
1) Name = 'DBBackup Service'
serviceType = 'User' (0)
state = 'Stopped' (0)
2) Name = 'Server Configuration Service'
serviceType = 'System' (1)
state = 'Running' (2)
3) Name = 'DBDelete Service'
serviceType = 'User' (0)
state = 'Stopped' (0)
4) Name = 'NDSLookupForDB Service'
serviceType = 'User' (0)
state = 'Stopped' (0)
5) Name = 'Receiver Service'
serviceType = 'User' (0)
state = 'Running' (2)
6) Name = 'Upgrade Service'
serviceType = 'User' (0)
state = 'Stopped' (0)
7) Name = 'Storer Service'
serviceType = 'System' (1)
state = 'Running' (2)
Number of services = 7
<Press any key to close screen>
When i try to manuall start the service with a 'startser selector service'
i get the following error:-
[1/19/05 14:42:22.914] Service Manager: Failed to start 'selector
service', exc
ption ServiceManagerException{string msg="Service \'selector service\' not
foun
in \'ZENWorksInvService\'
process.";}
exception ServiceManagerException{string msg="Service \'selector service\'
not
ound in \'ZENWorksInvService\'
process.";}
Any ideas ?, FYI workstation import is fine.Julian,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
I'm running ZFD32 SP3 on a 51SP7 server. To sync the inventory database
with the nds one I ran startser ndslookupfordb which ran fine and created
a lok file. When I ran the dbdelete command and looked at the log, I found
that there were about 10 entries that resembled the following...
1020: workstation <WS object name> not deleted because it is corrupted in
the database...wsid=0.
Any ideas on how to remove these corrupted workstation objects from the
database would be greatly appreciated.
Allen Jackson.Jacksona,
It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
- You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Removing workstations from database
I have auto removal of unused worksataions setup on several servers.
I
noticed that some of the workstation objects that were manually
deleted
from NDS still show up in an inventory scan. Shouldn't the scheduled
removal get rid of those from the database even if they've already
been
manually removed from NDS?
Thanks,
Jeff> [email protected],
>
> > Got it working. Thanks anyway.
>
> What was the fix? <G>
>
Jared, in my message I wrote that I was using the STARTSER
NSLOOKUPFORDB
command and getting an error message. I was typing it in at the
server
console just as I had written it in my message. The actual command is
STARTSER NDSLOOKUPFORDB. I was missing the first "D" in
ndslookupfordb...human error.
jg -
Inventory doesn't remove workstation
Hi,
I have zenworks 4.0.1 with Sybase, but now I have a lot of workstations
that now they aren't in the NDS, and I want to remove them. I know that
we can't remove these workstations manually, but I try to follow the
steps that I've seen in the knowledge database, but I can't. I think that
I'm doing something wrong. Could anybody guide me?
ThanksOk, you are right, but I have the same problem. I open
\\Nwzen\DATOS\ZENworks\Inv\server\WmInv\properties \InventoryRemoval.propet
ies and I write FilePath=DATOS:ZENworks/Inv/server/WmInv/properties/
then I write on the Server Console startser NDSLookupForDB and then it
writes:
startser NDSLookupForDB
InvEnv.NCF
Loading module JAVA.NLM [Not Multiple]
InvEnvSet
After that, it switchs to ZENworks Workstaion Import windows, and I check
that there is a file in
\\Nwzen\DATOS\ZENworks\Inv\server\WmInv\properties called
DeleteWSList.txt which is empty (0 Kb)
What am I making wrong?
> they do not send you to the same page (I have just checked) one is for
> the inventory sync service, and one is for the inventory removal
> service...
>
> --
>
> Shaun Pond
>
> -
NW5.1 sp6 Killed Inventory (jvm1.3.1)
My ZEN3 Inventory worked fine for months, all the way through NW5.1
sp5.
I installed sp6 and allowed it to upgrade JVM1.17d to the 1.31. I now
get
the dreaded "...exited with status 1".
It appears to indicate an environmental variable "tmppath" is not set.
I could only find, in the NW51_ISS.TXT readme, a suggestion to
re-install
ZFD3sp1a. I did, no help. (However, I did not allow it to downgrade
files.)
Is this something anybody else has seen? What can I do, and fast?
Thanks!Thanks for the quick reply. I'll try that after I get a good backup up
of
database - all 400MB - and let you know. BTW, I forgot I had a CRON
job
running "StartSre NDSLOOKUPFORDB, DBDELETE, and DBBACKUP" every night
at
0130, so came in to work this AM to see the ABEND indicator at <3>.
> If you haven't already, you need to apply zd3xjvm patch for JVM
> 1.2.x/1.3.x to work properly.
>
> > My ZEN3 Inventory worked fine for months, all the way through
NW5.1
sp5.
> > I installed sp6 and allowed it to upgrade JVM1.17d to the 1.31. I
now
> get
> > the dreaded "...exited with status 1".
> > It appears to indicate an environmental variable "tmppath" is not
set.
> > I could only find, in the NW51_ISS.TXT readme, a suggestion to re-
> install
> > ZFD3sp1a. I did, no help. (However, I did not allow it to
downgrade
> files.)
> > Is this something anybody else has seen? What can I do, and fast?> >
> > Thanks!
>
Maybe you are looking for
-
How can I access an app i bought in Itunes, isn't displaying anywhere on computrt. If the app is just for ipad how do i convert to my IPad?
-
Flash image viewer works in preview but not online
Hi I followed an online demo on how to get an image slideshow on my webpage using flash. It was using insert media image viewer. It all worked fine, looked great in the preview but when I put everything online I can't see it. Just an empty space were
-
SRM 5.0 organisational structure
Hi Gurus, is there a restriction for the number of persons integrated in the SRM (SRM 5.0) org. structure (PPOMA_BBP)? Is there a sizing guideline? We plan to expand the number of buyers and approvers up to 90.000. Many thanks in advance, Dirk
-
Hi, When transferring an email from Outlook an activity gets created with type Incoming email and status Completed. If I go to my BP account, this activity has gone to the 'Planned activity' section, if I click on the 'Close' link and save my BP reco
-
Does anybody have some good tips/techniques for restoring old VHS footage? I've got all the footage on my HD through a ADC (analog to digital converter). Just wondering if there are any good techniques to make it look more like film. Thanks -Caleb