cancel
Showing results for 
Search instead for 
Did you mean: 

Add entry in SAP Logon - Logon Group

Former Member
0 Kudos

Hi All,

I have a legacy server PRD with the following configuration:

SID=PRD

System Number=02

Logon Group= LOGON

And a new server PRD:

SID=PRD

System Number=00

Logon Group= LOGON2

Hosts are different and both Windows Server 2003.

I'm trying to add a new server PRD entry in the SAP Logon, but when I select the group receive the following message: "Error: partner not reached (host XXX, service sapmsPRD)". On the legacy PRD server get perfectly.

Already added the lines sapmsPRD 3600/tcp and 3602/tcp at file system32/drivers/etc/services in the workstation where is installed the SAP Logon.

Also there is no block on the firewall.

Any tips?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to add the service port sapmsSID 3600/tcp in services file..

(you may need to give an additional ENTER after this entry else it doesn't work at times )

If it still doesn't work, create a file sapmsg.ini in

c:\windows or c:\winnt for the presentation machine and add the following entry

[Message Server]

SID= I.P address of message server

You need to define the sapms in the windows services files located

under "C:\Windows\System32" or "C:\Windows\System32\drivers\etc" (WinXP)

Add the line at the end of the file

sapmsSID port number of the message server/tcp

Example

sapmsPRD 3602/tcp

Try the above steps.

Regards,

Jazz

Former Member
0 Kudos

This was done.

Is there anything else? Is there any restriction to have the same SID?

Thanks for reply!

Former Member
0 Kudos

No.. It need not be the same id. Have you put the entries in sapmsg.ini file?

Regards,

Jazz

Former Member
0 Kudos

Hi,

Please add server with "New Item" from SAP logon Pad. Here you can enter IP address (in application server field) and SID in SID field.

Hope this helps.

Manoj Chintawar

Former Member
0 Kudos

I need use logon group because i have a application server.

Former Member
0 Kudos

Which is the version of sap logon pad that you are using? Manoj is refering to the new version of sp gui.

Former Member
0 Kudos

Well...

If you have upgraded your Logon Pad to 7.00

I have found this and you can try this if you have OLD logon pad...

"You should logon to one of the individual servers and use sm51 to get to your CI. While on the CI go to transaction SMLG and review your logon group setup. Save when exiting the screen, this will re-distribute/re-publish the group/service.

Worth try...

With older releases of the gui it was common to find a file entitled sapmsg.ini in the same directory as saplogon.ini file. With that earlier release the sapmsg.ini file contained info about the message servers for group connections. With the newer gui this file no longer exists implying that it no longer needs such a file, if your saplogon.ini file was created with the older gui maybe you need to establish a newer connection within saplogon pad to allow the new version to find the message server."

rdiger_plantiko2
Active Contributor
0 Kudos

For those who are interested or like the Perl programming language: Since we had a hardware update recently, I have automated the step of adapting the Windows services file with a little Perl sub (provided you can use a Perl installation on your computer). It changes existing definitions and adds those services that do not yet exist. It may therefore be used after a change of port numbers in the system landscape.

It is called like this

# Adapt TCP ports for SAP message servers
set_ports( { 
  sapmsq12 => "3600",
  sapmsd12 => "3601",
  sapmsd11 => "3600",
  sapmsq11 => "3601",
  sapmse11 => "3601",
  sapmse12 => "3600",
  } );

The routine goes as follows


sub set_ports {
 
 my $ports = shift;
 
 # Worklist of all services to be switched 
 my %services_todo = map { $_, 1 } keys %$ports;  

 my ($service, $port, $new_port);
 
 # Build the full file name of "services"
 my $systemRoot = $ENV{SystemRoot} 
     or die "Env. variable SystemRoot is empty!";
 my $serviceFile = 
    "$systemRoot\\system32\\drivers\\etc\\services";

# Open it and modify existing lines if necessary 
 open SERVICE_FILE, $serviceFile 
    or die "Can't open $serviceFile for read access";
 my @lines = <SERVICE_FILE>;
 foreach (@lines) {
    next unless /^\s*(\w+)\s+(\d+)\/tcp/;
    ($service,$port) = ($1,$2);
    if ($new_port = $ports->{$service}) {
      s/$port\/tcp/$new_port\/tcp/;
# remove service from worklist
      delete $services_todo{$service}; 
      }    
    }
 close SERVICE_FILE;
  
# Add the remaining services at the end of the list
 if (keys %services_todo) {
   push @lines, "\n";
   foreach $service (keys %services_todo) {
     $port = $ports->{$service};
     push @lines, "$service         $port/tcp\n";
     }
   }        
 
open NEW_SERVICE_FILE, ">$serviceFile" 
   or die "Can't open $serviceFile for write access";
print NEW_SERVICE_FILE @lines;
close NEW_SERVICE_FILE;
  
print "$serviceFile adapted successfully.\n";
 
}

Answers (1)

Answers (1)

former_member603052
Contributor
0 Kudos

Hi

Instead of clicking add new server...try using add new item and see.

Regards,

Kalyan