ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error : Registration failed ('') when running smreghost command

book

Article ID: 226345

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder) SITEMINDER

Issue/Introduction

 

When running the smreghost command, this one fails and reports error :

    "Registration failed"

The full command line was :

    # ./smreghost -i mywa.mydomain.com -u siteminder -p password -hc myHostConfig -hn myHostname -f /opt/CA/webagent/config/SmHost.conf -o

      Registration failed ('').

 

Cause

 

The smreghost (IP 10.0.0.2) command sends a connection request to
Policy Server 10.0.0.1, and gives up the operation reporting a
timeout :

run.dump.24197 :

  19:02:52 connect(4, {sa_family=AF_INET, sin_port=htons(44442), sin_addr=inet_addr("10.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
  19:02:52 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:52 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:52 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:53 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:53 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:53 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:53 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:53 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:54 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:54 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:54 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:54 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:54 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:55 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:55 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:55 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:55 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:55 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:56 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 200) = 0 (Timeout)
  19:02:56 select(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)
  19:02:56 poll([{fd=4, events=POLLIN|POLLPRI|POLLOUT}], 1, 0) = 0 (Timeout)
  19:02:56 setsockopt(4, SOL_SOCKET, SO_LINGER, {onoff=1, linger=0}, 8) = 0
  19:02:56 close(4)                       = 0

The network traces show that the Policy Server 10.0.0.1 never replies
(ACK) to the SYN packet send by the smreghost socket 10.0.0.2 :
  

networktraces.pcap :
  
  Arrival Time: Oct  4, 2021 13:02:52.407312000 Romance Daylight Time
  132139 366.574929 10.0.0.2 10.0.0.1 TCP 74 59435 → 44442 [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=2563863518 TSecr=0 WS=128

  Arrival Time: Oct  4, 2021 13:02:55.414176000 Romance Daylight Time
  132842 369.581793 10.0.0.2 10.0.0.1 TCP 74 [TCP Retransmission] 59435 → 44442 [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=2563864270 TSecr=0 WS=128

 

Resolution

 

- Consult the network team to understand why the Policy Server 10.0.0.1
  never replies to solve this issue;