Académique Documents
Professionnel Documents
Culture Documents
</td>
</tr>
<tr bgcolor="lightgrey">
<td class="headerSide" width="20%">Document Id:</td>
<td class="lineTop" width="80%">
<b>10010</b>
</td>
</tr>
<tr>
<td class="headerSide">Document Type:</td>
<td class="lineTop">Troubleshooting</td>
</tr>
<tr bgcolor="lightgrey">
<td class="headerSide">Keywords:</td>
<td class="lineTop">Command Center Pollcheck Radiant Heartbeat troubleshoo
ting Deployment Framework Polling CMC RDF</td>
</tr>
<tr>
<td class="headerSide">Attachment:</td>
<td class="lineTop">
<font color="gray">(none)</font>
</td>
</tr>
<tr bgcolor="lightgrey">
<td class="headerSide">Last Updated:</td>
<td class="lineTop">07/29/2014 12:39 PM</td>
</tr>
<tr style="font-weight:bold">
<td class="headerSide">Title:</td>
<td class="lineTop">Command Center Troubleshooting FAQs</td>
</tr>
<tr bgcolor="lightgrey">
<td class="headerSide">Description:</td>
<td class="lineTop">
Command Center Troubleshooting FAQs</td>
</tr>
<tr bgcolor="white">
<td class="paddedTD lineTop" colspan="2">
<LI>Not Found: If you get a server not found error, then verify your DNS by runn
ing the following command from a command window:</LI></UL>
<BLOCKQUOTE>
<P>ping rdf2.alohaenterprise.com</P>
<P> </P>
<P>The name above should resolve to an IP of 206.123.121.24. If you cannot
resolve this IP, you have DNS issues or an errant entry in your HOSTS file.&nbs
p; If the IP is resolved, but the ping fails, then you likely have a firewall bl
ocking access.</P></BLOCKQUOTE>
<UL>
<LI>Ports: The CMC client requires outbound access on the standard we
b access TCP ports, 8080 and 443, as well as the SSH port (22) for VNC (optional
). Verify with your network administrator that all of these ports can acce
ss the following IPs:</LI></UL>
<BLOCKQUOTE>
<P>206.123.121.24 :: rdf2.alohaenterprise.com (all traffic except VNC)</P>
<P>206.123.121.26 :: rdfs.alohaenterprise.com (VNC traffic - "Window
s" - prior to HbRdf.dll v1.0.7.0)</P>
<P>206.123.121.27 :: ssh.alohaenterprise.com (VNC traffic - "Native"
- HbRdf.dll v1.0.7.0)</P></BLOCKQUOTE>
<H3>Store Side Connectivity</H3>
<P>Sometimes stores do not connect to the CMC Servers after being installed
. This can occur for a number of reasons. Following are steps to che
ck to try to correct this.
<UL>
<LI>Environment: CMC currently requires the IBERDIR variable to be defined
and pointing to the correct location. As this is also generally required f
or POS to function, it is often not a problem. If your BOH pc has an incor
rect or recently changed value for the Iberdir, see below.
<LI>Pollcheck.exe: Verify that the size of Pollcheck.exe is not 145KB.&nbs
p; Currently, the correct size is 213KB (subject to change with successive relea
ses). If the size is 145K or smaller, download the latest CMC Install
er and reinstall. Pollcheck.exe resides at %Iberdir%\FTP\Pollcheck.exe.</L
I></UL>
<BLOCKQUOTE>
<P>The CMC installer can be found here:</P>
<P><A href="https://rdf2.alohaenterprise.com/client/RDFInst.zip" target=_new>htt
ps://rdf2.alohaenterprise.com/client/RDFInst.zip</A></P></BLOCKQUOTE>
<UL>
<LI>Service: The CMC Installer will register Pollcheck.exe as the "Radiant
Heartbeat" service if it is not previously installed. Some versions of POS
will also register Pollcheck, but it often uses the name of "Aloha Polling Syst
em".
<UL>
<LI>Verify the service will start/restart without errors. If the service w
ill not start, see next section "Service Failure"
<LI>Verify the executable path in the service properties points to the correct,
path of %IBERDIR%\FTP\Pollcheck.exe</LI></UL>
<LI>Service Failure: There are a number of reasons why the service could f
ail to start, but chief among them is that the service is pointing to the wrong
path. While this can be corrected by editing the registry manually, there
is a simpler, safer way.
<UL>
<LI>To unregister the service, open a command prompt and type: SC DELETE POLLCHE
CK
<LI>Run RDFInst.exe to reinstall the service
<LI>Verify the service name, executable path, and that it has started</LI></UL>
<LI>Aloha Keys: CMC reads the Aloha key numbers from the Aloha.ini in the %Iberd
ir%\Data folder to determine what the key number for the site is. Verify t
hat the key numbers are entered correctly and do not contain any spaces or junk
values in question, or if no other settings are present, the entire file itself
. Then restart the terminals and either reboot the BOH PC or restart the R
adiant Heartbeat service. When everything starts back up, the terminals wi
ll detect the local "Term" variable, record this in the new rdf.ini, then report
to the BOH with their new Term value, which is recorded, along with their MAC A
ddress, in the BOH rdf.ini. Within 10 minutes, the terminal information in
the CMC Client should be updated.
<P>
<H3>VNC Configuration</H3>
<P>VNC is an Open Source application used by CMC for remote desktop co
nnectivity. It is common to find that a site already has VNC and users con
nect to the site (either the BOH or the terminals) with an existing VNC connecti
on. In order to allow CMC to connect over VNC, the "Allow Loopback Co
nnection" flag must be enabled. If no VNC is found, CMC will install only
the necessary VNC files to the RDF folder on the local machine (FOH or BOH) when
ever a user tries to VNC into it for the first time.
<P>
<P>Since some users have unique security configurations in place, we have added
the ability to avoid having CMC change the path to the VNC executables so
that a site can continue to use their existing VNC. In order to configure&
nbsp;CMC to not change the "image path" (or "path to executable" in the VNC Serv
ice properties), add the following the rdf.ini in the %iberdir%\rdf folder on th
e machine in question:
<P>
<P>[VNC]</P>
<P>ResetVNCImagePath=0</P>
<P> </P>
<P>Once VNC has been configured to allow users outside of CMC connect, and
this setting has been added, users should be able to VNC in via either method an
d CMC will not change the path to the executable, thereby leaving the non-C
MC VNC settings intact.</P>
<P> </P>
<P>Sites can (optionally) be configured to run a command or batch file just befo
re the VNC connection is established, and/or one minute after the VNC connection
is closed. These commands are defined on the store BOH server at %iberdir%\rdf\
rdf.ini by the following entries to the [VNC] section, as shown below:</P>
<P> </P>
<P>[VNC]<BR>PreApp=<path><BR>PostApp=<path></P>
<P> </P>
<P>Note: You can use batch files, or you can put the command in the <path>
area - this will execute one single command.</P>
<P> </P>
<P>For example, you could have the following:</P>
<P> </P>
<P>PreApp=%iberdir%\bin\prevnc.bat</P>
<P>PostApp=shutdown -r -t 1</P>
<P><BR> </P>
<P>Any batch files called must be present on the target machine. These set
tings are propagated to the terminal, so unless the batch file being called is a
lso located on the terminal at the same path, the call will fail. Even if
the call fails, VNC will still connect as usual. </P>
<P> <FONT color=#ff0000 size=2></P></FONT>
<H3>VNC Does Not Show All Windows (Alpha Blending)</H3><B><FONT size=2>
<P></B>When connected through VNC, users have reported that they are unable to v
iew certain screens, such as Aloha TakeOut. In order to view these screens
in VNC, you must enable Alpha Blending (this is primarily a .Net 3.0 feature).
This will be done by default in future releases of Command Center. However to en
able manually you must edit the registry to enable. Perform the following to ena
ble Alpha Blending in the Windows Registry: </P>
<P> </P>
<P>The incorrect use of Windows Registry Editor can lead to serious, system-wide
problems that might require the reinstallation of the operating system. U
se this tool at your own risk. </P>
<P> </P><I>
<P>New registry entries described in this document are enclosed in quotation mar
ks. Please ignore these quotation marks when adding the entry in the Windo
ws Registry. All Registry entries are case sensitive.</I> </P>
<UL>
<LI>To open the Windows Registry Editor, select Start/Run, type REGEDIT, and cli
ck OK.
<LI>Path out HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default.
<LI>Verify the CaptureAlphaBlending value exists in the folder. If it does
, double-click it and change Value Data to '1'. If it does not exist, choo
se Edit/New/DWORD Value and name the key 'CaptureAlphaBlending'. Then doub
le-click the entry and change Value Data to '1'.
<LI>Select Registry/Exit to exit the Windows Registry Editor.
<LI>Restart Windows. </LI></UL></FONT>
<H3>General VNC Troubleshooting</H3>
<P>Connectivity via VNC can fail for several reasons, including other, conflicti
ng installations, as well as an invalid service configuration for the Radiant He
artbeat service. If you are trying to connect to a site with VNC through C
ommand Center and it never makes the connection, perform the following steps:</P
>
<P> </P>
<P>1) Verify the VNC binaries are in place. Go to File Manager, select "rd
f" as the remote path and hit "Load List". Verify that "vnchooks.dll" and
"WinVNC.exe" are present (in the %iberdir%\rdf folder). If they are not bo
th present, go to the %iberdir%\BIN folder and find HBCommon.dll and delete it i
f present. Then select Query Services, Radiant Heartbeat, right click and
select "Restart Service". The site will momentarily disconnect, and then it will
download a new copy of HBCommon.dll to BIN. The next time you try to VNC
to that machine, it should automatically extract the vnc files to the RDF folder
.</P>
<P> </P>
<P>2) Verify the service configuration. Since you can't VNC into the site,
you may need to have someone at the site open the service control manager to ve
rify that the Radiant Heartbeat service is set to logon using LocalSystem and ha
s the "Allow service to interact with desktop" option flagged. If it is no
t configured this way, change it and restart the service and try VNC again. 
; </P>
<P> </P>
<P>If no one is available at the site to check this, you can use a batch file to
change the service configuration remotely. On your local machine, create
a new text document and rename it to whatever you like, such as "reset.bat".&nbs
p; Inside this batch file, add this single line:</P>
<P> </P>
<P><FONT face="Courier New">sc config pollcheck obj= ".\LocalSystem" password= "
" type= interact type= share</FONT></P>
<P> </P>
<P>Save the batch file, then transfer it using the file manager to a convenient
place anywhere on the target machine, such as the RDF folder. Then use the
Run Command feature to run this batch file (for example, %iberdir%\rdf\reset.ba
t). Then select Query Services, Radiant Heartbeat, and right click and cho
ose "Restart Service" to restart the Radiant Heartbeat service on the target mac
hine. Try VNC again after changing the service startup params.</P>
<P> </P>
<P>This technique is also useful when you find that the "Capture Screenshot" fea
ture always returns a white empty box, and the "Record Activity" feature always
returns a blank, black screen. The reason being is that in order for the h
butil.exe application to capture the user session data required for VNC, screens