cancel
Showing results for 
Search instead for 
Did you mean: 

Relay Server and Afaria

Vivek_Das
Explorer
0 Kudos

Hi,

I recently set up a Relay Server for my Afaria system. While trying to connect to the Afaria Server via Relay server, I am getting the following error on the Relay Server Log.

I. 2013-01-14 18:45:27. <4576.4620.F14B0S1R0> New request for new session from Afaria iPhone Client

E. 2013-01-14 18:45:27. <1140.3748.F14B0Dn> RSF13008: Systemfehler [SYS5: Access is denied...] beim Initialisieren der Semaphore für die Warteschlange für Download-Pakete des Backend-Servers 'XX' in der Backend-Farm 'XX-XXXXXX' während des Pushs eines OE_SERVER_RESPONSE-Pakets

E. 2013-01-14 18:45:28. <4576.4620.ShmDebug> RSF11016: Freigabe von bereits freigegebenem Speicherblock im gemeinsamen Speicher

E. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> RSE4007: Abbruch der Client-Anforderung an den Backend-Server 'XX' in Backend-Farm 'XX-XXXXXX' aufgrund eines unerwarteten Paket-Opcodes ???!4x über DOWN-Kanal vom Outbound Enabler

W. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> Server response NOT completed. Remaining 0 of 0 bytes.

I. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> Signal OE to disconnect non-persistent backend connection

Below are the only information I found on the web. Can anyone tell me what could be the issue??

http://dcx.sybase.com/1200/en/saerrors/rserrors13008.html

http://dcx.sybase.com/1200/en/saerrors/rserrors11016.html

http://dcx.sybase.com/1200/en/saerrors/rserrors4007.html

Regards

Vivek Das

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184221
Contributor
0 Kudos

Increase logging on RSOE servers, what do they say the problem is ?

Vivek_Das
Explorer
0 Kudos

Hi David,

When the device hits the Relay Server (rshost) this error is encountered and visible on the rshost logs and no information is seen in the rsoe logs or on the IIS on the RSOE server.

How do I increase the logging on the RSOE servers??

Regards

Vivek Das

former_member184221
Contributor
0 Kudos
You need to add switches -v5 -o out.log
See Page 124 of Afaria7SP2_InstallationGuide.pdf
Usage: rsoe -cr -f  -id  [options]
      @ expands  from environment variable  or file
Options:
      -cr parameters for the Relay Server connection (required)
           Example (Linux RS): -cr "host=www.rs.com;port=80;url_suffix=/srv/iarelayserver"
           Required options: host, port, url_suffix
           TCP option: client_port
           HTTPS option: https=1 (also changes default port to 443)
           Server certificate options (requires https=1): trusted_certificates, certificate_company, certificate_name, certificate_unit
           Client certificate options (requires https=1): identity, identity_password
                    HTTP authentication options: http_userid, http_password
           Proxy options: proxy_host, proxy_port
           Proxy authentication options: http_proxy_userid, http_proxy_password
      -cs parameters for the backend server connection (default https=0;host=localhost;port=80)
                    Example: -cs "host=localhost;port=80"
                    HTTPS option: https=1 (also changes default port to 443)
           Server certificate options (requires https=1): trusted_certificates
           Client certificate options (requires https=1): identity, identity_password
           Status monitor option: status_url
      -d      reconnect delay (default 5)
      -dl     display log messages on screen
     -f      name of the backend farm (required)
   -id      backend server id (required)
  -o      log output messages to file
-oq     prevent the popup dialog on startup error
-os      set maximum output file size (min 10240)
-ot      truncate file and log output messages to it
-q     run in minimized window
-qc     close window on completion
-s     shutdown an existing Outbound Enabler
-t      backend server security token
-v      verbosity level 0 to 5 (default 0)
Vivek_Das
Explorer
0 Kudos

Thanks David. I will check and get back on this.

Vivek_Das
Explorer
0 Kudos

Hi David,

The problem was that the OS on the machine was corrupted. Had to re-image the OS and again install. All working well now.

Regards

former_member184221
Contributor
0 Kudos

Wow , who would have guessed it was the OS !

Glad you found the fault The relay server works really well, much better than just a reverse proxy