cancel
Showing results for 
Search instead for 
Did you mean: 

Help With TREX:There are no active http servers known to the nameserver

Former Member
0 Kudos

Hello all,

I've install the Sneak Preview but for some reason TREX is not working for me.

When I try to create a new index in the portal I get a message: Index could not be created: There are no active http servers known at the nameserver (Errorcode 7218).

I guess i'm missing something in the post-installation procedure.

I've already used the Visual Administrator to set the nameserver host/port and I already setup the new IIS "web application" for this TREX Instance (not sure this was needed but I did it anyway).

I just cant find where to tell the nameserver to use the http server.

Please help

/NL

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Nir,

On the Trex server, please check the configuration file <TREX_DIR>/sapprofile.ini. There should be a parameter named 'TREX/NameServer/Port' which gives the correct port number for the name server. Use this port value for the Trex service parameter 'nameserver.address'

The host and port should be filled in accordingly:

tcpip://<host_name_of_trex_host>:<name_server_port>

Verify that the url specified in <TREX_DIR>/topology.ini is accessible:

<httpserver>

<<port>>

url=http://<trexhost>:<port>/ ...

...

The Trex Web Service must be started and properly configured so that the TrexHttpServer.dll file is referenced with the correct path.

Regards,

Nathan

Former Member
0 Kudos

Hye Nathan,

as for the first part, done.

as for the second part: my topology.ini does not have a httpserver section. where should I add one and what should it be? could you send me an example please?

I also am not sure what you mean by "Trex Web Service". I do not have such a service in the windows "Services" list. Any hints as to what am i missing?

/NL

Former Member
0 Kudos

Hello Nir,

It appears that during the installation selection screens, you did not select the 'Install HTTP Server' option. This is required for using the http protocol.

To add the missing HTTP server settings it might be easiest to run sapinst and select the uninstall option. Remove the SAP_Trex_## entry from IIS if it exists. Then re-install, but this time be sure to select the 'Install HTTP Server' option in the selection screens. Sapinst will automatically configure the XML entries and IIS web services.

If you prefer to fix the existing installation, you'll need to edit the topology.ini file and add the <httpserver> section so that it looks similar to this (host=i800521s port=30205 in the example):

<topology>

<host>

<i800521s>

<httpserver>

<30205>

url=http://i800521s:30205/TREXHttpServer/TREXISAPIExt.dll

certfile=

active=yes

read_accesscounter=0

</30205>

</httpserver>

<nameserver>

<30201>

<info>

user=ep1adm

platform=windows

uname=Windows 2000

sap_retrieval_path=D:\usr\sap\trex_02\

trexdaemon=yes

date_started=2005-05-03 15:34:34.468

sapsystem=02

</info>

active=yes

</30201>

</nameserver>

...

Make sure that the SAP_TREX_## Http server in IIS is configured per the installation manual. It must have the extension name 'TREXHTTPServer' which references required file TrexHttpServer.dll.

Regards,

Nathan Swenson

Former Member
0 Kudos

Thanks Nathan.

Uninstall and re-install did eventually solved the problem. As you said I needed to check the "Install HTTP Server" in the installation wizard (pity the doc say no need change anything).

Thanks for the help...

/NL

Answers (3)

Answers (3)

Former Member
0 Kudos

hi

I am also getting the error

"Index could not be created; creating index failed: There are no active http servers known at the nameserver. (Errorcode 7218)"

Please help me on this.

former_member217429
Active Contributor
0 Kudos

Hi Subramanya,

there are a lot of possible reasons of this issue. Could I ask you to open new support ticket in OSS regarding this problem.

Best regards,

Mikhail

Former Member
0 Kudos

Also see...

Note 1029783 - TREX 7.0 Httpserver does not work in 64 Bit Windows

Former Member
0 Kudos

Also take a look into note 1008299, applying note 1029783 was only one step for me, but didn't work untily applied note 1008299.

Regards!

Former Member
0 Kudos

Where is this option on the Sneak Preview installation? I haven't seen it. This installation is pretty much next, next and that's all. Perhaps i must install the official version?

Thanks in advance.

Homer Vargas

Former Member
0 Kudos

Hi Nir,

I am having the same problem, if you have a fix please help.

Thanks