cancel
Showing results for 
Search instead for 
Did you mean: 

"could not connect to name server"

Former Member
0 Kudos

Hello everyone,

we're trying to deploy a dictionary project (which contains several tables) into our test system of the NWDI (Netweaver2004, SP16) and get the error message "could not connect to name server".

SLD is running on the same server, and I set the flag for the role "name server" and restarted the SLD server, but that didn't have any effect.

Do you know what I have to set up to make this work?

Thanks in advance and best regards,

Cornelia

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The name server is a component of the NetWeaver Development Infrastructure (NWDI). After configuring the SLD as the name server, you need to configure DTR so that it will use that name server.

To do this you go to this URL of your DTR:

http://<host>:<httpPort>/dtr/system-tools/administration/NameServerConfiguration

Enter in the URL to the server that runs the SLD: http://<host>:<httpPort>/

Check this help link,

http://help.sap.com/saphelp_nw04/helpdata/en/1b/2ed695589c4bab8b86ea5903b2ba4b/frameset.htm

Regards

Srinivasan T

Former Member
0 Kudos

Hi Srinivasan,

thanks for your quick answer!

Just one more question: I cannot save the settings unless I enter a user and a password. Could you please tell me what kind of user is needed here? Is it the one I use for connecting to the SLD (SLD.Configurator-role)?

Best regards,

Cornelia

Former Member
0 Kudos

Hi,

To configure SLD, you need the Role 'administrator' (WAS-Java only) or 'J2EE_ADMIN' (WAS-dual stack).

NWDI default administrators are NWDI_ADM, NWDI_CMSADM assigned to the group NWDI.Administrators which in turn is assigned to the role NWDI.Administrator. Map the group NWDI.Administrators to the J2EE/SLD role "LcrInstanceWriterAll".

For the user and security settings of NWDI, refer note 840523.

Regards

Srinivasan T

Former Member
0 Kudos

Hi Srinivasan,

sorry to ask again:

I now entered the NameServerConfiguration in DTR as you described, entered a User with LcrInstanceWriterAll there, changed the entry for the NWDI system in the SLD, so that it also has the flag "name server"... I also found an entry in repository.properties to configure a task to refresh the name service (ProcessNameReservationTask), but the developers still get the same error message in their Studio.

Do we have to reserve a name at sap.com, or do the developers have to enter something in their dictionary project?

Thanks in advance and best regards,

Cornelia

Former Member
0 Kudos

Hi,

In addition to the setup of name server thru SLD, you should have reserved at least one name prefix at the SAP Service Marketplace. Refer to SAP Note 710315 in this context.

Regards

Srinivasan T

Former Member
0 Kudos

Hi Srinivasan,

thanks a lot!

again one more question: when I set up the SLD I entered "roche/dia/de/mah" as object server in the SLD settings. I was wondering: when I reserved the prefix "/roche/" would that be ok? Or do I have to change the entry for the object server name then (note 935245 says something about that, but I'm not sure if I understood it correctly)?

Thanks and best regards,

Cornelia

Former Member
0 Kudos

Hi,

When you have defined roche/dia/de/mah as the object server then it has become the object server, and the objectID is //roche/dia/de/mah/sld/active.....

You have to only verify that the same name as used in prefix is a registered one at SAP Service marketplace and is valid. That's it.

Regards

Srinivasan T

Former Member
0 Kudos

Hi,

finally, we solved the connect-problem: the developers still had the old configuration without the name server, so the solution was this:

- check in all activities

- save domain in CMS and click "update CMS"

- import of the configuration into the developer's studios

Then they could connect to the name server

Thanks for your help!

Regards,

Cornelia